Hi,

First, thank you for this exceptional software.

It would be very helpful if the "deliver to lmtp [host:port | socket]" 
(smtpd.conf.5) sends out the full address of the user as "[email protected]" 
instead of just "user". This will make it fully compliant with LMTP as defined 
in RFC 2033, and it would fulfill the "default" assumption by administrators 
that the full address is being sent out.

Best regards.
----- Original Message -----
From: LelC)dy Philippe
Sent: 12/08/13 01:43 PM
To: Ashish SHUKLA
Subject: Re: LMTP

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

El sC!bado, 7 de diciembre de 2013, Ashish SHUKLA escribiC3:
On Sat, 07 Dec 2013 13:49:30 +0100, Philippe LelC)dy 
<[email protected]> 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 http://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 ?
>>
>>
> 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

b

Sent from my Emacs

Reply via email to