Mail UID error

plugin

Verified User
Joined
Aug 17, 2004
Messages
33
I have this error after 24 hours after sending my email to my other sysop:

This message was created automatically by mail delivery software.
A message that you sent has not yet been delivered to one or more of its
recipients after more than 24 hours on the queue on poop.nl.

The message identifier is: 1Bzlod-0000MP-Pb
The date of the message is: Wed, 25 Aug 2004 02:39:03 +0200
The subject of the message is: 1

The address to which the message has not yet been delivered is:

sysop@poop
Delay reason: mailbox /var/mail/sysop has wrong uid (502 != 504)

No action is required on your part. Delivery attempts will continue for
some time, and this warning may be repeated at intervals if the message
remains undelivered. Eventually the mail delivery software will give up,
and when that happens, the message will be returned to you.

I checked his ID and its true:

# id sysop
uid=504(sysop) gid=503(sysop) groups=503(sysop)

BUT this tells me 502, and there is also another 502 account:
[root@poop spamassassin]# ls -al /var/mail/
-rw-rw---- 1 502 mail 0 Jul 11 23:43 sysop
-rw-rw---- 1 502 mail 0 Jul 30 05:45 other

How can i give this folder 504 instead of 502?

Chown 504.mail -f /var/mail/sysop

doesnt work.. It now has the permissions: 'sysop . mail' < ofcourse totally wrong, i want 504 instead of 'sysop'..

Plugin
 
plugin said:
I have this error after 24 hours after sending my email to my other sysop:



I checked his ID and its true:



How can i give this folder 504 instead of 502?

Chown 504.mail -f /var/mail/sysop

doesnt work.. It now has the permissions: 'sysop . mail' < ofcourse totally wrong, i want 504 instead of 'sysop'..

Plugin
it would be correct to type

chown 504 /var/mail/sysop

You must be root to chown this.
-brandt
 
plugin said:
Chown 504.mail -f /var/mail/sysop

doesnt work.. It now has the permissions: 'sysop . mail' < ofcourse totally wrong, i want 504 instead of 'sysop'..
I presume you mean "chown" and not "Chown", as linux/unix are case sensitive.

You do want sysop as the user and mail as the group.

Since all mailboxes in /var/mail (note /var/mail is really a symlink to /var/spool/mail) are system-user mailboxes, they should have the same owner as the name of the mailbox.

Jeff
 
Back
Top