[milters] Archive

Lists Index Date Thread Search

Article: 963
From: BerkshireNet Tech Support
Date: 2006-06-06 17:45:31 -0400
Subject: Re: "milter-link" breaking majordomo?

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

This is a multi-part message in MIME format.

------=_NextPart_000_10C1_01C68991.01AC4C50
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for the quick replies.
=20
Currently these are the options I am running in the =
/etc/mail/milter-link.cf file:

-d .multi.surbl.org,.sbl-xbl.spamhaus.org
-f /etc/mail/sendmail.cf
local:/var/run/milter-link.sock

Sorry I was not a bit more clear.  When the .cf that was built with =
milter-link enabled, the majordomo lists get the "Service unavailable" =
message. When we copy the previous .cf file back into place, which is =
built w/o the milter-link, the majordomo lists function again. With =
restarts of sendmail in between all of the copying, of course.

the line "Connect:127.0.0.1 RELAY" is in the access database, as well, =
we have tried adding "milter-link-Connect:127.0.0.1 RELAY" to the access =
database, with no luck. =20

The only other change was we removed the spamcop black-hole list from =
the config. =20

I have removed the "define(`confINPUT_MAIL_FILTERS', =
`milter-link,clmilter')" line, and added the spamcop back in, (Just in =
case) also with no luck. =20

MD itself is run directly from the server, with people sending their =
messages to the list, and not via web based forms.

BRETT


  ----- Original Message -----=20
  From: Anthony Howe=20
  To: milters@milter.info=20
  Sent: Tuesday, June 06, 2006 5:23 PM
  Subject: [milters] Re: "milter-link" breaking majordomo?


  Removal...........: milters-request@milter.info?subject=3Dremove
  More information..: http://www.milter.info/#Support
  --------------------------------------------------------

  Brett Greenleaf wrote:
  > I recently installed 'milter-link' on a mail server to take =
advantage of=20
  > the  additional SPAM filtering capabilities.

  You haven't specified what options you have set.

  > There seems to be a problem with it running though as it has broken=20
  > Majordomo in the mail server.  By broken I mean the log messages=20
  > received when MD is not working are "dsn=3D5.0.0, stat=3DService=20
  > unavailable" and the mail does not go out at all.

  I don't follow. When MD is not working you get Service Unavailble. But =

  below you say switching .cf files between new and old and MD works =
once=20
  more. I'm confused. The way I read the above is that MD is not working =

  by choice, not as a result of milter-link. If swaping the .cf files=20
  makes a difference, have you diff'ed them to see if something else was =

  changed?

  > We have tested this by copying an older, pre-Milter-Link sendmail.cf =

  > file over, and testing, and MD did work again.=20

  > divert(0)dnl
  > VERSIONID(`@(#)main.mc <mailto:`@(#)main.mc>  1.5 (Sun) 08/10/00')
  > OSTYPE(`solaris8')dnl
  > DOMAIN(`solaris-generic')dnl
  > FEATURE(access_db)dnl
  > FEATURE(relay_based_on_MX)dnl
  > FEATURE(use_cw_file)dnl
  > FEATURE(virtusertable, `hash /etc/mail/maildomains')dnl
  > FEATURE(`dnsbl',`sbl-xbl.spamhaus.org')dnl
  > FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from " =
$`'&{client_addr} "=20
  > refused - see http://dsbl.org/"')
  > =
INPUT_MAIL_FILTER(`clmilter',`S=3Dlocal:/var/run/clmilter.sock,F=3D,T=3DS=
:4m;R:4m')dnl
  > =
INPUT_MAIL_FILTER(`milter-link',`S=3Dlocal:/var/run/milter-link.sock,T=3D=
C:10s;R:1m;E:5m')dnl
  > define(`confINPUT_MAIL_FILTERS', `milter-link,clmilter')

  The above line is redundant. Just change the order of the=20
  INPUT_MAIL_FILTER() lines has the same effect as specifying the order.

  > MAILER(`local')dnl
  > MAILER(`smtp')dnl
  > HACK(`popauth')dnl

  Do you have in your access.db:

  Connect:127.0.0.1 RELAY

  Does your MD use a template with URL references? Consider white =
listing=20
  them with something like:

  milter-link-body:w3c.org OK
  milter-link-body:gober-foods.com OK

  Or similar. See the documentation.

  --=20
  Anthony C Howe          Skype: SirWumpus                    SnertSoft
  +33 6 11 89 73 78         AIM: SirWumpus    Sendmail Milter Solutions
  http://www.snert.com/     ICQ:
7116561      http://www.snertsoft.com/




  --=20
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: =
6/5/2006


------=_NextPart_000_10C1_01C68991.01AC4C50
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.5346.5" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks for the quick =
replies.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Currently these are the options I am =
running in the=20
/etc/mail/milter-link.cf file:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-d =
.multi.surbl.org,.sbl-xbl.spamhaus.org<BR>-f=20
/etc/mail/sendmail.cf<BR>local:/var/run/milter-link.sock</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sorry I was not a bit more clear.&nbsp; =
When the=20
.cf that was built with milter-link enabled, the majordomo lists get the =

"Service unavailable" message. When we copy the previous .cf file back =
into=20
place, which is built w/o the milter-link, the majordomo lists function =
again.=20
With restarts of sendmail in between all of the copying, of =
course.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>the line "<FONT face=3D"Times
New =
Roman"=20
size=3D3>Connect:127.0.0.1 RELAY" is in the access database, as well, we =
have=20
tried adding "milter-link-Connect:127.0.0.1 RELAY" to the access =
database, with=20
no luck.&nbsp; </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The only other change was we removed =
the spamcop=20
black-hole list from the config.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have removed the "<FONT
face=3D"Times =
New Roman"=20
size=3D3>define(`confINPUT_MAIL_FILTERS', `milter-link,clmilter')" line, =
and added=20
the spamcop back in, (Just in case) also with no luck.&nbsp;=20
</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>MD itself is run directly from the =
server, with=20
people sending their messages to the list, and not via web based=20
forms.</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT><BR>BRETT<BR><BR></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message -----
</DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dachowe@snert.com href=3D"mailto:achowe@snert.com">Anthony =
Howe</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmilters@milter.info=20
  href=3D"mailto:milters@milter.info">milters@milter.info</A>
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, June
06, 2006 =
5:23=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [milters]
Re: =
"milter-link"=20
  breaking majordomo?</DIV>
  <DIV><BR></DIV>Removal...........: <A=20
  =
href=3D"mailto:milters-request@milter.info?subject=3Dremove">milters-requ=
est@milter.info?subject=3Dremove</A><BR>More=20
  information..: <A=20
  =
href=3D"http://www.milter.info/#Support">http://www.milter.info/#Support<=
/A><BR>--------------------------------------------------------<BR><BR>Br=
ett=20
  Greenleaf wrote:<BR>&gt; I recently installed 'milter-link' on a mail =
server=20
  to take advantage of <BR>&gt; the&nbsp; additional SPAM filtering=20
  capabilities.<BR><BR>You haven't specified what options you have=20
  set.<BR><BR>&gt; There seems to be a problem with it running though as =
it has=20
  broken <BR>&gt; Majordomo in the mail server.&nbsp; By broken I mean =
the log=20
  messages <BR>&gt; received when MD is not working are "dsn=3D5.0.0, =
stat=3DService=20
  <BR>&gt; unavailable" and the mail does not go out at
all.<BR><BR>I =
don't=20
  follow. When MD is not working you get Service Unavailble. But =
<BR>below you=20
  say switching .cf files between new and old and MD works once =
<BR>more. I'm=20
  confused. The way I read the above is that MD is not working <BR>by =
choice,=20
  not as a result of milter-link. If swaping the .cf files <BR>makes a=20
  difference, have you diff'ed them to see if something else was=20
  <BR>changed?<BR><BR>&gt; We have tested this by copying an
older,=20
  pre-Milter-Link sendmail.cf <BR>&gt; file over, and testing, and MD =
did work=20
  again. <BR><BR>&gt; divert(0)dnl<BR>&gt; VERSIONID(<A=20
  href=3D"mailto:`@(#)main.mc">`@(#)main.mc</A> &lt;<A=20
 
href=3D"mailto:`@(#)main.mc">mailto:`@(#)main.mc</A>&gt;&nbsp;
1.5 =
(Sun)=20
  08/10/00')<BR>&gt; OSTYPE(`solaris8')dnl<BR>&gt;=20
  DOMAIN(`solaris-generic')dnl<BR>&gt;
FEATURE(access_db)dnl<BR>&gt;=20
  FEATURE(relay_based_on_MX)dnl<BR>&gt;
FEATURE(use_cw_file)dnl<BR>&gt;=20
  FEATURE(virtusertable, `hash /etc/mail/maildomains')dnl<BR>&gt;=20
  FEATURE(`dnsbl',`sbl-xbl.spamhaus.org')dnl<BR>&gt; FEATURE(`dnsbl',=20
  `list.dsbl.org', `"550 Mail from " $`'&amp;{client_addr} "
<BR>&gt; =
refused -=20
  see <A =
href=3D"http://dsbl.org/&quot;'">http://dsbl.org/"'</A>)<BR>&gt;=20
  =
INPUT_MAIL_FILTER(`clmilter',`S=3Dlocal:/var/run/clmilter.sock,F=3D,T=3DS=
:4m;R:4m')dnl<BR>&gt;=20
  =
INPUT_MAIL_FILTER(`milter-link',`S=3Dlocal:/var/run/milter-link.sock,T=3D=
C:10s;R:1m;E:5m')dnl<BR>&gt;=20
  define(`confINPUT_MAIL_FILTERS', `milter-link,clmilter')<BR><BR>The =
above line=20
  is redundant. Just change the order of the <BR>INPUT_MAIL_FILTER() =
lines has=20
  the same effect as specifying the order.<BR><BR>&gt;=20
  MAILER(`local')dnl<BR>&gt; MAILER(`smtp')dnl<BR>&gt;=20
  HACK(`popauth')dnl<BR><BR>Do you have in your=20
  access.db:<BR><BR>Connect:127.0.0.1 RELAY<BR><BR>Does your MD
use a =
template=20
  with URL references? Consider white listing <BR>them with something=20
  like:<BR><BR>milter-link-body:w3c.org =
OK<BR>milter-link-body:gober-foods.com=20
  OK<BR><BR>Or similar. See the documentation.<BR><BR>--
<BR>Anthony C=20
 
Howe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Skype:=20
  =
SirWumpus&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  SnertSoft<BR>+33 6 11 89 73 =
78&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  AIM: SirWumpus&nbsp;&nbsp;&nbsp; Sendmail Milter Solutions<BR><A=20
  =
href=3D"http://www.snert.com/">http://www.snert.com/</A>&nbsp;&nbsp;&nbsp=
;&nbsp;=20
  ICQ: 7116561&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A=20
  =
href=3D"http://www.snertsoft.com/">http://www.snertsoft.com/</A><BR><BR><=
BR><BR><BR>--=20
  <BR>No virus found in this incoming message.<BR>Checked by AVG Free=20
  Edition.<BR>Version: 7.1.394 / Virus Database: 268.8.2/356 - Release =
Date:=20
  6/5/2006<BR><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_10C1_01C68991.01AC4C50--


Lists Index Date Thread Search