LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-04-2005, 06:06 AM   #1
buskmann
LQ Newbie
 
Registered: Mar 2005
Location: Norway
Distribution: FC5
Posts: 27

Rep: Reputation: 15
Postfix - Sender address includes localhost


I have a toplevel domain hosted by myself. Receiving mail works fine.

However, every mail I send gets a sender with domain like @localhost.domain.com, instead of @domain.com. I am not able to point out where in /etc/postfix/main.cf the configuration is done.

Some of main.cf:
Code:
mydomain = domain.com
myorigin = $mydomain
myhostname = xxx.studby.ntnu.no     # Statically assigned from my ISP 
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
Is this the correct setup?
 
Old 05-04-2005, 08:56 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Re: Postfix - Sender address includes localhost

Quote:
Originally posted by buskmann
I have a toplevel domain hosted by myself. Receiving mail works fine.

However, every mail I send gets a sender with domain like @localhost.domain.com, instead of @domain.com. I am not able to point out where in /etc/postfix/main.cf the configuration is done.

Some of main.cf:
Code:
mydomain = domain.com
myorigin = $mydomain
myhostname = xxx.studby.ntnu.no     # Statically assigned from my ISP 
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
Is this the correct setup?
You have to use "masquerade_domains" in your main.cf file.
 
  


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
POSTFIX how to block/delete mail from sender... hct224 Linux - Newbie 5 12-29-2009 11:11 PM
Postfix: Sender address rejected when matching $mydestination [GOD]Anck Linux - Software 1 02-16-2005 06:42 AM
sendmail email address includes localhost name? kevindv10 Linux - Software 0 04-13-2004 02:22 PM
Postfix Mailserver sticking localhost in after @ in return address hawkpaul Linux - Software 8 05-28-2003 12:24 PM
Sendmail: Domain of sender address does not exist 360 Linux - Networking 1 02-02-2003 09:40 PM


All times are GMT -5. The time now is 06:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration