-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 17 Oct 2012 10:44:16 -0400 staticsafe <m...@staticsafe.ca> wrote:
> 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? I don't have that file - if I understand correctly this is ok, $HOME/.procmailrc should be used instead. In that I have VERBOSE=yes, but when I try to send a test mail through postfix: $mail -s test renato sometext . nothing gets written to procmails' logfile (defined again in my .procmailrc) - so that's why I was saying that I think the mail never gets actually handed to procmail. Maybe there's something I'm missing or confusing on the procmail side? (In that case sorry for OT, I really thought it was a postfix issue) cheers, renato -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJQf8m4AAoJEBz6xFdttjrfNk0IAJmwMNTyIKQlMYzua/6nUIDC 9USLg1FkW3WBudPwIatD2PRAI5SwtsAjPtFJEDQ97q/xZ+NWZC+OPXp0sFhkqdEh trtQT/so+spjYomNH5ehztajV7x0ZDnA+uFws9lnoyeixSep4teoFQwSLFpAPN6G rbUQ/bm89OnA6OpLAIpFCgaCOgZNM1KmjYx1n//ne6kNIgIpTeEIEVnCwi0jnxNV d8BxLPx8IG/vtcfOD74m6LoM2VLD+Ww4wEuIOhr00gFuUJ/Y0K9CulZYsJdfyef6 pRR0ziUYv+705D6/SePikTnU88RiGSkLOe2FT5xfvQROh9rCUdcz+uVRH6azSik= =9ACM -----END PGP SIGNATURE-----