Re: How does mailutils "mail" command or cron contact local MTA?

2022-09-18 Thread Teemu Likonen
* 2022-09-18 09:00:49-0400, Greg Wooledge wrote: > In normal usage, scripts should always be calling mailx or an > equivalent program which is *designed* to create the e-mail headers > correctly. This is especially true if you're sending attachments. > Writing the MIME headers and attachment marku

Re: How does mailutils "mail" command or cron contact local MTA?

2022-09-18 Thread Greg Wooledge
On Sun, Sep 18, 2022 at 09:27:46AM +0200, Yvan Masson wrote: > So the `mailutils` package with `mail` command is optional: `sendmail` could > be used directly in scripts (but it might be a bit less practical to use, > see for example https://www.computerhope.com/unix/usendmai.htm#examp

Re: How does mailutils "mail" command or cron contact local MTA?

2022-09-18 Thread Yvan Masson
Le 18/09/2022 à 00:32, Greg Wooledge a écrit : On Sat, Sep 17, 2022 at 11:11:51PM +0200, Yvan Masson wrote: My question is: how cron daemon and mail command know that they should contact openSMTPd, and how? Do they try by default on localhost:25 or /run/smtpd.sock? I could not find any clue

Re: How does mailutils "mail" command or cron contact local MTA?

2022-09-17 Thread Greg Wooledge
On Sat, Sep 17, 2022 at 11:11:51PM +0200, Yvan Masson wrote: > My question is: how cron daemon and mail command know that they should > contact openSMTPd, and how? Do they try by default on localhost:25 or > /run/smtpd.sock? I could not find any clue, nor in cron manpages nor in > mail

How does mailutils "mail" command or cron contact local MTA?

2022-09-17 Thread Yvan Masson
/aliases`. This allows me to send email from my servers, either when cron runs a task, or when I run `echo my_content | mail -s subject root` from scripts. My question is: how cron daemon and mail command know that they should contact openSMTPd, and how? Do they try by default on localhost:25 or

Re: replacement for mail command

2004-03-28 Thread Alexis Huxley
On 2004-03-28, Dafydd Blaidd <[EMAIL PROTECTED]> wrote: > Greetings, > I switched from a system on Red Hat using Sendmail/Cyrus to a > system using Exim/uw-imapd and I'm looking for a replacement for the mail > command. Specifically, I'm looking for a com

Re: replacement for mail command

2004-03-28 Thread Paul Johnson
Dafydd Blaidd <[EMAIL PROTECTED]> writes: > Greetings, > I switched from a system on Red Hat using Sendmail/Cyrus to a > system using Exim/uw-imapd and I'm looking for a replacement for the mail > command. Specifically, I'm looking for a command line mailer t

Re: replacement for mail command

2004-03-27 Thread John Hasler
Dave Majors writes: > I'm getting > -su: mail: command not found > I can't find either the command nor the package that contains it. It appears that it is now in the seperate 'mailx' package. It's priority important, though. -- John Hasler [EMAIL PROTECTED

Re: replacement for mail command

2004-03-27 Thread Dafydd Blaidd
On Sat, 27 Mar 2004, John Hasler wrote: > > I'm looking for a command line mailer that allows Subject: and Cc: > > header arguements. > Just use the 'mail' command. It isn't unique to Sendmail. I'm getting -su: mail: command not found I can't

Re: replacement for mail command

2004-03-27 Thread John Hasler
Dave Majors writes: > I switched from a system on Red Hat using Sendmail/Cyrus to a system > using Exim/uw-imapd and I'm looking for a replacement for the mail > command. Specifically, I'm looking for a command line mailer that allows > Subject: and Cc: header arguemen

replacement for mail command

2004-03-27 Thread Dafydd Blaidd
Greetings, I switched from a system on Red Hat using Sendmail/Cyrus to a system using Exim/uw-imapd and I'm looking for a replacement for the mail command. Specifically, I'm looking for a command line mailer that allows Subject: and Cc: header arguements. Recommendations?

Re: adding an attatchment using the mail command?

2004-01-08 Thread Cristian Gutierrez
cation of how to do this, and I'm not sure if you >can with the 'mail' command (I suppose sendmail would be the other >alternative). > >and googling fails to come up with the correct results (probally my >search string). I always do something like this:

Re: adding an attatchment using the mail command?

2004-01-07 Thread Antonio Rodriguez
ages gives > no indication of how to do this, and I'm not sure if you can with the > 'mail' command (I suppose sendmail would be the other alternative). > > and googling fails to come up with the correct results (probally my > search string). > > Any advise would be

Re: adding an attatchment using the mail command?

2004-01-07 Thread Mark C
On Wed, 2004-01-07 at 17:13, Morten Bo Johansen wrote: > You can't do it with 'mail'. You can use 'nail' instead which does > attachments. If you already have mutt installed you can use that as > well to send mail with attachments in batch mode. Cheers, I do have mutt installed, which is what I g

Re: adding an attatchment using the mail command?

2004-01-07 Thread Morten Bo Johansen
ndication of how to do this, and I'm not sure if you can with the > 'mail' command (I suppose sendmail would be the other alternative). You can't do it with 'mail'. You can use 'nail' instead which does attachments. If you already have mutt installed yo

Re: adding an attatchment using the mail command?

2004-01-07 Thread Uwe Dippel
ation of how to do this, and I'm not sure if you can with the > 'mail' command (I suppose sendmail would be the other alternative). Not really, I'm afraid. RFC822 doesn't have it on attachments and mime (yet). So your mail -s "My backup" [EMAIL PROTECTED] < ba

adding an attatchment using the mail command?

2004-01-07 Thread Mark C
Hi, I run a nightly cronjob to back up certain system files, for the life of me I cannot add them as an attatchment, when I mail to files to myself, they always got put into the message body. Reading the man pages gives no indication of how to do this, and I'm not sure if you can with the

Re[2]: mail: command not found

2002-04-01 Thread Alan Poulton
Monday, April 01, 2002, 12:48:01 PM, Eric G. Miller wrote: > apt-get install mailx. Excellent, thank you! > If you like such a program, you might like nmh... I got it and am reading the manual on it. It looks interesting, but may be more commands to remember on a router. =] -- - Alan Poulto

Re: mail: command not found

2002-04-01 Thread Eric G. Miller
On Mon, Apr 01, 2002 at 12:29:06PM -0800, Alan Poulton wrote: > Hi all > > I seem to have lost my "mail" command. When I log on, either as my > regular account, or as root to do some sysadmin'ing, I get a message > saying "You have new mail" and I used to

mail: command not found

2002-04-01 Thread Alan Poulton
Hi all I seem to have lost my "mail" command. When I log on, either as my regular account, or as root to do some sysadmin'ing, I get a message saying "You have new mail" and I used to be able to just type "mail" to access it. But, as of yesterday, I get &quo

Re: Getting the "mail" command to work

2001-05-01 Thread Shaul Karl
> Does anyone know what needs to be done in order to get the mail command to > work? > > Right now I'm trying to do: > >mail -s "test from command line" [EMAIL PROTECTED] > > I I have postfix installed. > Have you installed mailx? [11:23:06 t

Re: Getting the "mail" command to work

2001-04-30 Thread Ethan Benson
On Mon, Apr 30, 2001 at 05:27:33AM -0500, Stephen Boulet wrote: > Does anyone know what needs to be done in order to get the mail command to > work? > > Right now I'm trying to do: > >mail -s "test from command line" [EMAIL PROTECTED] > > I I have

Getting the "mail" command to work

2001-04-30 Thread Stephen Boulet
Does anyone know what needs to be done in order to get the mail command to work? Right now I'm trying to do: mail -s "test from command line" [EMAIL PROTECTED] I I have postfix installed.

Re: Mail command

1997-09-18 Thread Alex Yukhimets
> Hi, > > As I am on a university network I have no right to send mail on my > machine. So I haven't installed any mail software until now. However, I > have set up my web page with stuff for downloading and a form. I would > like to have the cgi script to send an internal mail to a user on my > m

Mail command

1997-09-18 Thread G. Kapetanios
Hi, As I am on a university network I have no right to send mail on my machine. So I haven't installed any mail software until now. However, I have set up my web page with stuff for downloading and a form. I would like to have the cgi script to send an internal mail to a user on my machine , no m