Hallo Davide, Isn't it $LOGNAME? This one is used in sendmail.solaris.sh.
I know $USER from Linux and from some configureded AIX 4.x systems, yes. Solaris does not set $USER by default. But this is a shell and shell-configuration issue that goes to /etc/profile or /etc/environment, or to the login scripts. One can still change $USER or whatever by a wrapper for sendmail binary, if needed. However, go ahead, it makes sense and sounds good! Bye, Hagen =========== Original Message =========== From: "Davide Libenzi" <[EMAIL PROTECTED]> Sent: Wednesday, January 14, 2004 10:03:46 PM To: Davide Libenzi <[EMAIL PROTECTED]> CC: Attachments: <none> Subject: [xmail] Re: A short howto for XMail on Solaris On Wed, 14 Jan 2004, Hagen Mayer wrote: > Hello Davide, > > thanks, good to know! I was not aware of XMail 2.0. > > Anyway, that's the same what I did with SendMail.cpp, except that I > read $DEFAULT_XMSENDER, which can be set as shown in > sendmail.solaris.sh. Of course, this script can set $USER as well, it > does not care. This advantage is that $USER is a standard Unix environment variable, so you do not need to set it. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
