LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sending email across a LAN

[ILUG] Sending email across a LAN

Conor Daly conor.daly_ilug at cod.homelinux.org
Thu May 29 00:03:49 IST 2008


On Wed, May 28, 2008 at 08:51:06PM +0100 or so it is rumoured hereabouts, 
Timothy Murphy thought:
> Surely there must be something I can put in sendmail.mc
> to say, in effect, "send any email addressed to
> a user in the local domain directly to the machine specified"?
 
There is but I'm so far from using sendmail that I have no clue what it
is.

> I notice that
> -----------------------------------------
> [tim at helen ~]$ telnet alfred smtp
> Trying 192.168.2.1...
> telnet: connect to address 192.168.2.1: Connection refused
> telnet: Unable to connect to remote host: Connection refused
> -----------------------------------------
> fails.
> Why is this?
> Could I open port 25 to incoming packets?

Two possibilities:

1. Your firewall is blocking port 25

2. alfred's sendmail is accepting email only on the loopback interface.
This is the default behaviour for sendmail on Fedora.  You need to look in
/etc/mail/sendmail.mc and comment out the line:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

which restricts incoming mail to the loopback interface only.

Conor

-- 
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++ 
------END GEEK CODE BLOCK------
http://www.geekcode.com/ http://www.ebb.org/ungeek/



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell