[Mimedefang] Mailman Footer in MS Outlook Link

Serving Soon servingsoon at gmail.com
Mon Oct 24 12:23:14 EDT 2011


Hello,

Yessssss. :)

I just got  Postfix 2.7.3 + mimedefang 2.72 +  Mailman 2.1.9 to work
getting mailman footers correctly, not as attachment, in MS Outlook.

It was a trip.  I am so proud of myself :P

  There is hardly any cheat sheets out there for such combination.

OS: Centos 5.6
Postfix: 2.7.3 I had to upgrade from distribution's 2.3

main.cf

smtpd_milters = unix:/var/spool/MIMEDefang/
mimedefang.sock
milter_default_action = accept
milter_protocol = 3

http://www.postfix.org/postconf.5.html#milter_protocol
http://postfix.wl0.org/en/building-rpms/#building

mimedefang: 2.72

I had to run as usr postfix because of permission problems :

postfix/smtpd[9768]: warning: connect to Milter service
unix:/var/spool/MIMEDefang/mimedefang.sock: Permission denied

change user: in /etc/sysconfig/mimedefang

to be :

# Run the multiplexor and filters as this user, not root.  RECOMMENDED
MX_USER=postfix


I had to edit   /etc/init.d/mimedefang

 # Since /var/spool/MIMEDefang might be tmpfs, ensure that it is properly
    # initialized.
    chown postfix:postfix /var/spool/MIMEDefang
    restorecon -R /var/spool/MIMEDefang >/dev/null 2>&1
    if [ ! -d /var/spool/MIMEDefang/.razor ]; then
        mkdir /var/spool/MIMEDefang/.razor
        chown postfix:postfix /var/spool/MIMEDefang/.razor
        chmod 0750 /var/spool/MIMEDefang/.razor
    fi
    if [ ! -L /var/spool/MIMEDefang/.razor/razor-agent.log ]; then
        # The Razor2 log is mostly useless, and we can't change its location.
        # In order to prevent it from filling up the spool, we just link it to
        # /dev/null.
        ln -sf /dev/null /var/spool/MIMEDefang/.razor/razor-agent.log
        chown -h postfix:postfix /var/spool/MIMEDefang/.razor/razor-agent.log
    fi

This only had to be made in 2.72  it was not needed in 2.70
http://linux.die.net/man/5/mimedefang-filter
http://mickeyhill.com/mimedefang-howto/#ss9.1

Mailman 2.1.9
The mailman functionality needed I did as per :

http://stuff.mit.edu/~jik/software/mailman_mimedefang/mailman_mimedefang_fix_footer.pl.txt

there might little things here and there but I am still dazed. :D


By the way, the footer now is not an attachment but the unsubscribe
link in the footer is not clickable.

_I wonder if there is a solution for the link?_


Thank you for the work you've done on mimedefang.

Best Regards,

Serving None



More information about the MIMEDefang mailing list