linux - Configure postfix to view catch-all address in mail header -
i configured catchall postfix follows:-
"#vim /etc/postfix/virtual
@example.com test"
so if send mail xyzjsdv@example.com delivered test@example.com.
but problem shows same user name in mail header "test@example.com". created script checking mail header, need particular user@example should display @ mail header since need differentiate users.
please me how configure postfix, outcome. sudden answers appreciated
not answer - questions have no rep can't put comments on.
what version of postfix running?
i'm doing similar thing on 2.8, , working expected, ie: message (not "envelope") has correct headers - ie: message unmodified.
what test message sending? suggest testing simple, using telnet run following, eg:
telnet <server> 25 connected <server>. escape character '^]'. 220 mail.example.com esmtp helo test.com 250 nbb-dev.safenetbox.biz mail from:<somewhere@example.com> 250 2.1.0 ok rcpt to: <def@example.com> 250 2.1.5 ok data 354 end data <cr><lf>.<cr><lf> sender: abc@example.com subject: testing body . quit
for me gives "letter" message sender "abc@example.com".
also ensure there no *header_rewrite* settings, except defaults (i have never used these, related).
how getting message, mailbox, or getting sent program directly? if going mailbox, getting forwarded?
Comments
Post a Comment