![]() |
Sendmai can send mails but unable to receive mails
Hi folks,
slamd64-11.0 sendmail The mail server can send mails but unable to receive mails. I don't have its front-end package such Evolution/Thunderbird installed. I ran command line to perform following test. 1) # telnet localhost 25 .... etc. send a mail to yahoo.com. Mail received without problem. 2) Send a webmail from yahoo.com to this server. Failure. warning: Code:
<satimis@satimis.com>:192.168.0.10 = internal IP of the server domain = satimis.com # echo '$=m' | sendmail -bt -d0.4 Code:
Version 8.13.8TIA B.R. satimis |
Hi,
Go to etc/mail/sendmail.cf and look for # SMTP daemon options O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA change the loopback address to 192.168.0.10 then go to etc/mail/access and add your domain name with the entry RELAY i.e. satimis.com RELAY I hope this helps you |
Hi Johan Strange,
Tks for your advice. Quote:
Code:
...O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA" Added "O DaemonPortOptions=port=smtp, Addr=192.168.0.10, Name=MTA" Comment out "O DaemonPortOptions=Name=MTA" Quote:
Code:
accessNo printout. An empty file # find / -name access Code:
/etc/mail/access# which getmail Code:
/usr/bin/getmailB.R. satimis |
Quote:
What's the output of Code:
ls -la /etc/mail |
Hi falko,
Quote:
I also found getmail running on this box. What is it for, receiving mails? Let Sendmail sending mails? Quote:
Code:
total 268satimis |
getmail is a tool to retrieve external and personal mail from a remote POP/IMAP mailbox to your local mailbox. Fetchmail is another variant doing the same thing. It has nothing to do with delivering or receiving email as in the MTA function. It's a user tool, that needs to be configured and started by/for a specific user. It's not related to your sendmail problem, for which I don't have an answer.
|
Please add satimis.com to /etc/mail/local-host-names and restart Sendmail.
|
Quote:
Edited /etc/mail/local-host-names adding "satimis.com" (only one line on this file) # /etc/rc.d/rc.sendmail restart Code:
Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25msatimis@satimis.com Mail arrived. Tks. A further question; on running # /etc/rc.d/rc.sendmail restart Code:
Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25mHow to check the problem caused. TIA B.R. satimis |
Quote:
|
Quote:
Code:
Edit: After comment out the line "#127.0.0.1 localhost host", problem seems gone $ cat /etc/hosts Code:
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1Following warnings has been existing sometimes on text scrolling at booting Code:
<probing for PCIC:edit /etc/rc.d/rc.pcmcia>B.R. satimis |
| All times are GMT +2. The time now is 15:48. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.