LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-29-2003, 05:31 AM   #1
starswalker
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Unhappy I want Postfix to differenciate local from external adresses


I want my RedHat 7.3 server to act as a email server. The clients are Windows 9X/XP with Outlook 2000. I have 6 email accounts on a ISP (domain mmm.com). The redhat server connects to my ISP and retrieves the email thanks to fetchmail (it works fine). The domain on my LAN is ggg.local. When I send and email to a local user my redhat server (running postfix) delivers it correctly and the from adress of the message is: joseph@ggg.local. The problem is that if a send an email to an external adress (such a albert@hotmail.com) postfix delivers it correctly but the from adress in the message is joseph@ggg.local so Albert can't reply the message (ggg.local is not a public domain).
If I try to use the canonical feature of postfix I can change joseph@ggg.local for joseph@mmm.com (that is an account on my ISP) so albert can reply. The problem is that, in that case, if i send a message to a local user postfix also changes joseph@ggg.local for joseph@mmm.local so when the local user wants to reply the message is not delivered localy but sent to internet.
How can I make, if possible, postfix to differenciate local from external adresses. I want postfix to use canonical only if the TO adress is external from my lan.

Thanks.
 
  


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 and Thunderbird wheres local? barrythai Mandriva 5 01-29-2005 06:06 AM
mail to local user using Postfix hct224 Linux - Newbie 0 03-16-2004 08:08 PM
How to Configure POstfix for Local Network jay_gonzales Red Hat 0 02-20-2004 09:10 PM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 03:05 AM
Postfix - Don't masquerade Local only Outgoing mail... Help please... Vince0000 Linux - General 2 11-27-2003 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 AM.

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
Open Source Consulting | Domain Registration