Content_filter - Too Many Hops

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Content_filter - Too Many Hops

Michel Bulgado
Hello

I'm trying to integrate bogofilter with postfix, I followed the steps in
the documentation for installation and configuration:

I'm using CentOS 5.3 with postfix-2.3.3-2.1, my users are virtuals, they
are in the active directory in windows.

When I send a message, my server must deliver the message to an external
server, said earlier in the table of transport, following testing of the
filter in the master.cf file the messages stop being delivered to the
external server and the message fall into a cycle.

I created the user under which the filter will work, given execution
permissions to the script and the owner of it.

The question is because the script is used to deliver these messages
sendmail, postfix why not?

This is my config in master.cf file:

smtp      inet  n       -       n       -       -       smtpd  -o
content_filter=filter:


filter    unix  -       n       n       -       -       pipe
   flags=Rq user=filter argv=/home/bogofilter/postfix-filter.sh -f
${sender} -- ${recipient}


The user :

  filter:x:509:509::/home/filter:/bin/false


Permissions:
-rwxr-xr-x 1 filter filter   1094 Sep 28 17:27 postfix-filter.sh
-rw------- 1 filter filter 602112 Sep 28 17:26 wordlist.db


The script is the same in the document "integrating-with-postfix" and
the version of bogofilter 1.2.0-1.el5 .

My logs:


Sep 28 17:36:13 mailserver postfix/smtpd[12730]: connect from
michel.home.com[192.168.25.20]

Sep 28 17:36:13 mailserver postfix/smtpd[12730]: 911B5E03B5:
client=michel.home.com[192.168.25.20]

Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5: hold:
header Received: from [192.168.25.20] (michel.home.com
[192.168.25.20])??by mailserver.home.com (Postfix) with ESMTP id
911B5E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:13 -0400 (CDT)
from michel.home.com[192.168.25.20]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<[192.168.25.20]>

Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5:
message-id=<[hidden email]>

Sep 28 17:36:13 mailserver postfix/smtpd[12730]: disconnect from
michel.home.com[192.168.25.20]

Sep 28 17:36:14 mailserver MailScanner[26203]: New Batch: Scanning 1
messages, 1176 bytes

Sep 28 17:36:14 mailserver MailScanner[26203]: Spam Checks: Starting

Sep 28 17:36:14 mailserver MailScanner[26203]: Virus and Content
Scanning: Starting

Sep 28 17:36:14 mailserver MailScanner[26203]: Requeue: 911B5E03B5.B54EA
to 60CA9E03C0

Sep 28 17:36:14 mailserver MailScanner[26203]: Uninfected: Delivered 1
messages

Sep 28 17:36:14 mailserver postfix/qmgr[12728]: 60CA9E03C0:
from=<[hidden email]>, size=856, nrcpt=1 (queue active)

Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
from=[hidden email], size=936, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:14 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:14 mailserver postfix/smtpd[12730]: C059CE03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:14 mailserver postfix/cleanup[12733]: C059CE03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
C059CE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:14 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:14 mailserver postfix/cleanup[12733]: C059CE03B5:
message-id=<[hidden email]>

Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30936, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as C059CE03B5)

Sep 28 17:36:14 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:14 mailserver postfix/pipe[12737]: 60CA9E03C0:
to=<[hidden email]>, relay=filter, delay=1.3, delays=1/0.01/0/0.26,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:14 mailserver postfix/qmgr[12728]: 60CA9E03C0: removed

Sep 28 17:36:15 mailserver MailScanner[24051]: New Batch: Scanning 1
messages, 2000 bytes

Sep 28 17:36:15 mailserver MailScanner[24051]: Spam Checks: Starting

Sep 28 17:36:15 mailserver MailScanner[24051]: Virus and Content
Scanning: Starting

Sep 28 17:36:15 mailserver MailScanner[24051]: Requeue: C059CE03B5.067A3
to 19E83E03C0

Sep 28 17:36:15 mailserver postfix/qmgr[12728]: 19E83E03C0:
from=<[hidden email]>, size=1416, nrcpt=1 (queue active)

Sep 28 17:36:15 mailserver MailScanner[24051]: Uninfected: Delivered 1
messages

Sep 28 17:36:15 mailserver sendmail[12744]: n8SLaFJ7012744:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:15 mailserver sendmail[12744]: n8SLaFJ7012744:
from=[hidden email], size=1419, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:15 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:15 mailserver postfix/smtpd[12730]: BC446E03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:15 mailserver postfix/cleanup[12733]: BC446E03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
BC446E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:15 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:15 mailserver postfix/cleanup[12733]: BC446E03B5:
message-id=<[hidden email]>

Sep 28 17:36:15 mailserver sendmail[12744]: n8SLaFJ7012744:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=31419, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as BC446E03B5)

Sep 28 17:36:15 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:15 mailserver postfix/pipe[12737]: 19E83E03C0:
to=<[hidden email]>, relay=filter, delay=1.1, delays=0.89/0/0/0.17,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:15 mailserver postfix/qmgr[12728]: 19E83E03C0: removed

Sep 28 17:36:19 mailserver MailScanner[31047]: New Batch: Scanning 1
messages, 2490 bytes

Sep 28 17:36:19 mailserver MailScanner[31047]: Spam Checks: Starting

Sep 28 17:36:19 mailserver MailScanner[31047]: Virus and Content
Scanning: Starting

Sep 28 17:36:19 mailserver MailScanner[31047]: Requeue: BC446E03B5.786F4
to 97E63E03C0

Sep 28 17:36:19 mailserver postfix/qmgr[12728]: 97E63E03C0:
from=<[hidden email]>, size=1906, nrcpt=1 (queue active)

