LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-05-2008, 02:07 AM   #1
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Rep: Reputation: 15
Postfix Virtual Mailbox configuration


Hi,

I have configured a mail server with postfix/dovecot which acts a mail gateway for internal emails. The same email addresses are configured on our mail server on the net.
My gateway uses fetchmail to download mails from the mail server as well as relaying outgoing mails through the mail server.

I have a situation where some email addresses are only configured on the internet mail server and not my gateway.
Whenever a local person tries to send a mail to that address the smtp client returns back that the email address does not exist in the server.
How can I resolve this problem?

Regards

Indrajit Guha
 
Old 04-05-2008, 05:44 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
With your fetchmail setup you will need addresses on both sides, if your internet server was just a relay host then you would not need to configure users on both sides.
 
Old 04-07-2008, 05:11 AM   #3
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by datopdog View Post
With your fetchmail setup you will need addresses on both sides, if your internet server was just a relay host then you would not need to configure users on both sides.
Hi,

I am already doing that for fetching mail.

The email addresses in the local mail gateway have all got corresponding email addresses in the web server.
So any mail addressed to example.com from inside the local area network gets processed at the local end and never reaches the web server.

How can I setup an exception to that rule so that for some cases the mails addressed to 1@example.com is forwarded to the web server.

Regards
 
Old 04-07-2008, 05:14 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Set That that up in the aliases file.

Last edited by datopdog; 04-07-2008 at 12:23 PM.
 
Old 04-07-2008, 08:44 PM   #5
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by datopdog View Post
Set That that up in the aliases file.
Hi,

I am a little confused here.....

Can I setup the same domain as hosted and alias?
I already have setup example.com as a hosted domain.
Some users need to travel. During that time I would like them to access their mails from the web server as the local mail gateway does not have internet visibility.

Regards
 
  


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 Mailbox Size carlosinfl Linux - Server 3 08-17-2007 02:29 PM
postfix mailbox location yogaboy Linux - Software 5 12-19-2006 06:37 PM
virtual mailbox with postfix shafey Linux - Networking 0 07-19-2006 02:16 AM
Courier-imap and Postfix Virtual Mailbox Domains ahSyd Slackware 0 05-26-2006 07:04 AM
postfix virtual mailbox namit Debian 1 12-16-2005 02:06 AM


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

Main Menu
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