Sponsored Content
Full Discussion: sendmail -f, -F option
Top Forums Shell Programming and Scripting sendmail -f, -F option Post 17591 by silver40 on Monday 18th of March 2002 09:38:20 AM
Old 03-18-2002
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
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

-h option

Hi what does the following mean in shell scripts (-h option) val contains a string. while (-h "$val") (1 Reply)
Discussion started by: Raom
1 Replies

2. Programming

cc option

my yacc output file y.tab.c is not compiling using cc y.tab.c -ly command .possibily option flag -ly is not correct.i m using red hat linux 9.please give solutions. (4 Replies)
Discussion started by: kuldeep_bora
4 Replies

3. UNIX for Dummies Questions & Answers

cp - no to all option?

Hi, Is there a no to all option when copying a bunch of files? instead of pressing enter endlessly. Thanks (6 Replies)
Discussion started by: td_kuoj3
6 Replies

4. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

5. Programming

g++ and the -R option

hi everybody, can somebody tell me what -R option on g++ on solaris means : g++ -DAIX -fpic -static -o printps printps.o -L/epost2/blitz/xercesc1_1 /lib -L/oracle/OraHome/lib32/ L/epost2/blitz/lib -lxerces-c1_1 -lhmltods -lhmlt ops -lgeneric -lnotify -lutil -lclntsh `cat... (0 Replies)
Discussion started by: eternalflame
0 Replies

6. Shell Programming and Scripting

Configuring sendmail option

Hi, I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail. How to configure sendmail in linux?How to attach a file and send it as a mail from script? Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies

7. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

8. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

9. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

10. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
pygm2n(1)						    Python Gateway mail to news 						 pygm2n(1)

NAME
pygm2n - Python Gateway mail to news SYNOPSIS
pygm2n -n newsgroups [ -s newsserver ] [ -h ] DESCRIPTION
IMPORTANT: this man page is to be continued. The Whole pyg gateway is in devel. state. try -h option for more detailed option. pygm2n reads from stdin an email, sending it to newsgroups, a comma separated list without spaces of newsgroup names (at least one), rfc799 compliant. If pygm2n reads from stdin a sigle line starting with /, it is considered an absolute path to a single-email mailbox, so pygm2n will open and read it. Note that now pyg can't read a real mailbox, with many emails. If you give it in input, pyg will post the whole mailbox as a single email. EXAMPLES
There is some documetation in /urs/share/doc/pyg I created mailgate user (moderator of local.moderated ng). Subscribe to a list with this user (or simply email one message to). Every email posted to this user will send to newsgroups, in its .procmailrc I've put something like: :0 bh * ^From *mailinglist-request@lists.debian.org | $HOME/pygm2n -n local.debian.mailinglist AUTHORS
Cosimo Alfarano <alfarano@students.cs.unibo.it> BUGS
Boh. send any bug, advice or opinion to the author, please. Sun Sep 12 18:10:00 CEST 2000 pygm2n(1)
All times are GMT -4. The time now is 09:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy