Alberto Benati <ben...@economia.unibo.it> writes:
<shrug>
Looks like the README.postfix that ships with maildrop is better for
your approach. However, ...
In master.cf, i try:
1)
maildrop unix - n n - - pipe
flags=uR user=vscan argv=/usr/bin/maildrop -d {recipient}
2)
maildrop unix - n n - - pipe
flags=uR user=vscan argv=/usr/bin/maildrop -d {user}
3)
maildrop unix - n n - - pipe
flags=uR user=vscan argv=/usr/bin/maildrop -d user
All these three are wrong. Instead, use ${recipient} in 1, ${user} in 2.
4)
maildrop unix - n n - - pipe
flags=uR user=vscan argv=/usr/bin/maildrop -d /usr/bin/maildrop -d "$USER" -f
"$SENDER" "$EXTENSION"
Check man maildrop: -d /usr/bin/maildrop cannot work either, because the
user you want to deliver to is not "/usr/bin/maildrop".
Apr 25 15:40:45 pcalby maildrop[14781]: Invalid user specified.
Apr 25 15:40:45 pcalby postfix/pipe[14780]: E3C7E169CF:
to=<ben...@prova.it>, relay=maildrop, delay=1, status=bounced (user
unknown. Command output: /usr/bin/maildrop: Invalid user specified. )
Obviously.