
mr.jarry at gmail
Nov 10, 2009, 12:11 PM
Post #1 of 2
(291 views)
Permalink
|
|
sendmail: write permition problem?
|
|
Hi, I can not make my mail server (sendmail) work. First I thought ssmtp (on sending side) is wrong, so I tried to send mail manually, using telnet: -------------------------------- obelix.somemydomain.com ~ # telnet mail.somemydomain.com 25 Trying 192.168.1.13... Connected to mail.somemydomain.com. Escape character is '^]'. 220 mail.somemydomain.com ESMTP Sendmail 8.14.0/8.14.0; Tue, 10 Nov 2009 19:57:31 GMT HELO 501 5.0.0 HELO requires domain address MAIL FROM:root [at] obelix 250 2.1.0 root [at] obelix Sender ok RCPT TO:test [at] somemydomain 250 2.1.5 test [at] somemydomain Recipient ok DATA 354 Enter mail, end with "." on a line by itself Test message. . 421 4.3.0 collect: Cannot write ./dfnAAJvV8n022567 (bfcommit, uid=0, gid=209): Permission denied Connection closed by foreign host. obelix.somemydomain.com ~ # -------------------------------- Q1: Why on my "HELO" sendmail does not respond with "250 OK"? Q2: What does that "Cannot write ./dfnAAJvV8n022567" mean? Maybe some write-permition on server side? But what/where? -------------------------------- mail.somemydomain.com ~ # ls -al /var/spool total 28 drwxr-xr-x 7 root root 4096 May 30 17:40 . drwxr-xr-x 11 root root 4096 Nov 9 19:30 .. drwxrwx--- 2 smmsp smmsp 4096 Nov 10 19:37 clientmqueue drwxr-x--- 3 root cron 4096 Apr 7 2009 cron drwsrws--- 2 fcron fcron 4096 Nov 10 20:00 fcron drwxr-xr-x 2 mail root 4096 Apr 7 2009 mail drwxr-xr-x 2 smmsp root 4096 Apr 24 2009 mqueue mail.somemydomain.com ~ # more /etc/passwd | grep mail mail:x:8:12:added by portage for mailbase:/var/spool/mail:/sbin/nologin postmaster:x:14:1000:added by portage for mailbase:/var/spool/mail:/sbin/nologin smmsp:x:209:209:added by portage for sendmail:/var/spool/mqueue:/sbin/nologin mail.somemydomain.com ~ # -------------------------------- I just installed sendmail on mail.somemydomain.com instead of ssmtp, and did not change a lot, just included all my server names in /etc/mail/local-host-names. What do I have to do more??? Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
|