procmail
[Top] [All Lists]

Mails don't go to the users' mail file

2002-05-28 08:12:11
Hi, I'm using Red Hat 7.3 and I'm having the following problem:
Mails sent to system users don't go to their mail file
(/var/spool/mail/username)
When I send a mail to root (with sendmail or with mail, right from the
command line), the message goes to root's mail file (/var/spool/mail/root),
but when I send it to any other user, it stays in the mqueue and never
leaves it.
I've been told that the user's mail file should belong to the user and to
the "mail" group. I changed it for one user, but it didn't work either.
Procmail is installed:

# rpm -q procmail 
procmail-3.22-5 

 
Current file permissions are:

# ls -l /var/spool/mail 
total 77 
-rw-rw---- 1 claudio    mail         0 may 27 10:47 claudio 
-rw-rw---- 1 nfsnobod   nfsnobod     0 may 2  14:55 nfsnobody 
-rw-rw---- 1 pepe       pepe         0 may 27 10:39 pepe 
-rw------- 1 root       root     76951 may 27 04:02 root 

 
Finally, I looked at the /var/log/maillog file, and found an EX_TEMPFAIL
error:
 

May 27 10:47:04 localhost sendmail[16260]: g4RDl4n16260: from=root, 
size=44, class=0, nrcpts=1, 
msgid=<  <mailto:200205271347(_dot_)g4RDl4n16260(_at_)i>
200205271347(_dot_)g4RDl4n16260(_at_)i(_dot_)(_dot_)(_dot_)>, 
 <mailto:relay=root(_at_)l> relay=root(_at_)l(_dot_)(_dot_)(_dot_) 
May 27 10:47:04 localhost sendmail[16263]: g4RDl4n16260: to=claudio, 
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, 
pri=30044, dsn=4.0.0, stat=Deferred: local mailer 
(/usr/bin/procmail) exited with EX_TEMPFAIL 

 
But I really don't know what may be wrong... Any ideas? 
Thanks in advance,
 
        Claudio
 
 
Additional info:
These are the files in /var/spool/mqueue:
-rw-------    1 root     root           20 may 24 15:47 dfg4OIlFY01765
-rw-------    1 root     root           10 may 24 15:48 dfg4OImPc01777
-rw-------    1 root     root            9 may 24 15:51 dfg4OIplh01880
-rw-------    1 root     root           11 may 24 15:27 dfg4OIRSx00867
-rw-------    1 root     root           12 may 24 15:28 dfg4OISTP00919
-rw-------    1 root     root            9 may 24 15:29 dfg4OIT3000927
-rw-------    1 root     root            9 may 24 16:01 dfg4OJ1na01916
-rw-------    1 root     root            5 may 24 16:02 dfg4OJ2WH01924
-rw-------    1 root     root           13 may 24 16:39 dfg4OJd6c02173
-rw-------    1 root     claudio        10 may 24 16:40 dfg4OJeMl02246
-rw-------    1 root     root           20 may 24 16:14 dfg4OJETA01983
-rw-------    1 root     pepe           14 may 24 16:41 dfg4OJfD802345
-rw-------    1 root     claudio        13 may 24 16:41 dfg4OJfod02375
-rw-------    1 root     root            9 may 24 16:42 dfg4OJgqc02383
-rw-------    1 root     root         1757 may 24 20:39 dfg4ONdPK02630
-rw-------    1 root     root         1610 may 24 21:39 dfg4P0dPF02692
-rw-------    1 root     root         1598 may 24 21:39 dfg4P0dPG02692
-rw-------    1 root     root         1595 may 24 21:39 dfg4P0dPH02692
-rw-------    1 root     root           12 may 27 10:47 dfg4RDl4n16260

<Prev in Thread] Current Thread [Next in Thread>