On Fri, 16 Oct 2009 00:33:19 +0200, mouss <mo...@ml.netoyen.net> wrote: > Cottalorda Sébastien a écrit : >> Hi all, >> >> I need to add a vacation function into an existing postfix server which >> is already protected by an Antispam/Antivirus software that uses >> advanced filter. >> >> I've that configuration: >> >> port 25 ----> 10025 [Antivirus/Antispam] ----> 10026 [smtpd] -----> >> delivery >> >> my master.cf looks like this: >> >> smtp inet n - n - - smtpd >> [snip] >> localhost:10026 inet n - n - 10 smtpd >> -o content_filter= >> -o local_recipient_maps= >> -o relay_recipient_maps= >> -o myhostname=localhost >> -o smtpd_helo_restrictions= >> -o smtpd_client_restrictions= >> -o smtpd_sender_restrictions= >> -o smtpd_recipient_restrictions=permit_mynetworks,reject >> -o mynetworks=127.0.0.0/8 >> >> into my main.cf, I've that: >> >> content_filter=pmx:127.0.0.1:10025 >> >> >> >> If I want to add vacation filter _before_ content filtering, is that >> configuration correct ? > > don't. if you use a vacation, make sure mail is filtered before. > auto-respinding to spam is bad.
Yes, you're true. In fact I'm thinking of using the qpsmtpd program as an entry of my mailserver, make him reject as many spam as it can, do vacation process, and finally deliver mails to the existing postfix server without doing any configuration modifications. > also, there are way too man borked vacation scripts/programs. if you use > one, make sure it follows the "best practices". some of these are > described in RFC 3834. I think I will use the "vacation.pl" program given with the posfixadmin suite, maybe it follows what you said.... > if you use dovecot as your imap server, consider using its vacation module. > Sorry, I've courier-imap, and I use roundcubemail as webmail. I also add to roundcube the vacation plugin that allow my users to program themselves theirs vacations. Everything is good, the link between the mysql database and the plugin, but now I want to connect the vacation program to my existing antivirus/antispam postfix server explained above. If I'm wrong doing what I want, please tell me. Cheers. Sébastien