Re: [gentoo-user] system mail

2003-09-12 Thread jm . bornier
Le 09/08/03 Norberto Bensa [EMAIL PROTECTED] a écrit notamment:

 Ernie Schroder wrote:

 It seems to be ssmtp I see a heavily commented config file
 (/etc/ssmtp/ssmtp.conf) I've spent some time playing with it but
 haven't had any luck. Still getting similar errors

 ssmtp depend on a relay server (qmail, postfix, sendmail.) If you want to send 
 mail, you need a complete SMTP server.

No, you can send mail with a correctly set-up ssmtp (this is what I do);
you have to write the file in /etc/ssmtp/
cheers,
--
jean


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system mail

2003-09-09 Thread Norberto Bensa
Ernie Schroder wrote:

 It seems to be ssmtp I see a heavily commented config file
 (/etc/ssmtp/ssmtp.conf) I've spent some time playing with it but
 haven't had any luck. Still getting similar errors

ssmtp depend on a relay server (qmail, postfix, sendmail.) If you want to send 
mail, you need a complete SMTP server.

Regards,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] system mail

2003-09-09 Thread Ernie Schroder
On Monday 08 September 2003 02:28 pm, Norberto Bensa wrote:
 Ernie Schroder wrote:
  It seems to be ssmtp I see a heavily commented config file
  (/etc/ssmtp/ssmtp.conf) I've spent some time playing with it but
  haven't had any luck. Still getting similar errors

 ssmtp depend on a relay server (qmail, postfix, sendmail.) If you
 want to send mail, you need a complete SMTP server.

 Regards,
 Norberto


So I've learned after some exhaustive googling. It sucks when you get 
this idea in your head and refuse to let it go. I finally have 
postfix set up so mail to root is delivered to my regular email 
account. I have commented out the line in /etc/mail/mail.rc that 
reads: # set ask askcc append dot save crt so it doesn't ask for 
subject, CC: attachments, etc. I've even managed to add a mail 
command to my backup script to email me the results.
Damn! I love Gentoo. It has forced me to learn a lot of things that 
Red Hat did for me but I had no idea of how, and, in a lot of cases, 
why.
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



[gentoo-user] system mail

2003-09-08 Thread Ernie Schroder
I've been googling and checking man pages for a couple of days now and 
I am not finding the answer. I want a shell script to send an email 
to root when complete. Currently the mail appears in 
/root/dead.letter and running a mail, Mail or mailx command results 
in the following error:

send-mail: 550 Sender address is invalid

There's obviously a config file I'm missing or need to edit but I'll 
be damned if I can find it.
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system mail

2003-09-08 Thread Jason Stubbs
On Tuesday 09 September 2003 00:25, Ernie Schroder wrote:
 I've been googling and checking man pages for a couple of days now and
 I am not finding the answer. I want a shell script to send an email
 to root when complete. Currently the mail appears in
 /root/dead.letter and running a mail, Mail or mailx command results
 in the following error:

 send-mail: 550 Sender address is invalid

 There's obviously a config file I'm missing or need to edit but I'll
 be damned if I can find it.

What smtp daemon are you using?

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system mail

2003-09-08 Thread Ernie Schroder
On Monday 08 September 2003 12:13 pm, Jason Stubbs wrote:
 On Tuesday 09 September 2003 00:25, Ernie Schroder wrote:
  I've been googling and checking man pages for a couple of days
  now and I am not finding the answer. I want a shell script to
  send an email to root when complete. Currently the mail appears
  in
  /root/dead.letter and running a mail, Mail or mailx command
  results in the following error:
 
  send-mail: 550 Sender address is invalid
 
  There's obviously a config file I'm missing or need to edit but
  I'll be damned if I can find it.

 What smtp daemon are you using?

 --
 [EMAIL PROTECTED] mailing list

It seems to be ssmtp I see a heavily commented config file 
(/etc/ssmtp/ssmtp.conf) I've spent some time playing with it but 
haven't had any luck. Still getting similar errors

Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system mail

2003-09-08 Thread Jason Stubbs
On Tuesday 09 September 2003 02:11, Ernie Schroder wrote:
 On Monday 08 September 2003 12:13 pm, Jason Stubbs wrote:
  On Tuesday 09 September 2003 00:25, Ernie Schroder wrote:
   I've been googling and checking man pages for a couple of days
   now and I am not finding the answer. I want a shell script to
   send an email to root when complete. Currently the mail appears
   in
   /root/dead.letter and running a mail, Mail or mailx command
   results in the following error:
  
   send-mail: 550 Sender address is invalid
  
   There's obviously a config file I'm missing or need to edit but
   I'll be damned if I can find it.
 
  What smtp daemon are you using?

 It seems to be ssmtp I see a heavily commented config file
 (/etc/ssmtp/ssmtp.conf) I've spent some time playing with it but
 haven't had any luck. Still getting similar errors

yawns (just woke up)

Maybe try postfix? I don't know what the configuration of ssmtp is like. With 
postfix, simple to semi-complex configurations are quite easy.

From the ssmtp.ebuild:
DESCRIPTION=Extremely simple MTA to get mail off the system to a Mailhub

ssmtp is installed by default if any package requires an MTA. Looking at the 
description, I'd say ssmtp is incapable of deciding what to do with a mail 
itself and so gives you the 550 error.

Regards,
Jason

--
[EMAIL PROTECTED] mailing list