LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Urgent help for Postfix mail server (please Read it) (http://www.linuxquestions.org/questions/linux-server-73/urgent-help-for-postfix-mail-server-please-read-it-483992/)

pushpraj 09-16-2006 02:19 AM

Urgent help for Postfix mail server (please Read it)
 
Hello everybody,
I need urgent help. I want to forward non-existent mails of my local mail server to my remote ISP mail server in postfix.
Please help me.

Regards,
Pushpraj

gilead 09-16-2006 02:25 AM

I'm not sure what you mean here. It's not possible to forward emails that don't exist. Do you mean when you receive emails for users that don't exist you want to forward the email to your ISP? Can you provide more information?

Also, please don't mark posts as urgent - it won't get you more support, some people deliberately ignore posts marked as urgent...

pushpraj 09-16-2006 02:41 AM

Yes it is exactly same i.e. user1@example.com is not present in local mail server but it is present in my remote mail server. my remote and local mail server is also same i.e. example.com. so that mail for user1@example.com from local server are bounced back as user1 is not present in local mail server.so i want to forward mails of user1@example.com to my remote placed mail server.

Pushpraj

gani 09-16-2006 04:04 AM

Quote:

Originally Posted by pushpraj
my remote and local mail server is also same i.e. example.com. so that mail for user1@example.com from local server are bounced back as user1 is not present in local mail server.so i want to forward mails of user1@example.com to my remote placed mail server.

Pushpraj

That should not be the case. Instead make your local mail server to use 'myhostname' instead of 'mydomain' for 'mydestination' since mail deliveries will be always presumed in your local mail, that is, the destination.

mydestination = $myhostname, localhost.$mydomain, localhost

Then,

# postfix reload

gani 09-17-2006 09:51 PM

Then all your local mail accounts should be at users@yourhostMTA.yourdoamin.tld.

Cheers,


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