Sep 28 17:36:19 mailserver MailScanner[31047]: Uninfected: Delivered 1
messages

Sep 28 17:36:19 mailserver sendmail[12750]: n8SLaJDI012750:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:19 mailserver sendmail[12750]: n8SLaJDI012750:
from=[hidden email], size=1902, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:19 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:19 mailserver postfix/smtpd[12730]: B8445E03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:19 mailserver postfix/cleanup[12733]: B8445E03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
B8445E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:19 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:19 mailserver postfix/cleanup[12733]: B8445E03B5:
message-id=<[hidden email]>

Sep 28 17:36:19 mailserver sendmail[12750]: n8SLaJDI012750:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=31902, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as B8445E03B5)

Sep 28 17:36:19 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:19 mailserver postfix/pipe[12737]: 97E63E03C0:
to=<[hidden email]>, relay=filter, delay=4.1, delays=3.9/0/0/0.17,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:19 mailserver postfix/qmgr[12728]: 97E63E03C0: removed

Sep 28 17:36:20 mailserver MailScanner[26203]: New Batch: Scanning 1
messages, 2980 bytes

Sep 28 17:36:20 mailserver MailScanner[26203]: Spam Checks: Starting

Sep 28 17:36:20 mailserver MailScanner[26203]: Virus and Content
Scanning: Starting

Sep 28 17:36:20 mailserver MailScanner[26203]: Requeue: B8445E03B5.DB15A
to 8EFCBE03C0

Sep 28 17:36:20 mailserver postfix/qmgr[12728]: 8EFCBE03C0:
from=<[hidden email]>, size=2396, nrcpt=1 (queue active)

Sep 28 17:36:20 mailserver MailScanner[26203]: Uninfected: Delivered 1
messages

Sep 28 17:36:20 mailserver sendmail[12756]: n8SLaKfd012756:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:20 mailserver sendmail[12756]: n8SLaKfd012756:
from=[hidden email], size=2385, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:20 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:20 mailserver postfix/smtpd[12730]: C2DE6E03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:20 mailserver postfix/cleanup[12733]: C2DE6E03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
C2DE6E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:20 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:20 mailserver postfix/cleanup[12733]: C2DE6E03B5:
message-id=<[hidden email]>

Sep 28 17:36:20 mailserver sendmail[12756]: n8SLaKfd012756:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32385, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as C2DE6E03B5)

Sep 28 17:36:20 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:20 mailserver postfix/pipe[12737]: 8EFCBE03C0:
to=<[hidden email]>, relay=filter, delay=1.1, delays=0.94/0/0/0.18,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:20 mailserver postfix/qmgr[12728]: 8EFCBE03C0: removed

Sep 28 17:36:21 mailserver MailScanner[24051]: New Batch: Scanning 1
messages, 3470 bytes

Sep 28 17:36:21 mailserver MailScanner[24051]: Spam Checks: Starting

Sep 28 17:36:21 mailserver MailScanner[24051]: Virus and Content
Scanning: Starting

Sep 28 17:36:21 mailserver MailScanner[24051]: Requeue: C2DE6E03B5.794D5
to 1D1DEE03C0

Sep 28 17:36:21 mailserver postfix/qmgr[12728]: 1D1DEE03C0:
from=<[hidden email]>, size=2887, nrcpt=1 (queue active)

Sep 28 17:36:21 mailserver MailScanner[24051]: Uninfected: Delivered 1
messages

Sep 28 17:36:21 mailserver sendmail[12763]: n8SLaLRu012763:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:21 mailserver sendmail[12763]: n8SLaLRu012763:
from=[hidden email], size=2868, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:21 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:21 mailserver postfix/smtpd[12730]: D3DB9E03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:21 mailserver postfix/cleanup[12733]: D3DB9E03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
D3DB9E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:21 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:21 mailserver postfix/cleanup[12733]: D3DB9E03B5:
message-id=<[hidden email]>

Sep 28 17:36:21 mailserver sendmail[12763]: n8SLaLRu012763:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=32868, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as D3DB9E03B5)

Sep 28 17:36:21 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:21 mailserver postfix/pipe[12737]: 1D1DEE03C0:
to=<[hidden email]>, relay=filter, delay=1.1, delays=0.97/0/0/0.18,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:21 mailserver postfix/qmgr[12728]: 1D1DEE03C0: removed

Sep 28 17:36:25 mailserver MailScanner[24151]: New Batch: Scanning 1
messages, 3961 bytes

Sep 28 17:36:25 mailserver MailScanner[24151]: Spam Checks: Starting

Sep 28 17:36:25 mailserver MailScanner[24151]: Virus and Content
Scanning: Starting

Sep 28 17:36:25 mailserver MailScanner[24151]: Requeue: D3DB9E03B5.52503
to 708D7E03C0

Sep 28 17:36:25 mailserver postfix/qmgr[12728]: 708D7E03C0:
from=<[hidden email]>, size=3377, nrcpt=1 (queue active)

Sep 28 17:36:25 mailserver MailScanner[24151]: Uninfected: Delivered 1
messages

Sep 28 17:36:25 mailserver sendmail[12769]: n8SLaPr4012769:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:25 mailserver sendmail[12769]: n8SLaPr4012769:
from=[hidden email], size=3351, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:25 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:25 mailserver postfix/smtpd[12730]: C20BFE03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:25 mailserver postfix/cleanup[12733]: C20BFE03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
C20BFE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:25 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:25 mailserver postfix/cleanup[12733]: C20BFE03B5:
message-id=<[hidden email]>

Sep 28 17:36:25 mailserver sendmail[12769]: n8SLaPr4012769:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=33351, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as C20BFE03B5)

Sep 28 17:36:25 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:25 mailserver postfix/pipe[12737]: 708D7E03C0:
to=<[hidden email]>, relay=filter, delay=4, delays=3.8/0/0/0.18,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:25 mailserver postfix/qmgr[12728]: 708D7E03C0: removed

Sep 28 17:36:26 mailserver MailScanner[26203]: New Batch: Scanning 1
messages, 4451 bytes

Sep 28 17:36:26 mailserver MailScanner[26203]: Spam Checks: Starting

Sep 28 17:36:26 mailserver MailScanner[26203]: Virus and Content
Scanning: Starting

Sep 28 17:36:26 mailserver MailScanner[26203]: Requeue: C20BFE03B5.B7882
to 67DE2E03C0

Sep 28 17:36:26 mailserver postfix/qmgr[12728]: 67DE2E03C0:
from=<[hidden email]>, size=3867, nrcpt=1 (queue active)

Sep 28 17:36:26 mailserver MailScanner[26203]: Uninfected: Delivered 1
messages

Sep 28 17:36:26 mailserver sendmail[12775]: n8SLaQa7012775:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:26 mailserver sendmail[12775]: n8SLaQa7012775:
from=[hidden email], size=3834, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:26 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:26 mailserver postfix/smtpd[12730]: DACADE03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:26 mailserver postfix/cleanup[12733]: DACADE03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
DACADE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:26 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:26 mailserver postfix/cleanup[12733]: DACADE03B5:
message-id=<[hidden email]>

Sep 28 17:36:26 mailserver sendmail[12775]: n8SLaQa7012775:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=33834, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as DACADE03B5)

Sep 28 17:36:26 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:26 mailserver postfix/pipe[12737]: 67DE2E03C0:
to=<[hidden email]>, relay=filter, delay=1.2, delays=0.99/0/0/0.19,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:26 mailserver postfix/qmgr[12728]: 67DE2E03C0: removed

Sep 28 17:36:27 mailserver MailScanner[24051]: New Batch: Scanning 1
messages, 4941 bytes

Sep 28 17:36:27 mailserver MailScanner[24051]: Spam Checks: Starting

Sep 28 17:36:27 mailserver MailScanner[24051]: Virus and Content
Scanning: Starting

Sep 28 17:36:27 mailserver MailScanner[24051]: Requeue: DACADE03B5.16AD3
to 9E5F6E03C0

Sep 28 17:36:27 mailserver postfix/qmgr[12728]: 9E5F6E03C0:
from=<[hidden email]>, size=4357, nrcpt=1 (queue active)

Sep 28 17:36:27 mailserver MailScanner[24051]: Uninfected: Delivered 1
messages

Sep 28 17:36:27 mailserver sendmail[12781]: n8SLaRjq012781:
Authentication-Warning: mailserver.home.com: filter set sender to
[hidden email] using -f

Sep 28 17:36:27 mailserver sendmail[12781]: n8SLaRjq012781:
from=[hidden email], size=4317, class=0, nrcpts=1,
msgid=<[hidden email]>,
relay=filter@localhost

Sep 28 17:36:27 mailserver postfix/smtpd[12730]: connect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:27 mailserver postfix/smtpd[12730]: E9C5BE03B5:
client=localhost.localdomain[127.0.0.1]

