Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configure to send with a specific ip address

Status
Not open for further replies.

penguinol

IS-IT--Management
Jan 23, 2006
1
US
Hello, is there an option to force sendmail to send outgoing mail with a specific ip address? I have already tried changing the smtp port options, but that seems to only change the listening address. I'd like to change the ip address from which the mail is sent as well. Thanks in advance.
 
No that is not allowed according to the rules. However, It should be giving the hostname rather than the ip.

 
Got similar problem here - I run some servers (mainly RedHat/Debian) with sendmail. Each machine has an interface (eth0) with 1 main IP and plenty aliases (eth0:1 - 40+) with other IPs.
Queue Runner is run in chrooted enviroment. Xinetd accepts connections on 25 and runs "sendmail -bs -Am" also in chrooted enviroment (using virtuald).
The problem is that mail is send always from main IP, not local IPs (eth:1 etc.). You can see in the mail header, that mail goes thru "localhost".
This is a big problem because the server is very often put on spamlists. Every Virtual Server should use it's own IP to send e-mails... how can I acomplish that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top