PDA

View Full Version : HELP! mail problems still!!


Griff
24th May 2006, 15:49
Hi,

Whenever a client tries to send an email they keep getting an auth error i have remoted there machines and set it up for authorisation but it's saying incorrect username/password i have checked through the forums but could not see a fix for this in any of the posts.

I am running Debian from Perfect Setup Guide.

they can recieve there POP emails perfectly fine and i am able to send mails using my master domain account but it's the other domains that cannot send i even setup a domain as a test to see if it was something in there config and i copied the settings from my domain to the test domain but it's still coming up with the same error.... I have tried username "web<num>_<name>@domain" and "web<num>_<name>@masterdomain" aswell as "web<num>_<name>" but to no avail.

All help greatly appreciated.

Thanks in advance.

Griff

--

Griff@zcubed.co.uk | "Linux is not user-friendly!"
| "It _is_ user-friendly. It's just not
#include <std_disclaimer.h> | ignorant-friendly and idiot-friendly."
#include <rest_of_sig.h> | -- Unknown

falko
24th May 2006, 19:20
What's the exact error message? What's in your mail log?

Griff
25th May 2006, 00:13
Sending of message failed:

The message could not be sent because connecting to SMTP server zcubed.co.uk failed. the server may be unavailable or refusing smtp connections. Please verify that your SMTP server setting is correct and try again, or else contact your network administrator.

which logs would you like to see? postfix or user mail logs?

falko
25th May 2006, 15:40
Sending of message failed:

The message could not be sent because connecting to SMTP server zcubed.co.uk failed. the server may be unavailable or refusing smtp connections. Please verify that your SMTP server setting is correct and try again, or else contact your network administrator.
Make sure your firewall doesn't block port 25. What's the output of netstat -tap?

which logs would you like to see? postfix or user mail logs?It's the same log file, usually in the /var/log directory.

