If adjusting spamdyke.conf does not work, you could remove the call to spamdyke in you /var/qmail/supervise/smtp/run file and see if the problem resolves

Remember! Backup spamdyke.conf  and 'run' file.


<run>

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000 \
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     $SPAMDYKE --config-file $SPAMDYKE_CONF \
     $SMTPD $VCHKPW /bin/true 2>&1

</run>

To

<run.new>

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000 \
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     $SMTPD $VCHKPW /bin/true 2>&1

</run.new>


On 11/4/2016 9:43 AM, [email protected] wrote:

Ok, thx a lot. I try. But on spamdyke 4 TIMEOUT also occurs. That the reason why I upgrade to spamdyke5. But that no help.

*From:*Eric Broch [mailto:[email protected]]
*Sent:* Friday, November 04, 2016 4:31 PM
*To:* [email protected]
*Subject:* Re: [qmailtoaster] Qmail reject email from several domain Reason TIMEOUT

Settings change between spamdyke 4 and 5

I have a script (fixsd.sh):

<fixsd.sh>
#!/bin/sh
sed -i \
-e 's/reject-missing-sender-mx/reject-sender=no-mx/g' \
-e 's/rejection-text-missing-sender-mx/rejection-text-sender-no-mx/g' \
-e 's/reject-identical-sender-recipient/reject-recipient=same-as-sender/g' \ -e 's/rejection-text-identical-sender-recipient/rejection-text-recipient-same-as-sender/g' \
-e 's/local-domains-file/qmail-rcpthosts-file/g' \
-e 's/local-domains-entry=/#local-domains-entry=(Add these entries to qmail-rcpthosts-file)/g' \ -e 's/morercpthosts/qmail-morercpthosts-cdb/'g /etc/spamdyke/spamdyke.conf
</fixsd.sh>

If this doesn't work, can you refert to spamdyke 4 and let us know if that works?

Eric

On 11/4/2016 9:09 AM, [email protected] <mailto:[email protected]> wrote:

    I upgrade spamdyke to version 5.0.1 and nothing change. L

    I expand to:

    'idle-timeout-sec=360'

    And still TIMEOUT

    *From:*Eric Broch [mailto:[email protected]]
    *Sent:* Friday, November 04, 2016 2:17 PM
    *To:* [email protected]
    <mailto:[email protected]>
    *Subject:* Re: [qmailtoaster] Qmail reject email from several
    domain Reason TIMEOUT

    It looks to me like it's spamdyke causing the problem. It's
    certainly what the log suggests. What is your 'idle-timeout'
    setting in /etc/spamdyke/spamdyke.conf

    On 11/4/2016 4:31 AM, [email protected] <mailto:[email protected]> wrote:

        Hi,

        From some time i have a problem with my qmail server. From
        some time the server reject mail from several domain REASON
        TIMEOUT. I don’t know why. This occurs only on several big
        corporate domain like dhl.com man.eu ergohestia.pl. First i
        suspect spamdyke. But i check it. Enter white list etc. Ask on
        spamdyke forum and final look at the spamdyke don’t block
        anything.

        The excessive log file show only: “talk faster next time”

        A part of log bellow:

        @40000000581c48af3996f15c tcpserver: status: 2/100

        @40000000581c48d908f1b21c spamdyke[4387]:
        EXCESSIVE(middleman()@spamdyke.c:1965): child output file
        descriptor 5 closed

        @40000000581c48d908f1bdd4 spamdyke[4387]:
        EXCESSIVE(output_writeln()@log.c:102): wrote 37 bytes to
        network file descriptor 1, buffer contained 37 bytes: 421
        Timeout. Talk faster next

        @40000000581c48d908f1c5a4 spamdyke[4387]: TIMEOUT from:
        [email protected] <mailto:[email protected]> to: (unknown)
        origin_ip: 89.38.150.213 origin_rdns:
        host213-150-38-89.static.arubacloud.fr auth: (unknown)
        encryption: (none) reason: TIMEOUT

        @40000000581c48d908f21b94 spamdyke[4387]:
        DEBUG(find_username()@spamdyke.c:127): searching for username
        between positions 9 and 35: RCPT TO:<marekm@*****.com.pl
        <mailto:marekm@*****.com.pl>>

        @40000000581c48d908f22364 DATA

        @40000000581c48d908f2274c

        @40000000581c48d908f22b34 spamdyke[4387]:
        EXCESSIVE(find_username()@spamdyke.c:309): found username in
        address: marekm

        @40000000581c48d908f24a74 spamdyke[4387]:
        DEBUG(find_domain()@spamdyke.c:361): searching for domain
        between positions 15 and 35: RCPT TO:<marekm@*****.com.pl
        <mailto:marekm@*****.com.pl>>

        @40000000581c48d908f25244 DATA

        @40000000581c48d908f25244

        @40000000581c48d908f2562c spamdyke[4387]:
        EXCESSIVE(find_domain()@spamdyke.c:529): found domain in
        address: *****.com.pl

        @40000000581c48d908f25dfc spamdyke[4387]:
        DEBUG(find_address()@spamdyke.c:726): found username: marekm

        @40000000581c48d908f27954 spamdyke[4387]:
        DEBUG(find_address()@spamdyke.c:743): found domain: *****.com.pl

        @40000000581c48d908f2b3ec spamdyke[4387]:
        DEBUG(filter_recipient_whitelist()@filter.c:2332): searching
        recipient whitelist(s); recipient: marekm@*****.com.pl
        <mailto:marekm@*****.com.pl>

        @40000000581c48d908f2b7d4 spamdyke[4387]:
        EXCESSIVE(output_writeln()@log.c:102): wrote 37 bytes to
        network file descriptor 1, buffer contained 37 bytes: 421
        Timeout. Talk faster next

        @40000000581c48d908f2bfa4 spamdyke[4387]: TIMEOUT from:
        [email protected] <mailto:[email protected]> to:
        marekm@*****.com.pl <mailto:marekm@*****.com.pl> origin_ip:
        89.38.150.213 origin_rdns:
        host213-150-38-89.static.arubacloud.fr auth: (unknown)
        encryption: (none) reason: (empty)

        @40000000581c48d908f2dee4 spamdyke[4387]:
        EXCESSIVE(output_writeln()@log.c:102): wrote 37 bytes to
        network file descriptor 1, buffer contained 37 bytes: 421
        Timeout. Talk faster next

        @40000000581c48e231636ccc spamdyke[4293]:
        EXCESSIVE(middleman()@spamdyke.c:2097): read 33 bytes from
        child input file descriptor 6, buffer contains 33 bytes,
        current position is 0: 451 SPF lookup failure (#4.3.0

        @40000000581c48e231637884 spamdyke[4293]:
        EXCESSIVE(middleman()@spamdyke.c:2107): child input file
        descriptor 6 indicates EOF, buffer contains 0 bytes, current
        position is 0

        @40000000581c48e231638054 spamdyke[4293]:
        EXCESSIVE(middleman()@spamdyke.c:2108): child input file
        descriptor 6 closed

        @40000000581c48e231638824 spamdyke[4293]:
        EXCESSIVE(middleman()@spamdyke.c:2989): child process exited
        normally with return value 1

        Any help will be appreciated

        Marek


Reply via email to