Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th October 2006, 19:34
assgoblin assgoblin is offline
Junior Member
 
Join Date: Oct 2006
Location: Cincinnati, Ohio
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy TPS Ubuntu Dapper Postfix Problem

I'm in page 5 at the end of Step 11. I'm telnetting in locally and after connecting, the session becomes unresponsive. I've restarted Postfix and it starts fine but restarting the SASL Daemon fails.

I'd like to continue from here if possible. If not, do I need to remove the packages I installed at the beginning of Step 11 or can I simply redo those steps?

Shoot. Will that even fix the issue?
__________________
"Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake. Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it."
Reply With Quote
Sponsored Links
  #2  
Old 12th October 2006, 10:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Yes, please redo these steps and double check all sasl related settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th October 2006, 17:43
assgoblin assgoblin is offline
Junior Member
 
Join Date: Oct 2006
Location: Cincinnati, Ohio
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, So I reran everything. My telnet output is:

Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.

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

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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 = stevedallas.selection.dom
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = stevedallas.selection.dom, localhost.selection.dom, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = 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_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

And here are the appropriate log entries:

Oct 12 11:34:23 stevedallas postfix/smtpd[26210]: fatal: no SASL authentication mechanisms
Oct 12 11:34:24 stevedallas postfix/master[26065]: warning: process /usr/lib/postfix/smtpd pid 26210 exit status 1
Oct 12 11:34:24 stevedallas postfix/master[26065]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling


I've looked through a lot of the other solutions but none seem to work for me. Any ideas? The server is being used in an internal test capacity only and will not be receiving traffic from the outside world. My internal subnet is 192.168.200.0.
__________________
"Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake. Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it."
Reply With Quote
  #4  
Old 12th October 2006, 18:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in etc/postfix/sasl/smtpd.conf and /etc/default/saslauthd?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th October 2006, 20:12
assgoblin assgoblin is offline
Junior Member
 
Join Date: Oct 2006
Location: Cincinnati, Ohio
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The first:
mech_list: plain_login
pwcheck_method: saslauthd
mech_list: plain login
pwcheck_method: saslauthd
mech_list: plain login

The second:

This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"
MECHANISMS="sasldb"
# MECHANISMS="pam"
__________________
"Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake. Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it."
Reply With Quote
  #6  
Old 13th October 2006, 15:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by assgoblin
The first:
mech_list: plain_login
pwcheck_method: saslauthd
mech_list: plain login
pwcheck_method: saslauthd
mech_list: plain login
It must be:

Code:
pwcheck_method: saslauthd
mech_list: plain login
Quote:
Originally Posted by assgoblin
The second:

This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"
MECHANISMS="sasldb"
# MECHANISMS="pam"
This one must read:

Code:
# This needs to be uncommented before saslauthd will be run automatically
START=yes

PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="pam"
as shown in the tutorial.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC juro HOWTO-Related Questions 10 22nd March 2007 19:01
Hostname problem in TPS Ubuntu 6.06 zicoz HOWTO-Related Questions 2 17th September 2006 16:12
Postfix Spam Filter using Ubuntu Dapper, MailScanner and ClamAV(beta) H8LinuxLOL HOWTO-Related Questions 8 28th August 2006 14:36
Postfix Spam Filter using Ubuntu Dapper, MailScanner and ClamAV...Where is the rest? mp3geek HOWTO-Related Questions 5 25th August 2006 23:30


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


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