[Comm] postfix + sasl + cyrus + ...

Vitaly Gorshkov =?iso-8859-1?q?vita55555_=CE=C1_mail=2Eru?=
Чт Окт 27 13:29:52 MSD 2005


   а тут /etc/postfix/sender_access.cf, ничего не написал. Посомтрел в
AM> Да.. действительно. Упустил. Поправил статью - можешь посмотреть
AM> http://www.freesource.info/wiki/AltLinux/Dokumentacija/PostfixCyrusImap

ссылка в Mozille FireFox 1.0.6 Коряво открывается - окошки мизерные, а в Maxthon
нормально...странно

внес изменения, в 12-50
Oct 27 12:46:16 linux2 postfix/smtpd[5259]: fatal: /etc/postfix/sender_access.cf: bad string length 0 < 1: dbname =
Oct 27 12:47:17 linux2 postfix/smtpd[5260]: fatal: /etc/postfix/sender_access.cf: bad string length 0 < 1: dbname =
Oct 27 12:48:18 linux2 postfix/smtpd[5261]: fatal: /etc/postfix/sender_access.cf: bad string length 0 < 1: dbname =
Oct 27 12:49:19 linux2 postfix/smtpd[5262]: fatal: /etc/postfix/sender_access.cf: bad string length 0 < 1: dbname =

теперь сообщения пропали, но

Oct 27 13:03:55 linux2 postfix/smtpd[5346]: connect from mail.tula.net[212.12.0.1]
Oct 27 13:03:56 linux2 postfix/smtpd[5346]: NOQUEUE: reject: RCPT from
mail.tula.net[212.12.0.1]: 450 <vgorshkov@имя_конторы.tula.net >: Recipient address rejected: Greylisted for 5 minutes; from=<V.Gorshkov на tula.net> to=<vgorshkov на paradigma.tula.net> pro
to=ESMTP helo=<mail.tula.net>
Oct 27 13:03:57 linux2 postfix/smtpd[5346]: disconnect from mail.tula.net[212.12.0.1]

т.е. postfix не может найти энтот ясчик...

 /etc/postfix/local_users
vgorshkov@имя_конторы.tula.net none

после postmap /etc/postfix/local_users

/etc/postfix/virtual
vgorshkov       v.gorshkov

после postmap /etc/postfix/virtual


[root на linux2 postfix]# sasldblistusers2
cyrus на linux2: userPassword
vgorshkov на linux2: cmusaslsecretOTP
cyrus на linux2: cmusaslsecretOTP
vgorshkov на linux2: userPassword


/etc/postfix/main.cf
myhostname = linux2.имя_конторы.tula.net
myorigin = $mydomain
mydomain = имя_конторы.tula.net
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
#mynetworks_style = subnet
mynetworks = $config_directory/mynetworks
relay_domains = $mydestination
relayhost = 212.12.0.1
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases

local_recipient_maps = hash:/etc/postfix/local_users
virtual_alias_maps = hash:/etc/postfix/virtual

mailbox_transport = lmtp:unix:/public/lmtp

# SASL configuration
#####################
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_option = noanonymous
smtpd_sasl_local_domain = $mydomain





smtpd_etrn_restrictions = permit_mynetworks, reject
# rejecting control goes here
############################

smtpd_helo_required = yes
strict_rfc821_envelopes = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
        permit_mynetworks,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_unauth_destination,
        check_policy_service inet:127.0.0.1:2501
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname,
smtpd_sender_restrictions = permit_mynetworks,
        permit_sasl_authenticated,
        reject_unknown_sender_domain,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        check_sender_access mysql:/etc/postfix/sender_access.cf
smtpd_client_restrictions = permit_mynetworks,
        permit_sasl_authenticated,
        reject_rbl_client relays.ordb.org,
        reject_rbl_client opm.blitzed.org,
        reject_unauth_destination,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        check_client_access mysql:/etc/postfix/sender_access.cf
smtpd_data_restrictions = reject_unauth_pipelining

content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

# directory
#############################

readme_directory = /etc/postfix/README_FILES
sample_directory = /etc/postfix/README_FILES
sendmail_path = /usr/sbin/sendmail
html_directory = /usr/share/doc/postfix-2.2.4/html
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix

 





-- 
С уважением,
 Vitaly                          mailto:vita55555 на mail.ru





Подробная информация о списке рассылки community