Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-14-2005, 08:23 AM   #1
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, it shows up as The $myhostname parameter is set to a different, 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, 08:33 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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 08:34 AM.
Old 06-14-2005, 08:46 AM   #3
LQ Newbie
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
$mydomain =

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, it just says localhost. Should I just leave those as empty ticks on the $domain line?
Old 06-14-2005, 09:45 AM   #4
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 (for my domain) and it works perfectly now. Thank you for your help trickykid.


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

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration