https://bugs.contribs.org/show_bug.cgi?id=10091

            Bug ID: 10091
           Summary: testing qpsmtpd 0.96 and wbl
    Classification: Contribs
           Product: SME Contribs
           Version: Futur
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-wbl
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

a lot of things have changed with the next update of qpsmtpd

testing if the wbl is still efficient with the new qpsmtpd

# rpm -qa |grep qp
qpsmtpd-plugins-0.0.1-4.el6.sme.noarch
qpsmtpd-0.96-8.el6.sme.noarch
smeserver-qpsmtpd-2.4.0-32.el6.sme.noarch
# rpm -qa |grep wbl
smeserver-wbl-0.3.0-12.el6.sme.noarch

adding the email address or domain of email in whitelist qpsmtpd
whitelistsenders  does not prevent a naughty connexion to be rejected

2017-02-13 21:57:24.8553505       25649 click, disconnecting
2017-02-13 21:57:25.7560785       2390 cleaning up after 25649
2017-02-13 21:57:33.6749525       25653 Accepted connection 0/40 from
79.3.142.34 / host34-142-static.3-79-b.business.telecomitalia.it
2017-02-13 21:57:33.6754005       25653 Connection from
host34-142-static.3-79-b.business.telecomitalia.it [79.3.142.34]
2017-02-13 21:57:35.0732155       25653 (connect) earlytalker: pass, not
spontaneous
2017-02-13 21:57:35.0766395       25653 (connect) relay: skip, no match
2017-02-13 21:57:35.0994705       25653 (connect) check_badcountries: GeoIP
Country: IT
2017-02-13 21:57:35.2034505       25653 (connect) dnsbl: karma -1 (-1)
2017-02-13 21:57:35.2036435       25653 (connect) dnsbl: fail, NAUGHTY,
b.barracudacentral.org
2017-02-13 21:57:35.2043575       25653 220 sacrum.pialasse.com ESMTP
2017-02-13 21:57:35.2627535       25653 dispatching HELO villabruna.local
2017-02-13 21:57:35.2645825       25653 (helo) helo: pass
2017-02-13 21:57:35.2652195       25653 250 pialasse.com Hi
host34-142-static.3-79-b.business.telecomitalia.it [79.3.142.34]; I am so happy
to meet you.
2017-02-13 21:57:35.3215595       25653 dispatching MAIL
FROM:<[email protected]>
2017-02-13 21:57:35.3237565       25653 (mail) whitelist_soft: envelope sender
[email protected] in whitelistsenders
2017-02-13 21:57:35.3240615       25653 250 <[email protected]>, sender OK - how
exciting to get mail from you!
2017-02-13 21:57:35.3799795       25653 dispatching RCPT
TO:<[email protected]>
2017-02-13 21:57:35.3814835       25653 (rcpt) badrcptto: skip, whitelisted
sender
2017-02-13 21:57:35.3816755       25653 (rcpt) check_goodrcptto: stripping '-'
extensions
2017-02-13 21:57:35.3959015       25653 (rcpt) rcpt_ok: skip, whitelisted
sender
2017-02-13 21:57:35.3962565       25653 250 <[email protected]>, recipient ok
2017-02-13 21:57:35.4526595       25653 dispatching DATA
2017-02-13 21:57:35.4532585       25653 354 go ahead
2017-02-13 21:57:35.5198875       25653 spooling message to disk
2017-02-13 21:57:35.5227765       25653 (data_post_headers) dkim: skip,
whitelisted sender
2017-02-13 21:57:35.5810825       25653 (data_post_headers) dmarc: skip, no
policy
2017-02-13 21:57:35.5953045       25653 (data_post) bogus_bounce: pass, not a
null sender
2017-02-13 21:57:35.5958215       25653 (data_post) headers: skip, whitelisted
sender
2017-02-13 21:57:35.5960335       25653 (data_post) naughty: disconnecting
2017-02-13 21:57:35.5964155       25653 (deny) logging::logterse: ` 79.3.142.34
host34-142-static.3-79-b.business.telecomitalia.it      villabruna.local       
<[email protected]>     <[email protected]>    naughty 901     (dnsbl)
34.142.3.79.b.barracudacentral.org      msg denied before queued
2017-02-13 21:57:35.5965775       25653 552 (dnsbl)
34.142.3.79.b.barracudacentral.org
2017-02-13 21:57:35.6532175       25653 dispatching QUIT
2017-02-13 21:57:35.6537465       25653 221 pialasse.com closing connection.
Have a wonderful day.
2017-02-13 21:57:35.6538615       25653 click, disconnecting
2017-02-13 21:57:36.6647235       2390 cleaning up after 25653

same result using qpsmtpd whitelisthelo and  qpsmtpd whitelistsenders. not
pasted the complete log each time but the result is naughty reject even if we
can find trace that the plugin was called to "whitelist"...


only whitelist working is by IP : qpsmtpd whitelisthosts

2017-02-13 22:11:10.4853665       27399 Accepted connection 0/40 from
79.3.142.34 / host34-142-static.3-79-b.business.telecomitalia.it
2017-02-13 22:11:10.4906245       27399 Connection from
host34-142-static.3-79-b.business.telecomitalia.it [79.3.142.34]
2017-02-13 22:11:12.5573225       27399 (connect) earlytalker: pass, not
spontaneous
2017-02-13 22:11:12.5586555       27399 (connect) whitelist_soft: host
79.3.142.34 is a whitelisted host
2017-02-13 22:11:12.5597495       27399 220 sacrum.pialasse.com ESMTP
2017-02-13 22:11:12.6177465       27399 dispatching HELO villabruna.local
2017-02-13 22:11:12.6188485       27399 (helo) whitelist_soft: helo host
villabruna.local in whitelisthelo
2017-02-13 22:11:12.6193995       27399 250 pialasse.com Hi
host34-142-static.3-79-b.business.telecomitalia.it [79.3.142.34]; I am so happy
to meet you.
2017-02-13 22:11:12.6745455       27399 dispatching MAIL
FROM:<[email protected]>
2017-02-13 22:11:12.6764585       27399 (mail) resolvable_fromhost: skip,
whitelisted host
2017-02-13 22:11:12.6766225       27399 (mail) rhsbl: skip, whitelisted host
2017-02-13 22:11:12.6767745       27399 (mail) sender_permitted_from: skip,
whitelisted host
2017-02-13 22:11:12.6769125       27399 (mail) naughty: pass
2017-02-13 22:11:12.6770495       27399 (mail) badmailfrom: skip, whitelisted
host
2017-02-13 22:11:12.6772325       27399 250 <[email protected]>, sender
OK - how exciting to get mail from you!
2017-02-13 22:11:12.7338885       27399 dispatching RCPT
TO:<[email protected]>
2017-02-13 22:11:12.7353445       27399 (rcpt) badrcptto: skip, whitelisted
host
2017-02-13 22:11:12.7355005       27399 (rcpt) check_goodrcptto: stripping '-'
extensions
2017-02-13 22:11:12.7471435       27399 (rcpt) rcpt_ok: skip, whitelisted host
2017-02-13 22:11:12.7477025       27399 250 <[email protected]>, recipient ok
2017-02-13 22:11:12.8032345       27399 dispatching DATA
2017-02-13 22:11:12.8247355       27399 354 go ahead
2017-02-13 22:11:12.8911285       27399 spooling message to disk
2017-02-13 22:11:12.9102645       27399 (data_post_headers) dkim: skip,
whitelisted host
2017-02-13 22:11:13.1731075       27399 (data_post_headers) dmarc: skip, no
policy
2017-02-13 22:11:13.2822345       27399 (data_post) bogus_bounce: pass, not a
null sender
2017-02-13 22:11:13.2827805       27399 (data_post) headers: skip, whitelisted
host
2017-02-13 22:11:13.2829875       27399 (data_post) naughty: pass
2017-02-13 22:11:13.5536895       27399 (data_post) spamassassin: skip,
whitelisted host
2017-02-13 22:11:13.6775325       27399 (data_post) virus::clamdscan: pass,
clean
2017-02-13 22:11:13.6786305       27399 (queue) logging::logterse: `
79.3.142.34        host34-142-static.3-79-b.business.telecomitalia.it     
villabruna.local        <[email protected]>     <[email protected]>   
queued          <[email protected]>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to