LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2006, 06:20 AM   #1
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Rep: Reputation: 31
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
 
Old 10-19-2006, 06:39 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with From: header when sending emails from my domain using mail() function mavgh1 Linux - General 5 03-26-2006 03:48 PM
problems with From : header when sending emails with function mail() from my domain mavgh1 Linux - Software 0 03-24-2006 08:51 PM
Linux Mail Header script/system luckyduckydave Linux - General 0 05-20-2004 09:41 PM
changing mail header Van jan Linux - Security 1 03-30-2004 12:03 PM
I want change mail header info, which config file i should modify? exper Linux - Software 2 12-05-2003 07:46 AM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration