Matus UHLAR - fantomas writes:

>Alessandro Vesely writes:
>>SMTP provides for:
>>
>>    address-literal  = "[" ( IPv4-address-literal /
>>                     IPv6-address-literal /
>>                     General-address-literal ) "]"
>>                     ; See Section 4.1.3
>>
>>    Mailbox        = Local-part "@" ( Domain / address-literal )
>>
>>However, Courier gives a syntax error:
>>
>>    >>> rcpt to:<postmaster@[127.0.0.1]>
>>    <<< 513 Syntax error.
>>
>>Has it always been so?  Why?

On 29.07.16 06:48, Sam Varshavchik wrote:
>Courier should accept postmaster@[ipaddress], where ipaddress matches
>the connection's IP address. It won't accept any other IP address.

what about servers behind DNAT?

That's obviously a problem. But this problem is due to DNAT itself.

If a mail server accepts any IP address, delivers locally for its own IP address, and relays everything else, DNAT will still be a problem there. A mail addressed to postmaster@[public ip address] which reach the server, which will promptly attempt to relay it.

If the mail server ignores the IP address, then the mail server itself cannot be used to relay mail for postmaster@[some public ip address].

I would also have to question whether anyone cares a lot about this legacy SMTP feature.

Attachment: pgp9UDZj1ttTv.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to