On Tue, 2009-01-06 at 06:48 -0500, Wietse Venema wrote:

> ram:
> > if I use 
> >    virtual_alias_maps = cdb:/path/mapfile 
> > This doesnt work if mails are sent to users in uppercase 
> 
> Please show evidence of this in the form of SMTP commands and
> Postfix logging.
> 
>       Wietse



I did a default postfix install just to replicate this scenario

[r...@50.133 SPECS]# rpm -q postfix
postfix-2.5.5-1.cdb.notls.rhel5


[r...@50.133 SPECS]# cat /etc/postfix/vmap
t...@netcore.co.in      r...@netcore.co.in



[r...@50.133 SPECS]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.5.5-documentation/html
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.5-documentation/readme
relayhost = [192.168.2.105]
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_maps = cdb:/etc/postfix/vmap


------- Mail from b...@netcore.co.in to t...@netcore.co.in -------------
(mapping OK)


Jan  6 19:58:17 chatserver-devel postfix/smtpd[22474]: connect from
localhost[127.0.0.1]
Jan  6 19:58:17 chatserver-devel postfix/smtpd[22474]: AFC0A18CF2E:
client=localhost[127.0.0.1]
Jan  6 19:58:17 chatserver-devel postfix/cleanup[22477]: AFC0A18CF2E:
message-id=<v9ow6ak9p2m3.1231252...@netcore.co.in>
Jan  6 19:58:17 chatserver-devel postfix/qmgr[22417]: AFC0A18CF2E:
from=<b...@netcore.co.in>, size=564, nrcpt=1 (queue active)
Jan  6 19:58:17 chatserver-devel postfix/smtpd[22474]: disconnect from
localhost[127.0.0.1]
Jan  6 19:58:17 chatserver-devel postfix/smtp[22478]: AFC0A18CF2E:
to=<r...@netcore.co.in>, orig_to=<t...@netcore.co.in>,
relay=192.168.2.105[192.168.2.105]:25, delay=0.07, delays=0.06/0/0/0.01,
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as DDA566682F9)
Jan  6 19:58:17 chatserver-devel postfix/qmgr[22417]: AFC0A18CF2E:
removed






----------------- Mail from b...@netcore.co.in to t...@netcore.co.in 
(mapping failed)
Jan  6 19:59:28 chatserver-devel postfix/smtpd[22474]: connect from
localhost[127.0.0.1]
Jan  6 19:59:28 chatserver-devel postfix/smtpd[22474]: 8E42D18CF2E:
client=localhost[127.0.0.1]
Jan  6 19:59:28 chatserver-devel postfix/cleanup[22477]: 8E42D18CF2E:
message-id=<c3zr8pu4g2i2.1231252...@netcore.co.in>
Jan  6 19:59:28 chatserver-devel postfix/qmgr[22417]: 8E42D18CF2E:
from=<b...@netcore.co.in>, size=564, nrcpt=1 (queue active)
Jan  6 19:59:28 chatserver-devel postfix/smtpd[22474]: disconnect from
localhost[127.0.0.1]
Jan  6 19:59:28 chatserver-devel postfix/smtp[22478]: 8E42D18CF2E:
to=<t...@netcore.co.in>, relay=192.168.2.105[192.168.2.105]:25,
delay=0.1, delays=0.09/0/0/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok:
queued as C17846682F9)
Jan  6 19:59:28 chatserver-devel postfix/qmgr[22417]: 8E42D18CF2E:
removed
  

------This is the postmap output
[r...@50.133 postfix]# postmap -q t...@netcore.co.in
cdb:/etc/postfix/vmap
r...@netcore.co.in
[r...@50.133 postfix]# postmap -q t...@netcore.co.in
cdb:/etc/postfix/vmap
[r...@50.133 postfix]#


Reply via email to