I split into 2 lines. First relay without alias,, second alias only. Fine.

El sábado, 7 de diciembre de 2013, Ashish SHUKLA escribió:

> On Sat, 07 Dec 2013 13:49:30 +0100, Philippe Lelédy <
> [email protected] <javascript:;>> said:
> > 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] <javascript:;>>
> >>> 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 ?
> >>
> >>
> > accept from any for domain <domaines.locaux> alias <virtual.aliases>
> > recipient <local.users> relay via lmtp://localhost:2026
>
> Above rule is grammatically incorrect, a grammatically correct rule would
> be:
>
> accept from any for domain <domaines.locaux> recipient <local.users> alias
> <virtual.aliases> relay via lmtp://localhost:2026
>
> But then this will fail semantically, as "relay via" doesn't expand
> aliases,
> which is the main difference between deliver/relay, _deliver_ is supposed
> to
> deliver to the mailbox, whereas _relay_ is supposed to send out.
>
> HTH
> --
> Ashish SHUKLA
>
> “Unix is a Registered Bell of AT&T Trademark Laboratories.” (Donn Seeley)
>
> Sent from my Emacs
>

Reply via email to