I am trying to use my alias file for some mapping.
1) In main.cf I have the following line:
alias_database = hash:/etc/postfix/aliases
2) in /etc/postfix I have run newaliases (a db file gets generated.
3) I have the following item in my aliase fiel:
decode: root
4) I restarted postfix
5) However when I try to send decode I get the following in my maillog:
Oct 2 17:36:35 mail postfix/smtp[24744]: 34FCA15FC05D: to=<decode@foo.com>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Mail accepted for delivery (queued as 24874-785AB4F7).)
Oct 2 17:36:35 mail postfix/pipe[24828]: 4584015FC05D: to=<decode@foo.com>, relay=maildrop, delay=0, status=bounced (user unknown. Command output: Invalid user specified. )
I checked my main.cf file and I have the following line:
local_recipient_maps = $virtual_mailbox_maps, $aliase_database
unknown_local_recipient_reject_code = 450
Other than that I'm stuck....
Any ideas on why it is initially sent, but the qmgr rejects it?
1) In main.cf I have the following line:
alias_database = hash:/etc/postfix/aliases
2) in /etc/postfix I have run newaliases (a db file gets generated.
3) I have the following item in my aliase fiel:
decode: root
4) I restarted postfix
5) However when I try to send decode I get the following in my maillog:
Oct 2 17:36:35 mail postfix/smtp[24744]: 34FCA15FC05D: to=<decode@foo.com>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Mail accepted for delivery (queued as 24874-785AB4F7).)
Oct 2 17:36:35 mail postfix/pipe[24828]: 4584015FC05D: to=<decode@foo.com>, relay=maildrop, delay=0, status=bounced (user unknown. Command output: Invalid user specified. )
I checked my main.cf file and I have the following line:
local_recipient_maps = $virtual_mailbox_maps, $aliase_database
unknown_local_recipient_reject_code = 450
Other than that I'm stuck....
Any ideas on why it is initially sent, but the qmgr rejects it?