This is a discussion on Problem delivering mail on LAN within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Sorry for the previous post... pushed the send button by mistake. I'm trying to send mail from Host1 to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Sorry for the previous post... pushed the send button by mistake. I'm trying to send mail from Host1 to Host2 on my LAN. Host1 has LFS with qmail installed. I can send/receive mail locally on Host1. In /var/qmail/control/smtproutes I have: denizen.homedomain:192.168.0.2 since I don't have a DNS server on my LAN. 192.168.0.2 is the address of Host2 I have Slackware 9.1 and sendmail installed on Host2. I can send/receive mail locally on Host2. When I try to send mail from Host1 to Host2 I see this in my mail.log on Host1: Nov 13 09:53:30 bouncer qmail: 1068746010.861916 info msg 217917: bytes 363 from <root@bouncer.homedomain> qp 2983 uid 0 Nov 13 09:53:30 bouncer qmail: 1068746010.866961 starting delivery 3: msg 217917 to remote root@denizen.homedomain Nov 13 09:53:30 bouncer qmail: 1068746010.867274 status: local 0/10 remote 1/20 Nov 13 09:53:30 bouncer qmail: 1068746010.877411 delivery 3: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connecti on._(#4.4.1)/ Nov 13 09:53:30 bouncer qmail: 1068746010.877752 status: local 0/10 remote 0/20 There is nothing relevant in the maillog on Host2 hosts.allow on Host2 has this: ALL: 192.168.0., 127.0.0.1 sendmail: 192.168.0., 127.0.0.1 netstat shows sendmail listening on the smtp port I'm using the default sendmail.cf file. I looked on the sendmail FAQ. It says to change or comment out the DaemonPortOption line to enable sendmail to receive mail from other LAN hosts, but doesn't say exactly how to change it. The FAQ assumes the DaemonPortOption is set to allow connections from localhost only, which is not the way Slack sets it up, so I'm not sure that what the FAQ says is helpful. Still, I tried commenting out the DaemonPortOption line in the .cf, restarted sendmail, but I still got the same error in the log on the qmail host. Anyone have an idea what I'm missing? Sorry for the lengthiness. TIA |
| |||
| In article <pan.2003.11.13.19.18.51.334139@whoknowswhat.domai n>, chud wrote: > Sorry for the previous post... pushed the send button by mistake. Oops, I should have read this one first. > Host1. In /var/qmail/control/smtproutes I have: Good, you've got that covered (I think.) > When I try to send mail from Host1 to Host2 I see this in my mail.log on > Host1: Word wrapping is not always Good, BTW. > Sorry,_I_wasn't_able_to_establish_an_SMTP_connecti on._(#4.4.1)/ Nov 13 Try "telnet Host2 25" and see what happens. Does it time out? That would be a firewall issue (not likely on a Slackware box.) Does it connect and cut you off right away? That's a tcpd issue. > hosts.allow on Host2 has this: > ALL: 192.168.0., 127.0.0.1 > sendmail: 192.168.0., 127.0.0.1 Check that. Read man pages for tcpd(8), hosts_access(5) and tcpdchk(8). I think you need a complete IP and netmask for the network, but I am not sure. > Sorry for the lengthiness. TIA NP; it was certainly a better post than the other. -- /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net or put "not-spam" or "/dev/rob0" in Subject header to reply |
| ||||
| /dev/rob0 <rob0@gmx.co.uk> wrote: >> hosts.allow on Host2 has this: >> ALL: 192.168.0., 127.0.0.1 >> sendmail: 192.168.0., 127.0.0.1 NO komma's, just a SPACE delimited list, as far as I know. It probably is now counting the , to the address (and as 192.168.0., doesn't exist, it denies the whole range). The trailing . IS allowed, by the way, it means .* (but again I'm not sure the latter syntax is accepted, we always do it with the trailing dot too: ALL : 127.0.0.1 130.161.210. 192.168.210. # local and TWA net -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TWA ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |
| Thread Tools | |
| Display Modes | |
|
|