Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 30th May 2009, 00:51
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
Exclamation Postfix/SMTP Issues ISPConfig2/Jaunty

Built new ISPConfig2 server last night. Things seemed to be just fine. Web sites working great. Email not so much.

I've redone all of the postfix configurations on page 5 and things still aren't working. Here's what we've got:

/etc/postfix/main.cf:
Code:
# 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 = no

# 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:${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 = ohdweb.protospace.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ohdweb.protospace.com,localhost.ohdweb.com,localhost.localdomain,localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
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_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_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

virtual_maps = hash:/etc/postfix/virtusertable

#mydestination = /etc/postfix/local-host-names
home_mailbox = Maildir/
/etc/default/saslauthd:
Code:
# Settings for saslauthd daemon
# Please read /usr/share/doc/sasl2-bin/README.Debian for details.
#

# Should saslauthd run automatically on startup? (default: no)
START=yes

# Description of this saslauthd instance. Recommended.
# (suggestion: SASL Authentication Daemon)
DESC="SASL Authentication Daemon"

# Short name of this saslauthd instance. Strongly recommended.
# (suggestion: saslauthd)
NAME="saslauthd"

# Which authentication mechanisms should saslauthd use? (default: pam)
#
# Available options in this Debian package:
# getpwent  -- use the getpwent() library function
# kerberos5 -- use Kerberos 5
# pam       -- use PAM
# rimap     -- use a remote IMAP server
# shadow    -- use the local shadow password file
# sasldb    -- use the local sasldb database file
# ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
#
# Only one option may be used at a time. See the saslauthd man page
# for more information.
#
# Example: MECHANISMS="pam"
MECHANISMS="pam"

# Additional options for this mechanism. (default: none)
# See the saslauthd man page for information about mech-specific options.
MECH_OPTIONS=""

# How many saslauthd processes should we run? (default: 5)
# A value of 0 will fork a new process for each connection.
THREADS=5

# Other options (default: -c -m /var/run/saslauthd)
# Note: You MUST specify the -m option or saslauthd won't run!
#
# WARNING: DO NOT SPECIFY THE -d OPTION.
# The -d option will cause saslauthd to run in the foreground instead of as
# a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish
# to run saslauthd in debug mode, please run it by hand to be safe.
#
# See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
# See the saslauthd man page and the output of 'saslauthd -h' for general
# information about these options.
#
# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
#OPTIONS="-c -m /var/run/saslauthd"
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
root@ohdweb:/# tail /var/log/mail.log
Quote:
May 29 17:40:18 ohdweb pop3d: Connection, ip=[::ffff:71.217.181.229]
May 29 17:40:22 ohdweb pop3d: LOGIN, user=odw7_newel, ip=[::ffff:71.217.181.229], port=[4113]
May 29 17:40:22 ohdweb pop3d: scancur opendir("cur"): No such file or directory
May 29 17:40:39 ohdweb pop3d: Connection, ip=[::ffff:71.217.181.229]
May 29 17:40:40 ohdweb pop3d: LOGIN, user=odw7_elena, ip=[::ffff:71.217.181.229], port=[4138]
May 29 17:40:40 ohdweb pop3d: LOGOUT, user=odw7_elena, ip=[::ffff:71.217.181.229], port=[4138], top=0, retr=0, rcvd=12, sent=39, time=0
May 29 17:40:58 ohdweb postfix/cleanup[15130]: fatal: trace: remove AFF8411D83B1 log: Permission denied
May 29 17:40:58 ohdweb postfix/tlsmgr[15131]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:40:59 ohdweb postfix/master[14758]: warning: process /usr/lib/postfix/cleanup pid 15130 exit status 1
May 29 17:40:59 ohdweb postfix/master[14758]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
root@ohdweb:/# tail /var/log/mail.warn
Quote:
May 29 17:39:58 ohdweb postfix/master[14758]: warning: process /usr/lib/postfix/cleanup pid 15041 exit status 1
May 29 17:39:58 ohdweb postfix/master[14758]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
May 29 17:39:58 ohdweb postfix/master[14758]: warning: process /usr/lib/postfix/tlsmgr pid 15042 exit status 1
May 29 17:39:58 ohdweb postfix/master[14758]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
May 29 17:40:58 ohdweb postfix/cleanup[15130]: fatal: trace: remove AFF8411D83B1 log: Permission denied
May 29 17:40:58 ohdweb postfix/tlsmgr[15131]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:40:59 ohdweb postfix/master[14758]: warning: process /usr/lib/postfix/cleanup pid 15130 exit status 1
May 29 17:40:59 ohdweb postfix/master[14758]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
May 29 17:40:59 ohdweb postfix/master[14758]: warning: process /usr/lib/postfix/tlsmgr pid 15131 exit status 1
May 29 17:40:59 ohdweb postfix/master[14758]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
root@ohdweb:/# tail /var/log/mail.err
Quote:
May 29 17:37:55 ohdweb postfix/cleanup[14976]: fatal: trace: remove A149111D83B1 log: Permission denied
May 29 17:37:55 ohdweb postfix/tlsmgr[14977]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:38:56 ohdweb postfix/cleanup[14999]: fatal: trace: remove A634A11D83B1 log: Permission denied
May 29 17:38:56 ohdweb postfix/tlsmgr[15000]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:39:57 ohdweb postfix/cleanup[15041]: fatal: trace: remove AB08E11D83B1 log: Permission denied
May 29 17:39:57 ohdweb postfix/tlsmgr[15042]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:40:58 ohdweb postfix/cleanup[15130]: fatal: trace: remove AFF8411D83B1 log: Permission denied
May 29 17:40:58 ohdweb postfix/tlsmgr[15131]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied
May 29 17:41:59 ohdweb postfix/cleanup[15162]: fatal: trace: remove B4D5011D83B1 log: Permission denied
May 29 17:41:59 ohdweb postfix/tlsmgr[15163]: fatal: open database /var/lib/postfix/smtp_scache.db: Permission denied

If I telnet localhost 25 then ehlo localhost it hangs (and I have to kill the window).

The ISPConfig management console shows the SMTP service stopped.

Last edited by 3DPeruna; 30th May 2009 at 00:53. Reason: Added Link
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
ispconfig2, jaunty, postfix, smtp

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 issues NewMee Installation/Configuration 7 20th April 2009 18:52
Mail issues with "The Perfect Server - CentOS 5.2 x86_64" dp6ai HOWTO-Related Questions 0 9th December 2008 13:43
Ubuntu Mail Server issues (warning: a long list!) klonos HOWTO-Related Questions 3 6th October 2007 14:18
Couple issues with ispconfig 2.2.12 after Fiesty upgrade pyropoptrt Installation/Configuration 15 1st May 2007 20:37
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 22:52


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


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