Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-31 Thread geoffroy desvernay
Erdenebat Gantumur a écrit :
> Hi dear, Timo
> 
> When I execute dovecot -F then it doesn't exiting. During this time when
> try to telnet 110 port it shows
> 
> Escape character is '^]'.
> +OK Dovecot ready.
> ^]
> telnet> quit
> 
> Also i've set log and log_info path. In dovecot_info.log it's showing:
> 
> dovecot: 2008-10-23 01:23:39 Info: Dovecot v1.1.3 starting up
> dovecot: 2008-10-23 01:23:39 Info: auth(default): pgsql: Connected to
> postfix
> dovecot: 2008-10-23 01:25:09 Info: pop3-login: Disconnected (no auth
> attempts): rip=x.x.x.x, lip=x.x.x.x, secured
> dovecot: 2008-10-23 01:25:27 Info: imap-login: Disconnected (no auth
> attempts): rip=x.x.x.x, lip=x.x.x.x, secured
> dovecot: 2008-10-23 01:25:51 Info: pop3-login: Disconnected (no auth
> attempts): rip=x.x.x.x, lip=x.x.x.x, secured
> 
> What does it mean? How can I run dovecot just like common way
> /usr/local/etc/rc.d/dovecot start? When I execute that command it
> doesn't start. Thank you.
> 
Hi,

Are you sure there is smething like 'dovecot_enable="YES"' in /etc/rc.conf ?
tip: try

/usr/local/etc/rc.d/dovecot rcvar

Hope this helps

Geoffroy




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-23 Thread Proskurin Kirill

Timo Sirainen wrote:

The rc.d/dovecot script is broken then. I don't run FreeBSD so I don't
really know why. I'd suggest trying to figure out what it does
differently than simply running "dovecot" does.


I running Dovecot 1.1.3 on FreeBSD-7.0-p5 with Exim without any problem. 
All from ports.


Just for information what it is not a FreeBSD related problem.

--
Best regards,
Proskurin Kirill


Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 09:35 +0800, Erdenebat Gantumur wrote:
> Hi dear, Timo
> 
> When I execute dovecot -F then it doesn't exiting. During this time when
> try to telnet 110 port it shows
> 
> Escape character is '^]'.
> +OK Dovecot ready.
> ^]
> telnet> quit

OK, so Dovecot works.

> What does it mean? How can I run dovecot just like common way
> /usr/local/etc/rc.d/dovecot start? When I execute that command it
> doesn't start. Thank you.

The rc.d/dovecot script is broken then. I don't run FreeBSD so I don't
really know why. I'd suggest trying to figure out what it does
differently than simply running "dovecot" does.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-22 Thread Erdenebat Gantumur
Hi dear, Timo

When I execute dovecot -F then it doesn't exiting. During this time when
try to telnet 110 port it shows

Escape character is '^]'.
+OK Dovecot ready.
^]
telnet> quit

Also i've set log and log_info path. In dovecot_info.log it's showing:

dovecot: 2008-10-23 01:23:39 Info: Dovecot v1.1.3 starting up
dovecot: 2008-10-23 01:23:39 Info: auth(default): pgsql: Connected to
postfix
dovecot: 2008-10-23 01:25:09 Info: pop3-login: Disconnected (no auth
attempts): rip=x.x.x.x, lip=x.x.x.x, secured
dovecot: 2008-10-23 01:25:27 Info: imap-login: Disconnected (no auth
attempts): rip=x.x.x.x, lip=x.x.x.x, secured
dovecot: 2008-10-23 01:25:51 Info: pop3-login: Disconnected (no auth
attempts): rip=x.x.x.x, lip=x.x.x.x, secured

What does it mean? How can I run dovecot just like common way
/usr/local/etc/rc.d/dovecot start? When I execute that command it
doesn't start. Thank you.

Timo Sirainen wrote:
> On Wed, 2008-10-22 at 22:56 +0800, Erdenebat Gantumur wrote:
>   
>> Hi dear All,
>>
>> Currently I'm configuring Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7
>> Stable and using Dovecot v1.1.3. I hope I've configured everything. But
>> when I run /usr/local/etc/rc.d/dovecot start then dovecot doesn't seems
>> to running. /var/log/maillog is only showing following.
>> 
>
> Start Dovecot using "dovecot -F". If it doesn't exit, then it's running.
> If it does exit, what does it say?
>
>   



Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-22 Thread Timo Sirainen
On Wed, 2008-10-22 at 22:56 +0800, Erdenebat Gantumur wrote:
> Hi dear All,
> 
> Currently I'm configuring Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7
> Stable and using Dovecot v1.1.3. I hope I've configured everything. But
> when I run /usr/local/etc/rc.d/dovecot start then dovecot doesn't seems
> to running. /var/log/maillog is only showing following.

Start Dovecot using "dovecot -F". If it doesn't exit, then it's running.
If it does exit, what does it say?



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-22 Thread Erdenebat Gantumur
Also forgot to tell additional info. The FreeBSD 7 stable is actually
jail. Is someone faced with this issue running dovecot on jail? Thank you.

