Date: Wed, 9 Jul 2008 12:44:04 +0200 From: Nicolas Letellier <nicolas@nicoelro.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: problem with sendmail and su Message-ID: <20080709124404.30ed661d@nogrod.nicoelro.net>
next in thread | raw e-mail | index | archive | help
Hello. I use FreeBSD 7 with sendmail. I have a problem for sending email. More precisely, with the sender of the mail. When I'm logged to my machine in root, the mail is sent with "root@mymachine.com" with sender. OK, no problems. When I'm logged to my machine in nicolas, the mail is sent with "nicolas@mymachine.com" with sender. OK, no problems. However, when I'm logged in nicolas to my machine, and if I do a "su root" or "su - root", and I send a mail, the sender will be "nicolas@mymachine.com" and not "root@mymachine.com". It's a problem, because I done a "su" to be logged as root. I don't have this problem with a FreeBSD/Postfix. Thanks for your advices and helps. I don't understand this problem. Regards, -- - Nicolas.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080709124404.30ed661d>