Use one machine to send mail with 2 ip's

Posted by fermin on Stack Overflow See other posts from Stack Overflow or by fermin
Published on 2010-04-09T11:12:33Z Indexed on 2010/04/09 11:13 UTC
Read the original article Hit count: 383

Filed under:
|
|
|

I need to config one SMTP server (sendmail) to send mail with 2 interfaces with different ip's depending server.

For example: In same machine with to ip: 1.1.1.1 and 2.2.2.2 i need to send email [email protected] by 1.1.1.1 and [email protected] by 2.2.2.2

I don't now if i can configure it on sendmail, or use iptables, some idea ?

Thx.

© Stack Overflow or respective owner

Use one machine to send mail with 2 ip's

Posted by fermin on Server Fault See other posts from Server Fault or by fermin
Published on 2010-04-09T11:12:33Z Indexed on 2010/04/09 11:23 UTC
Read the original article Hit count: 383

Filed under:
|
|
|

I need to config one SMTP server (sendmail) to send mail with 2 interfaces with different ip's depending server.

For example: In same machine with to ip: 1.1.1.1 and 2.2.2.2 i need to send email [email protected] by 1.1.1.1 and [email protected] by 2.2.2.2

I don't now if i can configure it on sendmail, or use iptables, some idea ?

Thx.

© Server Fault or respective owner

Related posts about sendmail

Related posts about unix