Red hat Sendmail Problem
Mail Content
The original message was received at Fri, 24 Sep 2004 01:01:28 +0800 from [211.162.59.193] ----- Transcript of session follows ----- procmail: Error while writing to "/var/spool/mail/backup" backup... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old Attached Txt File Reporting-MTA: dns; localhost.localdomain Arrival-Date: Fri, 24 Sep 2004 01:01:28 +0800 Final-Recipient: RFC822; JOJO@CERTOSA.COM X-Actual-Recipient: RFC822; backup@localhost.localdomain Action: delayed Status: 4.2.0 Diagnostic-Code: X-Unix; 75 Last-Attempt-Date: Fri, 24 Sep 2004 05:32:55 +0800 Will-Retry-Until: Wed, 29 Sep 2004 01:01:28 +0800 how can i fix it ??/ thx for help |
Uh... Does /var/spool/mail exist? If so, what permissions are set for it?
Does /var/spool/mail/backup exist? With what permissons? To answer these, open a terminal window, and type ls -ld /var/spool/mail ls -l /var/spool/mail/backup and post the result. Groetjes, Kees-Jan |
ls -ld /var/spool/mail
drwxrwxr-x 2 root mail 4096 ?? 24 17:38 /var/spool/mail ls -l /var/spool/mail/backup -rw------- 1 backup mail 2147483369 9月 24 17:40 /var/spool/mail/backup Sometime this problem will issue ,but something haven't this problem |
I would guess that procmail refuses to write mail to /var/spool/mail/backup, because it has insufficient permissions.
Try typing (as root) chmod g+rw /var/spool/mail/backup and see if that improves things. Groetjes, Kees-Jan |
Quote:
thank you very much but this problem just happen in sometime |
I understand.
That means I can't much help you, unless you know exactly when this happens. Is there an /etc/procmailrc? What is in it? Is there an ~backup/.procmailrc? What is in it? (Try typing cat /etc/procmailrc cat ~backup/.procmailrc ) Groetjes, Kees-Jan |
Quote:
anyway, very thx for your help |
Very well. Log in as user backup, and create a file ~/.procmailrc with the following content:
Code:
LOGFILE=${HOME}/procmail.log Code:
chmod 600 ~/.procmailrc Groetjes, Kees-Jan |
From patrick@preford.com.hk Sat Sep 25 17:34:57 2004
Subject: Mail Delivery (failure stephen@certosa.com) Folder: **Requeued** 42025 procmail: [10633] Sat Sep 25 17:34:57 2004 procmail: Assigning "LOGABSTRACT=all" procmail: Locking "/var/spool/mail/backup.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/backup" procmail: Opening "/var/spool/mail/backup" procmail: Acquiring kernel-lock procmail: Error while writing to "/var/spool/mail/backup" procmail: Truncated file to former size procmail: Unlocking "/var/spool/mail/backup.lock" procmail: Notified comsat: "backup@:**Requeued**" |
Ok, that doesn't help much. Procmail still complains that it can't write, without much extra information.
Maybe your harddisk is full? try Code:
df /var/spool/mail Code:
cd /var/spool/mail don't forget to restore the backup of your mailbox, like so: Code:
rm backup Groetjes, Kees-Jan |
Quote:
|
All times are GMT -5. The time now is 10:02 AM. |