LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2005, 09:23 AM   #1
clickster
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Rep: Reputation: 15
Postfix $myorigin issues


I have:

myorigin = $mydomain

But instead of mail showing up as coming from user@mydomain.com, it shows up as user@localhost.mydomain.com. The $myhostname parameter is set to a different hostname.domain.com, but my server's hostname (outside of Postfix) is localhost.localdomain. This box is behind a router that is simply doing port forwarding to the NATed mail server.

Any help would be greatly appreciated. I am somewhat new to Postfix.
 
Old 06-14-2005, 09:33 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
What is the value given for $mydomain in your config file?

And how are you sending emails out? You know you can change your outgoing mail address in the client you use to send mail..

Last edited by trickykid; 06-14-2005 at 09:34 AM.
 
Old 06-14-2005, 09:46 AM   #3
clickster
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
$mydomain = domain.com

I am logged onto the server using squirrelmail. I haven't set it up on a software client yet.

Once you mentioned that, it hit me that it might be squirrelmail causing the problems, so I took a look at the config.php, and this section stood out:


$domain = 'localhost';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;

Is that where the problem is at? If so, what should I change it to? it doesn't say localhost.domain.com, it just says localhost. Should I just leave those as empty ticks on the $domain line?
 
Old 06-14-2005, 10:45 AM   #4
clickster
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
OK. I removed the $domain 'localhost' entry and just left it as ''
Then it wouldn't send mail at all. So I just changed localhost to domain.com (for my domain) and it works perfectly now. Thank you for your help trickykid.
 
  


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 - Relay Access Denied Issues clickster Linux - Software 0 10-12-2005 03:06 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
impromptu POP issues/postfix/virtuals gunnyrock Linux - Software 1 04-11-2004 05:16 PM
Postfix + Procmail delivery issues lhoff Mandriva 0 02-28-2004 10:23 PM
mail server issues - POSTFIX macdafoe Linux - Newbie 2 09-14-2003 10:09 PM


All times are GMT -5. The time now is 11:30 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