SLUG Mailing List Archives
Re: [SLUG] smtp and fedora
- To: Mike MacCana <mikem@xxxxxxxxxxxx>
- Subject: Re: [SLUG] smtp and fedora
- From: Grant Parnell <gripz@xxxxxxxxxxx>
- Date: Tue, 17 Feb 2004 10:46:01 +1100 (EST)
- Cc: slug@xxxxxxxxxxx
- Cc: dmgray0325@xxxxxxxxx
On Mon, 16 Feb 2004, Mike MacCana wrote:
> On Mon, 16 Feb 2004, Dennis M. Gray wrote:
> > I am trying to configure a new Fedora installation but get a "Connection
> > Refused" when trying to connect remotely to port 25. I have looked at
> > iptables, which seem okay. netstat -lpetu shows that it is listening on
> > port 25.
> Port 25 of which IP address? In Fedora / RH, Sendmail and Postfix are
> installed as submission agents only (ie, to send email out, but not listen
> externally to recieve it).
> To make Postfix listen on port 25 of interfaces other than the loopback,
> open /etc/postfix/main.cf and change the inet_interfaces line to use all.
> For Sendmail, open up /etc/sendmail/sendmail.mc, find the appropriate
> option (I can't remember it off the top of my head) and regenerate the
> config from the macro config file.
That'll be DAEMON_OPTIONS and the Addr= bit. You can put a dnl in front of
the line to accept smtp traffic on all IP's.
cat sendmail.mc |m4 >sendmail.cf
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?