Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: waton on November 01, 2007, 08:32:56 AM
-
Dear all,
I got a problem with sendiing email using ISP SMTP server. Email not sent and still in queue.
Current qmail log say:
@4000000047297c913931692c status: local 0/10 remote 1/20
@4000000047297c9724006864 delivery 167: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
@4000000047297c9724007fd4 status: local 0/10 remote 0/20
My setting:
SMTP proxy status: disabled
Email delivery setting:
Address of Internet provider's mail server: mail.my-isp.com
SMTP Authentication for Internet provider :enabled
Mail server user id:user@my-isp.com
Mail server password: password_user@my-isp.com
Hostname and adresses setting:
My domain = my-isp.com
Hostname:mail.my-isp.com
Location:remote
IP address:202.112.xxx.xxx
Please help
-
Since your SMTP proxy is turned off, you should be able to configure a test client on the internal network to send email out through your ISP directly. I'd do this in order to triple-check that I had the correct username and password values...
-
Client can send email out trough ISP directly. I found that ISP smtp reject connection from server because my SME server use system name 'mysmeserver.my-isp.com' that can't resolve by ISP smtp.
Net::SMTP=GLOB(0x8ea2f90)>>> HELO mysmeserver.my-isp.com
Net::SMTP=GLOB(0x8ea2f90)<<< 550 Forged HELO: you are not mysmeserver.my-isp.com
My workaround was change code on /usr/local/sbin/smtp-auth-proxy.pl. For some reason I can't change my server system name, so I change Hello value to 'localhost'.
my $smtp = Net::SMTP->new($smarthost,
Hello => 'localhost',
#Hello => "${system_name}.${domain_name}",
Debug => $debug
);
unless ($smtp)
{
print "451 Upstream SMTP server not available\n";
warn "No SMTP connection to ISP server\n";
exit;
}
Any other idea?
Thank's
-
My workaround was change code on /usr/local/sbin/smtp-auth-proxy.pl. For some reason I can't change my server system name, so I change Hello value to 'localhost'.
...
Any other idea?
Did you try to change the system name by login in to a SME Server shell as admin (with the same password as the root user). You will be presented a menu, where you can choose to reconfigure your system and in th first step you should be able to change the name of your server.
-
Yes, I did. But I don't want change my system name.
Thx