10 msgpostfix relaying
2 msgRestrict sending external mail depending on LDA...
2 msgmonitoring emails for a particular user

loops back to myself with antivirus gateway...
\ Jeronimo Zucco (16 May 2007)

2 msgcyrus and postfix issue...
2 msgDeny messages to local mailing lists
2 msgTranslation delivery error messages
3 msgWhy smtp instead of relay?
2 msgChroot Timestamps
18 msgrelay access denied
7 msgQuestion about Successful Mail Delivery Report
6 msgclamav question
2 msgFind/Replace Text, Strip Graphics
7 msgBlacklisted
3 msgCharset problems
4 msg[urgent] how to use remote mail server ?
1 msg[Re: sasl problem]
2 msgoff-topic?
7 msgsmtpd_milter question
1 msgOff-topic: Linux distro compare site
Subject:loops back to myself with antivirus gateway...
Group:Postfix-users
From:Jeronimo Zucco
Date:16 May 2007


 
Hi, list.

I'm having problems with transport when message is sent to not
existent users.

My structure:


internet
|
(1) Antivirus
|
(2) Internal Smtp
| | |
(3) Backends



User database: openldap.


main.cf SERVER 1 (antivirus):

transport_maps = ldap:/etc/postfix/ldap-transport.cf

-> This consult the ldap server for the backend server where is the Maildir:
query_filter =
(&(&(objectClass=CourierMailAccount)(|(mail=%u)(maildrop=%u)))(|(account Status=enabled)(accountStatus=forward)))
result_attribute = mailhost
result_filter = smtp:%s


main.cf SERVER2 (internal smtp):
transport_maps = hash:/etc/postfix/transport

transport of server 2:
* smtp:[server1.domain.com]
# because all e-mails need to check for virus, internal and external,
correct ?


Existents accounts are ok, this is working, but when account not exists,
the sender give the following error:

relay=none, delay=0, status=bounced (mail for domain.com loops back to
myself)


Any help will be appreciated.

--
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com



© 2004-2008 readlist.com