From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 27 Oct 2005 13:29:52 +0400 From: Vitaly Gorshkov X-Mailer: The Bat! (v3.5) Professional X-Priority: 3 (Normal) Message-ID: <1112706600.20051027132952@mail.ru> To: ALT Linux Community , Subject: Re[2]: [Comm] postfix + sasl + cyrus + ... In-Reply-To: <20051027065905.GC10534@ricom.ru> References: <57708048.20051026211654@mail.ru> <20051026203119.GB16820@ricom.ru> <86675159.20051027091523@mail.ru> <20051027065905.GC10534@ricom.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vitaly Gorshkov , ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 09:30:15 -0000 Archived-At: List-Archive: List-Post: а тут /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 : Recipient address rejected: Greylisted for 5 minutes; from= to= pro to=ESMTP helo= 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