installing libmilter
Anders Andersson, IT
anders.andersson at LTKALMAR.SE
Fri Nov 11 13:43:31 GMT 2005
> -----Original Message-----
> From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Stephen Swaney
> > -----Original Message-----
> > From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > Behalf Of Anders Andersson, IT
> > Sent: Thursday, November 03, 2005 7:04 AM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: OT: installing libmilter
> >
> > Hi all pro's :)
> >
> > Could somone shed some light how to do the libmilter
> installation on
> > CentOS.
> > I managed to figure out I need the source to build the libmilter
> > included in the package
> >
> http://mirror.nsc.liu.se/CentOS/4.2/os/SRPMS/sendmail-8.13.1-2.src.rpm
> > before I can do the rest but Im not sure how to actually do the
> > libmilter/sendmail rebuild thingy.
> >
> > If this is something someone like me should not do pls
> informa and Ill
> > drop it until I actually know what Im doing
> >
> > Never even tried to rebuild sendmail since I only use out
> of the box
> > with some changes in sendmail.mc so go easy on a hardcore newbie :)
> >
> > /Anders
>
> You shouldn't need to build libmilter. Just install the
> sendmail-devel rpm.
> Then read /usr/share/doc/sendmail/README.libmilter for the
> gory details.
>
> Most milters are fairly easy to install. Some general instructions:
>
> 1. Download and unpack the milter source code 2. Configure
> build and install the milter 3. Install the init script so
> the milter can start on reboot (some milters do this automatically).
> 4. Start and test the milter (look at the mail logs for
> error) 5. Configure the init script to run at boot 6. Modify
> your sendmail.mc file to configure sendmail to user the milter.
> Typically it's just adding a line similar to:
>
> INPUT_MAIL_FILTER(`milter-greylist',
> `S=local:/var/milter-greylist/milter-greylist.sock')
> 7. Use m4 to rebuild your sendmail.cf file from your modified
> sendmail.mc file 8. Restart sendmail (don't forget to check
> the mail log for errors)
>
> Hope this helps,
>
> Steve
>
Turn out to just as simple as you said, damn I hate when I cant figure
things out my self :)
All is running fine and guess I will have to give at week to see what
the result will be regarding decreased mailflow. The only thing I didnt
like is the response sent back to the sender, it contains a little to
much info
Ex.
Remote MTA ns2.ltkalmar.se: SMTP diagnostic: 550 5.7.1
<testarmailenpajobbet at ltkalmar.se>... server [172.29.32.81] for
<testarmailenpajobbet at ltkalmar.se> rejected address saying "User
unknown"
I rather just having it saying "550 5.7.1 User unknown" but I can live
with this for the moment :)
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list