View Single Post
Old 16th February 2009, 05:26
bl4ckb1rd bl4ckb1rd is offline
Join Date: Feb 2009
Posts: 36
Thanks: 2
Thanked 6 Times in 4 Posts

When i modified my, to look like this:

flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}
I got:

Feb 16 05:14:03 ibex postfix/pipe[21476]: DA8971A18014: to=<>, relay=maildrop, delay=8307, delays=8307/0.16/0/0.01, dsn=4.3.5, status=deferred (mail system configuration error)
Feb 16 05:14:03 ibex postfix/pipe[21476]: warning: file /etc/postfix/ service maildrop: unknown macro name: "domain"
So i went to and removed that ${domain} and it said:
Feb 16 05:14:30 ibex postfix/pipe[21570]: 457561A18015: to=<>, relay=maildrop, delay=3300, delays=3300/0.05/0/0.12, dsn=2.0.0, status=sent (delivered via maildrop service)
I went to check, but instead of putting these mails into folder it spammed them into /var/vmail folder... I deleted them, just to clean the mess up. So here's the question, how to pass this ${domain} variable to postfix ? Oh yes, and the default of this maildrop was:

flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
Reply With Quote