I have something strange in my logs.
Maybe it has something to do with my problem ?

Dec 31 14:09:08 mail postfix/smtpd[3970]: connect from 219-86-40-220.dynamic.tfn.net.tw[219.86.40.220] Dec 31 14:09:09 mail postfix/smtpd[3970]: NOQUEUE: filter: RCPT from 219-86-40-220.dynamic.tfn.net.tw[219.86.40.220]: <[email protected]>: Recipient address triggers FILTER dspam:unix:/var/run/dspam/dspam.sock; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<87.98.140.248> Dec 31 14:09:09 mail postfix/smtpd[3970]: NOQUEUE: reject: RCPT from 219-86-40-220.dynamic.tfn.net.tw[219.86.40.220]: 504 5.5.2 <87.98.140.248>: Helo command rejected: need fully-qualified hostname; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<87.98.140.248>

Why postfix is using dspam to check if it can accept an email ?
I thought it was only used once a mail has been accepted ?

Guillaume HILT a écrit :
Here's the postconf -n

broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = .maildir/
html_directory = /usr/share/doc/postfix-2.5.5/html
mail_owner = postfix
mailbox_command = /usr/bin/dspam --deliver=innocent -- -d %u
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = apteo.com
myhostname = mail.apteo.com
mynetworks = 127.0.0.0/8, hash:/etc/postfix/pop-before-smtp
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.5/readme
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
recipient_delimiter = +
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sender_dependent_authentication = yes
smtpd_client_restrictions = permit_mynetworks
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access pcre:/etc/postfix/dspam_incoming, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:207
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 207
virtual_transport = virtual
virtual_uid_maps = static:207




!DSPAM:1011,495b709e150921496614718!


Reply via email to