I tried restarting it again. I got this result:
Code:
root@megabuffen:/var/log# service sendmail restart
* Restarting Mail Transport Agent (MTA) sendmail
451 4.0.0 /etc/mail/sendmail.cf: line 106: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory
[ OK ]
root@megabuffen:/var/log#
Afterwards, "ps -A | grep send" shows nothing and when i try "telnet localhost 25" it just says "telnet: Unable to connect to remote host: Connection refused". It doesn't seem to be running.
These are the permissions for the file "/etc/mail/local-host-names":
Code:
-rw-r--r-- 1 root smmsp 32 2011-03-08 12:34 local-host-names
When I try to send a mail, these 2 lines show up in mail.log:
Code:
Mar 11 15:36:01 megabuffen sendmail[14362]: p2BEZwjs014362: from=kalle, size=5, class=0, nrcpts=2, msgid=<201103111435.p2BEZwjs014362@megabuffen.dyndns.org>, relay=root@localhost
Mar 11 15:36:01 megabuffen sendmail[14362]: p2BEZwjs014362: to=kalle.elmer@telia.com,test, ctladdr=kalle (1000/1000), delay=00:00:03,
xdelay=00:00:00, mailer=relay, pri=60005, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Bookmarks