Re: sending mail from debian etch via php script using mail()

2009-03-01 Thread Kelly Clowers
On Sat, Feb 28, 2009 at 22:09, Olaf Reitmaier Veracierta wrote: > The default exim4 configuration is the problem, if you like sendmail... > > Then... aptitude install sendmail mailx. > > It will remove exim4 you can't use both at same time on Debian Etch. > > Try again send an email from php. Ple

Re: sending mail from debian etch via php script using mail()

2009-02-28 Thread Olaf Reitmaier Veracierta
The default exim4 configuration is the problem, if you like sendmail... Then... aptitude install sendmail mailx. It will remove exim4 you can't use both at same time on Debian Etch. Try again send an email from php. Andrew McGlashan wrote: Hi Norman, Norman Bird wrote: So I am trying to fi

Re: sending mail from debian etch via php script using mail()

2009-02-27 Thread Andrew McGlashan
Hi Norman, Norman Bird wrote: So I am trying to figure out where the problem lies on my debian etch box. i do not believe i loaded a mail server on this box. I checket /var/log/mail and /var/log/mail.error and they have nothing. I can type mail and it says you have no mail. I recall in past ha

sending mail from debian etch via php script using mail()

2009-02-13 Thread Norman Bird
I feel this is debian related so i'm asking here. i have a php script where mail is sent to user to let him know all went wll with his submission via a form. after calling the mail() method or function in php all seems well as there is no error reported using this code: " . "Thank you for

Re: using mail in scripts

2007-11-13 Thread Kumar Appaiah
On Tue, Nov 13, 2007 at 05:56:59PM +, cs wrote: > On Tue, 2007-11-13 at 21:54 +0530, Kumar Appaiah wrote: > > If I recall correctly, single quote dumps values literally. You might > > want to use doublt quotes for the value of ${0} to be substituted, > > though I am not 100% sure that that will

Re: using mail in scripts

2007-11-13 Thread cs
On Tue, 2007-11-13 at 21:54 +0530, Kumar Appaiah wrote: > On Tue, Nov 13, 2007 at 03:32:39PM +, cs wrote: > > #!/bin/bash -x > > TEMPFILE=`mktemp /tmp/chk_procs_XXX` > > trap 'date|mail -s "$0 error" [EMAIL PROTECTED];echo Error - aborting;\ > > exit' ERR > > > > ### only allow one instance of

Re: using mail in scripts

2007-11-13 Thread Ken Irving
On Tue, Nov 13, 2007 at 03:32:39PM +, cs wrote: > Folks, I have a bash script and I wanted to be able to catch a situation > and then send an email to the user flagging this. However, the -s to > `mail` doesn't allow spaces and I cannot work out, despite several > attempts, how to escape/quote

Re: using mail in scripts

2007-11-13 Thread Andrew Sackville-West
On Tue, Nov 13, 2007 at 03:32:39PM +, cs wrote: > Folks, I have a bash script and I wanted to be able to catch a situation > and then send an email to the user flagging this. However, the -s to > `mail` doesn't allow spaces and I cannot work out, despite several > attempts, how to escape/quote

Re: using mail in scripts

2007-11-13 Thread Kumar Appaiah
On Tue, Nov 13, 2007 at 03:32:39PM +, cs wrote: > #!/bin/bash -x > TEMPFILE=`mktemp /tmp/chk_procs_XXX` > trap 'date|mail -s "$0 error" [EMAIL PROTECTED];echo Error - aborting;\ > exit' ERR > > ### only allow one instance of this per user to run at a given time > ps -elf|grep $0|grep -v grep >

using mail in scripts

2007-11-13 Thread cs
Folks, I have a bash script and I wanted to be able to catch a situation and then send an email to the user flagging this. However, the -s to `mail` doesn't allow spaces and I cannot work out, despite several attempts, how to escape/quote etc in order to do what I want. Here's what I'd like to do:

Re: using mail

2004-11-30 Thread Kevin Mark
On Mon, Nov 29, 2004 at 09:44:21PM +, Richard Lyons wrote: > On Mon, Nov 29, 2004 at 07:31:56AM -0600, Hugo Vanwoerkom wrote: > > Sam Watkins wrote: > > >On Sun, Nov 28, 2004 at 11:48:57AM -0600, Hugo Vanwoerkom wrote: > > > > > >>When I use: mail it sends mail to that address with the > > >>

Re: using mail

2004-11-29 Thread Richard Lyons
On Mon, Nov 29, 2004 at 07:31:56AM -0600, Hugo Vanwoerkom wrote: > Sam Watkins wrote: > >On Sun, Nov 28, 2004 at 11:48:57AM -0600, Hugo Vanwoerkom wrote: > > > >>When I use: mail it sends mail to that address with the > >>options that I have set via dpkg-reconfigure exim4-config. > >> > >>But it

Re: using mail

2004-11-29 Thread Hugo Vanwoerkom
Sam Watkins wrote: On Sun, Nov 28, 2004 at 11:48:57AM -0600, Hugo Vanwoerkom wrote: When I use: mail it sends mail to that address with the options that I have set via dpkg-reconfigure exim4-config. But it sends it from "root" (when I am logged on as root). "root" of course does not exist at th

Re: using mail

2004-11-29 Thread Sam Watkins
On Sun, Nov 28, 2004 at 11:48:57AM -0600, Hugo Vanwoerkom wrote: > When I use: mail it sends mail to that address with the > options that I have set via dpkg-reconfigure exim4-config. > > But it sends it from "root" (when I am logged on as root). "root" of > course does not exist at that inet.a

Re: using mail

2004-11-28 Thread Ralph Katz
On 11/28/2004 01:10 PM, Hugo Vanwoerkom wrote: Hi Debian! Mail has a zillion options. When I use: mail it sends mail to that address with the options that I have set via dpkg-reconfigure exim4-config. But it sends it from "root" (when I am logged on as root). "root" of course does not exist at

using mail

2004-11-28 Thread Hugo Vanwoerkom
Hi Debian! Mail has a zillion options. When I use: mail it sends mail to that address with the options that I have set via dpkg-reconfigure exim4-config. But it sends it from "root" (when I am logged on as root). "root" of course does not exist at that inet.addrs. How do I with an option not s

Re: using mail on a debian system (betwin users)

1998-07-04 Thread Shaul
$ mail -s test rami < /dev/null Null message body; hope that's ok would sent the user rami a mail with the subject test and with null message body. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Re: using mail on a debian system (betwin users)

1998-07-03 Thread Ed Cogburn
Micha Feigin wrote: > > How do i send mail betwin users on my debian system? > For now its mainly interest, but anyway. > Thanx > Do you have a mail transport agent like smail/exim installed? If so, use a mail program like 'mutt' to send from one user to another. The address of your '

using mail on a debian system (betwin users)

1998-07-03 Thread Micha Feigin
How do i send mail betwin users on my debian system? For now its mainly interest, but anyway. Thanx _ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/n