Re: [exim] slow server response in accepting local smtp emai…

Pàgina inicial
Delete this message
Reply to this message
Autor: Todd Lyons
Data:  
A: Jim Pazarena
CC: Exim
Assumpte: Re: [exim] slow server response in accepting local smtp emails
Ugh, apparently the new Gmail compose maps Ctrl-Enter to the send function.

The -D option to spamassassin prints lots of ugly and glorious debug
output to the screen, which you can use to determine what is hanging
and taking so long. Other possibilities besides the stray lock files
are that you are using RBL's which are no longer answering or being
DDOS'd, etc.

...Todd


On Thu, Apr 4, 2013 at 5:57 AM, Todd Lyons <tlyons@???> wrote:
> cat local_test.eml | spamassassin -D
>
> On Wed, Apr 3, 2013 at 10:07 PM, Jim Pazarena <exim@???> wrote:
>> Jeremy Harris wrote, On 2013-04-03 1:19 PM:
>>
>>> On 04/03/2013 08:58 PM, Jim Pazarena wrote:
>>>>
>>>> I am trying to find out why locally generated emails take so long to be
>>>> accepted by my mail server.
>>>
>>>
>>> The first question is - by "locally generated" do you mean
>>> "talks to your exim by some other means than SMTP", or
>>> "talks using SMTP, but from the local machine".
>>>
>>> If the latter, I'd be looking first for ident-protocol checks (giving
>>> up after a timeout) second for RDNS issues. Most people find
>>> the former worthless these days, and disable them (look for
>>> "rfc1413_query_timeout" in
>>>
>>> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_default_configuration_file.html
>>> ).
>>> You could grab a packet trace for the connection.
>>>
>>
>> My rfc1413 is disabled, as is rdns for local IPs.
>>
>> However I found that local emails were being assessed by spam-assassin.
>> And spam-assassin seems to take 10-15 seconds per message, so I
>> exempted my local subnets from spamd interrogation, which seems to
>> have sped up local acceptance of emails.
>>
>> What is the 'usual' time it takes for spam assassin to traverse a
>> message? I see error messages in the SA log:
>>
>> "warn: bayes: cannot open bayes databases /var/s
>> pool/spamd/.spamassassin/bayes_* R/W: lock failed: Interrupted system call"
>>
>> which certainly could be the source of my slowness.
>> Now to determine what THAT issue is...
>>
>> hints? thanks!
>>
>>
>> --
>> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>
>
> --
> The total budget at all receivers for solving senders' problems is $0.
> If you want them to accept your mail and manage it the way you want,
> send it the way the spec says to. --John Levine




--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine