can i use a from header to use the $mail command
Hi All,
Im using sendmail-8.13.4-2 on Linux {mach_name) 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux... In my office we use YAHOO! as our mail server, ie, pop.bizmail.yahoo.com & smtp.bizmail.yahoo.com But because of the recent virus problem with YAHOO!...it has blocked all the mail's it receives from within the office.... What I mean is... 1 If i send the mail to smtp.bizmail.yahoo.com from my office id using thunderbird or any other mail client ....it is delivered...but 2 When I send a mail using the CLI as root@localhost...the mail is refused by smtp.bizmail.yahoo.com Because of which Bugzilla ( which is configured on one of the systems in my office is not able to send mail's internally to the office... Can I use an alias instead of root@localhost to send the mail from the CLI... for eg....can i deliever the mail as bugzilla (at ) companyname (dot) com Thanks Danish |
I don't think you can do this with the mail command but if you use the sendmail command directly you can use the -f flag to set the "From" field (only root can do this, though).
|
All times are GMT -5. The time now is 02:17 AM. |