Доброе.Настроил связку postfix dspam dovecot2
Работает.
Но хочу исключить проверку dspam-ом исходящей почты. Подскажите как реализовать.
В исходящей почте headers dspam пишутся.
Спасибо.
[postfix]
master.cf
smtp inet n - - - - smtpd
-o content_filter=lmtp:unix:/var/run/dspam/dspam.sock
lmtp unix - - - - - lmtp
dovecot unix - n n - - pipe
flags=DRhu user=xxxx argv=/usr/lib/dovecot/deliver -d ${recipient}
scan unix - - n - 16 smtp
-o smtp_send_xforward_command=yes
-o smtp_tls_security_level=none
127.0.0.1:10026 inet n - n - 16 smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
[dovecot]
conf.d/10-master.conf
service lmtp {
unix_listener lmtp {
mode = 0600
}
user = $default_internal_user
# Create inet listener only if you can't use the above UNIX socket
inet_listener lmtp {
# Avoid making LMTP visible for the entire internet
#address = 127.0.0.1
#port = 24
}
}
[dspam]
Home /var/spool/dspam
TrustedDeliveryAgent "/usr/sbin/sendmail"
UntrustedDeliveryAgent "/usr/lib/dovecot/deliver -d %u"
DeliveryHost 127.0.0.1
DeliveryPort 10025
DeliveryIdent localhost
DeliveryProto SMTP
ServerPID /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent,spam --user xxxx"
ServerIdent "localhost.localdomain"
ServerDomainSocketPath "/var/run/dspam/dspam.sock"