Problems getting DKIM to wotk on Red Hat

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Problems getting DKIM to wotk on Red Hat
# 1  
Old 08-19-2013
Problems getting DKIM to wotk on Red Hat

We are setting up DKIM to sign outgoing messages only. We have three mail servers, one is Fedora and the other two are Red Hat. The install was relatively easy on the Fedora system, which handles our bulk mailings to perspective students. It took a bit to get the keys and the DNS entry correct, but we've been successfully signing messages for several weeks now. On Red Hat, had problems. While Fedora came with libmilter.a, Red Hat does not. The the server in question is ES4 but I just checked my ES6 (6.4 to be exact) and it does not include libmilter.a. I finally found it in the sendmail distribution and was thus able to compile opendkim. I matched the configuration (including changes to the Postfix main.cf file) with that of the Fedora system. It comes up but does not sign outgoing email. I also noticed that doing a ps on the Fedora box returns:

Code:
postfix   8776     1  0 Jul31  ?        00:39:01 /usr/local/sbin/opendkim -x  /usr/local/etc/opendkim.conf -P  /usr/local/var/run/opendkim/opendkim.pid

Opendkim is running as postfix so it has the same privileges as Postfi itself. On the Red Hat system, I get:

Code:
dkim      24047     1  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
dkim      24048 24047  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
dkim      24049 24047  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
dkim      24050 24047  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
dkim      24051 24047  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
dkim      24052 24047  0 Aug16 ?        00:00:00 /usr/bin/perl  -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.out  --user=dkim --group=dkim --daemonize  --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_out.pid  --conf_file=/usr/local/dkimproxy/etc/dkimproxy_out.conf
postfix   24094     1  0 Aug16 ?        00:00:00 /usr/local/sbin/opendkim -x  /usr/local/etc/opendkim.conf -P /usr/local/var/run/opendkim/opendkim.pid

Note that opendkim is running as postfix while the perl based dkimproxy is running as the dkim user.

My first question is why the difference in the ps output between Fedora and Red Hat? Second, are there differnces between the two system that require difference in the configurations between the two systems? I don't see anything that contains either the server address or server name, so I'm confused.

Any suggestions would be greatly appreciated.

Rob Tanner
Linfield College
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Red Hat

Red-hat

Hello, How do I see what IP addresses are connected to my machine? thanks (2 Replies)
Discussion started by: sonomao
2 Replies

3. Red Hat

Red Hat E 3

I'm am working with a Red Hat Enterprise 3 server. This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's. Does anyone know if how I would go about finding... (0 Replies)
Discussion started by: chrisPlusPlus
0 Replies

4. Linux

red hat ee 2.6.9-42

hello. I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses. I tryied to find out by typing ifconfig command but i got : -bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command. Is... (3 Replies)
Discussion started by: tonijel
3 Replies

5. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

6. UNIX for Dummies Questions & Answers

Red Hat 7.2 Linux Server - FTP Problems

I have just installed RH7.2 Server and along with apache 1.3 and PHP. I am able to FTP from my linux box to other remote maches, but am unable to FTP to the linux box from other remote machines. The message I get is: A remote host has refused an attempted connect operation. I have done some... (3 Replies)
Discussion started by: jyoung
3 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 7.2.....

I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies

8. Filesystems, Disks and Memory

Red Hat Linux Boot Problems

Hi. I have an 81 gig hard drive and split it up into 2 partitions. One for linux and the other for windows. I had my windows up and running and it was doing fine. Then i started my linux. I go Red Hat Linux out and installed it on the partition. This all worked out well. However, when i rebooted... (10 Replies)
Discussion started by: vertigo
10 Replies

9. UNIX for Dummies Questions & Answers

Problems with Red Hat 7.1

I tried to use the sndconfig tool to set up my sound card. When it does the probe it finds an acer pci sound card, but I have a trident. This wouldn't bother me so much if it worked. Is there a way to configure my sound card by picking it off a list of cards? The second problem I'm having is... (3 Replies)
Discussion started by: crashman0
3 Replies
Login or Register to Ask a Question