Re: sendmail modification needed for mimedefang to work FC2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your response, Alexander.

>> In versions prior to 8.13.0, sendmail did not support mail filters by
>> default, and must be compiled with filter support enabled by defining
>
> Wrong! Milter support is compiled in already - since ages in the
> Sendmail Red Hat Linux shipped and all Fedora Core release versions.
> All you need to successfully compile MimeDefang yourself is the
> sendmail-devel package to get the libmilter headers.
>

Oh, OK.  This is good to know.

>> As I do not wish to blow up my mail server, I'm asking what would be the
>> best plan of attack?  Upgrade to the latest Sendmail, if yes, how?  From
>> tarball?  I did not see any updated sendmail RPM's for FC2.  Or should I
>> install the sendmail-8.12.11-4.6 source and rebuild it with the above
>> lines?
>
> Keep the Sendmail FC2 ships and install MimeDefang. Maybe use the
> MimeDefang RPM from Dag Wieers.
>

Well it's not working--perhaps you can enlighten me.  I believe everything
is installed correctly (sendmail, mimedefang and spamassassin).  This is
what I have done--I've added:

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m')

to my sendmail.mc file (mimedefang.sock doesn't exist, I don't know if
this is an issue or not) then ran:

m4 sendmail.mc > sendmail.cf

I then issued these commands:

#CONFIGURE MIMEDEFANG TO START WITH INIT SCRIPT
	cd redhat
	cp mimedefang-sysconfig /etc/sysconfig/mimedefang
	cp mimedefang-init /etc/rc.d/init.d/mimedefang
	chkconfig --add mimedefang

I then restarted both sendmail and mimedefang services.  Everything starts
fine, or at least it says it does.  I cannot send or recieve e-mail after
these modifications (or more specifically, after the sendmail
modification.)

I did not try to telnet to port 25 after this modification to see if
sendmail is still listening, I could try it.  So I revert back to my
original mc and cf files, restart sendmail, and mail works again.  Any
ideas as to what I'm missing?  Mimedefang is version 2.49 installed from
source--which installed without error.

Thanks,

Julian



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux