Linux 'mail' comand.
Hi. Using Slackware 12.2.
Really enjoying command line stuff more so than the GUI. Playing around with the mail command but cannot send ANY mail(or at least recieve ) any mail when sending between user accounts i've set up locally to try some stuff out on. What's going on? Even tried using pine and the mail sends fine but never receives on the alternate user when I log on as that user to check. (and vice versa) Kind regards. |
So I checked var/log/mail log as root and found - "Connection refused by [127.0.0.1]
Don't know why however. |
Which MTA (Mail Transport Agent) are you using? The default is frequently sendmail, could be Postfix or Exim.
Looks like a firewall issue ie you are not allowing cxns in on lo (localhost) ie 127.0.0.1 on port 25. Run /sbin/ifconfig and iptables -L You'll (should) see the localhost entry in /etc/hosts |
An easy way to test firewall/listener daemon issues like this is to run "telnet host 25". You should get a prompt something like this:
Code:
user@host $ telnet mailhost 25 |
All times are GMT -5. The time now is 05:00 PM. |