HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ispconfig 3.0.3 email problems (http://www.howtoforge.com/forums/showthread.php?t=55712)

sethos 10th January 2012 23:09

ispconfig 3.0.3 email problems
 
greetings all long time no post, but hey my centos 5.3 perfect ispconfig
3.0.3 upgraded from 3.0.2 is up and running for 145 days.

but i finished setting up mail,as described in the centos5.3 perfect set up.

here is some info

tail of maillog:

sumhap postfix/qmgr[12933]: fatal: unsupported dictionary type: mysql
Jan 10 16:42:16 sumhap postfix/master[31480]: warning: process /usr/libexec/postfix/qmgr pid 12933 exit status 1
Jan 10 16:42:16 sumhap postfix/master[31480]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Jan 10 16:43:05 sumhap postfix/smtpd[12968]: fatal: unsupported dictionary type: mysql
Jan 10 16:43:06 sumhap postfix/master[31480]: warning: process /usr/libexec/postfix/smtpd pid 12968 exit status 1
Jan 10 16:43:06 sumhap postfix/master[31480]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 10 16:43:16 sumhap postfix/qmgr[12969]: fatal: unsupported dictionary type: mysql
Jan 10 16:43:17 sumhap postfix/master[31480]: warning: process /usr/libexec/postfix/qmgr pid 12969 exit status 1
Jan 10 16:43:17 sumhap postfix/master[31480]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Jan 10 16:44:06 sumhap postfix/smtpd[13006]: fatal: unsupported dictionary type: mysql
Jan 10 16:44:07 sumhap postfix/master[31480]: warning: process /usr/libexec/postfix/smtpd pid 13006 exit status 1
Jan 10 16:44:07 sumhap postfix/master[31480]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

netstat -tap
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdomain:2208 *:* LISTEN 2813/hpiod
tcp 0 0 *:965 *:* LISTEN 2479/rpc.statd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 2969/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 31480/master
tcp 0 0 *:mysql *:* LISTEN 22276/mysqld
tcp 0 0 *:rtps-dd-mt *:* LISTEN 3253/hptsvr
tcp 0 0 *:7403 *:* LISTEN 3253/hptsvr
tcp 0 0 localhost.local:dyna-access *:* LISTEN 2875/clamd
tcp 0 0 *:sunrpc *:* LISTEN 2438/portmap
tcp 0 0 sumhap.com:http *:* LISTEN 1540/httpd
tcp 0 0 ns1.sumhap.com:domain *:* LISTEN 13875/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 13875/named
tcp 0 0 *:ftp *:* LISTEN 22316/pure-ftpd (SE
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2840/cupsd
tcp 0 0 *:smtp *:* LISTEN 31480/master
tcp 0 0 sumhap.com:rndc *:* LISTEN 13875/named
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 13875/named
tcp 0 0 localhost.localdomain:2207 *:* LISTEN 2818/python
tcp 0 0 localhost.localdomain:56589 localhost.localdomain:ftp TIME_WAIT -
tcp 118 0 localhost.localdomain:smtp localhost.localdomain:45775 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:40913 CLOSE_WAIT -
tcp 0 0 sumhap.com:smtp 58.6.207.91.unknown.S:35243 ESTABLISHED -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.:aeroflight-ads CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp:hpss-ndapi CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.:instantia CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gnvl.:nmsd CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dh:opennl-voice CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gn:mpshrsv CLOSE_WAIT -
tcp 0 0 mail.sumhap.com:smtp 58.6.207.91.unknown.S:60268 ESTABLISHED -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gnvl:dmidi CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.g:netmagic CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.:cmmdriver CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gnvl.:dsdn CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gnvl.s:els CLOSE_WAIT -
tcp 1 0 mail.sumhap.com:smtp 96-37-29-89.dhcp.gnvl.:xtel CLOSE_WAIT -
tcp 0 0 *:imaps *:* LISTEN 2998/couriertcpd
tcp 0 0 *:pop3s *:* LISTEN 3020/couriertcpd
tcp 0 0 *:pop3 *:* LISTEN 3004/couriertcpd
tcp 0 0 *:imap *:* LISTEN 2981/couriertcpd
tcp 0 0 *:hosts2-ns *:* LISTEN 1540/httpd
tcp 0 0 *:tproxy *:* LISTEN 1540/httpd
tcp 0 0 *:ftp *:* LISTEN 22316/pure-ftpd (SE
tcp 0 0 *:ssh *:* LISTEN 2831/sshd
tcp 0 0 *:https *:* LISTEN 1540/httpd
tcp 0 2072 sumhap.com:ssh 96-37-29-89.dhcp.g:csdmbase ESTABLISHED 12210

mail_ tables in the ispconfDB some of these dont have any data in them
mail_access |
| mail_content_filter |
| mail_domain |
| mail_forwarding |
| mail_get |
| mail_greylist |
| mail_mailman_domain |
| mail_relay_recipient |
| mail_traffic |
| mail_transport |
| mail_user |
| mail_user_filter |
|
im trying first to set up my main domain sumhap.com as imap and then all the other domains as imap/pop3

any help wouled be obliged
sethos

falko 11th January 2012 15:49

Quote:

sumhap postfix/qmgr[12933]: fatal: unsupported dictionary type: mysql
I guess you updated Postfix? By default, Postfix on CentOS 5.x has no MySQL support, so you'd have to install a Postfix with MySQL support again, and then make sure it doesn't get updated anymore.

sethos 12th January 2012 19:26

danka (sp)
 
thanks ill try this out, and thanks for the large font.

sethos 14th January 2012 03:05

stab 2
 
so when iget to here:

./mkimapdcert
./mkpop3dcert

iget
in]# ./mkimapdcert
Error Loading extension section cert_type
[root@sumhap sbin]# ./mkpop3dcert
Error Loading extension section cert_type
[root@sumhap sbin]# ./mkimapdcert
Error Loading extension section cert_type
[root@sumhap sbin]# ./mkpop3dcert
Error Loading extension section cert_type



here are my .cnf files

cat /usr/lib/courier-imap/etc/*.cnf

RANDFILE = /usr/lib/courier-imap/share/imapd.rand

[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no

[ req_dn ]
C=US
ST=NC
L=Asheville
O=Courier Mail Server
OU=Automatically-generated IMAP SSL key
CN=earth.sumhap.com

RANDFILE = /usr/lib/courier-imap/share/pop3d.rand

[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no

[ req_dn ]
C=US
ST=NC
L=Asheville
O=Courier Mail Server
OU=Automatically-generated POP3 SSL key
CN=earth.sumhap.com
[root@sumhap sbin]#

sethos 14th January 2012 21:16

i added:

[ cert_type ]
nsCertType = server

To both my .cnf files and now there making .pem
files

but when testing w thunderbird both imap and pop3 iget

/etc/init.d/postfix check
[root@sumhap share]# tail -f /var/log/maillog
Jan 14 04:02:13 sumhap postfix/smtpd[2000]: fatal: no SASL authentication mechanisms
Jan 14 04:02:14 sumhap postfix/master[23057]: warning: process /usr/libexec/postfix/smtpd pid 2000 exit status 1
Jan 14 04:02:14 sumhap postfix/master[23057]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 14 04:02:14 sumhap sendmail[1696]: q0E923np001696: to=root, ctladdr=root (0/0), delay=00:00:11, xdelay=00:00:01, mailer=relay, pri=68678, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
Jan 14 14:50:54 sumhap postfix/postfix-script: stopping the Postfix mail system
Jan 14 14:50:54 sumhap postfix/master[23057]: terminating on signal 15
Jan 14 14:50:54 sumhap sendmail[32029]: alias database /etc/aliases rebuilt by snn
Jan 14 14:50:54 sumhap sendmail[32029]: /etc/aliases: 78 aliases, longest 10 bytes, 786 bytes total
Jan 14 14:50:54 sumhap postfix/postfix-script: starting the Postfix mail system
Jan 14 14:50:54 sumhap postfix/master[32075]: daemon started -- version 2.3.3, configuration /etc/postfix


Jan 14 14:56:45 sumhap pop3d-ssl: couriertls: accept: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Jan 14 14:56:45 sumhap pop3d-ssl: Connection, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap last message repeated 2 times
Jan 14 14:56:46 sumhap pop3d-ssl: LOGOUT, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap pop3d-ssl: Disconnected, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap pop3d-ssl: LOGOUT, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap pop3d-ssl: Disconnected, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap pop3d-ssl: LOGOUT, ip=[::ffff:96.37.29.89]
Jan 14 14:56:46 sumhap pop3d-ssl: Disconnected, ip=[::ffff:96.37.29.89]
Jan 14 14:56:55 sumhap postfix/smtpd[32378]: warning: SASL: Connect to private/auth failed: No such file or directory
Jan 14 14:56:55 sumhap postfix/smtpd[32378]: fatal: no SASL authentication mechanisms
Jan 14 14:56:55 sumhap postfix/smtpd[32381]: warning: SASL: Connect to private/auth failed: No such file or directory
Jan 14 14:56:55 sumhap postfix/smtpd[32381]: fatal: no SASL authentication mechanisms
Jan 14 14:56:56 sumhap postfix/master[32075]: warning: process /usr/libexec/postfix/smtpd pid 32378 exit status 1
Jan 14 14:56:56 sumhap postfix/master[32075]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 14 14:56:56 sumhap postfix/master[32075]: warning: process /usr/libexec/postfix/smtpd pid 32381 exit status 1
Jan 14 15:02:21 sumhap imapd-ssl: couriertls: accept: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Jan 14 15:02:21 sumhap imapd-ssl: Connection, ip=[::ffff:96.37.29.89]
Jan 14 15:02:21 sumhap last message repeated 2 times
Jan 14 15:02:21 sumhap imapd-ssl: LOGOUT, ip=[::ffff:96.37.29.89], rcvd=24, sent=468
Jan 14 15:02:21 sumhap last message repeated 2 times
Jan 14 15:02:31 sumhap postfix/smtpd[32653]: warning: SASL: Connect to private/auth failed: No such file or directory
Jan 14 15:02:31 sumhap postfix/smtpd[32653]: fatal: no SASL authentication mechanisms
Jan 14 15:02:31 sumhap postfix/smtpd[32655]: warning: SASL: Connect to private/auth failed: No such file or directory
Jan 14 15:02:31 sumhap postfix/smtpd[32655]: fatal: no SASL authentication mechanisms
Jan 14 15:02:32 sumhap postfix/master[32075]: warning: process /usr/libexec/postfix/smtpd pid 32653 exit status 1
Jan 14 15:02:32 sumhap postfix/master[32075]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 14 15:02:32 sumhap postfix/master[32075]: warning: process /usr/libexec/postfix/smtpd pid 32655 exit status 1

so i think i need a lil more help.

thanks in advance,
Sethos

ps which rpms should i install?
in here:
cd $HOME/rpm/RPMS/x86_64

falko 15th January 2012 20:34

Please try to update ISPConfig as follows:

Code:

cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php


sethos 17th February 2012 19:06

Did the upgrade, no help
 
FILES LISTED UNDER /etc/postfix:

ostfix]# ls
access mime_header_checks mysql-virtual_transports.cf
body_checks mysql-virtual_client.cf mysql-virtual_transports.cf~
bounce.cf.default mysql-virtual_client.cf~ nested_header_checks
canonical mysql-virtual_domains.cf postfix-files
generic mysql-virtual_domains.cf~ postfix-script
header_checks mysql-virtual_email2email.cf post-install
LICENSE mysql-virtual_email2email.cf~ prng_exch
local-host-names mysql-virtual_forwardings.cf relocated
local-host-names~ mysql-virtual_forwardings.cf~ smtpd.cert
main.cf mysql-virtual_mailboxes.cf smtpd.key
main.cf~ mysql-virtual_mailboxes.cf~ ssl
main.cf~2 mysql-virtual_recipient.cf TLS_LICENSE
main.cf~3 mysql-virtual_recipient.cf~ transport
main.cf.default mysql-virtual_relaydomains.cf virtual
main.cf.orig mysql-virtual_relaydomains.cf~ virtusertable
main.old.cf mysql-virtual_relayrecipientmaps.cf virtusertable~
makedefs.out mysql-virtual_relayrecipientmaps.cf~ virtusertable.db
master.cf mysql-virtual_sender.cf
master.cf~ mysql-virtual_sender.cf~

so to the novice eye it looks like postfix +mysql has been installed how do i test thisaster.cf need to mention mysql db and user like some of the other files do?

here is a tail of maillog when i restart postfix.
Feb 17 12:50:23 sumhap postfix/postfix-script: stopping the Postfix mail system
Feb 17 12:50:23 sumhap postfix/master[1591]: terminating on signal 15
Feb 17 12:50:23 sumhap sendmail[2645]: alias database /etc/aliases rebuilt by snn
Feb 17 12:50:23 sumhap sendmail[2645]: /etc/aliases: 78 aliases, longest 10 bytes, 786 bytes total
Feb 17 12:50:23 sumhap postfix/postfix-script: starting the Postfix mail system
Feb 17 12:50:23 sumhap postfix/master[2692]: daemon started -- version 2.3.3, configuration /etc/postfix

now ill send myself an email:
more maillog:


Feb 17 12:54:41 sumhap postfix/smtpd[2854]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Feb 17 12:54:41 sumhap postfix/smtpd[2854]: connect from mail-yw0-f51.google.com[209.85.213.51]
Feb 17 12:54:41 sumhap postfix/smtpd[2854]: NOQUEUE: reject: RCPT from mail-yw0-f51.google.com[209.85.213.51]: 550 5.1.1 <pop.snn@sumhap.com>: Recipient address rejected: User unknown in local recipient table; from=<seth.nordmeyer@gmail.com> to=<pop.snn@sumhap.com> proto=ESMTP helo=<mail-yw0-f51.google.com>
Feb 17 12:54:41 sumhap postfix/smtpd[2854]: disconnect from mail-yw0-f51.google.com[209.85.213.51]


returned message:
Delivery to the following recipient failed permanently:

pop.snn@sumhap.com

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 5.1.1 <pop.snn@sumhap.com>: Recipient address rejected: User unknown in local recipient table (state 14).

----- Original message -----
please help i am almost there
sethos

falko 18th February 2012 12:15

Did you create the email account pop.snn@sumhap.com through ISPConfig?

What's in /etc/postfix/main.cf?

sethos 18th February 2012 20:55

main.cfs
 
yes first i created the domain then the email w/ ispconfig there is no user linux or ispconfig for pop.snn there are several main.cf's i will head them all then cat the currrent main.cf

3 17:34 main.cf~
-rw-r--r-- 1 root root 29686 Jul 29 2011 main.cf~2
-rw-r--r-- 1 root root 29345 Jun 23 2011 main.cf~3
-rw-r--r-- 1 root root 18368 Jan 12 18:59 main.cf.default
-rw-r--r-- 1 root root 27472 Apr 29 2011 main.cf.orig

no the heads:
==> main.cf~ <==

==> main.cf~2 <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,

==> main.cf~3 <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,

==> main.cf.default <==
# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE
# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.
#
2bounce_notice_recipient = postmaster
access_map_reject_code = 554
address_verify_default_transport = $default_transport
address_verify_local_transport = $local_transport
address_verify_map =
address_verify_negative_cache = yes
address_verify_negative_expire_time = 3d

==> main.cf.orig <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
[root@sumhap postfix]# head -15 main.c*
==> main.cf <==

==> main.cf~ <==

==> main.cf~2 <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.

# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for

==> main.cf~3 <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.

# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for

==> main.cf.default <==
# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE
# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX.
#
2bounce_notice_recipient = postmaster
access_map_reject_code = 554
address_verify_default_transport = $default_transport
address_verify_local_transport = $local_transport
address_verify_map =
address_verify_negative_cache = yes
address_verify_negative_expire_time = 3d
address_verify_negative_refresh_time = 3h
address_verify_poll_count = 3
address_verify_poll_delay = 3s
address_verify_positive_expire_time = 31d
address_verify_positive_refresh_time = 7d

==> main.cf.orig <==
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.

# SOFT BOUNCE p

that could be the problem.
thanks,
sethos

falko 19th February 2012 14:19

I need the contents of /etc/postfix/main.cf - no other file.


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

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