On Wed, 12 Dec 2007 18:24:34 +0100, mouss wrote:
Micah Anderson wrote:
On Sat, 08 Dec 2007 20:18:11 +0100, mouss wrote:
Micah Anderson wrote:
I've found that sending mail to micah+te...@riseup.net results in the
message getting sent to maildrop, but then it silently disappears,
without a trace. Postfix sends the message to the maildrop service,
but it doesn't appear to be delivered and no logger messages from my
maildrop are triggered on it.
Dec 6 11:25:37 cormorant postfix/pipe[20262]: CD32B6036C7: to=<micah
+te...@riseup.net>, relay=maildrop, delay=0.22,
delays=0.04/0.12/0/0.07, dsn=2.0.0, status=sent (delivered via
maildrop service)
can you show the maildrop section in your master.cf?
maildrop unix - n n - - pipe
flags=DRhu user=mail argv=/usr/local/bin/maildrop_wrapper -w 90 -d
${recipient}
but how would maildrop find micah+te...@riseup.net ?
you should use ${user}@${nexthop} instead of ${recipient}.
Yes, this is what I found last night as well. Once I found the pipe(8)
man page and switched to ${user}, then it was recognized. I am not sure
why I didn't see the user unknown message originally, perhaps just missed
it.
Also make sure you have:
maildrop_destination_recipient_limit = 1
so that maildrop is called for each recipient.
Yes, have that.
The maildrop_wrapper has the following:
#!/bin/sh
/usr/bin/maildrop $1 $2 $3 $4 $5
when passing arguments to the shell, always quote them.
Right, got it already.
you probably want to change the arguments you use in postfix and replace
${recipient} with ${user}@${nexthop} (if you need the extension, add a
parameter: ${extension})
I had just changed ${recipient} to ${user}, and it may not matter in our
setup, but I'll look at ${nexthop}
thanks,
micah