LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using post fix with a static ip (https://www.linuxquestions.org/questions/linux-newbie-8/using-post-fix-with-a-static-ip-82871/)

eobrieniv 08-17-2003 02:18 PM

using post fix with a static ip
 
i have a question, i just ordered a static ip addy through bellsouth.. even though i have a static ip i have to have eth0 dhcp to the westell modem... i can send and recieve messages locally and i can send remotely.... is there a way that i can configure postfix to grab my static ip instead of the ip assigned to eth0 from the westell modem... i hope i was cl;ear enough, i think i just confused myself somemore..

Ed

joehill 08-20-2003 09:41 AM

Re: using post fix with a static ip
 
Quote:

Originally posted by eobrieniv
i have a question, i just ordered a static ip addy through bellsouth.. even though i have a static ip i have to have eth0 dhcp to the westell modem... i can send and recieve messages locally and i can send remotely.... is there a way that i can configure postfix to grab my static ip instead of the ip assigned to eth0 from the westell modem... i hope i was cl;ear enough, i think i just confused myself somemore..

Ed

Well, Postfix listens by default on port 25, to receive, all you need to do is have the port forwarded to your machine, it shouldn't matter to postfix what your external IP is. Does the modem include router or NAT capabilities? If not, get a router/NAT, I suggest either ClarkConnect or BBIAgent if you have another old junker lying around.

See /etc/postfix/main.cf for very well commented config info, if I haven't helped please write back!

joehill 08-20-2003 09:46 AM

just thought of something else
 
Do you have a domain name? How do you propose to receive mail with postfix, ie. what address would peeps send too?

If you have a domain name, check out Zonedit.com for a great free service.

Also, watch out, if you are sending mail directly from Postfix, you could end up on an RBL, an open-relay blacklist, they do this because of people running misconfigured servers off their ISPs IP blocks. You might want to relay your mail from postfix through your ISP's smtp server, again see /etc/postfix/main.cf for how to do this.


All times are GMT -5. The time now is 12:58 PM.