[sudo-users] Problem with mail

Asselin, Daniel d.asselin at cgi.com
Wed May 14 15:28:32 EDT 2008


Humm.....

Sorby about mye abruptes but i'm not in accustomed to

1 writhing to a mailing list
2 English is a forum language to me
3 of being answered in such a fashion

 A simple explanation  of my mistake would of sufficed
 In other words being civil and professional

BTW the mistake was a bad mail address given to me

-----Message d'origine-----
De : Russell Van Tassell [mailto:russell+sudo-users at loosenut.com]
Envoyé : 14 mai 2008 14:54
À : Asselin, Daniel
Cc : 'sudo-users at sudo.ws'
Objet : Re: [sudo-users] Problem with mail

On Tue, May 13, 2008 at 01:10:11PM -0400, Asselin, Daniel wrote:
> Hi All
>
>   I'm new to sudo  and i have a problem  with the mail
> This is what I have in my sudoers for the mail
>
> Defaults    mail_always
> Defaults        mailerpath=/usr/sbin/sendmail
> Defaults        mailto="usertoto at cgi.com"

It might be helpful if you indicated *what* the problem was/is you are
seeing, what platform you are using, etc.  Also, does sendmail actually
work when you email the user from the same machine?  If not, chances
are it's an issue with sendmail and not sudo.

To test, you can invoke "/usr/sbin/sendmail -t" (from what you listed,
above) and feed it a "test" email on standard input, such as one like
this one, below.

-- begin
To: usertoto at cgi.com
Subject: Test of Sendmail

This is a test of sendmail (with headers) from the command line.

-- end

...until that works (or something similar with other mailerflags maybe),
sudo doesn't have any hope, either.

Hope that helps...
Russell


--
Russell M. Van Tassell
russell at loosenut.com

Avis de confidentialité : Ce courriel et les pièces qui y sont jointes contiennent de l'information confidentielle et peuvent être protégés par le secret professionnel ou constituer de l’information privilégiée. Ils sont destinés à l'usage exclusif de la (des) personne(s) à qui ils sont adressés. Si vous n'êtes pas le destinataire visé ou la personne chargée de transmettre ce document à son destinataire, vous êtes avisé par la présente que toute divulgation, reproduction, copie, distribution ou autre utilisation de cette information est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l’expéditeur par téléphone ainsi que détruire et effacer l'information que vous avez reçue de tout disque dur ou autre média sur lequel elle peut être enregistrée et ne pas en conserver de copie. Merci de votre collaboration.
Notice of Confidentiality:  This electronic mail message, including any attachments, is confidential and may be privileged and protected by professional secrecy. They are intended for the exclusive use of the addressee. If you are not the intended addressee or the person responsible for delivering this document to the intended addressee, you are hereby advised that any disclosure, reproduction, copy, distribution or other use of this information is strictly forbidden. If you have received this document by mistake, please immediately inform the sender by telephone, destroy and delete the information received from any hard disk or any media on which it may have been registered and do not keep any copy. Thank you for your cooperation.



More information about the sudo-users mailing list