Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 08:15 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 08:01:07 -0800 Robert Moskowitz wrote: 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. W

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 08:01:07 -0800 Robert Moskowitz wrote: > 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. > > What cron did you try to do, in case it

Re: mailx help

2014-01-21 Thread Robert Moskowitz
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 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 mad

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 08:03:00 -0800 Robert Moskowitz wrote: > Never used gmail. No plans to. > > You don't need gmail, but mail can be forwarded, without MTA, if you have suitable mua-client installed claws-mail, Thunderbirds can both send without mta installed. mailx can with a suitable ~/mai

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 06:48 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 06:32:01 -0800 Robert Moskowitz 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/

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 07:01 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 08:56:42 -0600 Chris Adams wrote: eing an MTA) is overkill. "Default-no-MTA" was never intended to be "replace all possible use cases with no MTA". You want mail in files, so use an MTA. You can just mailx to gmail, get your fi

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 08:56:42 -0600 Chris Adams wrote: eing an MTA) is overkill. > > "Default-no-MTA" was never intended to be "replace all possible use > cases with no MTA". You want mail in files, so use an MTA. > You can just mailx to gmail, get your fix that way. No MTA required. ___ Regard

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 06:55:46 -0800 Robert Moskowitz wrote: > fails on no /usr/bin/sendmail. It would probably get in an infinite > loop. > It just checks for /usr/bin/sendmail which it will now be tricked into finding. ___ Regards, Frank www.frankly3d.com -- users mailing list users@lis

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 06:48 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 06:27:50 -0800 Robert Moskowitz wrote: ad by my claws-mail as numbered plaintext. I tried 'mutt -f dead.letter' and mutt said that dead.letter was note a mailbox. mailx will keep appending to dead.letter and it can grow massive,

Re: mailx help

2014-01-21 Thread Chris Adams
Once upon a time, Ed Greshko said: > FWIW, having an MTA running but doing nothing other than delivering mail for > cron and other system utils doesn't utilize system resources. Getting around > installing an MTA may be more trouble than it is worth. Yeah, if you just have to have cron output

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 06:48 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 06:32:01 -0800 Robert Moskowitz 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/

Re: mailx help

