Re: Installing opendkim failure - Umask 002 illegal value

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

Murray and Steve,

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"> 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/> it gives me the “No such file or directory”. I have to cut the “/” text part to get the expected result.

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

1- Added records:
a) <> <TXT> <dkim=unknown>
b) <> <TXT> <v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCzT/tOWQdO03QVIUngN/FWTwwLMU3mVkgJdhSIjg+brzNpGLNadKgaMtC/ds87en14j11j6a8cHD/lr7tALUO+dfJwnRVZHj+yBb3rvJf6naeRDXNBahzsLH4md4vPr2YKU+dj4ajPmVNbSn

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

3- SigningTable with only one uncommented line:

4- TrustedHosts file with only 3 lines:

Any ideas?


From: Murray S. Kucherawy
Sent: Tuesday, June 3, 2014 9:03 PM
To: Bernardo Vasconcelos
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.

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