Giorgos Keramidas wrote:
On Wed, 2 Jul 2008 11:56:58 -0400, "D W" <[EMAIL PROTECTED]> wrote:Hello,Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com is the host. Five ip aliases for apache virtual servers:Something is probably missing below the last quoted line. Are you using jails for the virtual hosts? If not, then you are probably using *one* Sendmail instance for all the domains, which still sends emails as the primary hostname but should work fine...
You can also force sendmail to send /from/ a specific IP by putting somesomething like the following into /etc/mail/$(hostname).mc
dnl Send via the IP number that correctly reverses to our EHLO CLIENT_OPTIONS(`Name=MTA, Family=inet, Addr=184.108.40.206') Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
Description: OpenPGP digital signature