Re: Postfix/Spamassassin & vacation messages

From: Mark Thomas (no email)
Date: Wed Sep 01 2004 - 08:38:48 EDT


> > smtp inet n - n - - smtpd
> > -o content_filter=dummy:filter
> > -o content_filter=spamassassin
>
> No, this is not how multiple content filters are chained. Only the last
> value of content_filter will prevail.
>
> [...]
>
> > filter unix - n n - - pipe
> > flags=Rq user=vacation argv=/home/vacation/mail-filter -f ${sender}
> > -- ${recipient}
> > spamassassin unix - n n - - pipe
> > user=nobody argv=/usr/bin/spamc -f -e
> > /usr/sbin/sendmail -oi -f ${sender} ${recipient}
> > -----------------------------------------------------------------------------
> >
> > Problem is that nothing seems to get sent to the vacation.pl script -
> > I have tried all combinations of the above but vacation messages dont
> > get sent.
>
> Why use the vacation script as a content filter in the first place?
>
> http://www.postfix.org/VIRTUAL_README.html#autoreplies

Hi Magnus,

Ok, thanks for the response here.

Checking my main.cf I can see a section called:-

virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf

Do i add the entry from the site you mentioned below this:-

virtual_alias_maps = hash:/etc/postfix/virtual

I am a bit worried that we have lots of domains being looked after
here with lots of aliases, and im not sure how well this is going to
work?

This has been dumped in my lap and I have, (as you can tell!), minimum
postfix knowledge - thank god for you guys/gals.

Mark








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD