943,490 Members | Top Members by Rank

Ad:
Aug 31st, 2003
0

Postfix configuration

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
argh2005 is offline Offline
8 posts
since Aug 2003
May 12th, 2004
0

Re: Postfix configuration

Quote 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
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
May 15th, 2004
0

Re: Postfix configuration

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
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Mar 5th, 2005
0

Re: Postfix configuration

Quote 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...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sasso is offline Offline
1 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: how to save on knoppix
Next Thread in Linux Applications and Software Forum Timeline: Red Hat 9 won't boot





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC