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.

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.

if you use dovecot as your imap server, consider using its vacation module.

> [snip]

Reply via email to