On Tue, Mar 27, 2001 at 10:22:30PM +0100, James & Cybèle wrote:
Hi again, thanks again for all the continued help with my SENDMAIL woes......
1.I can send mail to the internet...isn't that on PORT 25?
But that way it's up to Demon whether they accept connections from your IP. Incoming you have to explicitly allow connections from Demon to your smtp daemon.
2.ps agr gives sendmail accepting connection on Port 25. 3. If I try to run sendmail in the foreground SENDMAIL -bD I get opendaemonsocket; cannot bind Address already in use. WHAT? Still can't see what.
Isn't that because you've already got Sendmail accepting connections on port 25 ie. the address is already in use. Try: # /etc/rc.d/init.d/sendmail stop first before trying to run Sendmail in the foreground. If you're still having problems with `address already in use' messages. Then try: # /usr/sbin/lsof -i TCP:25 Which will tell you what is listening on that port (You might not have lsof but you can do a search for it at Google) and you can then kill it.
4. I'm getting confused with inetd.conf. THis contains a hashed out smtd line that I don't need according to what I've read because the SENDMAIL daemon now runs things? I made changes to hosts.allow as suggested by Frank and when I try /usr/sbin/tcpdchk -v -i /etc/inetd.conf it tells me about an unknown operation in inetd.conf.
I'm sorry I'm not really the person to help you since I don't use Sendmail and it seems that I've led you up the garden path (from inetd.conf): # do not uncomment smtp unless you *really* know what you are doing. # smtp is handled by the sendmail daemon now, not smtpd. It does NOT # run from here, it is started at boot time from /etc/rc.d/rc#.d. So I've no idea how Sendmail access is controlled. Having a look in the boot script should give you an idea though. Any Sendmail wizards out there? I guess it's a Sendmail configuration question which I can't help you with. The question being: How do you allow Sendmail to accept mail from certain IP addresses?
5. When I telnet to my FQDN on port 25 I get refused and it then tries the local host.
Some sort of resolution problem by the sounds of it. Try a variety of stuff: $ telnet localhost 25 $ telnet 127.0.0.1 25 and see how you get on. At least one should work otherwise you couldn't send mail yourself.
I found a useful page on the net in SWEDISH!
My mother speaks Swedish! But she doesn't understand anything about smtp :-(
6. Here are the last few lines from todays log.
starting daemon SMTP NOQUEUE SYSERR(root) opendeamonsocket cannot bind address in use problem creating SMTP socket
Why isn't ps agr (or whatever) listing something else on PORT 25 if that is what it is complaining about........
If you do: # /usr/sbin/lsof -i you'll see that a whole load of stuff might be listening but not necessarily listed in ps output. -- Frank *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* | Boroughbridge | Tel: 01423 323019 | PGP keyID: 0xC0B341A3 | *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* http://www.esperance-linux.co.uk/