PDA

View Full Version : Sendmail Aliases


t1rhino
9 Dec 2003, 3:36pm
Using the mail command, is there anyway to specify an alias or sender?

For example, I want to send an email from root, but have it the reply address as mine. However, I don't want to alias all mail from root as myself, just specific messages.

Something like this?

mail -s "Subject" "users@domain.com" -from "t1rhino@mydomain.com"

t1rhino
9 Dec 2003, 3:47pm
FYI,
I am running AIX 5.1