1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
master.cf:
# postfix -> clamsmtp
scan      unix  -       -       n       -       16      smtp
        -o smtp_send_xforward_command=yes
        -o smtp_enforce_tls=no

# clamsmtp -> dspam
127.0.0.1:10026 inet  n - n - - smtpd
  -o content_filter=smtp:unix:/tmp/dspam.sock
  -o smtpd_recipient_restrictions=permit_mynetworks,reject

# dspam -> postfix
127.0.0.1:10027 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,reject
        -o mynetworks_style=host
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8


mail.info:
Jan 18 20:56:22 mail postfix/error[17531]: 14038ED292: to=<user@domain.com>, relay=none, delay=48, delays=47/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Jan 18 20:56:22 mail postfix/qmgr[17521]: warning: private/smtp socket: malformed response
Jan 18 20:56:22 mail postfix/qmgr[17521]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 18 20:56:22 mail postfix/master[17519]: warning: process /usr/lib/postfix/smtp pid 17557 exit status 1