Re: Installing opendkim failure - Umask 002 illegal value

From: Bernardo Vasconcelos <pinifarina_at_sapo.pt>
Date: Wed, 4 Jun 2014 02:11:07 +0300

Murray and Steve,

Bingo!
I was using notepad to do it. Then change to notepad++ and after editing set to unix language (EOL).
Then i got a beautifull green [OK].

But now, postfix just wont send any email. All emails get stucked in exit queue and just stand there.
- I receive emails
- Using the command <echo "Test mail from postfix" | mail -s "Test Postfix" xxxx_at_examle.com> it sends the email
- Using standard email client it doesn´t send it.
- Using <tail -f /var/log/maillog> i get nothing.
- Actualy, all the maillog file is empty.
- Already reboot server and nothing.
- Btw, when i execute the command <cat /etc/opendkim/keys/example.com/default.txt> it gives me the “No such file or directory”. I have to cut the “/example.com/” text part to get the expected result.

Could it be with the main.cf file or the way i add dns records?

1- Added records:
a) <_adsp._domainkey.example.com.> <TXT> <dkim=unknown>
b) <default._domainkey.example.com.> <TXT> <v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCzT/tOWQdO03QVIUngN/FWTwwLMU3mVkgJdhSIjg+brzNpGLNadKgaMtC/ds87en14j11j6a8cHD/lr7tALUO+dfJwnRVZHj+yBb3rvJf6naeRDXNBahzsLH4md4vPr2YKU+dj4ajPmVNbSn
6GE87G+uhp99PqaEBW2js2Bc+k3QIDAQAB>

2- KeyTable file with only 1 line:
default._domainkey.example.com flynewz.com:default:/etc/opendkim/keys/example.com/default » Again here, maybe it cant read the file (ony when removing the “/example/” text part.

3- SigningTable with only one uncommented line:
*_at_example.com default._domainkey.example.com

4- TrustedHosts file with only 3 lines:
127.0.0.1
srv.example.com
example.com


Any ideas?

Thanks!

From: Murray S. Kucherawy
Sent: Tuesday, June 3, 2014 9:03 PM
To: Bernardo Vasconcelos
Cc: opendkim-users_at_lists.opendkim.org
Subject: Re: Fw: Installing opendkim failure - Umask 002 illegal value

On Sun, 1 Jun 2014, Bernardo Vasconcelos wrote:
> Ok, i send in attachment 3 files.

All three of them have carriage return characters at the end of each line.
This isn't standard file format for UNIX systems. It's quite likely that
OpenDKIM is rejecting your configurations based on this.

Try removing all of them with something like dos2unix, and try again.

-MSK
Received on Tue Jun 03 2014 - 23:11:47 PST

This archive was generated by hypermail 2.3.0 : Tue Jun 03 2014 - 23:18:00 PST