LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2003, 11:31 PM   #1
synfield
LQ Newbie
 
Registered: Mar 2003
Location: Auckland, New Zealand
Distribution: RH 7.3
Posts: 15

Rep: Reputation: 0
sendmail test problems


I have a small 3 node LAN, all running RH7.3 have set up sendmail and enabled pop3.

My objective is to get the users on each of the client nodes to be able to send mail internally.

I have not configured DNS assuming I can do this using the /etc/hosts file,as follows;

127.0.0.1 alinghi localhost.localdomain localhost
192.168.100.1 alinghi alinghi.polecat.com polecat.com
192.168.100.2 oneworld
192.168.100.3 prada

sendmail files configuration as follows

# /etc/mail/local-host-names;

alinghi
alinghi.polecat.com
polecat.com

in /etc/sendmail.cf
I have commented out smtp default i.e;

#O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
O DaemonPortOptions=Port=smtp,Addr=192.168.100.1, Name=MTA

the /etc/mail/access file ia as follows;

localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
polecat.com RELAY

I have confirmed that sendmail is excepting external connections and have enabled pop3 service in ipop3 file.

I test the server/clients using the mail utility
i.e.

#mail boney@polecat.com
subject: testing sendmail...
.
EOT

when i look at the /var/log/maillog on alinghi
i get the following connection refused error

Apr 7 15:48:20 alinghi sendmail[10855]: h372PBT10420: to=bruce@oneworld, ctladdr=todd (501/500), delay=01:23:09, xdelay=00:00:00, mailer=esmtp, pri=300124, relay=oneworld.localdomain., dsn=4.0.0, stat=Deferred: Connection refused by oneworld.localdomain.


Note boney is a user on alinghi (also the mail server)
polecat.com is also aliase for alinghi as noted in 'hosts' file.

likewise send an email from user on oneworld i.e. bruce@oneworld to boney@polecat.com

and the /var/log/maillog shows a name lookup error

Apr 7 16:16:43 oneworld sendmail[10855]: h374Ahx01915: to=boney@polecat.com, ctladdr=todd (501/500), delay=00:06:00, xdelay=00:00:04, mailer=esmtp, pri=30139, relay=alinghi.polecat.com., dsn=4.0.0, stat=Deferred: Name server: alinghi.polecat.com.: host name lookup failure

I have only configured sendmail on the mail server
alinghi. do i also need to make similar changes to sendmail on all the clients as well?

Eventually i would like users to be able to send email externally and for them to recieve replies externally. I have a dial up connection to my ISP only and have not registered polecat.com as a real FQDN, will I still be able to do this how?

Cheers

Synfield
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora core 3 test 2 problems bunnyknight13 Linux - General 2 10-11-2004 10:23 PM
Fedora Test 1.91 - Orinoco Card Problems controlmusic Fedora 1 04-12-2004 12:33 AM
Fedora Core 2 Test 1 sound problems BrokenUSMC2003 Linux - Laptop and Netbook 1 02-21-2004 12:52 PM
Can I test sendmail via the terminal? cartfanatic39 Linux - Networking 2 09-17-2003 01:04 PM
how can i test if sendmail actually works? ShawnD Linux - Software 34 08-30-2002 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration