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

[[email protected] SPECS]# rpm -q postfix
postfix-2.5.5-1.cdb.notls.rhel5


[[email protected] SPECS]# cat /etc/postfix/vmap
[email protected]      [email protected]



[[email protected] 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 [email protected] to [email protected] -------------
(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=<[email protected]>
Jan  6 19:58:17 chatserver-devel postfix/qmgr[22417]: AFC0A18CF2E:
from=<[email protected]>, 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=<[email protected]>, orig_to=<[email protected]>,
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 [email protected] to [email protected] 
(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=<[email protected]>
Jan  6 19:59:28 chatserver-devel postfix/qmgr[22417]: 8E42D18CF2E:
from=<[email protected]>, 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=<[email protected]>, 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
[[email protected] postfix]# postmap -q [email protected]
cdb:/etc/postfix/vmap
[email protected]
[[email protected] postfix]# postmap -q [email protected]
cdb:/etc/postfix/vmap
[[email protected] postfix]#


Reply via email to