Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-19-2006, 06:20 AM   #1
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, &

But because of the recent virus problem with YAHOO! has blocked
all the mail's it receives from within the office....

What I mean is...

1 If i send the mail to from my office id using
thunderbird or any other mail client is delivered...but

2 When I send a mail using the CLI as root@localhost...the mail is
refused by

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)

Old 10-19-2006, 06:39 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 PM.

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