PDA

Visualizza la versione completa : [Lungo] Postifix non consegna


pigna
12-02-2005, 13:49
Ciao a tutti, ho un problema con postfix e la consegna della posta. Sto' provando a configurare postfix + ldap + courier + openxchange.

Quando invio un mail postfix mi scrive il seguante log:


postfix/smtpd[2635]: connect from pctest1.ip[xxx.xxx.xxx.xxx]
postfix/smtpd[2635]: 19C20BECAD: client=pctest1.ip[xxx.xxx.xxx.xxx]
postfix/cleanup[2637]: 19C20BECAD: message-id=<420DE7D1.1090107@mailie.ie>
postfix/qmgr[2633]: 19C20BECAD: from=<test1@mailie.ie>, size=627, nrcpt=1 (queue active)
postfix/smtpd[2635]: disconnect from pctest1.ip[xxx.xxx.xxx.xxx]
postfix/smtp[2638]: 19C20BECAD: to=<test2@mailie.ie>, relay=none, delay=1, status=bounced (mail for mailie.ie loops back to myself)
postfix/cleanup[2637]: 2B5C1BECAE: message-id=<20050212122324.2B5C1BECAE@mailie>
postfix/qmgr[2633]: 2B5C1BECAE: from=<>, size=2200, nrcpt=1 (queue active)
postfix/qmgr[2633]: 19C20BECAD: removed
postfix/smtp[2638]: 2B5C1BECAE: to=<test1@mailie.ie>, relay=none, delay=0, status=bounced (mail for mailie.ie loops back to myself)
postfix/qmgr[2633]: 2B5C1BECAE: removed

Ma il mail all'utente non arriva mai.

Tengo a precisare che gli utenti sono virtuali (dentro ldap) .

Questo e' il file main.cf:


#LOCAL PATHNAME INFORMATION
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = vmail
default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
myhostname=mailie
mydomain=mailie.ie
# SENDING MAIL
myorigin=$mydomain
# RECEIVING MAIL
inet_interfaces=all
mydestination = $mydomain, $myhostname, localhost.$mydomain, ldap:ldapvdoms
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
local_recipient_maps = $alias_maps
unknown_local_recipient_reject_code = 550
# TRUST AND RELAY CONTROL
mynetworks = 192.168.0.0/24, 127.0.0.0/8
mynetworks_style = subnet
relay_domains = $mydestination
# REJECTING UNKNOWN RELAY USERS
local_recipient_maps = ldap:ldapaliases
# TRANSPORT MAP
transport_maps = ldap:ldaptrans
# ALIAS DATABASE
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases,ldap:ldapaliases
# ADDRESS EXTENSIONS
recipient_delimiter = ;
# DELIVERY TO MAILBOX
home_mailbox = Maildir/
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailbox_transport = courier
# SHOW SOFTWARE VERSION OR NOT
smtpd_banner = $myhostname ESMTP $mail_name
# DEBUGGING CONTROL
debug_peer_level = 5
#debugger_command =
# PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
# xxgdb $daemon_directory/$process_name $process_id & sleep 5
# INSTALL-TIME CONFIGURATION INFORMATION
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = mail
html_directory = /var/www/htdocs/postfix
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = /var/www/htdocs/postfix/README
virtual_alias_maps= ldap:ldapaliases
virtual_maps = $alias_maps
virtual_mailbox_base = /home/vmail

virtual_mailbox_maps = ldap:accounts
virtual_transport = procmail


###################LDAPTRANS###################### ###########
ldaptrans_bind_dn= cn=Manager,dc=mailie,dc=ie
ldaptrans_bind_pw= ldapint01
ldaptrans_server_host= 127.0.0.1
ldaptrans_server_port= 389
ldaptrans_bind= yes
ldaptrans_timeout= 20
ldaptrans_search_base= ou=MailTransports,ou=SMTPObjects,ou=AdminObjects,o u=OxObjects,dc=mailie,dc=ie
ldaptrans_query_filter= (&(objectclass=OXMailTransportObject)(smtpDomain=%s) )
ldaptrans_result_attribute= smtpDomainTransportNexthop
ldaptrans_scope= one
######################LDAPALIASES################# #######
ldapaliases_bind_dn= cn=Manager,dc=mailie,dc=ie
ldapaliases_bind_pw= ldapint01
ldapaliases_server_host= localhost
ldapaliases_server_port= 389
ldapaliases_bind= yes
ldapaliases_timeout= 20
ldapaliases_search_base= ou=Users,ou=OxObjects,dc=mailie,dc=ie
ldapaliases_query_filter= (&(mail=%s)(objectclass=shadowAccount))
ldapaliases_result_attribute= uid
ldapaliases_scope= one
####################LDAPVDOMS##################### #####
ldapvdoms_bind_dn= cn=Manager,dc=mailie,dc=ie
ldapvdoms_bind_pw= ldapint01
ldapvdoms_server_host= localhost
ldapvdoms_server_port= 389
ldapvdoms_bind= yes
ldapvdoms_timeout= 20
ldapvdoms_search_base= ou=VirtualDomains,ou=DNSObjects,ou=AdminObjects,ou =OxObjects,dc=mailie,dc=ie
ldapvdoms_query_filter= (&(objectclass=OXVDomainObject)(ou=%s)(MTALocaldomai n=true))
ldapvdoms_result_attribute= ou
ldapvdoms_scope= one
######################ACCOUNTS#################### ####
accounts_server_host= localhost
accounts_server_port= 389
accounts_bind_dn= cn=Manager,dc=mailie,dc=ie
accounts_bind_pw= ldapint01
accounts_bind= yes
accounts_timeout= 20
accounts_search_base= ou=Users,ou=OxObjects,dc=mailie,dc=ie
accounts_query_filter= (&(mail=%s)(objectclass=shadowAccount))
accounts_result_attribute= mailMessageStore
accounts_scope= one


Dove sbaglo?

Help pease!!

pigna
14-02-2005, 13:33
up

Loading