View Single Post
  #17  
Old 20th July 2007, 21:24
Griff Griff is offline
Member
 
Join Date: May 2006
Posts: 53
Thanks: 3
Thanked 0 Times in 0 Posts
Default

YAY i finally got the mail sorted thanks to Falko BUT now i've got another problem... I can send mail using the internal webmail client but when i use a client such as Outlook or Thunderbird i get the following error

Quote:
Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'geminisounds.com', Server: 'amrhosting.info', Protocol: SMTP, Port: 25, Secure(SSL): No, Error Number: 0x800CCC0F
I have enabled my Server Requires authentication and tried all of the options that come with that but still to no avail. Postconf -n is as follows

Quote:
server1:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command =
mailbox_size_limit = 0
mydestination = /etc/postfix/local-host-names
myhostname = server1.amrhosting.info
mynetworks = 127.0.0.0/8 192.168.1.3/24
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
server1:~#
I forgot to mention when i do turn on my server requires authentication i keep getting the enter username and password box constantly i have tried entering numerous different usernames and passwords including the root username and password for the Debian Server but to no avail

Quote:
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 *:imaps *:* LISTEN 1415/couriertcpd
tcp 0 0 *op3s *:* LISTEN 1442/couriertcpd
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1330/mysqld
tcp 0 0 *op3 *:* LISTEN 1422/couriertcpd
tcp 0 0 *:imap2 *:* LISTEN 10896/couriertcpd
tcp 0 0 *:www *:* LISTEN 7715/apache2
tcp 0 0 *:81 *:* LISTEN 1686/ispconfig_http
tcp 0 0 server1.amrhosti:domain *:* LISTEN 7460/named
tcp 0 0 localhost.locald:domain *:* LISTEN 7460/named
tcp 0 0 *:ftp *:* LISTEN 7087/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 1546/sshd
tcp 0 0 *:smtp *:* LISTEN 19612/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 7460/named
tcp 0 0 *:https *:* LISTEN 7715/apache2
tcp 0 0 server1.amrhosting.:ssh 79-66-124-71.dynam:3442 ESTABLISHED17918/0
tcp 0 288 server1.amrhosting.:ssh 79-66-124-71.dynam:3729 ESTABLISHED18703/1
tcp 0 0 localhost.localdoma:ftp localhost.localdo:33585 TIME_WAIT -
tcp 0 0 localhost.localdo:33584 localhost.localdoma:www TIME_WAIT -
server1:~#
Quote:
Jul 20 19:29:12 server1 postfix/smtpd[19616]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jul 20 19:29:12 server1 postfix/smtpd[19616]: warning: 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]: SASL LOGIN authentication failed: generic failure
Jul 20 19:29:12 server1 postfix/smtpd[19616]: lost connection after AUTH from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:12 server1 postfix/smtpd[19616]: disconnect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:12 server1 postfix/smtpd[19616]: connect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:12 server1 postfix/smtpd[19616]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jul 20 19:29:12 server1 postfix/smtpd[19616]: warning: 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]: SASL LOGIN authentication failed: generic failure
Jul 20 19:29:12 server1 postfix/smtpd[19616]: lost connection after AUTH from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:12 server1 postfix/smtpd[19616]: disconnect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:13 server1 postfix/smtpd[19616]: connect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:14 server1 postfix/smtpd[19616]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jul 20 19:29:14 server1 postfix/smtpd[19616]: warning: 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]: SASL LOGIN authentication failed: generic failure
Jul 20 19:29:14 server1 postfix/smtpd[19616]: lost connection after AUTH from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:29:14 server1 postfix/smtpd[19616]: disconnect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:30:37 server1 courierpop3login: Connection, ip=[::ffff:79.66.124.71]
Jul 20 19:30:38 server1 courierpop3login: LOGIN, user=web2_info, ip=[::ffff:79.66.124.71]
Jul 20 19:30:38 server1 courierpop3login: LOGOUT, user=web2_info, ip=[::ffff:79.66.124.71], top=0, retr=0, rcvd=12, sent=39, time=0
Ok so it looks like SASLAUTH is failing here

Quote:
Jul 20 19:28:48 server1 postfix/smtpd[19616]: connect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]
Jul 20 19:28:48 server1 postfix/smtpd[19616]: NOQUEUE: reject: RCPT from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]: 554 5.7.1 <admin@dynamiteradio.co.uk>: Relay access denied; from=<info@geminisounds.com> to=<admin@$
Jul 20 19:28:48 server1 postfix/smtpd[19616]: disconnect from 79-66-124-71.dynamic.dsl.as9105.com[79.66.124.71]

Last edited by Griff; 20th July 2007 at 21:33.
Reply With Quote