LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-05-2003, 01:27 AM   #1
tjpick
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Rep: Reputation: 15
sendmail from address


when i send mail using pine or whatever it will come up as myusername@localhost.localdomain but i'd like it to come up as myusername@something.else (eg softhome.net my pop mail provider or even hotmail.com). I've read a couple of things on masquerading and tried to follow some directions in one but it doesn't seem to work. how do I do it?
it's slackware 9, sendmail, using pine to send my emails, fetchmail to retrieve, just ppp dial up internet on an external modem...

thanks if you can help.
 
Old 08-17-2003, 05:38 PM   #2
MacKtheHacK
Member
 
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
This is probably better done by your mail client than your mail transfer agent (MTA), so leave your sendmail configuration alone (it's a bear to change anyway :-). Most mail clients give you the option of specifying the sender address, which is what will appear on the From: header line in outgoing messages (and also the Reply-To: line). I use Emacs as my mailer, so I can't tell you how to do that in Pine, but look for a Sender Address option.

OTOH, you might mean that you want the address in the message envelope to be myusername@something.else. The envelope is the addresses your MTA use, which can be different from those in the header. Check out sendmail's virtusertable and local-host-names files, both of which should be in /etc/mail. But if you start changing this stuff and your system thinks it's in the domain "localdomain", it
may just cause sendmail to stop working.

I'd go for the mail client configuration, because it's the easiest, and most likely what you need.
 
Old 08-17-2003, 08:42 PM   #3
tjpick
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Original Poster
Rep: Reputation: 15
cheers for that. I'd already found a simple to follow HOWTO for it and got it sorted. I did initially try to find the option in pine but it didn't seem to be anywhere that I could find...
for future reference, the HOWTO i used is... no wait i don't have the address for it... sorry about that.
 
Old 09-10-2003, 10:47 PM   #4
Sticky Toejam
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Edit .pinerc and change user-domain= tp

user-domain=something.else

Or you can run Pine, hit "M" , then "S", then change "user-domain" to whatever you want.
 
Old 09-11-2003, 01:11 PM   #5
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
I hope you will succeed with pine, but I had to reconfigure sendmail when I had the same problem.
 
Old 10-29-2003, 08:44 AM   #6
plotrob
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
actually, it works without any configuration changes:

sendmail -f anyuser@anywhere.com user@domain.com

this option sets the envelope of the sender - man sendmail
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
blocking a address in sendmail roopunix Linux - Networking 1 08-25-2005 03:51 AM
sendmail > bad address syntax xushi Slackware 7 03-31-2005 01:42 PM
Sendmail Address Book rshooper Linux - Software 0 08-25-2004 05:41 PM
Sendmail - Check for Bad From Address? maxnix Linux - Security 3 02-15-2004 10:55 AM
Sendmail error: Unknown Address batmite Linux - Newbie 1 12-20-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:12 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
Open Source Consulting | Domain Registration