Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sendmail: write permition problem?
Date: Tue, 10 Nov 2009 20:13:32
Message-Id: 4AF9C904.3010200@gmail.com
1 Hi,
2 I can not make my mail server (sendmail) work. First I thought
3 ssmtp (on sending side) is wrong, so I tried to send mail
4 manually, using telnet:
5
6 --------------------------------
7 obelix.somemydomain.com ~ # telnet mail.somemydomain.com 25
8 Trying 192.168.1.13...
9 Connected to mail.somemydomain.com.
10 Escape character is '^]'.
11 220 mail.somemydomain.com ESMTP Sendmail 8.14.0/8.14.0; Tue, 10 Nov 2009
12 19:57:31 GMT
13 HELO
14 501 5.0.0 HELO requires domain address
15 MAIL FROM:root@×××××××××××××××××××.com
16 250 2.1.0 root@×××××××××××××××××××.com... Sender ok
17 RCPT TO:test@××××××××××××.com
18 250 2.1.5 test@××××××××××××.com... Recipient ok
19 DATA
20 354 Enter mail, end with "." on a line by itself
21 Test message.
22 .
23 421 4.3.0 collect: Cannot write ./dfnAAJvV8n022567 (bfcommit, uid=0,
24 gid=209): Permission denied
25 Connection closed by foreign host.
26 obelix.somemydomain.com ~ #
27 --------------------------------
28
29 Q1: Why on my "HELO" sendmail does not respond with "250 OK"?
30
31 Q2: What does that "Cannot write ./dfnAAJvV8n022567" mean?
32 Maybe some write-permition on server side? But what/where?
33
34 --------------------------------
35 mail.somemydomain.com ~ # ls -al /var/spool
36 total 28
37 drwxr-xr-x 7 root root 4096 May 30 17:40 .
38 drwxr-xr-x 11 root root 4096 Nov 9 19:30 ..
39 drwxrwx--- 2 smmsp smmsp 4096 Nov 10 19:37 clientmqueue
40 drwxr-x--- 3 root cron 4096 Apr 7 2009 cron
41 drwsrws--- 2 fcron fcron 4096 Nov 10 20:00 fcron
42 drwxr-xr-x 2 mail root 4096 Apr 7 2009 mail
43 drwxr-xr-x 2 smmsp root 4096 Apr 24 2009 mqueue
44
45 mail.somemydomain.com ~ # more /etc/passwd | grep mail
46 mail:x:8:12:added by portage for mailbase:/var/spool/mail:/sbin/nologin
47 postmaster:x:14:1000:added by portage for
48 mailbase:/var/spool/mail:/sbin/nologin
49 smmsp:x:209:209:added by portage for
50 sendmail:/var/spool/mqueue:/sbin/nologin
51 mail.somemydomain.com ~ #
52 --------------------------------
53
54 I just installed sendmail on mail.somemydomain.com instead
55 of ssmtp, and did not change a lot, just included all my
56 server names in /etc/mail/local-host-names. What do I have
57 to do more???
58
59 Jarry
60
61 --
62 _______________________________________________________________
63 This mailbox accepts e-mails only from selected mailing-lists!
64 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] sendmail: write permition problem? John Lowry <johnlowry@×××××.com>