I just did a new install and got DKIM working with the bounce management. After trying many things, eventually I found an old forum post that helped.
Turn off sendmail in OpenEMM (which I think is some type of Python config of sendmail, it doesn't seem to follow the regular config/milters set up on sendmail) --
Tell OpenEMM to relay everything through the regular config of sendmail --
echo "127.0.0.1" > /home/openemm/conf/smart-relay
Install the DKIM package for sendmail http://www.sendmail.com/sm/open_source/dkim/
(I used the older DKIM-milter package, and it's working fine. I haven't tried the newer OpenDKIM yet.)
Change your DNS record to add in the DKIM info, mine looks like this -
yourmailsubdomain._domainkey.yourdomain.com 3600 TXT k=rsa; t=s; p=your_public_key
While you're changing your DNS, you might as well add in the SPF stuff too.
yourmailsubdomain.yourdomain.com 300 TXT v=spf1 a include:yourIPnumber ~all
I found it easiest to test the sendmail config by just sending test emails from the command prompt via sendmail.
You'll want to change the unsubscribe link that is generated in the mail header now via semu.py. Open up and edit this file -
I just made a form called "removequestion" in openemm for unsubscribing (which is actually set up as subscribing with a zero value, not unsubscribing)
The form removequestion looks like this
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="removedone">
<input type="hidden" value="2" name="agnMAILINGLIST">
<input type="hidden" value="0" name="agnSUBSCRIBE">
Email address to remove: <input type="text" value="$!requestParameters.email" name="EMAIL" size="30">
<input type="submit" value="Remove">
Then the form "removedone" takes a single action of "subscribe" with the success form saying "You have been removed"
Now you can set up that unsubscribe link in /home/openemm/conf/semu/semu.cfg
Code: Select all
Once you get sendmail signing DKIM correctly, start OpenEMM back up and you should be good
EDIT: I've read about people having problems with the bounce management after doing this, but my bounce management seems to be working fine. I've got my bounce filter to simply forward all incoming emails to another email address at another domain. OpenEMM first filters the bounces, then it forwards real emails to my other email address. OpenEMM is catching and logging all types of soft and hard bounces, working great.