On 01/21/2014 08:01 AM, Robert Moskowitz wrote:
On 01/21/2014 06:48 AM, Frank Murphy wrote:
On Tue, 21 Jan 2014 06:32:01 -0800 Robert Moskowitz rgm@htt-consult.com wrote:
I kind of thought it was in the code, as I went through all the config files and could not find anything beyond the change I had already made to /etc/sysconfig/crond
CRONDARGS=-m "/usr/bin/mailx -t"
At the moment cronie seem to disregard this. but a dirty "ln -s /usr/bin/mailx /usr/sbin/sendmail" should stop crond.service complaining.
Ok. I tried this, and mailx is no longer complaining. But no mail in /var/spool/mail/rgm and no dead.letter. Mail is now dropping into the abyss, it seems. So this is not an answer.
Oh, neat. I deleted the symbolic link because it was 'not doing anything', and then:
/usr/sbin/sendmail: No such file or directory "/home/rgm/dead.letter" 89112/2278516 . . . message not sent.
So I was right that it was looping indefinitely as you can see by part of the beginning of dead.letter:
Date: Tue, 21 Jan 2014 08:01:35 -0800 To: rgm User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
Date: Tue, 21 Jan 2014 08:01:35 -0800 To: rgm User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
Date: Tue, 21 Jan 2014 08:01:35 -0800 To: rgm User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
So on to procmail!