Dear all,
I am a newbie here and in postfix too. After searching the web and browsing
some forums, I still haven't got a solution for a problem I struggle with.
If you have the time, please help me.Our corporate mail server (mail.ourcompany.hu) is operated by an external provider. I am trying to set up a postfix relay server in front of it with the following components: Linux CentOS 5.5 with actual patches + postfix 2.3.3 + cyrus SASL 2.1.22 The goal is to enable some internal systems sending mails without authenticating themselves at mail.ourcompany.hu /etc/postfix/main.cf: -------------------------- myhostname = ufsz.ourcompany.hu mydomain = ourcompany.hu mynetworks = $config_directory/mynetworks relayhost = mail.ourcompany.hu local_transport = error:local mail delivery is disabled smtp_sasl_type = cyrus smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = smtp_sasl_mechanism_filter = login debug_peer_list = mail.ourcompany.hu, xxx.xx.x.xxx debug_peer_level = 3 Problem occurs during relaying mails from our internal network to our external mail server. As mail.ourcompany.hu does not send "250 AUTH" response, although it handles authentication, postfix does not try to authenticate itself, so sending mail to external adresses is not possible: Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_buf_get_ready: fd 13 got 66 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: < mail.ourcompany.hu[xx.xxx.xxx.xx]: 220 ************************************************************ Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: > mail.ourcompany.hu[xx.xxx.xxx.xx]: HELO ufsz.ourcompany.hu Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_fflush_some: fd 13 flush 18 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_buf_get_ready: fd 13 got 52 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: < mail.ourcompany.hu[xx.xxx.xxx.xx]: 250 ns1.ourprovider.hu Hello ufsz.ourcompany.hu [xxx.xx.xx.xxx] Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: server features: 0x1040 size 0 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: > mail.ourcompany.hu[xx.xxx.xxx.xx]: MAIL FROM:<[email protected]> Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_fflush_some: fd 13 flush 37 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_buf_get_ready: fd 13 got 8 Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: < mail.ourcompany.hu[xx.xxx.xxx.xx]: 250 OK Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: > mail.ourcompany.hu[xx.xxx.xxx.xx]: RCPT TO:<[email protected]> Jul 6 14:53:16 ourcompanydmz postfix/smtp[27517]: vstream_fflush_some: fd 13 flush 31 Jul 6 14:53:18 ourcompanydmz postfix/smtp[27517]: vstream_buf_get_ready: fd 13 got 25 Jul 6 14:53:18 ourcompanydmz postfix/smtp[27517]: < mail.ourcompany.hu[xx.xxx.xxx.xx]: 550 relay not permitted We have been using mail.ourcompany.hu directly with several mail clients for years. They all work perfectly with the current settings, so I have little chance in convincing the provider to change anything. (This is also something that I want to avoid.) QUESTION: How can I force postfix to issue "AUTH LOGIN" without getting "250 AUTH" before? Best regards, Szabolcs ZÓLYOMI
<<attachment: winmail.dat>>
