Fwd: [Charlug] Procmail Forward to Aliases

Bob Evans bobevans19 at gmail.com
Tue Jan 20 03:56:11 EST 2009


Mike

It would be most helpful if you could post an abbreviated set of
control file(s).
Edit out any sensitive data. Also, can you also send an email with headers?

That would be enough information to solve your dilemma.

Thanks,

-be



---------- Forwarded message ----------
From: Michael McCandless <michael at prismbiz.com>
Date: Mon, Jan 19, 2009 at 9:38 PM
Subject: [Charlug] Procmail Forward to Aliases
To: Leam Hall <leam at reuel.net>, charlug at charlug.org


Leam, since I forgot the subject the first post, I added one.

When I use a .forward file, it has the same effect as an entry in
etc/aliases - procmail is not invoked, the email is just redirected to
kidsname at college.edu

I did look at the URL you provided, and that does not seem to do the trick.

How about this:
if I put a .procmailrc file in the user's home directory, and then add a
simple procmail recipe to forward email, I almost have a solution. But the
forwarded email now has the prismbiz.com address as sender.  Can I use
formail to 'adjust' the sender in this scenario?

> Could you use a .forward file in their home directories?
>
> I've not worked with the combination you're talking about, but it seems
> like the issue would be iterating through procmail which *normally*
> assumes a hand off. As does spamassassin. As does forwarding.
>
> Does this seem similar to your task?
>
> http://wiki.apache.org/spamassassin/ProcmailToForwardMail
>
> Leam
>
> Michael McCandless wrote:
>> Greetings.  Our home network environment uses Postfix with the a
>> site-wide
>> mailbox command to deliver using usr/bin/procmail. There is a site-wide
>> procmail recipe at etc/procmailrc which pipes the email to spamassassin,
>> checks for spamminess and then delivers. This works.
>>
>> I have given my college kids a prismbiz.com email alias. This way they
>> only tell their friends one email address, and I switch where it goes
>> to,
>> e.g. kidsname at college.edu.  This also works.
>>
>> What is not working is combining the two.  The mail redirected to
>> kidsname at college.edu does not go through procmail and spamassassin.
>> What
>> I'm trying to achieve is:
>>
>> - email sent to kidsname at prismbiz.com
>> - go through procmail/spamassassin
>> - forward to kidsname at college.edu
>>
>> Thoughts?
>>
>>
>>
>>
>>
>> ---------------------------
>> Michael McCandless
>> michael at prismbiz.com
>>
>> _______________________________________________
>> CharLUG mailing list
>> CharLUG at charlug.org
>> http://charlug.org/cgi-bin/mailman/listinfo/charlug
>>
>





---------------------------
Michael McCandless
michael at prismbiz.com

_______________________________________________
CharLUG mailing list
CharLUG at charlug.org
http://charlug.org/cgi-bin/mailman/listinfo/charlug



-- 
Nothing so fortifies a friendship as a belief on the part of one
friend that he is superior to the other.
  - Honore de Balzac


More information about the CharLUG mailing list