I have this issue with my users, especially if they are trying to 
connect from an airport or via cell phone.

To deal with this, I open up assp.pl and search for and comment the 
following sub routine.

sub setSSLfailed {
     my $ip = shift;
#    if (exists $SSLfailed{$ip}) {   # ban if it failes before
#        $SSLfailed{$ip} = time;
#    } elsif (matchIP($ip,'acceptAllMail',0,1) or $ip =~ /$IPprivate/o) 
{  # give privates one more chance
#        $SSLfailed{$ip} = 0;
#    } else {
#        $SSLfailed{$ip} = time;    # ban external IP if it failes before
#    }
     return;
}

This prevents any IPs from ever being added to the SSLFailed cache.

This may not be the best way to do things, and there may be some bad 
repercussions that Thomas could tell you about.  But if you need a quick 
fix....

Peter Hinman
International Bridge / ParcelPool.com

On 11/1/2013 3:19 PM, Jason Horn wrote:
> I'm having a problem wherein SSL connections for outgoing SMTP begin failing 
> for some reason.  They work fine for days or weeks, then suddenly don't work 
> anymore. When attempting to send a message I get the following in ASSP's 
> maillog.txt:
>
> Nov-01-13 14:09:06 [Worker_10000] SSLfailedCache: cleaning cache finished: 
> IP's before=1, deleted=0
> Nov-01-13 14:09:08 [Worker_1] 209.216.183.229 [SMTP Error] 502 5.5.2 Error: 
> command not recognized
> Nov-01-13 14:09:08 [Worker_1] 209.216.183.229 [SMTP Error] 502 5.5.2 Error: 
> command not recognized
> Nov-01-13 14:09:08 [Worker_1] 209.216.183.229 [SMTP Error] 500 5.5.2 Error: 
> bad syntax
>
> Restarting ASSP seems to solve the problem (until it happens again). Can 
> anyone explain what is happening here?
>
> FYI, I am connecting on port 587 to ASSP, which is set to DoTLS
>
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Assp-user mailing list
> Assp-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-user


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to