On Mi, 05 feb 14, 13:29:08, Markus Schönhaber wrote: > > What is a "notmuch"?
apt-cache show notmuch ;) > Anyway: How does maildrop get mail from postfix - via pipe? If so, > remove the F from the flags to the pipe call in master.cf I'm was using the simplest method, which is via mailbox_command. In the meantime I investigated this deeper and it seems that with this method maildrop is receiving the e-mail via local(8), not pipe(8) and local always prepends a From line when delivering to an external command. I tried using pipe(8), by reusing the already existing definition in master.cf maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} and setting mailbox_transport = maildrop maildrop_destination_recipient_limit = 1 but user 'vmail' does not exist (of course, I only have "normal" users) and if I change that to 'mail' I get: Feb 7 20:34:54 sid postfix/master[2379]: daemon started -- version 2.10.2, configuration /etc/postfix Feb 7 20:35:27 sid postfix/pickup[2380]: 6F4C4C048F: uid=1077 from=<amp> Feb 7 20:35:27 sid postfix/cleanup[2393]: 6F4C4C048F: message-id=<20140207183527.GB2170@sid.nuvreauspam> Feb 7 20:35:27 sid postfix/qmgr[2381]: 6F4C4C048F: from=<amp@sid.nuvreauspam>, size=596, nrcpt=1 (queue active) Feb 7 20:35:27 sid postfix/pipe[2396]: 6F4C4C048F: to=<amp@sid.nuvreauspam>, relay=maildrop, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: ERR: authdaemon: s_connect() failed: No such file or directory Invalid user specified. ) Feb 7 20:35:27 sid postfix/bounce[2398]: 6F4C4C048F: sender non-delivery notification: 7DA61C0509 Feb 7 20:35:27 sid postfix/qmgr[2381]: 6F4C4C048F: removed User 'mail' exists, of course, as per Debian standard and it seems maildrop is installed by the Debian package as $ ls -l /usr/bin/maildrop -rwxr-sr-x 1 root mail 206940 feb 1 19:44 /usr/bin/maildrop Any other suggestions? Thanks, Andrei P.S. prepending of '>' to lines starting with 'From' was not done by postfix and now that I'm thinking about it I've only seen it on external mail. -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt
signature.asc
Description: Digital signature