[lug] testing postfix against relay

Hugh Brown hugh at math.byu.edu
Sun Dec 31 21:29:48 MST 2006


D. Stimits wrote:
> I believe I have a postfix install set up correctly, such that it will 
> deliver email to the local machine from either the local machine or from 
> outside. Also that local users can email to the outside world. Is there 
> an "acid test" to verify that it will not relay from the outside world 
> to the outside world?
> 
> D. Stimits, stimits AT comcast DOT net


you can also just telnet to port 25 and do

HELO <name of host you are connecting from>
MAIL FROM: non-local at email.address
RCPT TO: non-local2 at email.address


at which point you should get a Relaying Denied message.



More information about the LUG mailing list