User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 455,979 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,786 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 9040 | Replies: 3
Reply
Join Date: Aug 2003
Posts: 8
Reputation: argh2005 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
argh2005 argh2005 is offline Offline
Newbie Poster

Help Postfix configuration

  #1  
Aug 31st, 2003
Okie, I'm just finish configure my postfix. My postfix is MTA for my MUA Squirrelmail. I'm using Linux RedHat 9.0 OS.

Somehow I'm only able to send mail but not able to receive mail.

Plus I recognize when I send mail to a mailbox to such as Bellsouth.net or yahoo.com.. I see the header of the email state as user@localhost.mydomain.com. I want to change it to such as :

user@mydomain.com, and how do i do that?

And what configuration that I need to implement in the main.cf file for my MUA Squirrelmail to be able to receive mail from the outside source? Because at the moment I only can send mail.

Any idea anyone ? ... Appreciated.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: Postfix configuration

  #2  
May 12th, 2004
Originally Posted by argh2005
Okie, I'm just finish configure my postfix. My postfix is MTA for my MUA Squirrelmail. I'm using Linux RedHat 9.0 OS.

Somehow I'm only able to send mail but not able to receive mail.

Plus I recognize when I send mail to a mailbox to such as Bellsouth.net or yahoo.com.. I see the header of the email state as user@localhost.mydomain.com. I want to change it to such as :

user@mydomain.com, and how do i do that?

And what configuration that I need to implement in the main.cf file for my MUA Squirrelmail to be able to receive mail from the outside source? Because at the moment I only can send mail.

Any idea anyone ? ... Appreciated.

Don't know if you've ever come to a conclusion on this...I know the solution...it's in my notes...but notes at a different terminal than I'm able to get to right now. I'll give this resolution if you haven't already.

TKS
My Home Away from Home: Yet Another Linux Blog
Reply With Quote  
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 11
Solved Threads: 102
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Postfix configuration

  #3  
May 15th, 2004
I don't know about postfix, but in sendmail, it's controlled through /etc/aliases. That may be the same way in postfix, as a lot of MTAs are sendmail syntax compatible.

In /etc/aliases, you just map the username to the email address you want. On my system, it looks like:


Then, all of the mail would look like it came from alc6379@this.isnt.my.real.e-mail.host.com, not alc6379@localhost.localdomain.

Regardless of the file, I'll bet it's called a mail alias. Maybe that search term will help in your studies
Alex Cavnar, aka alc6379
Reply With Quote  
Join Date: Mar 2005
Posts: 1
Reputation: sasso is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sasso sasso is offline Offline
Newbie Poster

Re: Postfix configuration

  #4  
Mar 5th, 2005
Originally Posted by argh2005
Okie, I'm just finish configure my postfix. My postfix is MTA for my MUA Squirrelmail. I'm using Linux RedHat 9.0 OS.

Somehow I'm only able to send mail but not able to receive mail.

Plus I recognize when I send mail to a mailbox to such as Bellsouth.net or yahoo.com.. I see the header of the email state as user@localhost.mydomain.com. I want to change it to such as :

user@mydomain.com, and how do i do that?

And what configuration that I need to implement in the main.cf file for my MUA Squirrelmail to be able to receive mail from the outside source? Because at the moment I only can send mail.

Any idea anyone ? ... Appreciated.

this is an old post, but i recently found it when i had a similar problem with the "localhost".myspecificdomain.com appearing in the "from" field. i hope this helps anyone that might be looking...

i set up RH FC2 with dovecot, postfix and squirrelmail. i also setup webmin because i'm not really a unix guy and it helps me a lot.

i used the command "system-switch-mail" in a terminal to switch from sendmail to postfix for my mta.

using webmin, i went to servers -> postfix -> general options
changed "what domains to receive mail for" to my specific domain
changed "network interfaces for receiving mail" to all
click save and apply

you should automatically return to the webmin postfix config. then click "Address Rewriting and Masquerading"

change "Address masquerading" to "$mydomain" (this removes the "localhost" from the sender/"from" address)
save and apply

restart postfix by clicking "stop postfix", wait for the page to reload and click "start postfix".

hope this helps. sorry if it doesn't...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 9:21 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC