|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jack Sasportas (jack
innovativeinternet.com)Date: Wed Jan 03 2001 - 22:57:58 CST
If I want to put postfix on a box that will only send outgoing mail from
CGI programs for web sites we host, and NONE of the email is to be
delivered to the same server ( in other words this will be a webserver
only ) what are the basic parameters I need to setup ?
The documentation is a bit confusing with all the smtpd type stuff.
Maybe if I explain what my problem is, this will help in better
understanding what I need to accomplish.
ServerM ( Mail) and ServerW ( Web) -- sit on the same network, when I
execute a cgi program on server W, it tries to deliver the mail locally,
even though the MX shows that it should be delivered to server M, this
of course causes problems when someone we host fills out a form calling
a cgi program on the W server, and expects their script to email them a
message, only to find out it that it didn't send the message properly.
I do not need the server to RELAY mail for anyone, but the scripts so I
can probably do
mynetworks = 127.0.0.0/8 and smtpd_client_restrictions =
permit_mynetworks.
I beleive this will not allow *anyone* outside that box to send a
message...Right ?
Then I think smtpd_recipient_restrictions = (left blank) will not
accept any mail, but will this just make it bomb, and then the client
gets a reject ? I just want it to let the mail get routed to the proper
box...
Also will root's mail still work if this is set this way?
Desperatly trying to fix this problem tonight....any help greatly
appreciated...
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]