Linux / UNIX Tech Support Forum
This is a discussion on Sendmail multiple Hostname and IP (Second Sendmail Instance) within the Mail Servers forums, part of the Mastering Servers category; Hi. I'am having an issue with my sendmail configuration and I can't seem to get it to work as I ...
|
|||||||
| Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi.
I'am having an issue with my sendmail configuration and I can't seem to get it to work as I would like. My sendmail machine has mulitple IP addresses / hostname. The issue is that I would like to configure sendmail to return the proper name in the 220 message based on the IP address(hostname) that the client MTA is attached to. But sendmail always uses the hostname of the machine itself! I need the following: "telnet domain1.com 25" should return: "220 domain1.com ESMTP Sendmail 8.13.8/8.13.8" while "telnet domain2.com 25" should return "220 domain2.com ESMTP Sendmail 8.13.8/8.13.8" *** Also the message should sent throught the concert IP. e.g. domain1.com 192.168.0.1 , domain2.com 192.168.0.2 If i try to change host with: define(`confDOMAIN_NAME', `mail.maindomain.com')dnl it will always return the same greeting string regadless to the actual host (listen ip) contacted! any help please. |
| Sponsored Links | ||
|
|
|
||||
|
This is not possible as all other domains are virtual domains. The only way to get around this by installing multiple sendmail servers.
__________________
Vivek Gite Linux Evangelist |
|
||||
|
Yes, it is possible if you've two public IP address. See Running a second sendmail instance
Another easy option is to run each sendmail using virtualization software such as xen or jails under FreeBSD.
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| domains , howto second sendmail instance , linux , second sendmail instance tutorial , sendmail |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sendmail Server. | nishith | Mail Servers | 0 | 27-03-2009 08:38 AM |
| postfix one user multiple instance | irfan1234 | Mail Servers | 0 | 10-08-2008 04:53 PM |
| sendmail configuration | snmateen | Mail Servers | 4 | 26-07-2008 05:11 AM |
| Sendmail Server!!!!!!!!!!!!!!! | amsreeku | Linux software | 1 | 24-04-2008 05:32 PM |
| new for sendmail | kasimani | Linux software | 2 | 23-07-2006 09:54 AM |