LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I configure postfix master to forward all email to an email server ? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-configure-postfix-master-to-forward-all-email-to-an-email-server-255131/)

hello321_1999 11-15-2004 10:54 AM

How do I configure postfix master to forward all email to an email server ?
 
Let's say I have 2 machines in my network (sitting behind a firewall):

1. An email server (serves x.y@mycompany.com)
2. A SLES (SuSE Linux Enterprise server) server.

I have an application running on the SLES that sends email. The app uses postfix master to send email.

Currently, if my app sends an email to x.y@mycompany.com, the mail is successfully delivered via the email server.

However, if my app sends an email to x.y@yahoo.com, postfix/smtp complains that the mail.yahoo.com is unreachable. I have opened up the firewall so that my SLES server can send email out to the outside world on port 25.

Does anybody know I can configure postfix master so that *ALL* email is sent (or relayed) via my email server?

Thanks in advance.

hello321_1999 11-18-2004 04:43 AM

This is now fixed. I changed my default gateway on the SLES server to point to the firewall. Now, the email server can find all domains (e.g. mycompany.com, yahoo.com, etc)


All times are GMT -5. The time now is 08:21 PM.