[Charlug] Procmail Forward to Aliases

Michael McCandless michael at prismbiz.com
Mon Jan 19 21:38:42 EST 2009


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



More information about the CharLUG mailing list