not able to send mail using postfix
Hello everybody,
i'm running postfix on mandrak 10. basically its a default install. i'm able to send email but not receive. i'm not sure where the problem is and could use some help... read 100s of documents and still no go.. i have a feeling it has something to do with smtp. i tested port 80 telnet xxx.xxx.xxx.xxx. 80 and it displayd my webpage. i did the same with port 25 and telnet seem to hang for some reason. any ideas? i not exp. in linux but i'm assuming smtp is working. # netstat -t -a | grep LISTEN tcp 0 0 www.example.ca:http *:* LISTEN tcp 0 0 www.example.ca:smtp *:* LISTEN tcp 0 0 localhost:smtp *:* LISTEN postfix seems to start without any error messages # postfix reload ostfix/postfix-script: refreshing the Postfix mail system # what am i doing wrong 1. if there was a problem with smtp would i be able to send mail. 2. not sure but if i was to telnet to port 25 locally, would that effect the outcome wheather my isp blocked the port or not(telnet localhost 25)? any ideas would greatly appreciated |
Re: not able to send mail using postfix
Quote:
Check your main.cf postfix file (/etc/postfix/main.cf) and look at your inet_interfaces parameter, what is it set to? Do you have your /etc/hosts file set correctly? |
thanks for getting back to me.
1. basically i ran telnet locally (tried it 2 ways) from mandrake terminal telnet localhost 25 and telnet 192.168.2.4 25 and both hung, i couldn't even escap. 2. my etc/hosts has the following: 127.0.0.1 localhost 192.168.2.4 www.example1.ca example1 192.168.2.4 localhost dbmanager 192.168.2.4 localhost testpage 192.168.2.4 www.example2.ca example2 3. in the main.cf inet_interface all. side note i am hosting a webpage and it does work. if it is a firewall issue this is what i have in the shorewall/rules ################################################################################################### #ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER # PORT PORT(S) DEST LIMIT ACCEPT net fw udp 137,138,139 - ACCEPT net fw tcp 80,443,22,25,109,110,143,137,138,139,23 - HELP!!!! |
Ok, when you say you ran telnet and they both hung, what exactly happened? Did you hit ENTER after your telnet command and nothing came up at the prompt? Did it say connected or anything before it hung? Usually you will either get refused or it will sit there till it gives up OR it will say connected.
|
How can I send an email using telnet and my mail server including my name. For example.
Code:
chris@ubuntu:~$ telnet localhost 25 |
All times are GMT -5. The time now is 08:01 AM. |