> Use the simplest way to do this, use cyrus' deliver(8).  In short, deliver
> _is_ just an LMTP client.  Your advantage: sendmail can give the mail to
> procmail, which can hand it over to deliver after processing,
> which in turn
> will hand it to the underlying lmtpd.

I think there's some misunderstanding. I want postfix on the SMTP server
to accept incoming mails, then use LMTP to forward it to the mailbox (IMAP)
server. There I would like to find a way for lmtpd to call procmail
for local delivery. If I instruct postfix (not sendmail) to use procmail
directly,
the procmail recipes have to sit on the SMTP server, which the users don't
have individual access to.

>
> AFAIK you cannot instruct Sendmail to use LMTP _and_ procmail at the same
> time.  This is because
>
>  a) If procmail has the mail, it has the mail.  Sendmail has no further
>     control of the mail delivery process and thus cannot stuff it into
>     cyrus' lmtpd afterwards
>
>  b) Procmail does not speak LMTP, it has to invoke external commands for
>     delivery (such as deliver(8))

I want it the other way around: lmtp to accept the incoming local mails
from thepostfix server on the other machine, and then to invoke procmail
for final delivery..

or am I totally off-base here?

thanks

Reply via email to