Hello Everybody,
I´m trying to make a work with procmail and deliver on Fedora 7. Part of flow are the following:
- procmail get the mail from Sendmail
- procmail ask to deliver/dovecot if have any retriction (sizer mailbox, etc)
- procmail put the mail on inbox user.
I had include the following line in the promail config:
| "/usr/libexec/dovecot/deliver -m $DEFAULT"
and the procmail log shows me the following :
procmail: Assigning "MAILDIR=/home/admin/mail" procmail: Assigning "INCLUDERC=/home/admin/Procmail/rc.spam-mail" procmail: Couldn't determine implicit lockfile from "/usr/libexec/dovecot/deliver" procmail: Locking ".lock" procmail: Executing "/usr/libexec/dovecot/deliver,-m,/var/spool/mail/admin" procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver" procmail: Assigning "LASTFOLDER=/usr/libexec/dovecot/deliver -m /var/spool/mail/admin" procmail: Unlocking ".lock" procmail: Skipped "* ^X-Spam-Status:.*Yes" procmail: Skipped "spam" procmail: Skipped "-mail" procmail: Locking "/var/spool/mail/admin.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/admin" procmail: Opening "/var/spool/mail/admin" procmail: Acquiring kernel-lock procmail: Unlocking "/var/spool/mail/admin.lock" procmail: Notified comsat: "admin@556:/var/spool/mail/admin" From admin@itcon.com.br Mon Feb 18 17:52:38 2008 Subject: Fw: tessss22 Folder: /var/spool/mail/admin 3425
What happen afertall? Any clue will be very apreciated
-- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo.
On Mon, 18 Feb 2008, Davi Bariani Boin wrote:
Hello Everybody,
I´m trying to make a work with procmail and deliver on Fedora 7. Part of flow are the following:
- procmail get the mail from Sendmail
- procmail ask to deliver/dovecot if have any retriction (sizer mailbox, etc)
- procmail put the mail on inbox user.
I had include the following line in the promail config:
| "/usr/libexec/dovecot/deliver -m $DEFAULT"
and the procmail log shows me the following :
procmail: Assigning "MAILDIR=/home/admin/mail" procmail: Assigning "INCLUDERC=/home/admin/Procmail/rc.spam-mail" procmail: Couldn't determine implicit lockfile from "/usr/libexec/dovecot/deliver" procmail: Locking ".lock" procmail: Executing "/usr/libexec/dovecot/deliver,-m,/var/spool/mail/admin" procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver"
This is the interesting part. Why did Dovecot Deliver return 75?
-- Asheesh.
-- Your business will go through a period of considerable expansion.
On Feb 18, 2008, at 11:03 PM, Davi Bariani Boin wrote:
procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver"
75 means "temporary failure". Look at Dovecot's logs for the real
error message. If you can't find anything, see http://wiki.dovecot.org/LDA#logging
Timo Sirainen escreveu:
On Feb 18, 2008, at 11:03 PM, Davi Bariani Boin wrote:
procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver"
75 means "temporary failure". Look at Dovecot's logs for the real error message. If you can't find anything, see http://wiki.dovecot.org/LDA#logging
Hello Timo,
Here comes the Dovecot´s log
deliver(admin): Feb 19 10:05:40 Error: open(/var/mail/.temp.icon.icon.com.br.10297.271eea3f5567a71f) failed: Permission denied deliver(admin): Feb 19 10:05:40 Error: file_lock_dotlock() failed with mbox file /var/mail/admin: Permission denied deliver(admin): Feb 19 10:05:40 Info: msgid=006701c872f8$1b20cf10$3c09010a@Ktexnt7: save failed to INBOX
I think is a permission problem. Any sugestion?
-- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo.
Davi Bariani Boin escreveu:
Timo Sirainen escreveu:
On Feb 18, 2008, at 11:03 PM, Davi Bariani Boin wrote:
procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver"
75 means "temporary failure". Look at Dovecot's logs for the real error message. If you can't find anything, see http://wiki.dovecot.org/LDA#logging
I found the solution.
It might as well then just disable dotlocks and just use fcntl locks. I just modify the /etc/dovecot.conf like this:
mbox_read_locks = fcntl mbox_write_locks = dotlock fcntl
and done!!!
See http://wiki.dovecot.org/MailboxFormat/mbox and http://wiki.dovecot.org/MboxLocking
Hello Timo,
Here comes the Dovecot´s log
deliver(admin): Feb 19 10:05:40 Error: open(/var/mail/.temp.icon.icon.com.br.10297.271eea3f5567a71f) failed: Permission denied deliver(admin): Feb 19 10:05:40 Error: file_lock_dotlock() failed with mbox file /var/mail/admin: Permission denied deliver(admin): Feb 19 10:05:40 Info: msgid=006701c872f8$1b20cf10$3c09010a@Ktexnt7: save failed to INBOX
I think is a permission problem. Any sugestion?
-- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo.
participants (3)
-
Asheesh Laroia
-
Davi Bariani Boin
-
Timo Sirainen