:-)

I know the basic postfix operational scheme:

http://www.postfix.org/OVERVIEW.html

I have a generic spamassassin instance that marks messages recognized as spam, `/etc/postfix/master.cf' :

smtp      inet  n       -       n       -       -       smtpd
   -o content_filter=spamassassin

spamassassin unix -     n       n       -       -       pipe
flags=R user=spamd argv=/usr/bin/vendor_perl/spamc -e /usr/bin/sendmail -oi -f ${sender} ${recipient}

The goal I'd like to achieve is: for mail marked as spam and intended for local delivery only(!) after all postfix processing automagically put it to some `Junk' folder in users' maildirs rather then to `new/'.

I'm using dovecot for IMAP/POP. I've read that since dovecot 2.0 I may use dovecot as an LMTP and implement desired solution by adding sieve/pigeon classifier to dovecot LMTP. It perfectly(?) integrates with postfix.

My question is:
Dovecot documentation suggests (I really hate documentation "by example") that dovecot LMTP is responsible for just putting mail into mailboxes of local users. It adds dovector LMTP to `mailbox_transport' which seems exactly what I'm looking for (https://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP). "It suggests". LMTP in general does AFAIK much more. I cannot find much about it in postfix documentation. The scheme mentioned above (http://www.postfix.org/OVERVIEW.html) shows the following arrow:

lmtp(8)         ->   Network

So I cannot position dovecot LMTP on that scheme. Does it do the same as: http://www.postfix.org/local.8.html ?

Maybe different terms are used for both documentations? I'm really confused; may I ask some little clarification?

Best regards,
Marek

--
Dr Eng. Marek Kozłowski
Senior Lecturer
Unix and Network Administrator
Warsaw University of Technology
Faculty of Mathematics and Information Sciences
ul. Koszykowa 75,
00-662 Warszawa
POLAND
tel.: +48 601 827 225


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to