2014-01-21 Thread Ed Greshko
On 01/21/14 22:34, Robert Moskowitz wrote: > > Something is complaining. I do have: > > CRONDARGS=-m "/usr/bin/mailx -t" > > But we see from the test of trying to use the dead.letter file that mailx > itself is using sendmail. So you fix one problem and cause another. I think it is pretty much

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 06:27:50 -0800 Robert Moskowitz wrote: ad by my claws-mail as numbered plaintext. > > I tried 'mutt -f dead.letter' and mutt said that dead.letter was note > a mailbox. > > > mailx will keep appending to dead.letter and it can grow massive, I have tested it as far as 8.34GB

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 06:32:01 -0800 Robert Moskowitz 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 t

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 06:00 AM, Frank Murphy wrote: On Tue, 21 Jan 2014 21:54:10 +0800 Ed Greshko wrote: mail's queue. But, in my limited testing, using procmail would not require sendmail. No, it's inbuilt into cronie, if /usr/bin/sendmail is not there cron mails fails. man crond: The syslog outpu

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 05:54 AM, Ed Greshko wrote: On 01/21/14 21:43, Frank Murphy wrote: On Mon, 20 Jan 2014 22:16:19 -0800 Robert Moskowitz wrote: using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in dead.letter. This is why: from croni

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 05:43 AM, Frank Murphy wrote: On Mon, 20 Jan 2014 22:16:19 -0800 Robert Moskowitz wrote: using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in dead.letter. This is why: from cronie runjob.c /* Check that we have a

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 12:19 AM, Frank Murphy wrote: On Mon, 20 Jan 2014 22:47:03 -0800 Robert Moskowitz wrote: So it seems mailx cannot work even locally without sendmail, unlike what another poster here stated. Yes, I was able to (always testing stuff) Using claws mail at the time. The easiest and

Re: mailx help

2014-01-21 Thread Robert Moskowitz
On 01/21/2014 01:26 AM, Frank Murphy wrote: On Mon, 20 Jan 2014 22:16:19 -0800 Robert Moskowitz wrote: using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in dead.letter. What does "systemctl status crond.service -l" say crond.se

Re: mailx help

2014-01-21 Thread Ed Greshko
On 01/21/14 22:00, Frank Murphy wrote: > On Tue, 21 Jan 2014 21:54:10 +0800 > Ed Greshko wrote: > mail's queue. >> But, in my limited testing, using procmail would not require >> sendmail. >> > No, it's inbuilt into cronie, > if /usr/bin/sendmail is not there cron mails fails. > > man crond: > Th

Re: mailx help

2014-01-21 Thread Frank Murphy
On Tue, 21 Jan 2014 21:54:10 +0800 Ed Greshko wrote: mail's queue. > > But, in my limited testing, using procmail would not require > sendmail. > No, it's inbuilt into cronie, if /usr/bin/sendmail is not there cron mails fails. man crond: The syslog output will be used instead of mail, when

Re: mailx help

2014-01-21 Thread Ed Greshko
On 01/21/14 21:43, Frank Murphy wrote: > On Mon, 20 Jan 2014 22:16:19 -0800 > Robert Moskowitz wrote: > >> using mailx to supposedly mail to myself with no sendmail. cron is >> failing in the mailing and the message ends in dead.letter. > This is why: > from cronie runjob.c > > /* Check that w

Re: mailx help

2014-01-21 Thread Frank Murphy
On Mon, 20 Jan 2014 22:16:19 -0800 Robert Moskowitz wrote: > using mailx to supposedly mail to myself with no sendmail. cron is > failing in the mailing and the message ends in dead.letter. This is why: from cronie runjob.c /* Check that we have a way of sending mail. */ if(stat(SENDMAI

Re: mailx help

2014-01-21 Thread Frank Murphy
On Mon, 20 Jan 2014 22:16:19 -0800 Robert Moskowitz wrote: > using mailx to supposedly mail to myself with no sendmail. cron is > failing in the mailing and the message ends in dead.letter. > What does "systemctl status crond.service -l" say ___ Regards, Frank www.frankly3d.com -- users m

Re: mailx help

2014-01-21 Thread Frank Murphy
On Mon, 20 Jan 2014 22:47:03 -0800 Robert Moskowitz wrote: > So it seems mailx cannot work even locally without sendmail, unlike > what another poster here stated. Yes, I was able to (always testing stuff) Using claws mail at the time. The easiest and simplest option is "MTA" But that does not

Re: mailx help

2014-01-20 Thread Robert Moskowitz
On 01/20/2014 10:47 PM, Robert Moskowitz wrote: thanks Ed, making some headway, see below: On 01/20/2014 10:37 PM, Ed Greshko wrote: On 01/21/14 14:16, Robert Moskowitz wrote: using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in de

Re: mailx help

2014-01-20 Thread Ed Greshko
On 01/21/14 14:47, Robert Moskowitz wrote: > Well you must have sendmail or equiv installed: > > cat d1.letter |mailx -t > Ignoring header field "MIME-Version: 1.0" > Ignoring header field "Content-Type: text/plain; charset=us-ascii" > Ignoring header field "Content-Transfer-Encoding: 7bit" > /usr

Re: mailx help

2014-01-20 Thread Robert Moskowitz
thanks Ed, making some headway, see below: On 01/20/2014 10:37 PM, Ed Greshko wrote: On 01/21/14 14:16, Robert Moskowitz wrote: using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in dead.letter. So I mved dead.letter to d1.letter an

Re: mailx help

2014-01-20 Thread Ed Greshko
On 01/21/14 14:16, Robert Moskowitz wrote: > using mailx to supposedly mail to myself with no sendmail. cron is failing > in the mailing and the message ends in dead.letter. > > So I mved dead.letter to d1.letter and tried: "mailx -t -q d1.letter" (and > had to issue a cntl-D) and got: > > No r

mailx help

2014-01-20 Thread Robert Moskowitz
using mailx to supposedly mail to myself with no sendmail. cron is failing in the mailing and the message ends in dead.letter. So I mved dead.letter to d1.letter and tried: "mailx -t -q d1.letter" (and had to issue a cntl-D) and got: No recipients specified "/home/rgm/dead.letter" 41/879 H