Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2011, 16:05
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2011, 16:21
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #3  
Old 25th October 2011, 16:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,419
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please see here:

http://www.howtoforge.com/forums/sho...1&postcount=25
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 25th October 2011, 16:43
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default Afterwards

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



Thanks for the link
Reply With Quote
  #5  
Old 25th October 2011, 16:53
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default Still can not send mail

I still can not send mail.


Thanks in advance for any help you can provide

Brian VEss
Reply With Quote
  #6  
Old 25th October 2011, 16:56
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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]
Reply With Quote
  #7  
Old 25th October 2011, 17:09
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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]
Reply With Quote
  #8  
Old 25th October 2011, 18:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,419
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please restart saslauthd.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 25th October 2011, 18:24
kvess kvess is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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]
Reply With Quote
  #10  
Old 25th October 2011, 18:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,419
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
 
Default

run:

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

and try again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot recieve email hestin Installation/Configuration 1 30th November 2009 14:05
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
cPHPezMail...wont send email - ispconfig gjcomputer Server Operation 1 22nd January 2009 03:23
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
cant send email after install. cortexx Installation/Configuration 1 16th August 2007 10:10


All times are GMT +2. The time now is 19:59.


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