Sep 28 17:36:27 mailserver postfix/cleanup[12733]: E9C5BE03B5: hold:
header Received: from mailserver.home.com (localhost.localdomain
[127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
E9C5BE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:27 -0400 (CDT
from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

Sep 28 17:36:27 mailserver postfix/cleanup[12733]: E9C5BE03B5:
message-id=<[hidden email]>

Sep 28 17:36:28 mailserver sendmail[12781]: n8SLaRjq012781:
to=[hidden email], ctladdr=[hidden email] (509/509), delay=00:00:01,
xdelay=00:00:01, mailer=relay, pri=34317, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (Ok: queued as E9C5BE03B5)

Sep 28 17:36:28 mailserver postfix/smtpd[12730]: disconnect from
localhost.localdomain[127.0.0.1]

Sep 28 17:36:28 mailserver postfix/pipe[12737]: 9E5F6E03C0:
to=<[hidden email]>, relay=filter, delay=1.1, delays=0.96/0/0/0.18,
dsn=2.0.0, status=sent (delivered via filter service)

Sep 28 17:36:28 mailserver postfix/qmgr[12728]: 9E5F6E03C0: removed



and so until the message returns backwards


This is the mail system at host mailserver.home.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                    The mail system

<[hidden email]>: service unavailable

The original message was received at Mon, 28 Sep 2009 17:36:39 -0400
from filter@localhost



and i receive another message:



    ----- The following addresses had permanent fatal errors -----
[hidden email]
     (reason: 554 5.4.6 Too many hops)
     (expanded from: [hidden email])

    ----- Transcript of session follows -----
554 5.4.6 Too many hops 26 (25 max): from [hidden email] via
localhost, to [hidden email]


Thanks

Michel
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.


Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Wietse Venema
[hidden email]:
> Hello
>
> I'm trying to integrate bogofilter with postfix, I followed the steps in
> the documentation for installation and configuration:

Except that you also use MailScanner, which interferes with
Postfix content filtering.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Michel Bulgado
Wietse Venema <[hidden email]> escribió:

> [hidden email]:
>> Hello
>>
>> I'm trying to integrate bogofilter with postfix, I followed the steps in
>> the documentation for installation and configuration:
>
> Except that you also use MailScanner, which interferes with
> Postfix content filtering.
>
> Wietse
>

Hi Wietse

Thank you for responding so quickly.

As commented in my previous message, in my transport table for each  
domain declared on my network server to which I give you my email so  
that it reaches its final destination, when I apply the filter ignores  
the table, never comes out.

You tell me that MailScanner is responsible for all this?

What can I do here?

I can not remove it, as do the virus check each message to reach me??

What can I do?

mailserver.home.com     local
home.com    virtual:[192.168.25.8]
home.cu      dovecot:[192.168.25.8]




----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.

Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Jerry-124
On Tue, 29 Sep 2009 07:08:04 -0400
[hidden email] wrote:

> Wietse Venema <[hidden email]> escribió:
>
> > [hidden email]:
> >> Hello
> >>
> >> I'm trying to integrate bogofilter with postfix, I followed the
> >> steps in the documentation for installation and configuration:
> >
> > Except that you also use MailScanner, which interferes with
> > Postfix content filtering.
> >
> > Wietse
> >
>
> Hi Wietse
>
> Thank you for responding so quickly.
>
> As commented in my previous message, in my transport table for each  
> domain declared on my network server to which I give you my email so  
> that it reaches its final destination, when I apply the filter
> ignores the table, never comes out.
>
> You tell me that MailScanner is responsible for all this?
>
> What can I do here?
>
> I can not remove it, as do the virus check each message to reach me??
>
> What can I do?
>
> mailserver.home.com     local
> home.com    virtual:[192.168.25.8]
> home.cu      dovecot:[192.168.25.8]

Of course you can remove it. There are many, and IMHO, far superior
programs for handing what you require. You could search the Postfix
site for suggestions. Give 'amavisd-new' a look.


--
Gerard
[hidden email]

TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

As I thought, no better from this side.
                -- Eeyore
Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Wietse Venema
In reply to this post by Michel Bulgado
[hidden email]:

> Wietse Venema <[hidden email]> escribi?:
>
> > [hidden email]:
> >> Hello
> >>
> >> I'm trying to integrate bogofilter with postfix, I followed the steps in
> >> the documentation for installation and configuration:
> >
> > Except that you also use MailScanner, which interferes with
> > Postfix content filtering.
> >
> > Wietse
> >
>
> Hi Wietse
>
> Thank you for responding so quickly.
>
> As commented in my previous message, in my transport table for each  
> domain declared on my network server to which I give you my email so  
> that it reaches its final destination, when I apply the filter ignores  
> the table, never comes out.
>
> You tell me that MailScanner is responsible for all this?

I support Postfix. If the Postfix content filter mis-behaves
WITHOUT MailScanner, then I will fix it.

        Wietse

> What can I do here?
>
> I can not remove it, as do the virus check each message to reach me??
>
> What can I do?
>
> mailserver.home.com     local
> home.com    virtual:[192.168.25.8]
> home.cu      dovecot:[192.168.25.8]
>
>
>
>
> ----------------------------------------------
> Webmail, servicio de correo electronico
> Casa de las Americas - La Habana, Cuba.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Noel Jones-2
In reply to this post by Michel Bulgado
On 9/29/2009 6:08 AM, [hidden email] wrote:

> Wietse Venema <[hidden email]> escribió:
>
>> [hidden email]:
>>> Hello
>>>
>>> I'm trying to integrate bogofilter with postfix, I followed the steps in
>>> the documentation for installation and configuration:
>>
>> Except that you also use MailScanner, which interferes with
>> Postfix content filtering.
>>
>
> You tell me that MailScanner is responsible for all this?
>

 From your original message:

> Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
> from=[hidden email], size=936, class=0, nrcpts=1,
> msgid=<[hidden email]>,
> relay=filter@localhost

So the main problem is that you need to uninstall or disable
sendmail.  That's what is causing the loop.

But MailScanner uses a non-standard and unsupported interface
to postfix, and is likely to cause other problems when
combined with a standard content_filter, such as processing
mail multiple times and other strange problems.

If you really want to use MailScanner, you shouldn't use any
other content filters or milters, and don't expect to get any
support for postfix + MailScanner on this list.

But a better solution is to drop MailScanner and use something
with a standard, supported interface to postfix.

   -- Noel Jones

Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Michel Bulgado
In reply to this post by Wietse Venema
Wietse Venema <[hidden email]> escribió:

> [hidden email]:
>> Wietse Venema <[hidden email]> escribi?:
>>
>> > [hidden email]:
>> >> Hello
>> >>
>> >> I'm trying to integrate bogofilter with postfix, I followed the steps in
>> >> the documentation for installation and configuration:
>> >
>> > Except that you also use MailScanner, which interferes with
>> > Postfix content filtering.
>> >
>> > Wietse
>> >
>>
>> Hi Wietse
>>
>> Thank you for responding so quickly.
>>
>> As commented in my previous message, in my transport table for each
>> domain declared on my network server to which I give you my email so
>> that it reaches its final destination, when I apply the filter ignores
>> the table, never comes out.
>>
>> You tell me that MailScanner is responsible for all this?
>
> I support Postfix. If the Postfix content filter mis-behaves
> WITHOUT MailScanner, then I will fix it.
>
> Wietse
>
>> What can I do here?
>>
>> I can not remove it, as do the virus check each message to reach me??
>>
>> What can I do?
>>
>> mailserver.home.com     local
>> home.com    virtual:[192.168.25.8]
>> home.cu      dovecot:[192.168.25.8]
>>

I will make a test , without the mailscanner and feedback to you

so with amavis you can think the loops problem disappear?



----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.

Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

/dev/rob0
In reply to this post by Michel Bulgado
On Monday 28 September 2009 22:33:08 [hidden email] wrote:
> I'm trying to integrate bogofilter with postfix, I followed the
> steps in the documentation for installation and configuration:

Bogofilter documentation, probably. Questions regarding that might
belong on a list specific to that project.

> I'm using CentOS 5.3 with postfix-2.3.3-2.1, my users are virtuals,
> they are in the active directory in windows.

That's a complex setup. First things first, you need to learn how to
manage your OS. RHEL is extensively documented. Next, consider
simpler alternatives. You're going to have a lot of frustration as
you try to understand what you have already done. It does not need to
be so complicated.

> When I send a message, my server must deliver the message to an
> external server, said earlier in the table of transport,
> following testing of the filter in the master.cf file the
> messages stop being delivered to the external server and the
> message fall into a cycle.

I think I understand all that. What I don't understand is WHY you
thought this was a good idea. :)

> I created the user under which the filter will work, given
> execution permissions to the script and the owner of it.
>
> The question is because the script is used to deliver these
> messages sendmail, postfix why not?

And this would be a CentOS/RHEL question. If you're going to have
Postfix as your MTA, get the sendmail.org MTA out of the way.

> This is my config in master.cf file:
snip

> Sep 28 17:36:13 mailserver postfix/smtpd[12730]: connect from
> michel.home.com[192.168.25.20]

Home.com is a real Internet domain. You should use a domain name that
would never appear on the Internet, for internal naming. I use
subdomains of my real domain, which I control, and also a made-up
TLD, .vpn.

> Sep 28 17:36:13 mailserver postfix/smtpd[12730]: 911B5E03B5:
> client=michel.home.com[192.168.25.20]
>
> Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5: hold:
> header Received: from [192.168.25.20] (michel.home.com
> [192.168.25.20])??by mailserver.home.com (Postfix) with ESMTP id
> 911B5E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:13 -0400 (CDT)
> from michel.home.com[192.168.25.20]; from=<[hidden email]>
> to=<[hidden email]> proto=ESMTP helo=<[192.168.25.20]>
>
> Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5:
> message-id=<[hidden email]>
>
> Sep 28 17:36:13 mailserver postfix/smtpd[12730]: disconnect from
> michel.home.com[192.168.25.20]
>
> Sep 28 17:36:14 mailserver MailScanner[26203]: New Batch: Scanning 1
> messages, 1176 bytes
>
> Sep 28 17:36:14 mailserver MailScanner[26203]: Spam Checks: Starting
>
> Sep 28 17:36:14 mailserver MailScanner[26203]: Virus and Content
> Scanning: Starting
>
> Sep 28 17:36:14 mailserver MailScanner[26203]: Requeue: 911B5E03B5.B54EA
> to 60CA9E03C0
>
> Sep 28 17:36:14 mailserver MailScanner[26203]: Uninfected: Delivered 1
> messages

Mailscanner, as you know, is not recommended for Postfix, and will
not be supported on this list. But in this case it does not seem to
be the cause of the mail loop.

> Sep 28 17:36:14 mailserver postfix/qmgr[12728]: 60CA9E03C0:
> from=<[hidden email]>, size=856, nrcpt=1 (queue active)

Here's the post-Mailscanner message.

> Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
> Authentication-Warning: mailserver.home.com: filter set sender to
> [hidden email] using -f
>
> Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
> from=[hidden email], size=936, class=0, nrcpts=1,
> msgid=<[hidden email]>,
> relay=filter@localhost

Oops. That's not Postfix. Postfix logs all say "postfix" in them.

> Sep 28 17:36:14 mailserver postfix/smtpd[12730]: connect from
> localhost.localdomain[127.0.0.1]

And yet it submits mail back to Postfix.

> Sep 28 17:36:14 mailserver postfix/smtpd[12730]: C059CE03B5:
> client=localhost.localdomain[127.0.0.1]
>
> Sep 28 17:36:14 mailserver postfix/cleanup[12733]: C059CE03B5: hold:
> header Received: from mailserver.home.com (localhost.localdomain
> [127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
> C059CE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:14 -0400 (CDT
> from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
> to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>

There's your loop.

Best advice to proceed, spend some time getting to know how to work
with/in your OS. Mail administration is challenging for experienced
system administrators! Your problem here is that you're not an
experienced system administrator, so it's going to be much more
difficult for you.

Next, look at more sane and clean methods of spam control. Simple
HELO checks (specifically reject_non_fqdn_helo_hostname and
reject_invalid_helo_hostname) and Spamhaus Zen will get rid of the
vast majority of the spam.
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header
Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Michel Bulgado
On Tue, 2009-09-29 at 07:41 -0500, /dev/rob0 wrote:

> On Monday 28 September 2009 22:33:08 [hidden email] wrote:
> > I'm trying to integrate bogofilter with postfix, I followed the
> > steps in the documentation for installation and configuration:
>
> Bogofilter documentation, probably. Questions regarding that might
> belong on a list specific to that project.
>
> > I'm using CentOS 5.3 with postfix-2.3.3-2.1, my users are virtuals,
> > they are in the active directory in windows.
>
> That's a complex setup. First things first, you need to learn how to
> manage your OS. RHEL is extensively documented. Next, consider
> simpler alternatives. You're going to have a lot of frustration as
> you try to understand what you have already done. It does not need to
> be so complicated.
>
> > When I send a message, my server must deliver the message to an
> > external server, said earlier in the table of transport,
> > following testing of the filter in the master.cf file the
> > messages stop being delivered to the external server and the
> > message fall into a cycle.
>
> I think I understand all that. What I don't understand is WHY you
> thought this was a good idea. :)
>
> > I created the user under which the filter will work, given
> > execution permissions to the script and the owner of it.
> >
> > The question is because the script is used to deliver these
> > messages sendmail, postfix why not?
>
> And this would be a CentOS/RHEL question. If you're going to have
> Postfix as your MTA, get the sendmail.org MTA out of the way.
>
> > This is my config in master.cf file:
> snip
>
> > Sep 28 17:36:13 mailserver postfix/smtpd[12730]: connect from
> > michel.home.com[192.168.25.20]
>
> Home.com is a real Internet domain. You should use a domain name that
> would never appear on the Internet, for internal naming. I use
> subdomains of my real domain, which I control, and also a made-up
> TLD, .vpn.
>
> > Sep 28 17:36:13 mailserver postfix/smtpd[12730]: 911B5E03B5:
> > client=michel.home.com[192.168.25.20]
> >
> > Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5: hold:
> > header Received: from [192.168.25.20] (michel.home.com
> > [192.168.25.20])??by mailserver.home.com (Postfix) with ESMTP id
> > 911B5E03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:13 -0400 (CDT)
> > from michel.home.com[192.168.25.20]; from=<[hidden email]>
> > to=<[hidden email]> proto=ESMTP helo=<[192.168.25.20]>
> >
> > Sep 28 17:36:13 mailserver postfix/cleanup[12733]: 911B5E03B5:
> > message-id=<[hidden email]>
> >
> > Sep 28 17:36:13 mailserver postfix/smtpd[12730]: disconnect from
> > michel.home.com[192.168.25.20]
> >
> > Sep 28 17:36:14 mailserver MailScanner[26203]: New Batch: Scanning 1
> > messages, 1176 bytes
> >
> > Sep 28 17:36:14 mailserver MailScanner[26203]: Spam Checks: Starting
> >
> > Sep 28 17:36:14 mailserver MailScanner[26203]: Virus and Content
> > Scanning: Starting
> >
> > Sep 28 17:36:14 mailserver MailScanner[26203]: Requeue: 911B5E03B5.B54EA
> > to 60CA9E03C0
> >
> > Sep 28 17:36:14 mailserver MailScanner[26203]: Uninfected: Delivered 1
> > messages
>
> Mailscanner, as you know, is not recommended for Postfix, and will
> not be supported on this list. But in this case it does not seem to
> be the cause of the mail loop.
>
> > Sep 28 17:36:14 mailserver postfix/qmgr[12728]: 60CA9E03C0:
> > from=<[hidden email]>, size=856, nrcpt=1 (queue active)
>
> Here's the post-Mailscanner message.
>
> > Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
> > Authentication-Warning: mailserver.home.com: filter set sender to
> > [hidden email] using -f
> >
> > Sep 28 17:36:14 mailserver sendmail[12738]: n8SLaEwa012738:
> > from=[hidden email], size=936, class=0, nrcpts=1,
> > msgid=<[hidden email]>,
> > relay=filter@localhost
>
> Oops. That's not Postfix. Postfix logs all say "postfix" in them.
>
> > Sep 28 17:36:14 mailserver postfix/smtpd[12730]: connect from
> > localhost.localdomain[127.0.0.1]
>
> And yet it submits mail back to Postfix.
>
> > Sep 28 17:36:14 mailserver postfix/smtpd[12730]: C059CE03B5:
> > client=localhost.localdomain[127.0.0.1]
> >
> > Sep 28 17:36:14 mailserver postfix/cleanup[12733]: C059CE03B5: hold:
> > header Received: from mailserver.home.com (localhost.localdomain
> > [127.0.0.1])??by mailserver.home.com (Postfix) with ESMTP id
> > C059CE03B5??for <[hidden email]>; Mon, 28 Sep 2009 17:36:14 -0400 (CDT
> > from localhost.localdomain[127.0.0.1]; from=<[hidden email]>
> > to=<[hidden email]> proto=ESMTP helo=<mailserver.home.com>
>
> There's your loop.
>
> Best advice to proceed, spend some time getting to know how to work
> with/in your OS. Mail administration is challenging for experienced
> system administrators! Your problem here is that you're not an
> experienced system administrator, so it's going to be much more
> difficult for you.
>
> Next, look at more sane and clean methods of spam control. Simple
> HELO checks (specifically reject_non_fqdn_helo_hostname and
> reject_invalid_helo_hostname) and Spamhaus Zen will get rid of the
> vast majority of the spam.


Hello rob0

It is obvious that in order to implement bogofilter with postfix I had
to go to the official website of bogofilter, I have read documentation,
the FAQ, and even before making any post in the list of postfix I did in
theirs, I presented my problem to reach a solution. but I had the same
sort of tripping over a list as active as postfix, which is why I have
not yet received a reply from them.

home.com use as an example, and I know there is a domain registered by
someone else, I modified my logs, changing the hostname, as well as IP
address, such as domains, is a policy that before you use any post lists
on the Internet. problems?


MailScanner Maybe not the most recommended to work with postfix, I do
not know the reasons. It happens that when I started working here and
was already installed, I have had, seeing that it works well, detects
and removes viruses from messages.

  if something works well, it is better not touch it, do not you think?

I have implemented in my external mail servers several mechanisms to
stop spammers, I am using postgrey + policy-weight and blacklists such
as Spamhaus (Zen) in addition
smtpd_helo_restrictions. with this slows down the spam, but I keep
getting spam messages. is therefore wish to implement bogofilter.

No offense, maybe not as genius as it is you, or have that much
experience you have. but I am interested in improving and maintaining my
system with the knowledge I possess

Regards

Michel


Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Stan Hoeppner
Michel Bulgado put forth on 9/29/2009 9:22 AM:

> I have implemented in my external mail servers several mechanisms to
> stop spammers, I am using postgrey + policy-weight and blacklists such
> as Spamhaus (Zen) in addition
> smtpd_helo_restrictions. with this slows down the spam, but I keep
> getting spam messages. is therefore wish to implement bogofilter.
>
> No offense, maybe not as genius as it is you, or have that much
> experience you have. but I am interested in improving and maintaining my
> system with the knowledge I possess

Given your situation, may I humbly suggest you also join the spam-l
mailing list:

http://spam-l.com/mailman/listinfo/spam-l

Collective spam fighting experience there going back to pre-1996.  There
are many Postfix users there, some who x-over to this list, including
mouss, /dev/rob0, and myself (apologies to others I missed).

Specifically, you may receive better attention there as to blocking the
"spams that are still getting through".

Adding to the choir, removing sendmail is the first step to solving your
immediate problem.

--
Stan
Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops

Michel Bulgado
Hello again

I've been tested per second eliminating the MailScanner checks and  
guess, the problems persist then the problem is not in the MailScanner  
as we thought.


I can send the logs after doing the test and the script that comes  
with the example of bogofilter.


#!/bin/sh

FILTER=/usr/bin/bogofilter
FILTER_DIR=/var/spool/filter
# WARNING! The -i is crucial, else you may see
# messages truncated at the first period that is alone on a line
# (which can happen with several kinds of messages, particularly
# quoted-printable)
# -G is ignored before Postfix 2.3 and tells it that the message
# does not originate on the local system (Gateway submission),
# so Postfix avoids some of the local expansions that can leave
# misleading traces in headers, such as local address
# canonicalizations.
POSTFIX="/usr/sbin/sendmail -G -i"
export BOGOFILTER_DIR=/home/filter

# Exit codes from <sysexits.h>
EX_TEMPFAIL=75
EX_UNAVAILABLE=69

cd $FILTER_DIR || \
{ echo $FILTER_DIR does not exist; exit $EX_TEMPFAIL; }

# Clean up when done or when aborting.
trap "rm -f msg.$$ ; exit $EX_TEMPFAIL" 0 1 2 3 15

# bogofilter -e returns: 0 for OK, nonzero for error
rm -f msg.$$ || exit $EX_TEMPFAIL
$FILTER -p -u -e > msg.$$ || exit $EX_TEMPFAIL

exec <msg.$$ || exit $EX_TEMPFAIL
rm -f msg.$$ # safe, we hold the file descriptor
exec $POSTFIX "$@"
exit $EX_TEMPFAIL

my logs:

Sep 29 23:27:53 mailserver postfix/smtpd[29032]: connect from  
spider.home.com[192.                                              
168.25.254]
Sep 29 23:27:53 mailserver postfix/smtpd[29032]: C1345E03AE:  
client=spider.home.com[192.168.25.254]
Sep 29 23:27:53 mailserver postfix/cleanup[29035]: C1345E03AE:  
message-id=<200909292                                              
[hidden email]>
Sep 29 23:27:53 mailserver postfix/smtpd[29032]: disconnect from  
spider.casa.co.cu[1                                              
92.168.25.254]
Sep 29 23:27:53 mailserver postfix/qmgr[29023]: C1345E03AE:  
from=<[hidden email]>                                              
, size=874, nrcpt=1 (queue active)
Sep 29 23:27:53 mailserver sendmail[29037]: n8U3RrLh029037:  
Authentication-Warning:                                                
mailserver.home.com: filter set sender to [hidden email] using -f
Sep 29 23:27:53 mailserver sendmail[29037]: n8U3RrLh029037:  
from=[hidden email],                                                
size=950, class=0, nrcpts=1,  
msgid=<[hidden email]>,  
relay=filter@localhost
Sep 29 23:27:53 mailserver postfix/smtpd[29032]: connect from  
localhost.localdomain[                                              
127.0.0.1]
Sep 29 23:27:53 mailserver postfix/smtpd[29032]: F2E09E03B2:  
client=localhost.locald                                              
omain[127.0.0.1]
Sep 29 23:27:54 mailserver dovecot: IMAP([hidden email]):  
Disconnected: Logged ou                                              t  
bytes=727/698
Sep 29 23:27:54 mailserver postfix/cleanup[29035]: F2E09E03B2:  
message-id=<200909292                                              
[hidden email]>
Sep 29 23:27:54 mailserver sendmail[29037]: n8U3RrLh029037:  
to=[hidden email],                                                
ctladdr=[hidden email] (509/509), delay=00:00:01, xdelay=00:00:01,  
mailer=rel                                              ay, pri=30950,  
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued a      
                                         s F2E09E03B2)
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: F2E09E03B2:  
from=<[hidden email]>                                              
, size=1399, nrcpt=1 (queue active)
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: disconnect from  
localhost.localdoma                                              
in[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/pipe[29036]: C1345E03AE:  
to=<[hidden email]>                                              ,  
relay=filter, delay=0.3, delays=0.03/0.01/0/0.26, dsn=2.0.0,  
status=sent (deli                                              vered  
via filter service)
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: C1345E03AE: removed
Sep 29 23:27:54 mailserver sendmail[29042]: n8U3RsYj029042:  
Authentication-Warning:                                                
mailserver.home.com: filter set sender to [hidden email] using -f
Sep 29 23:27:54 mailserver sendmail[29042]: n8U3RsYj029042:  
from=[hidden email],                                                
size=1398, class=0, nrcpts=1,  
msgid=<[hidden email]>,  
relay=filter@localhost
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: connect from  
localhost.localdomain[                                              
127.0.0.1]
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: 26AEDE03AE:  
client=localhost.locald                                              
omain[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/cleanup[29035]: 26AEDE03AE:  
message-id=<200909292                                              
[hidden email]>
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: 26AEDE03AE:  
from=<[hidden email]>                                              
, size=1854, nrcpt=1 (queue active)
Sep 29 23:27:54 mailserver sendmail[29042]: n8U3RsYj029042:  
to=[hidden email],                                                
ctladdr=[hidden email] (509/509), delay=00:00:00, xdelay=00:00:00,  
mailer=rel                                              ay, pri=31398,  
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued a      
                                         s 26AEDE03AE)
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: disconnect from  
localhost.localdoma                                              
in[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/pipe[29041]: F2E09E03B2:  
to=<[hidden email]>                                              ,  
relay=filter, delay=0.27, delays=0.06/0.01/0/0.19, dsn=2.0.0,  
status=sent (del                                              ivered  
via filter service)
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: F2E09E03B2: removed
Sep 29 23:27:54 mailserver sendmail[29046]: n8U3RsnR029046:  
Authentication-Warning:                                                
mailserver.home.com: filter set sender to [hidden email] using -f
Sep 29 23:27:54 mailserver sendmail[29046]: n8U3RsnR029046:  
from=[hidden email],                                                
size=1846, class=0, nrcpts=1,  
msgid=<[hidden email]>,  
relay=filter@localhost
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: connect from  
localhost.localdomain[                                              
127.0.0.1]
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: 4A582E03B2:  
client=localhost.locald                                              
omain[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/cleanup[29035]: 4A582E03B2:  
message-id=<200909292                                              
[hidden email]>
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: 4A582E03B2:  
from=<[hidden email]>                                              
, size=2309, nrcpt=1 (queue active)
Sep 29 23:27:54 mailserver sendmail[29046]: n8U3RsnR029046:  
to=[hidden email],                                                
ctladdr=[hidden email] (509/509), delay=00:00:00, xdelay=00:00:00,  
mailer=rel                                              ay, pri=31846,  
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued a      
                                         s 4A582E03B2)
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: disconnect from  
localhost.localdoma                                              
in[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/pipe[29036]: 26AEDE03AE:  
to=<[hidden email]>                                              ,  
relay=filter, delay=0.25, delays=0.06/0/0/0.19, dsn=2.0.0, status=sent  
(delive                                              red via filter  
service)
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: 26AEDE03AE: removed
Sep 29 23:27:54 mailserver sendmail[29050]: n8U3RsVt029050:  
Authentication-Warning:                                                
mailserver.home.com: filter set sender to [hidden email] using -f
Sep 29 23:27:54 mailserver sendmail[29050]: n8U3RsVt029050:  
from=[hidden email],                                                
size=2294, class=0, nrcpts=1,  
msgid=<[hidden email]>,  
relay=filter@localhost
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: connect from  
localhost.localdomain[                                              
127.0.0.1]
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: 701D4E03AE:  
client=localhost.locald                                              
omain[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/cleanup[29035]: 701D4E03AE:  
message-id=<200909292                                              
[hidden email]>
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: 701D4E03AE:  
from=<[hidden email]>                                              
, size=2764, nrcpt=1 (queue active)
Sep 29 23:27:54 mailserver sendmail[29050]: n8U3RsVt029050:  
to=[hidden email],                                                
ctladdr=[hidden email] (509/509), delay=00:00:00, xdelay=00:00:00,  
mailer=rel                                              ay, pri=32294,  
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued a      
                                         s 701D4E03AE)
Sep 29 23:27:54 mailserver postfix/smtpd[29032]: disconnect from  
localhost.localdoma                                              
in[127.0.0.1]
Sep 29 23:27:54 mailserver postfix/pipe[29041]: 4A582E03B2:  
to=<[hidden email]>                                              ,  
relay=filter, delay=0.25, delays=0.06/0/0/0.19, dsn=2.0.0, status=sent  
(delive                                              red via filter  
service)
Sep 29 23:27:54 mailserver postfix/qmgr[29023]: 4A582E03B2: removed

----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.


Reply | Threaded
Open this post in threaded view
|

Content_filter - Too Many Hops

Stan Hoeppner
[hidden email] put forth on 9/29/2009 11:05 PM:
> Hello again
>
> I've been tested per second eliminating the MailScanner checks and
> guess, the problems persist then the problem is not in the MailScanner
> as we thought.

You were told, by multiple people, that the problem was sendmail, not
mailscanner.  One poster even pointed out with absolute clarity the
lines in one of your provided log snippets that showed sendmail to be
the problem

You still haven't uninstalled the Sendmail package.  Why?

--
Stan
Reply | Threaded
Open this post in threaded view
|

Re: Content_filter - Too Many Hops - SOLVED

Michel Bulgado
On Tue, 2009-09-29 at 23:22 -0500, Stan Hoeppner wrote:

> [hidden email] put forth on 9/29/2009 11:05 PM:
> > Hello again
> >
> > I've been tested per second eliminating the MailScanner checks and
> > guess, the problems persist then the problem is not in the MailScanner
> > as we thought.
>
> You were told, by multiple people, that the problem was sendmail, not
> mailscanner.  One poster even pointed out with absolute clarity the
> lines in one of your provided log snippets that showed sendmail to be
> the problem
>
> You still haven't uninstalled the Sendmail package.  Why?
>
> --
> Stan

You're absolutely right.

I uninstalled sendmail and I have located with the command "postconf
sendmail_path" the path to the executable that comes with postfix.

I have corrected my script in bogofilter and works great.

thank all those who helped me one way or another.

apologize for any inconvenience caused