Howdy,
I'm trying to send mail to the mail01/mail02.southwest.com mail servers using qmail-ldap 20021201 plus some patches. The messages are being denied due to:
Connected to 12.5.136.142 but sender was rejected. Remote host said: 501 Syntax error in reverse path
After a bit of tracking things down, I discovered the following (from snoop)
> EHLO my.mail.server.com
< mail02.southwest.com Hello my.mail.server [x.x.x.x], pleased to meet you.
> MAIL FROM:<[EMAIL PROTECTED]> SIZE=993
< 501 Syntax error in reverse path.
It seems that we used the SIZE extension even though the remote end didn't advertise support of SIZE.
The fix in qmail-remote.c:
- if (smtpcode() != 220) quit("ZConnected to "," but greeting failed");
-
- flagsize = 0;+ if (smtpcode() != 220)
+ quit("ZConnected to "," but greeting failed");
+
+ flagsize = 0;I have no idea if this is expected behavior from gcc. It certainly surprised me.
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
- Jason Parsons