Erdenebat Gantumur wrote:
> Hi dear All,
>
> Currently I'm configuring Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7
> Stable and using Dovecot v1.1.3. I hope I've configured everything. But
> when I run /usr/local/etc/rc.d/dovecot start then dovecot doesn't seems
> to running. /var/log/maillog is only showing following.
>
> Oct 22 13:37:10 mail dovecot: Dovecot v1.1.3 starting up
> Oct 22 13:37:10 mail dovecot: auth(default): pgsql: Connected to postfix
> Oct 22 13:37:10 mail dovecot: auth-worker(default): pgsql: Connected to
> postfix
>
> Here is my current dovecot configuration. Please someone help me. What
> did I do wrong and what is the problem is? Thank you.
>
> mail# dovecot -n
> # 1.1.3: /usr/local/etc/dovecot.conf
> log_path: /var/log/dovecot.log
> info_log_path: /var/log/dovecot_info.log
> log_timestamp: %Y-%m-%d %H:%M:%S
> protocols: imap pop3
> listen(default): x.x.x.x:143
> listen(imap): x.x.x.x:143
> listen(pop3): x.x.x.x:110
> ssl_disable: yes
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/local/libexec/dovecot/imap-login
> login_executable(imap): /usr/local/libexec/dovecot/imap-login
> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
> login_greeting_capability(default): yes
> login_greeting_capability(imap): yes
> login_greeting_capability(pop3): no
> verbose_proctitle: yes
> first_valid_uid: 1983
> first_valid_gid: 1983
> mail_privileged_group: vmail
> mail_location: maildir:/var/vmail/%d/%n
> maildir_copy_preserve_filename: yes
> mail_executable(default): /usr/local/libexec/dovecot/imap
> mail_executable(imap): /usr/local/libexec/dovecot/imap
> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
> imap_client_workarounds(default): delay-newmail netscape-eoh
> tb-extra-mailbox-sep
> imap_client_workarounds(imap): delay-newmail netscape-eoh
> tb-extra-mailbox-sep
> imap_client_workarounds(pop3):
> pop3_enable_last(default): no
> pop3_enable_last(imap): no
> pop3_enable_last(pop3): yes
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> auth default:
>   mechanisms: plain login
>   username_format: %Lu
>   passdb:
> driver: sql
> args: /usr/local/etc/dovecot-sql.conf
>   userdb:
> driver: sql
> args: /usr/local/etc/dovecot-sql.conf
>   socket:
> type: listen
> client:
>   path: /var/run/dovecot/auth-client
>   mode: 432
> master:
>   path: /var/run/dovecot/auth-master
>   mode: 384
>
>
>
>   



[Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-22 Thread Erdenebat Gantumur
Hi dear All,

Currently I'm configuring Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7
Stable and using Dovecot v1.1.3. I hope I've configured everything. But
when I run /usr/local/etc/rc.d/dovecot start then dovecot doesn't seems
to running. /var/log/maillog is only showing following.

Oct 22 13:37:10 mail dovecot: Dovecot v1.1.3 starting up
Oct 22 13:37:10 mail dovecot: auth(default): pgsql: Connected to postfix
Oct 22 13:37:10 mail dovecot: auth-worker(default): pgsql: Connected to
postfix

Here is my current dovecot configuration. Please someone help me. What
did I do wrong and what is the problem is? Thank you.

mail# dovecot -n
# 1.1.3: /usr/local/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot_info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
listen(default): x.x.x.x:143
listen(imap): x.x.x.x:143
listen(pop3): x.x.x.x:110
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
verbose_proctitle: yes
first_valid_uid: 1983
first_valid_gid: 1983
mail_privileged_group: vmail
mail_location: maildir:/var/vmail/%d/%n
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_enable_last(default): no
pop3_enable_last(imap): no
pop3_enable_last(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login
  username_format: %Lu
  passdb:
driver: sql
args: /usr/local/etc/dovecot-sql.conf
  userdb:
driver: sql
args: /usr/local/etc/dovecot-sql.conf
  socket:
type: listen
client:
  path: /var/run/dovecot/auth-client
  mode: 432
master:
  path: /var/run/dovecot/auth-master
  mode: 384




[Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-22 Thread Erdenebat Guntomor
Hi dear All,

Currently I'm configuring Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7
Stable and using Dovecot v1.1.3. I hope I've configured everything. But
when I run /usr/local/etc/rc.d/dovecot start then dovecot doesn't seems
to running. /var/log/maillog is only showing following.

Oct 22 13:37:10 mail dovecot: Dovecot v1.1.3 starting up
Oct 22 13:37:10 mail dovecot: auth(default): pgsql: Connected to postfix
Oct 22 13:37:10 mail dovecot: auth-worker(default): pgsql: Connected to
postfix

Here is my current dovecot configuration. Please someone help me. What
did I do wrong and what is the problem is? Thank you.

mail# dovecot -n
# 1.1.3: /usr/local/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot_info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
listen(default): x.x.x.x:143
listen(imap): x.x.x.x:143
listen(pop3): x.x.x.x:110
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
verbose_proctitle: yes
first_valid_uid: 1983
first_valid_gid: 1983
mail_privileged_group: vmail
mail_location: maildir:/var/vmail/%d/%n
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_enable_last(default): no
pop3_enable_last(imap): no
pop3_enable_last(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login
  username_format: %Lu
  passdb:
driver: sql
args: /usr/local/etc/dovecot-sql.conf
  userdb:
driver: sql
args: /usr/local/etc/dovecot-sql.conf
  socket:
type: listen
client:
  path: /var/run/dovecot/auth-client
  mode: 432
master:
  path: /var/run/dovecot/auth-master
  mode: 384