You've really got two choices, well, three. Among your choices :-) First you could just change sendmail back to what it was originally, although that'll mean that you can't get to it from another machine (that may not be a problem). Second, you could tell fetchmail to connect to a different host.
The third option, which is, I suspect is the one you're really after, is to have sendmail listen on the wildcard IP address: change sendmail.mc to
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
that way you'll be able to connect to localhost (127.0.0.1) and the 192.* address. Bear in mind that you may have to make other changes if you want to be able to use this machine as a relay, but you probably don't. I do with mine, but then mail is what I do.
jch
soulpoet@xxxxxxxxxxxxxxx wrote:
Hi Charles,
The error:
.fetchmail: SMTP connect to localhost failed
suggests it is trying to sendmail to the localhost, which if you do a ping localhost on the command line, it should resolve to 127.0.0.1.
I suggest because you disabled accepting mail on the address 127.0.0.1, is edit your /etc/hosts file to make localhost resolve to 192.168.0.3.
eg: 192.168.0.3 localhost
Hope that helps.
Cheers, Adrian
I have loaded RH9 on my RH8 box, and now I am having trouble getting sendmail to receive mail. It sends just fine. I use fetchmail (and a .fetchmailrc file in /root) in a cron. I now get the following error:
.fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from smtp.tds.net
localhost, localhost.localdomain, are both in the access file and in the local-host-names, and I have as usual changed
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.3, Name=MTA')dnl
to remove the 127.0.0.1 and changed to the IP address above. Finally, /etc/sysconfig/sendmail has daemon=yes and queue=1h
So, there is something obvious I am missing. Can anyone help?
TIA
Cheers-- Charles
--- Remember the heroes of UAL 93
--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list