LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Open relay (https://www.linuxquestions.org/questions/linux-networking-3/open-relay-222100/)

gubak 08-25-2004 02:49 AM

Open relay
 
I use Postfix.
I've just configured mail server. It's work, but it is an open relay.
How can I change the configuration of mail server not to work like an open relay?

bastard23 08-25-2004 01:02 PM

How do you know it's an open relay?

Make sure smtpd_recipient_restrictions in main.cf has a reject restriction, specifically reject_unauth_destination.

The default, i believe is:
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination

and according to sample-smtpd.cf:
# NOTE: YOU MUST SPECIFY AT LEAST ONE OF THE FOLLOWING RESTRICTIONS
# OTHERWISE POSTFIX REFUSES TO RECEIVE MAIL:
# reject, defer, defer_if_permit, reject_unauth_destination

So you shouldn't be an open relay by default. What have you done to make it an open relay?


All times are GMT -5. The time now is 08:26 AM.