Le 07/12/13 11:22, Gilles Chehade a icrit :
On Sat, Dec 07, 2013 at 04:06:33AM +0100, Philippe Lel??dy wrote:
Le 07/12/13 02:37, T. Pars a C)crit :
Hi,

What information and its format is passed on to LMTP in "...
deliver to lmtp [host:port | socket]" rules. It may be helpful to
add this information to the man page.

Best regards.


I yet answered the question a few days ago in this lis, I captured
the dialog, here is what OpenSMTPD send
------
LHLO xxx.mondomaine.fr
MAIL FROM:<[email protected]>
RCPT TO:<phil>
....
-
As you see, only the user is sent, not the full adress, making LMP
unusable in multidomain environment, as I yet explained.

Did you try to relay via lmtp instead of deliver to lmtp ?



Nice idea !

I will try replacing this line

accept from any for domain <domaines.locaux> alias <virtual.aliases> userbase <mes.utilisateurs> deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{dest}"

by this one

accept from any for domain <domaines.locaux> alias <virtual.aliases> recipient <mes.utilisateurs> relay via lmtp://localhost:2026

Of course this imply that the table <mes.utilisateurs> be changed to get rid of any information about delivery.

Very good, each on does its job, delivery is entirely under dovecot responsability, accepting mail, unde OpenSMTPD responsability.

Only very minor issue, relay via lmtp can't use a socket.

Ph. Le

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to