Re: [courier-users] Address literals

2016-07-30 Thread Sam Varshavchik

Alessandro Vesely writes:


On Fri 29/Jul/2016 12:48:25 +0200 Sam Varshavchik wrote:
> 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:
>> <<< 513 Syntax error.
>>
>> Has it always been so?  Why?
>
> Courier should accept postmaster@[ipaddress], where ipaddress matches the
> connection's IP address. It won't accept any other IP address.

Irrespectively or RELAYCLIENT?


Yes, because the recipient address is local.



pgpYq58fhBpkF.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Address literals

2016-07-30 Thread Sam Varshavchik

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:
>><<< 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.




pgp9UDZj1ttTv.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Address literals

2016-07-30 Thread Alessandro Vesely
On Fri 29/Jul/2016 19:16:48 +0200 Matus UHLAR - fantomas wrote:
>>On Fri 29/Jul/2016 12:48:25 +0200 Sam Varshavchik wrote:
>>> Courier should accept postmaster@[ipaddress], where ipaddress matches the
>>> connection's IP address. It won't accept any other IP address.
>
> On 29.07.16 18:41, Alessandro Vesely wrote:
>> Irrespectively or RELAYCLIENT?
>
> I actually don't think tht RELAYCLIENT should be taken into account.
> if the client has relaying privileges, (s)he should know hot co contact the
> server admin(s)

I tried is to send a complaint to 187.115.25.174.  I tried to send to the 
registered WHOIS address, but got:

  :
  mxin1.gvt.com.br [200.175.5.1]:
  >>> DATA
  <<< 554 rejecting banned content

Nothing bad with the content, it was just message/rfc822, 
message/delivery-status, and text/plain.  Hence their site is obviously badly 
configured --which was the object of the original complaint.  Reverse lookup 
doesn't work either (NOT SYNC ZONE), so I don't know how to contact site 
admins.  One possibility is to just dial 187.115.25.174:25 and ask for 
postmaster...

Ale
-- 




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