i'm using :
- postfix-2.2.3_1,1
- maildrop-1.8.0_3
- courier-imap-4.0.3,1
- courier-authlib-base-0.56
- courier-authlib-mysql-0.56
(all from FreeBSD ports)
(without routing to maildrop transport postfix exec normal operations)
i've made a transport and routed mails in it in master.cf :
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d
${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}
${sender} -w 90
when i send mail i get this in maillog:
Jun 11 01:04:42 ao postfix/pipe[96040]: 50B7A896: to=<us...@domain.tld>,
relay=maildrop, delay=0, status=bounced (user unknown. Command output:
Invalid user specified. )
but if i execute a "cat mail | maildrop -d $user" in a shell (su vmail)
it work
how postfix emulate shell environment to make these differences ?
i'm not a coder but it seem other user have the same problem
Thanks for help.
begin:vcard
fn;quoted-printable:Jean Th=C3=A9ry
n;quoted-printable:Th=C3=A9ry;Jean
org:Olympus Zone
adr:;;2 rue du port;Soisy sur Seine;;91450;France
email;internet:jean...@olympus-zone.net
title;quoted-printable:Administration R=C3=A9seaux, Syst=C3=A8mes & Hosting
tel;work:0677007708
tel;fax:0160756858
tel;cell:0677007708
x-mozilla-html:FALSE
url:http://www.olympus-zone.net
version:2.1
end:vcard