Re[2]: Создание пользователя на лету
Hi Dmitriy,
Monday, February 17, 2003, 4:23:32 PM, you wrote:
DS> И еще вопрос, при переходе с RH на Debian обнаружилось, что последний
DS> считает неправильными логины типа aaa.sss , т.е. с точкой, а у меня таких
DS> накопилось немало, обычно людям нравится чтобы почтовый адрес был
DS> имя.фамилия@что-то.нет
DS> Может есть что подправить, чтобы Дебиан был не против таких логинов ?
В postfix'e для этих целей есть:
If you need username->Firstname.Lastname mapping:
# The recipient_canonical_maps parameter specifies optional address
# mapping lookup tables for envelope and header RECIPIENT addresses.
#
# By default, no recipient-only address mapping is done.
#
# $recipient_canonical_maps is used before $canonical_maps lookups.
#
#recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
recipient_canonical_maps =
# The sender_canonical_maps parameter specifies optional address
# mapping lookup tables for envelope and header SENDER addresses.
#
# For example, you want to rewrite the SENDER address user@ugly.domain
# to user@pretty.domain, while still being able to send mail to the
# RECIPIENT address user@ugly.domain.
#
# By default, no sender-only address mapping is done.
#
# $sender_canonical_maps is used before $canonical_maps lookups.
#
#sender_canonical_maps = hash:/etc/postfix/sender_canonical
sender_canonical_maps =
В /etc/postfix/sender_canonical указывается:
username Vasya.Pupkin
В /etc/postfix/recipient_canonical указывается:
Vasya.Pupkin username
И в системе не надо заводить пользователей вида "Vasya.Pupkin"...
Насчет exim'a и sendmail'a ничего не скажу...
--
WBR, Lnk.
Reply to: