[CentOS] Mail server, IMAP question

Ferdinando Santacroce jesus_was_rasta at yahoo.it
Tue Dec 12 08:45:39 UTC 2006


Thank you all for interest...

My postconf -n output is here:

[root at kines ~]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.3.4-documentation/html
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.4-documentation/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:901
virtual_mailbox_base = /vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 901
virtual_transport = virtual
virtual_uid_maps = static:901


Commenting this lines in dovecot.conf, the previus error disappear:
# Support for dynamically loadable modules.
#imap_use_modules = yes
#imap_modules = /usr/libexec/dovecot/imap

This because /usr/libexec/dovecot/imap is a file, not a directory...

Here last 100 rows of my /var/log/maillog log file

Dec 12 09:26:16 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:26:42 kines postfix/smtpd[8938]: fatal: unsupported dictionary type: mysql
Dec 12 09:26:43 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8938 exit status 1
Dec 12 09:26:43 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:27:10 kines postfix/pickup[8891]: fatal: watchdog timeout
Dec 12 09:27:11 kines postfix/master[3682]: warning: process /usr/libexec/postfix/pickup pid 8891 exit status 1
Dec 12 09:27:11 kines postfix/master[3682]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Dec 12 09:27:16 kines postfix/cleanup[8941]: fatal: unsupported dictionary type: mysql
Dec 12 09:27:17 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8941 exit status 1
Dec 12 09:27:17 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:27:43 kines postfix/smtpd[8942]: fatal: unsupported dictionary type: mysql
Dec 12 09:27:44 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8942 exit status 1
Dec 12 09:27:44 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:28:17 kines postfix/cleanup[8945]: fatal: unsupported dictionary type: mysql
Dec 12 09:28:18 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8945 exit status 1
Dec 12 09:28:18 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:28:44 kines postfix/smtpd[8946]: fatal: unsupported dictionary type: mysql
Dec 12 09:28:45 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8946 exit status 1
Dec 12 09:28:45 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:29:18 kines postfix/cleanup[8948]: fatal: unsupported dictionary type: mysql
Dec 12 09:29:19 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8948 exit status 1
Dec 12 09:29:19 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:29:45 kines postfix/smtpd[8949]: fatal: unsupported dictionary type: mysql
Dec 12 09:29:46 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8949 exit status 1
Dec 12 09:29:46 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:30:19 kines postfix/cleanup[8951]: fatal: unsupported dictionary type: mysql
Dec 12 09:30:20 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8951 exit status 1
Dec 12 09:30:20 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:30:46 kines postfix/smtpd[8952]: fatal: unsupported dictionary type: mysql
Dec 12 09:30:47 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8952 exit status 1
Dec 12 09:30:47 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:31:20 kines postfix/cleanup[8954]: fatal: unsupported dictionary type: mysql
Dec 12 09:31:21 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8954 exit status 1
Dec 12 09:31:21 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:31:43 kines sm-msp-queue[8940]: kBC7Qh93008675: timeout waiting for input from [127.0.0.1] during client greeting
Dec 12 09:31:43 kines sm-msp-queue[8940]: kBC7Qh93008675: to=root, delay=00:59:59, xdelay=00:05:00, mailer=relay, pri=121730, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:43 kines sm-msp-queue[8940]: kBC7Qh94008675: to=root, delay=00:59:59, xdelay=00:00:00, mailer=relay, pri=158768, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:45 kines sm-msp-queue[8940]: kBC3Qh93007558: to=webmin at kines.dyndns.org, delay=04:59:59, xdelay=00:00:00, mailer=relay, pri=482889, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:45 kines sm-msp-queue[8940]: kBC379Fu007325: to=root, ctladdr=root (0/0), delay=05:24:36, xdelay=00:00:00, mailer=relay, pri=570452, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:45 kines sm-msp-queue[8940]: kBC327UO007199: to=root, ctladdr=root (0/0), delay=05:29:38, xdelay=00:00:00, mailer=relay, pri=607462, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:46 kines sm-msp-queue[8940]: kBBN0dsS005644: to=jesus_was_rasta at yahoo.it, delay=09:31:07, xdelay=00:00:00, mailer=relay, pri=931726, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Dec 12 09:31:47 kines postfix/smtpd[8955]: fatal: unsupported dictionary type: mysql
Dec 12 09:31:48 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 8955 exit status 1
Dec 12 09:31:48 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:32:21 kines postfix/cleanup[8987]: fatal: unsupported dictionary type: mysql
Dec 12 09:32:22 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 8987 exit status 1
Dec 12 09:32:22 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:32:48 kines postfix/smtpd[9020]: fatal: unsupported dictionary type: mysql
Dec 12 09:32:49 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9020 exit status 1
Dec 12 09:32:49 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:33:22 kines postfix/cleanup[9023]: fatal: unsupported dictionary type: mysql
Dec 12 09:33:23 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9023 exit status 1
Dec 12 09:33:23 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:33:49 kines postfix/smtpd[9024]: fatal: unsupported dictionary type: mysql
Dec 12 09:33:50 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9024 exit status 1
Dec 12 09:33:50 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:34:23 kines postfix/cleanup[9026]: fatal: unsupported dictionary type: mysql
Dec 12 09:34:24 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9026 exit status 1
Dec 12 09:34:24 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:34:50 kines postfix/smtpd[9027]: fatal: unsupported dictionary type: mysql
Dec 12 09:34:51 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9027 exit status 1
Dec 12 09:34:51 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:35:24 kines postfix/cleanup[9029]: fatal: unsupported dictionary type: mysql
Dec 12 09:35:25 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9029 exit status 1
Dec 12 09:35:25 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:35:51 kines postfix/smtpd[9030]: fatal: unsupported dictionary type: mysql
Dec 12 09:35:52 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9030 exit status 1
Dec 12 09:35:52 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:36:25 kines postfix/cleanup[9033]: fatal: unsupported dictionary type: mysql
Dec 12 09:36:26 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9033 exit status 1
Dec 12 09:36:26 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:36:52 kines postfix/smtpd[9034]: fatal: unsupported dictionary type: mysql
Dec 12 09:36:53 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9034 exit status 1
Dec 12 09:36:53 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:37:26 kines postfix/cleanup[9036]: fatal: unsupported dictionary type: mysql
Dec 12 09:37:27 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9036 exit status 1
Dec 12 09:37:27 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:37:53 kines postfix/smtpd[9037]: fatal: unsupported dictionary type: mysql
Dec 12 09:37:54 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9037 exit status 1
Dec 12 09:37:54 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:38:27 kines postfix/cleanup[9039]: fatal: unsupported dictionary type: mysql
Dec 12 09:38:28 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9039 exit status 1
Dec 12 09:38:28 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:38:54 kines postfix/smtpd[9040]: fatal: unsupported dictionary type: mysql
Dec 12 09:38:55 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9040 exit status 1
Dec 12 09:38:55 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:39:28 kines postfix/cleanup[9042]: fatal: unsupported dictionary type: mysql
Dec 12 09:39:29 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9042 exit status 1
Dec 12 09:39:29 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:39:55 kines postfix/smtpd[9044]: fatal: unsupported dictionary type: mysql
Dec 12 09:39:56 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9044 exit status 1
Dec 12 09:39:56 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:40:29 kines postfix/cleanup[9046]: fatal: unsupported dictionary type: mysql
Dec 12 09:40:30 kines postfix/master[3682]: warning: process /usr/libexec/postfix/cleanup pid 9046 exit status 1
Dec 12 09:40:30 kines postfix/master[3682]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Dec 12 09:40:56 kines postfix/smtpd[9048]: fatal: unsupported dictionary type: mysql
Dec 12 09:40:57 kines postfix/master[3682]: warning: process /usr/libexec/postfix/smtpd pid 9048 exit status 1
Dec 12 09:40:57 kines postfix/master[3682]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Dec 12 09:40:57 kines dovecot-auth: MySQL: Can't connect to database postfix: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
Dec 12 08:40:57 kines imap-login: Disconnected [127.0.0.1]


After a reboot, things become more complicated... New errors...

I need to learn how to setup this kind of software, I know...

Thank to all...
Nando


Feizhou ha scritto:
>
>> I follow some howto's, and now I can send email from my domain.
>> In this my local server I configured some virtual http server, using 
>> Webmin and Virtualmin, and all works well.
>> I use a dyndns.org free domain to make my server worldwide available, 
>> and I have a BIND DNS server to spread the word...
>
> right...
>
>>
>> In this solution, I have an http server up and running, and email 
>> that I send using a webmail client are all correctly delivered.
>> Searching in maillog , I see many error like this:
>>
>> Dec 11 17:46:54 kines imap(nando at kines.dyndns.org): 
>> opendir(/usr/libexec/dovecot/imap) failed: Not a directory
>
> Looks like a misconfiguration somewhere. I love it when people follow 
> howtos and don't tell us which ones when they come looking for help.
>
>>
>> "kines" is my domain (kines.dyndns.org), and this is my mail server, too
>>
>> So I can send email but there's no way to receive them.
>> I tried to send me some email from different email accounts, but 
>> nothing in my inbox...
>> And I don't receive error from servers, so appear that email are 
>> correctly delivered to my server...
>
> Did you look at the logs to ensure that mails for local mailboxes were 
> being delivered properly?
>
>>
>> There's a way to understand if is only a problem about wrong 
>> configuration of mail boxes, testing if my server work well?
>> And I want to know if I need to configure a MX record in my DNS 
>> server and if I need to wait while my DNS server spread the new email 
>> alias worldwide.
>>
>
> If your domain is kines.dyndns.org then you do not necessarily need a 
> MX record. MTA's will lookup the A record of kines.dyndns.org if they 
> do not find a MX record when attempting delivery.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> __________ Informazione NOD32 1913 (20061209) __________
>
> Questo messaggio  è stato controllato dal Sistema Antivirus NOD32
> http://www.nod32.it
>
>
>
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



More information about the CentOS mailing list