LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix Virtual Mailbox configuration (https://www.linuxquestions.org/questions/linux-server-73/postfix-virtual-mailbox-configuration-633196/)

gugabaga 04-05-2008 02:07 AM

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

datopdog 04-05-2008 05:44 AM

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.

gugabaga 04-07-2008 05:11 AM

Quote:

Originally Posted by datopdog (Post 3111525)
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

datopdog 04-07-2008 05:14 AM

Set That that up in the aliases file.

gugabaga 04-07-2008 08:44 PM

Quote:

Originally Posted by datopdog (Post 3113292)
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


All times are GMT -5. The time now is 06:19 PM.