Hi all,
I am running Courier 0.52.1 and Courier-Authlib 0.58 on Redhat RHEL4.
The user authentication is through the userdb for all virtual users.
The home directories for all the users are under the directory
/home/mailusers/fredhonet/<[EMAIL PROTECTED]>. The directories are
owned by user "mailusers".
I created the /etc/courier/maildroprc for handling of vacation
autoresponds by using the Courier's mailbot command as follows:
MAILHOME=$HOME
`test -f "$MAILHOME/away.msg"`
if ( $RETURNCODE==0 )
{
# Send Out-of-office notice auto-respond
exception {
cc "| /usr/lib/courier/bin/mailbot -d \"$MAILHOME/away\" -D 1 -t
"$MAILHOME/away.msg\" -s 'Subject: Out of Office Notice' -A $LOGNAME
/usr/sbin/sendmail -t -f ''"
}
}
The autoresponds mail works but the sender is "[EMAIL PROTECTED]",
not the virtual user "[EMAIL PROTECTED]" as expected. Apparently,
the variable LOGNAME does not evaulated to the virtual userid in
maildrop.
So, how do I get the actual user-id to pass to mailbot from inside
the maildrop script?
Regards,
Fred
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users