Griff
26th May 2006, 01:25
NETSTAT REPORT


Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 1237/couriertcpd
tcp 0 0 *:8067 *:* LISTEN 17065/ircd
tcp 0 0 *:pop3s *:* LISTEN 1260/couriertcpd
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1323/mysqld
tcp 0 0 *:ircd *:* LISTEN 17065/ircd
tcp 0 0 *:pop3 *:* LISTEN 1246/couriertcpd
tcp 0 0 *:imap2 *:* LISTEN 1223/couriertcpd
tcp 0 0 *:www *:* LISTEN 1529/apache2
tcp 0 0 *:81 *:* LISTEN 1547/ispconfig_http
tcp 0 0 server1.zcubed.co.:4242 *:* LISTEN 17243/eggdrop
tcp 0 0 *:ftp *:* LISTEN 5096/proftpd: (acce
tcp 0 0 server1.zcubed.c:domain *:* LISTEN 10558/named
tcp 0 0 localhost.locald:domain *:* LISTEN 10558/named
tcp 0 0 *:ssh *:* LISTEN 1470/sshd
tcp 0 0 *:smtp *:* LISTEN 11748/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 10558/named
tcp 0 0 *:https *:* LISTEN 1529/apache2
tcp 0 0 server1.zcubed.co.:ircd server1.zcubed.co:34705 ESTABLISHED17065/ircd
tcp 0 0 server1.zcubed.co.:ircd server1.zcubed.co:34710 ESTABLISHED17065/ircd
tcp 0 0 server1.zcubed.co:34710 server1.zcubed.co.:ircd ESTABLISHED17243/eggdrop
tcp 0 0 server1.zcubed.co:34705 server1.zcubed.co.:ircd ESTABLISHED17070/services
tcp 0 288 server1.zcubed.co.u:ssh 80-42-101-40.dynam:2107 ESTABLISHED2741/0
tcp 0 0 server1.zcubed.co.:pop3 cpc3-bigg1-0-0-cus:2378 TIME_WAIT -
tcp 0 0 server1.zcubed.co.:ircd 83-245-16-92.dsl.p:1116 ESTABLISHED17065/ircd
server1:~#


Mail.log.ispconfig linked below as it was too long for a quote and wouldn't let me attach it.

http://www.zcubed.co.uk/Log/mail.log.ispconfg

DOC VERSION JUST INCASE
http://www.zcubed.co.uk/Log/mail.doc

falko
26th May 2006, 02:22
If you find an error in mail.log, please post it here.
What's the output of iptables -L?

Griff
26th May 2006, 04:33
server1:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
server1:~#



If you find an error in mail.log, please post it here.

lol the mail log hasn't been touched since december apparently .. above is the outcome of iptables -L

Thanks Again for all your help

Griff
26th May 2006, 15:34
Sorry that wasn't very helpful.

the mail.log file is totally empty the only mail.* file with anything at all in is mail.log.ispconfig ... Hope this helps to clear that up a bit.

according to the mail.log.ispconfig the last time the log was touched was december last year and then it died ... more info is on the actual log.

falko
26th May 2006, 16:57
Is 70.147.153.67 your public IP address?
You don't have a DNS record for server1.zcubed.co.uk...

Griff
27th May 2006, 04:57
Yes that's the servers ip address... i tried to remove server1.zcubed.co.uk before but FTPD kept sending server errors so i ended up putting it back... so should i create a co-domain or how will this work? sorry for this but my Tech used to do all of this but he's recently passed away so i'm having to learn V quickly.

Griff
27th May 2006, 04:59
sorry for late reply have been working all day and night... i'm always trying to find a way to get access to my sites but the work's server don't allow internet access just Intranet

falko
27th May 2006, 14:48
Yes that's the servers ip address... i tried to remove server1.zcubed.co.uk before but FTPD kept sending server errors so i ended up putting it back... so should i create a co-domain or how will this work? sorry for this but my Tech used to do all of this but he's recently passed away so i'm having to learn V quickly.
You can add server1.zcubed.co.uk to /etc/hosts for now. That replaces the missing DNS record.

Griff
27th May 2006, 18:26
127.0.0.1 localhost.localdomain localhost server1
70.147.153.67 server1.zcubed.co.uk server1
70.147.153.65 virtual-ip1.zcubed.co.uk virtual-ip1

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts




That's whats in there currently? but it's still not letting me send the emails

falko
27th May 2006, 22:24
What's in your mail log now when you try to send an email?

Griff
28th May 2006, 05:23
The mail log is still empty...

MAIL.LOG.ISPCONFIG


Dec 13 01:18:36 localhost courierpop3login: Connection, ip=[::ffff:86.133.213.134]
Dec 13 01:18:36 localhost courierpop3login: LOGIN, user=lmalins, ip=[::ffff:86.133.213.134]
Dec 13 01:18:37 localhost courierpop3login: LOGOUT, user=lmalins, ip=[::ffff:86.133.213.134], top=0, retr=0, time=1
Dec 13 01:19:23 localhost postfix/smtpd[8744]: connect from bay107-f21.bay107.hotmail.com[64.4.51.31]
Dec 13 01:19:23 localhost postfix/smtpd[8744]: NOQUEUE: reject: RCPT from bay107-f21.bay107.hotmail.com[64.4.51.31]: 554 <lmalins@zcubed.co.u$
Dec 13 01:19:24 localhost postfix/smtpd[8744]: disconnect from bay107-f21.bay107.hotmail.com[64.4.51.31]
Dec 13 01:19:46 localhost courierpop3login: Connection, ip=[::ffff:86.133.213.134]
Dec 13 01:19:46 localhost courierpop3login: LOGIN, user=lmalins, ip=[::ffff:86.133.213.134]
Dec 13 01:19:46 localhost courierpop3login: LOGOUT, user=lmalins, ip=[::ffff:86.133.213.134], top=0, retr=0, time=0
Dec 13 01:19:48 localhost courierpop3login: Connection, ip=[::ffff:86.133.213.134]
Dec 13 01:19:49 localhost courierpop3login: LOGIN, user=lmalins, ip=[::ffff:86.133.213.134]
Dec 13 01:19:49 localhost courierpop3login: LOGOUT, user=lmalins, ip=[::ffff:86.133.213.134], top=0, retr=0, time=0
Dec 13 01:19:52 localhost courierpop3login: Connection, ip=[::ffff:86.133.213.134]
Dec 13 01:19:53 localhost courierpop3login: LOGIN, user=lmalins, ip=[::ffff:86.133.213.134]
Dec 13 01:19:53 localhost courierpop3login: LOGOUT, user=lmalins, ip=[::ffff:86.133.213.134], top=0, retr=0, time=0
Dec 13 01:21:19 localhost courierpop3login: Connection, ip=[::ffff:86.133.213.134]
Dec 13 01:21:19 localhost courierpop3login: LOGIN, user=lmalins, ip=[::ffff:86.133.213.134]
Dec 13 01:21:19 localhost courierpop3login: LOGOUT, user=lmalins, ip=[::ffff:86.133.213.134], top=0, retr=0, time=0
Dec 13 01:21:42 localhost authdaemond.plain: restarting authdaemond children
Dec 13 01:21:42 localhost authdaemond.plain: modules="authpam", daemons=5
Dec 13 01:21:45 localhost postfix/postfix-script: stopping the Postfix mail system
Dec 13 01:21:45 localhost postfix/master[6797]: terminating on signal 15


that seems wrong to me... all of the other mail logs are empty even mail.err and mail.info and mail.warn.

Still the same error occuring when trying to send an email.

till
28th May 2006, 11:15
I guess the log is a bit old "Dec 13 01:21:45", or is the date set wrong on your server?

The ISPConfig log is always a backup copy of your mail log, if the maillog save option in ISPConfig is enabled.

Griff
28th May 2006, 16:18
just done a quick check in the server settings and mail logs should be saved in /var/log/mail.log and Save Log is ticked so yep it should be logged but it's not... now i'm really baffled...?

Griff
28th May 2006, 16:22
also just checked some of the other files Mail.warn.0 and that's also got a repeat of the mail.log.ispconfigsave in there... does that error above not mean that postfix isn't running?


Dec 13 01:21:45 localhost postfix/postfix-script: stopping the Postfix mail system
Dec 13 01:21:45 localhost postfix/master[6797]: terminating on signal 15


i've done ./etc/init.d/postfix start and got


Starting mail transport agent: Postfix.

falko
28th May 2006, 23:10
The restart shoud have got logged in /var/log/mail.log. Do you see it there?

Griff
30th May 2006, 01:40
nope still don't see anything in the mail.log it's still empty... shall i try to do the restart using ispconfig?

falko
30th May 2006, 17:30
nope still don't see anything in the mail.log it's still empty...
Then your system seems to be really messed up. Does Postfix log to any other file?
Maybe you have a rootkit on your server. Check it like here: http://www.howtoforge.com/faq/1_38_en.html

Griff
30th May 2006, 23:15
just ran CHKROOTKIT and only got the following outcome


server1:/# chkrootkit -q
eth0: PACKET SNIFFER(/sbin/dhclient[1004])
server1:/#


where possible i don't want to format and start again.

Thanks

falko
31st May 2006, 00:59
I suggest you redo the Postfix configuration from the appropriate "Perfect Setup" on HowtoForge.

Griff
1st June 2006, 00:01
ok i've re-done the postfix configuration and now i'm getting a totally different error... the error i'm getting now is


An error occured while sending mail. The mail server responded: <djgriff[NOSPAM]gmail.com: relay access denied. Please verify that your email address is correct in your Mail Preferences and try again

falko
1st June 2006, 00:40
Please enable "Server requires authentication." in your email client.

Griff
1st June 2006, 00:52
have already got that enabled but stil that error

falko
1st June 2006, 01:36
have already got that enabled but stil that error
Can you post a screenshot of that setting in your email client here?

Griff
3rd June 2006, 01:43
http://www.zcubed.co.uk/mail.jpg

falko
3rd June 2006, 15:08
You must fill in the user name under "Use name and password". Then when you send the first email Thunderbird will ask you for the password.

Griff
13th June 2006, 03:27
tried that am still getting a password error...
i've tried web1_NAME, name@domain, web1_name@domain
no joy :(

falko
13th June 2006, 11:35
web1_NAME is correct.
Does zcubed.co.uk point to the correct server? You can check with
dig zcubed.co.uk

Griff
21st June 2006, 02:33
Report from Dig


web1_griff@server1:~/services$ dig zcubed.co.uk

; <<>> DiG 9.2.4 <<>> zcubed.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1206
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;zcubed.co.uk. IN A

;; ANSWER SECTION:
zcubed.co.uk. 900 IN A 70.147.153.67

;; Query time: 169 msec
;; SERVER: 70.147.153.65#53(70.147.153.65)
;; WHEN: Tue Jun 20 18:28:07 2006
;; MSG SIZE rcvd: 46

web1_griff@server1:~/services$

falko
21st June 2006, 19:04
And there's still nothing in your mail log?
Is 70.147.153.67 your public IP address? Is your server in a local network? If so, do you forward port 25 from your router to your server?

Griff
27th June 2006, 23:20
it's on it's own line and Port 25 has been opened unless it's the ISP that's blocking it but i don't see why they're gonna do that when it's a T3 Line, Port 25 is forwarded i've even done a portscan to check from an outside source and all signs are pointing to open. 70.147.153.67 is the Public Static IP yes.

falko
28th June 2006, 12:38
What's the output of iptables -L?
Please also ask your ISP to go sure they don't block port 25.

Griff
30th June 2006, 01:20
Rite have finally managed to get through to tech support and they've said port 25 isn't blocked as many of our clients run there own mail servers. that's that option gone..


server1:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
server1:~#

falko
1st July 2006, 13:13
Then it could be a problem with your router not supporting loopbacks into your local network. Does email authentication work outside your network?

Griff
4th July 2006, 23:31
sorry i'm a n00b to this can you please explain that a little more... how would i check that? i can send emails from another server which is running from the same center but i can't send emails from this server.... we have a fixed IP dedicated to that machine... i dunno if that's what you mean.

falko
5th July 2006, 12:45
Well, I was thinking that your server is in a local network, behind a router. But if it has its own public IP address, then forget my previous post...

Griff
14th July 2006, 02:33
ok i've just found out my server IS on a router but it's got it's own static ip ... i've just changed the IP to one of the others and updated everything but it's still not working... any more ideas? i've got a suggestion but i don't know how you'd feel about it ... drop me an email to griff <NOSPAM> zcubed.co.uk and i'll email you the server details so you can login as root and have a look incase i've messed up somewhere... just an idea...

Regards

falko
15th July 2006, 13:56
ok i've just found out my server IS on a router but it's got it's own static ip ...
Is it a public IP address, or a local one? What's the output of ifconfig?

Griff
15th July 2006, 23:53
IFCONFIG RESPONSE IS:


server1:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:AD:86:19:81
inet addr:70.147.153.69 Bcast:255.255.255.255 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32393 errors:0 dropped:0 overruns:0 frame:0
TX packets:26503 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12140019 (11.5 MiB) TX bytes:9430520 (8.9 MiB)
Interrupt:5 Base address:0xc400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1821 errors:0 dropped:0 overruns:0 frame:0
TX packets:1821 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:137039 (133.8 KiB) TX bytes:137039 (133.8 KiB)

server1:~#



Yes i know that the IP has changed but i've updated it on the router we've got 20 dedicated IP's to our router and i was given 10 at purchase i tried to change incase the IP was causing a problem

falko
16th July 2006, 14:13
I get this when I try to connect to your server:

mh1:~# telnet zcubed.co.uk 25
Trying 70.147.153.69...
Connected to adsl-070-147-153-069.sip.clt.bellsouth.net.
Escape character is '^]'.And then it hangs...

What's in /etc/postfix/main.cf (please strip out the comments)? Is myhostname or mydomain set?

Griff
17th July 2006, 23:57
it says myhostname is set ... dunno if that helps any :-S


myhostname = server1.zcubed.co.uk
(COMMENT)mydestination = server1.zcubed.co.uk, localhost.zcubed.co.uk, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mydestination = /etc/postfix/local-host-names

falko
18th July 2006, 14:22
Can you post your main.cf here (please strip out the comments)?

Griff
20th July 2006, 01:52
Main.CF... have removed the comments.


smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

append_dot_mydomain = no

myhostname = server1.zcubed.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names

falko
21st July 2006, 13:29
Ok, what's in /etc/mailname?

Griff
25th July 2006, 02:19
That's all that's in /etc/mailname


server1.zcubed.co.uk

falko
26th July 2006, 10:35
What's in /etc/resolv.conf?

Griff
27th July 2006, 19:01
Resolv.conf


search
nameserver 70.147.153.65

Griff
28th July 2006, 03:01
one other thing that i find strange is that i can emails perfectly fine from the webmail client??? i don't know what smtp server the webmail uses or if i'm perhaps trying to use an incorrect smtp server ... the smtp i'm trying to use is zcubed.co.uk is there anyway to check the CONF for the webmail system as the preferences don't give any information what so ever... is it user error or a relay error??

Thanks

till
28th July 2006, 09:47
The webmail uses lawyas your local smtp server trough the "sendmail" command (which is provided by postfix and sendmail).

falko
28th July 2006, 15:17
search
nameserver 70.147.153.65
Are you sure this is a DNS server? Because I get this:

mh1:~# dig @70.147.153.65 google.de

; <<>> DiG 9.2.1 <<>> @70.147.153.65 google.de
;; global options: printcmd
;; connection timed out; no servers could be reached

Please try this in /etc/resolv.conf instead:

nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60

Griff
1st August 2006, 00:26
That ip is the IP of my Router apparently.

Griff
1st August 2006, 00:39
I changed the resolv.conf file and i'm still getting the relay access denied error :S

falko
1st August 2006, 14:51
What's in your mail log?

Griff
2nd August 2006, 01:53
No joke that's the exact contents of my mail.log file


server1:/var/log# pico mail.log
UW PICO(tm) 4.10 File: mail.log
server1:/var/log#
[ Read 0 line ]



Jul 1 23:51:48 server1 courierpop3login: LOGOUT, user=web21_dave, ip=[::ffff:86.30.19.2], top=0, retr=0, time=0
Jul 1 23:56:46 server1 courierpop3login: Connection, ip=[::ffff:86.30.19.2]
Jul 1 23:56:46 server1 courierpop3login: LOGIN, user=web21_studio, ip=[::ffff:86.30.19.2]
Jul 1 23:56:46 server1 courierpop3login: LOGOUT, user=web21_studio, ip=[::ffff:86.30.19.2], top=0, retr=0, time=0
Jul 1 23:56:48 server1 courierpop3login: Connection, ip=[::ffff:86.30.19.2]
Jul 1 23:56:48 server1 courierpop3login: LOGIN, user=web21_dave, ip=[::ffff:86.30.19.2]
Jul 1 23:56:49 server1 courierpop3login: LOGOUT, user=web21_dave, ip=[::ffff:86.30.19.2], top=0, retr=0, time=1
Jul 1 23:59:02 server1 postfix/postfix-script: stopping the Postfix mail system
Jul 1 23:59:02 server1 postfix/master[4917]: terminating on signal 15



That's from mail.log.ispconfigsave
the last time i rebooted the server was yesterday so it should have something in some of the mail logs shouldn't it?


Jul 4 19:16:11 server1 courierpop3login: LOGIN, user=web21_maggy, ip=[::ffff:82.38.176.207]
Jul 4 19:16:11 server1 courierpop3login: LOGOUT, user=web21_maggy, ip=[::ffff:82.38.176.207], top=0, retr=0, time=0
Jul 4 19:16:20 server1 authdaemond.plain: restarting authdaemond children
Jul 4 19:16:20 server1 authdaemond.plain: modules="authpam", daemons=5
Jul 4 19:16:23 server1 postfix/postfix-script: stopping the Postfix mail system
Jul 4 19:16:23 server1 postfix/master[12189]: terminating on signal 15



from mail.log.0
the final few lines of the logs

falko
3rd August 2006, 15:48
This means that the mails don't even arrive or go through your server, most likely because of wrong DNS records, a misconfigured firewall, etc.
Please check your DNS records again with dig.

Griff
12th August 2006, 01:14
report of Dig from another server not localhost.

i recieve all of my incoming mails without a problem it just fails on outgoing


dng@eeek:~$ dig zcubed.co.uk

; <<>> DiG 9.2.4 <<>> zcubed.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24005
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;zcubed.co.uk. IN A

;; ANSWER SECTION:
zcubed.co.uk. 900 IN A 70.147.153.69

;; Query time: 230 msec
;; SERVER: 194.176.65.5#53(194.176.65.5)
;; WHEN: Fri Aug 11 23:13:16 2006
;; MSG SIZE rcvd: 46

dng@eeek:~$

falko
13th August 2006, 20:22
And you don't see anything in your mail log when you send a mail? :confused: Then you should check the settings in your email client. What do you use as SMTP server in your email client? Did you try the IP address (70.147.153.69) to go sure it's not a DNS issue?

Griff
14th August 2006, 23:30
When trying with the IP i'm getting the following error message:

Sending of message failed.
The message could not be sent because connecting to SMTP server 70.147.153.69 failed. The server may be unavailable or is refusing SMTP connections. Please verify that your SMTP server setting is correct and try again, or else contact your network administrator.

Or with no username and user auth unticked i get.

An error occured while sending mail, The mail server responded <********@hotmail.com>: Relay access denied, Please verify that your email address is correct in your mail preferences and try again.

falko
15th August 2006, 17:40
When trying with the IP i'm getting the following error message:
Then Postfix isn't running, or a firewall is blocking it.
What's the output of netstat -tap and iptables -L?
Do you have a desktop firewall? That might also be the problem. Try to switch it off for testing purposes.

Griff
15th August 2006, 23:16
Netstat -tap results


server1:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 server1.zcubed.co.:5600 *:* LISTEN 9463/eggdrop
tcp 0 0 *:imaps *:* LISTEN 1221/couriertcpd
tcp 0 0 *:8067 *:* LISTEN 9440/ircd
tcp 0 0 *:pop3s *:* LISTEN 1244/couriertcpd
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1307/mysqld
tcp 0 0 *:ircd *:* LISTEN 9440/ircd
tcp 0 0 *:pop3 *:* LISTEN 1230/couriertcpd
tcp 0 0 *:imap2 *:* LISTEN 1207/couriertcpd
tcp 0 0 *:www *:* LISTEN 1520/apache2
tcp 0 0 *:81 *:* LISTEN 1545/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 13037/proftpd: (acc
tcp 0 0 server1.zcubed.c:domain *:* LISTEN 1702/named
tcp 0 0 localhost.locald:domain *:* LISTEN 1702/named
tcp 0 0 *:ssh *:* LISTEN 1456/sshd
tcp 0 0 *:smtp *:* LISTEN 13182/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 1702/named
tcp 0 0 server1.zcubed.co.:ircd 83-245-24-155.dsl.:1982 ESTABLISHED9440/ircd
tcp 0 0 localhost.localdo:32838 localhost.localdom:8067 ESTABLISHED9450/services
tcp 0 0 server1.zcubed.co:32839 server1.zcubed.co.:ircd ESTABLISHED9463/eggdrop
tcp 0 288 server1.zcubed.co.u:ssh 88-107-218-148.dyn:1185 ESTABLISHED32356/0
tcp 0 0 localhost.localdom:8067 localhost.localdo:32838 ESTABLISHED9440/ircd
tcp 0 0 server1.zcubed.co.:ircd server1.zcubed.co:32839 ESTABLISHED9440/ircd
server1:~#


iptables -L


server1:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
server1:~#

falko
16th August 2006, 17:58
I get this:

telnet 70.147.153.69 25
Trying 70.147.153.69...
Connected to 70.147.153.69.
Escape character is '^]'.and then it hangs. So Postfix is running, but I guess myhostname is wrong. What's in /etc/postfix/main.cf and in /etc/resolv.conf?

Edit: Forget the above, it just took a little bit longer (10 seconds or so) until the server responded. This is the output:

mh1:~# telnet 70.147.153.69 25
Trying 70.147.153.69...
Connected to 70.147.153.69.
Escape character is '^]'.
220 server1.zcubed.co.uk ESMTP Postfix (Debian/GNU)
ehlo localhost
250-server1.zcubed.co.uk
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.
As far as I can see this is ok. Please check your desktop firewall.