On 17/10/2012 10:06 AM, Renato wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I'm new to postfix and MTAs in general; I'd like to set it up for
local delivery only on my Archlinux box. I've followed the instructions
on the archwiki [1] and my configuration files are exactly as explained
there, except that I have *not* set neither home_mailbox nor
mail_spool_directory, but instead I've setted
mailbox_command = /usr/bin/procmail
since I use procmail to sort my mail.
"mail -s test renato" though silently fails (renato is my username) -
i.e. mail never gets passed to procmail. In /var/log/mail.log I see
something like:
Oct 17 15:15:26 localhost postfix/pickup[472]: B3322200238: uid=1000
from=<renato>
Oct 17 15:15:26 localhost postfix/cleanup[2246]: B3322200238:
message-id=<20121017131526.B3322200238@localhost>
Oct 17 15:15:26 localhost postfix/qmgr[473]: B3322200238:
from=<renato@localhost>, size=669, nrcpt=1 (queue active)
Oct 17 15:15:26 localhost postfix/local[2248]: B3322200238: to=<renato@localhost>,
orig_to=<renato>, relay=local, delay=3.6, delays=3.5/0/0/0.05, dsn=4.3.0,
status=deferred (temporary failure)
So I guessed the error is in local; I've substitued "local" with "local -v" in
master.cf and I get a much more detailed log:
http://pastebin.com/Lf95k9mG
which unfortunately doesn't tell me much.
Could someone more expert than me point me in the right direction?
many thanks,
renato
[1]
https://wiki.archlinux.org/index.php/Local_Mail_Delivery_with_Postfix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQEcBAEBAgAGBQJQfrt0AAoJEBz6xFdttjrfaHwIANWA+DcgOTOy59A9+j7bJZ/x
d1XLm4kzLH/QcJGM7KMWIVP37w/il8Tv7nvETDrs2Sxhn84w1VCRTGgw6EV0NW22
Djv5ty2J5uPjsiCj6TQbZyv/fwv0hVGkHpRXKaaZYZOzMK2S+m+j5ek268QcWfKu
YZ217us50OBg5A9MM3pGVYGTWhhLRiYTiju2vZanzWAecmBsN8rMmHmjbOjZdvor
F3eBRrlSLcD9XX+Ft6HMBcY6Dby09Vkn5RG3Nt4b7viX+LidfiuFMiMmwgxfaT19
hpZKDExjVS9mbz1aE7iiiMdNkqkEmI5aT8zEg/KKkrGh9jTS3lBZaA6Y12Spwbo=
=z8j9
-----END PGP SIGNATURE-----
This seems like a configuration error with procmail, can you share your
/etc/procmailrc?
FWIW, this is the mailbox_command in my main.cf:
/usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/mail/ MAILDIR=$HOME/mail
The only thing in my /etc/procmailrc is:
LOGFILE=$HOME/procmaillog
Rest of the mail sorting is done according to the rules defined in each
user's .procmailrc.
--
staticsafe
http://staticsafe.ca