sendmail -f, -F option | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

sendmail -f, -F option

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-18-2002
silver40 silver40 is offline
Registered User
 
Join Date: Mar 2002
Last Activity: 5 April 2002, 9:33 AM EST
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
sendmail -f, -F option

Hello,

I have been trying to use 'sendmail' command to create the illusion of emails sent from my server actually coming from a webmaster server. Kinda how like spam mail works.

syntax im using:

# /usr/lib/sendmail -t - F 'Webmaster' -f 'webmaster@email.com'
From: webmaster@email.com
To: user@someemail.com
Subject: Feedback Form
Hello World !
.

When the email is received by user@someemail.com, the "From" header displays 'webmaster@email.com' instead of 'Webmaster'.

I want it to display 'Webmaster'.

Can anyone please help ?

Note: these are invalid email addresses
Sponsored Links
    #2  
Old 03-18-2002
silver40 silver40 is offline
Registered User
 
Join Date: Mar 2002
Last Activity: 5 April 2002, 9:33 AM EST
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
by the way im running Linux RedHat 6.2
Sponsored Links
    #3  
Old 03-18-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 20 November 2014, 5:33 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 64
Thanked 438 Times in 261 Posts
I think that From line should read:

From: Webmaster <webmaster@email.com>
    #4  
Old 03-18-2002
silver40 silver40 is offline
Registered User
 
Join Date: Mar 2002
Last Activity: 5 April 2002, 9:33 AM EST
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Yea it works ... Thanks
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
recently introduced to the newer option for find...does an older option exist? mr_manny Shell Programming and Scripting 2 07-20-2010 01:56 PM
Configuring sendmail option ahamed Shell Programming and Scripting 3 01-25-2010 12:35 PM
bad option(s) with awk rajeshorpu Shell Programming and Scripting 6 11-08-2009 09:19 AM
option followed by : taking next option if argument missing with getopts gurukottur Shell Programming and Scripting 2 03-17-2008 01:46 PM
cc option kuldeep_bora Programming 4 06-02-2006 10:38 AM



All times are GMT -4. The time now is 10:10 AM.