[solved] STMP port 25 DOWN - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: [solved] STMP port 25 DOWN (/thread-11511.html) Pages: 1 2 |
[solved] STMP port 25 DOWN - lthh89vt - 08-27-2010 03:39 PM Hi everyone, I'm very new to ispcp, linux and trying to ispcp on my server. But I cannot turn port 25 (SMTP) on. I played around with postfix, but still no answer. Can anyone suggest me where I should start at? I'm using Ubuntu 10.x 64 bits Thanks, RE: STMP port 25 DOWN - joximu - 08-27-2010 04:31 PM /etc/init.d/postfix start and then tail /var/log/mail.info for the log... /J RE: STMP port 25 DOWN - lthh89vt - 08-27-2010 07:25 PM I got this log, it's start ok. but port 25 still down in ISPCP. Can you help me with this? Many thanks,\ Quote:root@melitgroup:~# /etc/init.d/postfix start RE: STMP port 25 DOWN - joximu - 08-27-2010 07:37 PM Hi Quote:Aug 27 19:23:11 melitgroup postfix/master[11829]: fatal: bind 0.0.0.0 port 25: A ddress already in use this says that there is another program using the port 25. and the other log entries show something like "sm-mta" which is running... so - stop sm-mta and maybe uninstall it, then there should be no problem using postfix. /J RE: STMP port 25 DOWN - lthh89vt - 08-27-2010 07:43 PM Hi, Thanks for you help. But I cannot stop sm-mta (unknown job). And Quote:Aug 27 19:23:11 melitgroup postfix/master[11829]: fatal: bind 0.0.0.0 port 25: A ddress already in use Is it used by bind? Thanks, Hi, I stop sendmail and it's working, But I only can send email but cannot receive any email. Could you please also help me with this. Regards RE: STMP port 25 DOWN - joximu - 08-27-2010 10:19 PM no, in this case bin is only the term for "connecting the application to this ip/port".... what do you get with netstat -tlpn | grep ":25" the end of the lines should show the pid of the running program which is bound to port 25. ps aux | grep <the-pid> try this and then you should get the software name. Hopefully... I think it's a sort of sendmail.... maybe also "dpkg -l | grep mail" brings something... /J ah - yes, you wrote sendmail. ok, you should uninstall sendmail.... "aptitude remove sendmail" (or similar... I don't know ubuntu...) /J RE: STMP port 25 DOWN - lthh89vt - 08-28-2010 12:09 AM Hi mate, I done it. But I only can send mail, forwarder. I cannot receive any emails. There are not error as well so I dont know how to fix it. Could you please tell me what I should check RE: STMP port 25 DOWN - joximu - 08-28-2010 12:48 AM logs? RE: STMP port 25 DOWN - lthh89vt - 08-28-2010 09:19 AM Hi joximu, I'm sorry, i'm very new to this so I don't know we need start with log. Here's my log Quote:Aug 28 09:13:45 melitgroup postfix/smtpd[16252]: disconnect from cnl1.ientrynetw ork.net[66.28.139.229]It reject email from gmail It cannot connect to port 60000 (postgrey default port). But I changed port of postgrey to 10023. It's not working with port 60000 Kind Regards, This is what I got from netstat [quote] Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 30212/master tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 7785/mysqld tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 30212/master tcp 0 0 127.0.0.1:12525 0.0.0.0:* LISTEN 7838/policyd-weight tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3562/apache2 tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 30212/master tcp 0 0 127.0.0.1:9876 0.0.0.0:* LISTEN 19854/ispcp_daemon tcp 0 0 175.107.156.197:53 0.0.0.0:* LISTEN 3133/named tcp 0 0 175.107.156.196:53 0.0.0.0:* LISTEN 3133/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 3133/named tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 3836/proftpd: (acce tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 21836/sshd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 30212/master tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 3133/named tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 18082/postgrey.pid tcp6 0 0 :::110 :::* LISTEN 25838/couriertcpd tcp6 0 0 :::143 :::* LISTEN 26017/couriertcpd tcp6 0 0 :::53 :::* LISTEN 3133/named tcp6 0 0 :::22 :::* LISTEN 21836/sshd tcp6 0 0 ::1:953 :::* LISTEN 3133/named tcp6 0 0 :::993 :::* LISTEN 26477/couriertcpd tcp6 0 0 :::995 :::* LISTEN 27867/couriertcpd [quote] Many thanks, RE: STMP port 25 DOWN - joximu - 08-28-2010 09:54 AM ok, if postgrey is on 10023 then you may change the port numbers in /etc/postfix/main.cf (and maybe master.cf???) and the other thing: "warning: do not list domain melitgroup.com in BOTH mydestination and virtual_mailbox_domains" I'd change mydestination to something with a host - not only domain... /J |