Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Part II: Problem receiving SMTP

Status
Not open for further replies.

wildnight

Programmer
Jul 10, 2005
19
US
This is the SMTP receive issue. To simplify things, I ran a telnet SMTP test session:

Code:
telnet 192.168.1.200 25
HELO test.com
MAIL FROM: jchilder98@gmailnspam023.com
RCPT TO: jchilders@mydomain.com
DATA
Subject: test

This is a test.
.
QUIT

The server reported OK at all steps above. This is what the log shows:

Code:
Jul 11 09:16:06 mail spamd[2347]: connection from mail.smartbusinessware.com [127.0.0.1] at port 32778
Jul 11 09:16:06 mail spamd[2347]: checking message (unknown) for qscand:503.
Jul 11 09:16:07 mail spamd[2347]: clean message (-1.2/5.0) for qscand:503 in 1.2 seconds, 216 bytes.
Jul 11 09:16:07 mail spamd[2347]: result: . -1 - ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT scantime=1.2,size=216,mid=(unknown),autolearn=ham
Jul 11 09:16:07 mail qmail-scanner[29856]: Clear:RC:0(192.168.1.218):SA:0(-1.2/5.0): 10.27810 216 jchilders98@gmail.com jchilders@smartbusinessware.com <> <1121087766107029856@data> orig-data112108775777529856:216 1121087766.29858-0.data:16

I wonder if this could be related to the other (IMAP) issue. Maybe my mail folder configurations are messed up somehow? How can I check this?

Thanks,

Jeff
 
So your using qmail-scanner, were you receiving mail prior to qmail-scanner?
I also find it interesting that your logs say "connection from mail.smartbusinessware.com [127.0.0.1] at port 32778" when you initiated your connetion on port 25.
 
Slylos:

were you receiving mail prior to qmail-scanner?

I used the qmailrocks.org install guide, which installs qmail-scanner as part of the overall install. So I never tried without qmail scanner.

I also find it interesting that your logs say "connection from mail.smartbusinessware.com [127.0.0.1] at port 32778" when you initiated your connetion on port 25.

Yah, I figured it was part of the qmail-scanner deal, like it was redirecting internally to a different port as part of the scanning process. Is this not how it works?
 
Try disabling qmail-scanner by entering

127.:allow,RELAYCLIENT=""

into your tcp.smtp file, then reload it by typing 'qmailctl cdb'. If you can deliver mail then, its obviously a qmail-scanner problem. If not, you may have to start all over with your qmail installation. Let us know how it turns out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top