LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Postfix problem (https://www.linuxquestions.org/questions/linux-networking-3/postfix-problem-361294/)

tkmuthuvel 09-07-2005 10:36 PM

Postfix problem
 
hai

i configured postfix mail server for testing purpose.

my problem unable to send mails[send only because i don't have public ip] to outer domains like yahoo etc..

i am getting ip & subnetmask through DHCP by ISP because i connet internet through MODEM [dial up]

In locally [LAN] i can send can recive mail [pop3/smtp] successfully.

i checked # sendmail -q

there is in Name service error.

i tried #ifconfig ppp0

but i can get only ip and subnet mask

how can i see ip,submetmask,gateway,DNS server address

will it work fine if i give dns address to /etc/resolv.conf or /var/spool/postfix/etc/resolv.conf which i got from my ISP

help me

TigerOC 09-08-2005 02:19 AM

The easiest way to do this is edit your /etc/postfix/main.cf. You should see a line;

relayhost =

enter;

relayhost = [outmail_address_of_your_isp] i.e. the address you use to send mail from your e-mail client.

in my case it is;

relayhost = [outmail.my.isp.address]


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