When i modified my master.cf, to look like this:
Quote:
|
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}
|
I got:
Quote:
Feb 16 05:14:03 ibex postfix/pipe[21476]: DA8971A18014: to=<alen.krmelj@xxx.net>, 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/master.cf: service maildrop: unknown macro name: "domain"
|
So i went to master.cf and removed that ${domain} and it said:
Quote:
|
Feb 16 05:14:30 ibex postfix/pipe[21570]: 457561A18015: to=<alen.krmelj@xxx.net>, 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 xxx.net 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:
Quote:
|
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
|