From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <45DF0BD8.8020207@tangramltd.com> Date: Fri, 23 Feb 2007 17:44:24 +0200 From: Slava Dubrovskiy Organization: Tangram User-Agent: Thunderbird 1.5.0.8 (X11/20061205) MIME-Version: 1.0 To: slava@tangramltd.com, ALT Linux sysadmin discuss References: <45D44F38.9030909@tangramltd.com> In-Reply-To: <45D44F38.9030909@tangramltd.com> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050905060108060507060007" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ua2.tanhost.com X-AntiAbuse: Original Domain - lists.altlinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tangramltd.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [Sysadmins] =?utf-8?b?0JTRg9Cx0LvQuNGA0L7QstCw0L3QuNC1INC/0Lg=?= =?utf-8?b?0YHQtdC8INCyIHBvc3RmaXg=?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: slava@tangramltd.com, ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 15:44:46 -0000 Archived-At: List-Archive: This is a cryptographically signed message in MIME format. --------------ms050905060108060507060007 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slava Dubrovskiy пишет: > Здравствуйте. > Помогите разобраться почему дублируются письма. > > Решил прикрутить спамассассин к постфиксу. Т.к. хотят, чтобы письма не > фильтровались, а просто анализировались и дописывался в заголовок > уровень спама, то использовать amavis-new нельзя. > > Прикручивал так: > в master.cf добавил > smtp inet n - n - - smtpd > -o content_filter=spamassassin:dummy # добавил эту строку > > И сам фильтр. > spamassassin unix - n n - 5 pipe > user=spamd argv=/usr/bin/spamc -f -e > /usr/sbin/sendmail -oi -f ${sender} ${recipient} > > сервер настроен на виртуальных пользователей (стоит dovecot) > > virtual_mailbox_domains = /etc/postfix/vhosts > virtual_mailbox_base = /var/spool/vmail > virtual_mailbox_maps = hash:/etc/postfix/vmaps > virtual_alias_maps = hash:/etc/postfix/valias > virtual_uid_maps = static:5000 > virtual_gid_maps = static:5000 > virtual_minimum_uid = 5000 > > В valias: > spam@e.ca spam@e.ca, slava@e.ca > > Отсылаю письмо на spam@e.ca > Получаю 2 письма в slava@e.ca и одно в spam@e.ca > > Как можно решить эту проблему? > Решил проблему в main.cf добавил receive_override_options = no_address_mappings а в master.cf smtp inet n - - - - smtpd -o receive_override_options= -- WBR, Dubrovskiy Vyacheslav --------------ms050905060108060507060007 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJDzCC AuIwggJLoAMCAQICEHzcGUxAFA0RejZE39DMTaswDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDIxNDEwNDcxNFoX DTA4MDIxNDEwNDcxNFowRjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEjMCEG CSqGSIb3DQEJARYUc2xhdmFAdGFuZ3JhbWx0ZC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQC0JIgswQ2NvFRP9wBb8ec3uAvgtc975DFz8DYzvj7lNMtC+djnIH9qr8eq q2t9m9XmUabO6rpVnLfAetwXgSOEyX/YrKQULnHn6W/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