1 (edited by EternalNewB 2018-09-09 15:23:11)

Topic: DKIM signature using php mail w/o authenticatin

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi I have the same issue in this thread https://forum.iredmail.org/topic11847-i … -dkim.html

messages sent by webmail are signed but not by php mail function (no authentication)

I tried the changes suggested in the above thread but it didn't work for me

Thank you for any insights

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: DKIM signature using php mail w/o authenticatin

after some research I found this "bug" that might be the reason (not sure though) https://bugs.launchpad.net/debian/+sour … ug/1770532
however I have no idea how to apply the suggested patch...

Thank you

3

Re: DKIM signature using php mail w/o authenticatin

OK I was able to solve it by following the below

cd /tmp
wget https://git.ispconfig.org/ispconfig/ispconfig3/raw/stable-3.1/helper_scripts/ubuntu-amavisd-new-2.11.patch
cd /usr/sbin
cp -pf amavisd-new amavisd-new_bak
patch < /tmp/ubuntu-amavisd-new-2.11.patch

from https://www.howtoforge.com/tutorial/per … ispconfig/

hope it helps someone

4

Re: DKIM signature using php mail w/o authenticatin

Yeah, it's a one-line patch. amavisd-new is written in perl, you can edit in your terminal. All you have to do is paste that line in the right place. Can use CTRL+_ to go to specific line number in nano.