LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-09-2004, 06:22 PM   #1
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Rep: Reputation: 15
Change from email address exim


Hello

I have set up Exim, Procmail and Mutt in a Debian testing install.

I can receive and send email ok via an external smtp server, but

emails that I send to not have the correct 'from' address in them ie.


From : Andy Osborne <aosborne@myrealbox.com>
Sent : Thursday, 10 June 2004 7:59:49 AM
To : andyosborne@hotmail.com
Subject : test


The 'From' email should read: andyosborne@myrealbox.com

As it is at present, it reflects the name of the user account I use on my local machine ie. aosborne

I suspect that there is a confiuration file somewhere that I need to change. Can any one point me in the right direction.

Thanks & Regards
 
Old 06-13-2004, 10:40 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Add the following line to ~/.muttrc

Code:
set from="andyosborne@myrealbox.com"
 
Old 06-13-2004, 11:18 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
you can also set a translation rule for exim so no matter what client the mail will go out correctly
lets see
make a file /etc/email-addresses
in it put your local user name followed by the correct from address like this
Code:
user:  user@myIsp.net
then in exim.conf add this rewrite rule adjust like above to *@what the mail is going out now as
Code:
begin rewrite

*@myServer.myDomain.net    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} frFs
 
Old 06-22-2004, 06:23 AM   #4
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
thank you

sorry for the delay

adding from address in .muttrc conf file works a treat

thank you
 
  


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
exim + local email only kurrupt Linux - Software 4 11-12-2005 06:44 PM
how do i change to my new email address? ChrisRob General 2 01-16-2005 03:07 PM
how to get exim to send email? SciYro Linux - Software 4 09-08-2004 07:26 PM
Exim cannot receive email from external address davidas Linux - Software 1 04-23-2004 03:17 AM
Using SPEWS with EXIM, can I white list a single email address? m3kgt Linux - Software 0 01-23-2004 11:09 AM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration