HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Cant send email new install ispconfig 3 on ubuntu 11.10 (http://www.howtoforge.com/forums/showthread.php?t=54644)

kvess 25th October 2011 16:05

Cant send email new install ispconfig 3 on ubuntu 11.10
 
First, thank you for ISPCONFIG. I have been using it for a couple of years. I did a fresh server install on 11.10 ubuntu and I can receive mail but cant send it. I have no problem with my other server 11.04 ubuntu. I can telnet my domain and port 25 so my isp is not blocking port 25.


The mail log gives me this when I try to send. " warning: 207.235.65.84: hostname 207-235-65-84.static.twtelecom.net verification failed: Name or service not known"

I get this message when anyone tries to send mail in the mail log but with their ip. The computer just tells me that the username and password is wrong for smtp.

My main.cf is


# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = server-1.websoftpc.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server-1.websoftpc.com, localhost, localhost.localdomain
relayhost = smtp.comporium.net
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1

kvess 25th October 2011 16:21

This is the other message i get in mail log
 
server-1 postfix/smtpd[7868]: warning: unknown[207.235.65.84]: SASL PLAIN authentication failed: no mechanism available
Oct 25 10:16:17 server-1 postfix/smtpd[7868]: lost connection after AUTH from unknown[207.235.65.84]
Oct 25 10:16:17 server-1 postfix/smtpd[7868]: disconnect from unknown[207.235.65.84]


Thanks

till 25th October 2011 16:25

Please see here:

http://www.howtoforge.com/forums/sho...1&postcount=25

kvess 25th October 2011 16:43

Afterwards
 
Is there anything else i need to do afterwards like reboot or reconfigure certificates?



Thanks for the link

kvess 25th October 2011 16:53

Still can not send mail
 
I still can not send mail.


Thanks in advance for any help you can provide

Brian VEss

kvess 25th October 2011 16:56

New error message in mail log
 
connect from 216.sub-75-246-2.myvzw.com[75.246.2.216]
Oct 25 10:51:18 server-1 postfix/smtpd[2469]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Oct 25 10:51:18 server-1 postfix/smtpd[2469]: warning: 216.sub-75-246-2.myvzw.com[75.246.2.216]: SASL LOGIN authentication failed: generic failure
Oct 25 10:51:18 server-1 postfix/smtpd[2469]: disconnect from 216.sub-75-246-2.myvzw.com[75.246.2.216]

kvess 25th October 2011 17:09

Can someone please help
 
This is error message when I try to send now

Thanks


Oct 25 11:03:20 server-1 postfix/smtpd[2274]: connect from unknown[207.235.65.84]
Oct 25 11:03:20 server-1 imapd-ssl: LOGIN, user=brian@websoftpc.com, ip=[::ffff:207.235.65.84], port=[52100], protocol=IMAP
Oct 25 11:03:21 server-1 postfix/smtpd[2274]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Oct 25 11:03:21 server-1 postfix/smtpd[2274]: warning: SASL authentication failure: Password verification failed
Oct 25 11:03:21 server-1 postfix/smtpd[2274]: warning: unknown[207.235.65.84]: SASL PLAIN authentication failed: generic failure
Oct 25 11:03:21 server-1 postfix/smtpd[2274]: lost connection after AUTH from unknown[207.235.65.84]
Oct 25 11:03:21 server-1 postfix/smtpd[2274]: disconnect from unknown[207.235.65.84]

till 25th October 2011 18:07

Please restart saslauthd.

kvess 25th October 2011 18:24

This is the message from restart.
 
oot@server-1:/etc/postfix# /etc/init.d/saslauthd restart
* Stopping SASL Authentication Daemon saslauthd [ OK ]
* Starting SASL Authentication Daemon saslauthd /usr/sbin/saslauthd: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
[fail]

till 25th October 2011 18:34

run:

apt-get install libssl-dev ia32-libs-dev

and try again.


All times are GMT +2. The time now is 18:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.