Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 22:49:01 +0100
From:      Joe Kraft <hishadow@netcabo.pt>
To:        freebsd-questions@freebsd.org
Subject:   Re: sendmail from 4.10-STABLE firewall
Message-ID:  <cggd4d$3l1$1@sea.gmane.org>
In-Reply-To: <412A017F.5020201@mac.com>
References:  <cgavj0$a3l$1@sea.gmane.org> <412A017F.5020201@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Chuck Swiger wrote:
> Joe Kraft wrote:
> 
>> I'm using a 4.10-STABLE based firewall, which is happily chugging 
>> along. It's sending it's daily messages to a local account via 
>> sendmail, which I check by logging in using an ssh connection.
> 
> [ ... ]
> 
>> 3) Is there a way to convince sendmail to send to something like 
>> foo@10.0.0.55?  I could just put that in my existing aliases file and 
>> not have to install anything more.
> 
> 
> The key part of your request is answered by using IP addrs in square 
> brackets, which will not require DNS MX or A lookups.  So, add something 
> like:
> 
> foo@[10.0.0.55]
> 
> ...to the ~/.forward file of root or wherever the mail is going to now.  
> Yes, you could put this in the aliases, or even use a mailertable to 
> redirect all local mail to the other system.
> 

I tried doing it that way and it wouldn't go out either.  I wound up 
adding the 10.0.0.55 server to /etc/hosts and letting sendmail do it's 
lookup there.  I never convinced sendmail to send to to the user foo on 
the 10.0.0.55 server, is that supposed to be possible?

Joe.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cggd4d$3l1$1>