Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Postfix newbie question: If I use the default, relay_transport = relay (by commenting out the error line), does that make me an open relay? Or does the inet_interfaces fix it?

inet_interfaces = loopback-only
# default_transport = error
# relay_transport = error

In general, can someone clarify what these two flags do? I have a hard time understanding the documentation.

share|improve this question

2 Answers 2

If you want to verify either way there are a couple of open relay testing tools which should help.

Heres a couple:

checkor.com

Network abuse clearing house

share|improve this answer
    
It appears neither of those sites work anymore. The Abuse.net site was taken down some time ago. –  Chris S 2 days ago

The default value of relay_transport is relay. So as per the documentation, mails will be delivered to the domains listed in relay_domains

Now what is relay_domains? - Destination domains and subdomains the system will relay mails to.

The default value for relay_domains parameter is $mydestination

The default value for $mydestination is localhost, so the mails are deliverd to the same system.

That implies you don't have an open relay.

P.S. Any postfix gurus around? CMIIAW

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.