On 17.08.17 13:27, Søren Peter Skou wrote:
I have Local users and users with forwards.
how do they forward?
[...]
Postfix receives the mail, handles greylisting, quota, spf, dkim and other
lovelies. Then sends it off via "content_filter=scan:127.0.0.1:10025" to
clamsmtp. This returns on port 10026 with this listener from master.cf
[...]
Here it then sends it further into the content_filter=spamassassin
spamassassin unix - n n - - pipe
flags=DROXhu user=vmail:vmail argv=/usr/local/bin/xMTPDeliver ${sender}
${user} ${nexthop}
xMTPDeliver examines ${user} and ${nexthop} to see where it is supposed to
go local/remote. If it is local, we use dovecot-lda to deliver it
directly into users spam-folder if marked as spam, otherwise into users
inbox. Fairly straight forward.
why do you use this xMTPDeliver at all?
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
One OS to rule them all, One OS to find them,
One OS to bring them all and into darkness bind them