Hi all,

i have a linux box (centos) with postifx working well with exchange, postfix
just relay the mails to the server using sasl authentication.

My problem is that i m not able to do it in a solaris 10 server. 

in main.cf:

relayhost = [exchange_IP]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = dbm:/etc/postfix/sasl_passwd
smtp_sasl_security_options =


in smtp_sasl_passwd:
exchange_IP user:pwd


 postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_protocols = ipv4
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = XPTO.com
myhostname = HOST.XPTO.com
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = [exchange_IP]
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = dbm:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
unknown_local_recipient_reject_code = 550


I put it in verbose and in logs it seems that postfix does not initiate auth
login...in a trace i can see that postfix does not sent the auth login to
the server.

...
Jan 15 15:16:06 host postfix/smtp[17684]: [ID 197553 mail.info] Using ESMTP
PIPELINING, TCP send buffer size is 49152, PIPELINING buffer size is 4096
Jan 15 15:16:06 host postfix/smtp[17684]: [ID 197553 mail.info]
smtp_stream_setup: maxtime=300 enable_deadline=0
Jan 15 15:16:06 host postfix/smtp[17684]: [ID 197553 mail.info] >
10.228.74.91[10.228.74.91]:25: MAIL FROM:<> SIZE=2217
...


The server responds with error 530 5.7.1 Client was not authenticated.


Just for reference a example in the well configured server :

...
Jan 15 11:00:29 host postfix/smtp[25586]: Using ESMTP PIPELINING, TCP send
buffer size is 4096
Jan 15 11:00:29 host postfix/smtp[25586]: maps_find: smtp_sasl_passwd:
hash:/etc/postfix/sasl_passwd(0,lock|fold_fix): 10.228.74.91 =
omoperation:OMOm
ail
Jan 15 11:00:29 host postfix/smtp[25586]: smtp_sasl_passwd_lookup: host
`10.228.74.91' user `omoperation' pass `OMOmail'
Jan 15 11:00:29 host postfix/smtp[25586]: starting new SASL client
...


Can anyone help?

Thanks







--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Problem-in-postfix-solaris-relay-to-exchange-tp54051.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to