View Single Post
  #4  
Old 13th June 2013, 19:54
EllisP EllisP is offline
Junior Member
 
Join Date: Jun 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by monkfish View Post
Hello EllisP,
- Have a check see if postfix is actually running. Do something like "ps ax | grep master" - you should have a process listed there.
This is what I got

1264 ? Ss 0:00 /usr/sbin/amavisd-new (master)
1803 ? Ss 0:00 php-fpm: master process (/opt/php-5.3.18/etc/php-fpm.conf)
1816 ? Ss 0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
3021 ? Ss 0:00 /usr/lib/postfix/master
3102 pts/0 S+ 0:00 grep --color=auto master

/usr/lib/postfix/master process is listed
Quote:
Originally Posted by monkfish View Post
See if its listening on the address you're connecting to - "netstat -A inet -nlp" see if a process "master" for port 25 is listening on either any address (0.0.0.0) or a specified address.
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3021/master

Quote:
Originally Posted by monkfish View Post
- Check you're not firewalled out at all?
My firewall is disabled on my Windows 7 which I'm using to connect to the server and unless Ubuntu comes with a firewall which I've not read anything about in the How To there shouldn't be any other walls in the way.
Quote:
Originally Posted by monkfish View Post
- On my ubuntu installation when I configured postfix it automatically specified start on boot. You might like to check thats the case on yours.
I ran the ps ax | grep master when I booted the server and the process was running so I'm guessing that's a yes.
Quote:
Originally Posted by monkfish View Post
- Where are you telneting from? Is it your local PC, could it be antivirus or similar getting in the way?
I'm telnetting from a windows 7 PC in the same network, I also don't have an AV on this PC
Quote:
Originally Posted by monkfish View Post
- Maybe do a "service postfix restart" to check its starting correctly.
No problems here

root@ubuntuserver:/home/administrator# service postfix restart
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]

Quote:
Originally Posted by monkfish View Post
- Have a look in the mail log file for errors - something like "cat /var/log/mail.log".
Well there's quite a few errors here, one seems to be pointing at an SSL error;
Code:
Jun 13 18:45:02 ubuntuserver postfix/smtps/smtpd[2593]: connect from localhost.localdomain[127.0.0.1]
Jun 13 18:45:02 ubuntuserver postfix/smtps/smtpd[2593]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
Jun 13 18:45:02 ubuntuserver postfix/smtps/smtpd[2593]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jun 13 18:45:02 ubuntuserver postfix/smtps/smtpd[2593]: disconnect from localhost.localdomain[127.0.0.1]
Jun 13 18:46:03 ubuntuserver postfix/smtps/smtpd[2556]: SSL_accept error from unknown[192.168.21.20]: lost connection
Jun 13 18:46:03 ubuntuserver postfix/smtps/smtpd[2556]: lost connection after CONNECT from unknown[192.168.21.20]
Jun 13 18:46:03 ubuntuserver postfix/smtps/smtpd[2556]: disconnect from unknown[192.168.21.20]
Jun 13 18:46:16 ubuntuserver postfix/smtps/smtpd[2565]: SSL_accept error from unknown[192.168.21.20]: lost connection
Jun 13 18:46:16 ubuntuserver postfix/smtps/smtpd[2565]: lost connection after CONNECT from unknown[192.168.21.20]
Jun 13 18:46:16 ubuntuserver postfix/smtps/smtpd[2565]: disconnect from unknown[192.168.21.20]
Jun 13 18:46:19 ubuntuserver postfix/smtps/smtpd[2593]: connect from unknown[192.168.21.20]

Quote:
Originally Posted by monkfish View Post
- you said you followed a Perfect Server guide, suggesting you installed ISPConfig. What happens when you log in there and go to the monitor tab? Does it show any services offline?

HTH
http://imgur.com/sLM7eyn

[img] not working so posting url

EDIT: I found a post of someone else with this issue and it turns out it wasn't too hard to solve,
http://www.howtoforge.com/forums/showthread.php?t=61657
I can now send emails within my own network!

Last edited by EllisP; 13th June 2013 at 20:14.
Reply With Quote