不知道是不是我設定有問題
exim4 似乎無法分辨帳號的大小寫
例如:
- 帳號中只有Ring
那寄信給Ring@aaa.bbb
信會被打回來- 代碼: 選擇全部
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
Ring@aaa.bbb
SMTP error from remote mailer after end of data:
host localhost [127.0.0.1]: 550 5.1.0 unknown user
- 若帳號中同時有 Ring 及 ring
無論寄信給 Ring 或 ring
exim會將信通通傳給ring
exim 的 mainlog- 代碼: 選擇全部
2004-12-20 20:04:53 1CgMHV-0000Rh-52 => ring <Ring@aaa.bbb> R=local_user T=mail_spool
2004-12-20 20:04:53 1CgMHV-0000Rh-52 Completed
2004-12-20 20:05:12 1CgMHo-0000Rl-AN => ring <ring@aaa.bbb> R=local_user T=mail_spool
2004-12-20 20:05:12 1CgMHo-0000Rl-AN Completed
2004-12-20 20:21:39 1CgMXj-0000SM-6z => ring <Ring@localhost> R=local_user T=mail_spool
2004-12-20 20:21:39 1CgMXj-0000SM-6z Completed
2004-12-20 20:22:02 1CgMY6-0000SR-FM => ring <ring@localhost> R=local_user T=mail_spool
2004-12-20 20:22:02 1CgMY6-0000SR-FM Completed
請問大家有同樣的問題嗎?
又或該如何設定呢?
========================================
原來exim預設是caseless
如果要改為Case-sensitivity
編輯/etc/exim4/conf.d/router/900_exim4-config_local_user
local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
check_local_user
caseful_local_part = true
local_parts = ! root
transport = LOCAL_DELIVERY
加上紅色那一段就行了