Socket Error # 10061 Connection refused. |
Post Reply ![]() |
Author | |
lyndonje ![]() Senior Member ![]() ![]() Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 192 |
![]() ![]() ![]() ![]() ![]() Posted: 03 March 2006 at 12:29pm |
I'm seeing this error a little in my logs. Im running v.2.7.1.523.
How can I find out more information on this error to make sure there isn't a problem or something I need to fix? The info I would like to find is which server has refused its connection? And what was the reason/error code? Also, I've noticed emails in the queue directory. What factors effect whether an email is forward direct to the server specified in the localdomains file, and which are then forward onto the main destination server? Thanks! Lyndon. |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
lyndonje,
The error appears in your logs when SpamFilter is attempting to forward email to your destination SMTP server, and your SMTP server rejects the connection. The logs for your SMTP server may contain info on why it rejected the connection. If you only have one destination SMTP server, you'll know right away what the server is. If you have several domains and several destination SMTP servers, the server rejecting the connections may not be simple to find. The version of SpamFilter you're running does not provide in the logs info on what SMTP server it's forwarding emails to. However if you upgrade to version 2.7.1.531 or higher, that info is being logged: // New to VersionNumber = '2.7.1.531'; {TODO -cNew : Prevented problems if the "Allowed Domains" list mistakenly contained duplicate domains} {TODO -cNew : Added the destination SMTP server used when logging errors occurring while forwarding emails to dest. SMTP server} If you do not wish to upgeade, you can find the server in question by looking at the recipient of the email. The email domain will then tell you which server it was sent to. Just look for the previous thread ID (bolded) in the logs: 03/01/06 08:39:11:795 -- (3520) Sending email from MAILER-DAEMON@*domain-deleted*..com to czvpzflzqxeeo@*domain-deleted*.co.uk 03/01/06 08:39:14:030 -- (3520) Socket Error # 10061 Connection refused. - message queued - MAILER-DAEMON@*domain-deleted*. The socket error is a Microsoft socket error, and its description is:
Edited by LogSat |
|
![]() |
|
lyndonje ![]() Senior Member ![]() ![]() Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 192 |
![]() ![]() ![]() ![]() ![]() |
OK, I've just upgraded so I'll see what happens. Thanks.
|
|
![]() |
|
lyndonje ![]() Senior Member ![]() ![]() Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 192 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just to cover a question again: > Also, I've noticed emails in the queue directory. What factors effect > whether an email is forward direct to the server specified in the > localdomains file, and which are then forward onto the main > destination server? IE, a message has ended up in the badmail queue. Looks as though a postmaster NDR was generated. The NDR was forward to the main destination server for delivery. How come SF didn't pass the original email onto the main destination server to re-attempt delivery. Is my understanding of this incorrect? Basically I'd like to know under what circumstances SF generates an NDR, sticks in the queue directory to retry later, or lastly forwards to the main destination server for further delivery attempts? Thanks. |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
SpamFilter will accept "clean" mail and will try to forward it to your destination SMTP.
If your mail server is unreacheable for some reason, SpamFilter will then place the emails in the SpamFilter\queue directory and will retry to deliver them every 60 minutes, indefinetly, until your server comes back online (both of these variables are configurable). If however your mail server is working, but rejects the email for some reason (i.e. mailbox full, user does not exist, etc.), then SpamFilter (as it has already accepted the message for delivery) will then have to send a NDR email back to the sender. To do that, it will forward the NDR for delivery to your SMTP server. SpamFilter will never email back a sender directly, but will forward all emails, including NDRs, to your mail server. There is an option in the SpamFilter.ini file to specify an alternate server to handle the NDRs if you wish: ;An alternate server for sending NDR (non-delivery) notification emails can be used. Leave the "NotificationSMTPServer" value blank to use the default destination SMTP server NotificationSMTPServer= NotificationSMTPServerPort=25 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.105 seconds.