Relaying through Smart Host

Douglas Furlong douglas.furlong at firebox.com
Fri Aug 20 08:24:53 UTC 2004


On Fri, 2004-08-20 at 07:16 +0100, Paul Howarth wrote:
> On Fri, 2004-08-20 at 05:18, Steve deCarteret wrote:
> > I am trying to get my Sendmail server to send through my ISPs SMTP server.
> > I've defined the address in the mc file, and my server can resolve the
> > address, but outbound mail from another host on the network gets the
> > relaying denied message.  Is there a relay feature I am missing?
> 
> Do you have FEATURE(`access_db') and an access.db entry allowing hosts
> on your network to relay through your server? 
> 
> > Mail works fine when the host's client is configured to go straight through
> > the ISPs SMTP....
> 
> It sounds like it's your server that's denying relaying, not the ISP's.
> 
> Cheers, Paul.
> -- 
> Paul Howarth <paul at city-fan.org>
It may also be that sendmail is lot listing on his internal network
intreface.

By default sendmail only listens on the loopback interface (127.0.0.1),
and it needs to be reconfigured to listen to any other interface.

Check in /etc/mail/sendmail.mc for a line 
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl


Comment that out, and then restart sendmail.

Hope this helps.



-- 
Douglas Furlong
Systems Administrator
Firebox.com
T: 0870 420 4475        F: 0870 220 2178
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040820/1f5b6ae8/attachment-0001.sig>


More information about the fedora-list mailing list