Problem SSL entrust certificate

2019-05-30 Thread Il Neofita via dovecot
Hi
I have compiled dovecot 2.3.6 on RH 8, and I copied the configuration from
dovecot 2.0.9
however, when I try to connect the new machine the certificate is not
recognized
The same certificate is working with apache

CONNECTED(0004)
depth=0 ...
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 ...
verify error:num=21:unable to verify the first certificate
verify return:1
...
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 2311 bytes and written 404 bytes
Verification error: unable to verify the first certificate


Dovecot delete and expunge loop

2016-07-05 Thread Il Neofita
Hi
I am using dovecot 2.0.9 with redhat 6.8
One client with Outlook 2013 is deleting and expunging and email over and
over changing the uid.
I am not able to understand how to solve it.


Sieve and forward

2015-09-17 Thread Il Neofita
Hi
I have already posted to the postfix group, however, I believe that sieve
and dovecot should be able to fix this problem.
When I receive a message from yahoo and the user forward it to a gmail or
yahoo acount this email is considered as spam or rejected.
>From yahoo is rejected since it seems that I am try to send spam since the
email should be signed with dkim.
Is there a way to encpuslated or sign in some way.

Thank you


Problem with SHA2/Geotrust and dovecot 2.0.9

2015-09-08 Thread Il Neofita
Hi
I have renew my geotrust certificate using sha2, and I have problem with
Dovecot 2.0.9 and redhat 6.7.
The same certificate is working in Apache.

The error is

dovecot: imap-login: Fatal: Can't load ssl_cert: There is no valid PEM
certificate.

and the configuration file is

ssl_cert=

Re: [Dovecot] Dovequota Mbox - NFS - Quota Does not work

2011-02-28 Thread Il Neofita
 you've got the quota command working, could you try telnetting to port 
 143 or openssl s_client -connect yourserver:sslport, logging in and doing 
 getquotaroot inbox? If you haven't done this before, the following page may 
 help you:

 http://bobpeers.com/technical/telnet_imap.php

 Hope this helps,
 David Warden

 On Feb 27, 2011, at 5:36 AM, Il Neofita wrote:

 You are right, here a merge everything

 Hi
 I am not able to get the quota out from dovecot
 I have tried with thunderbird and roundcube without luck
 this is my conf

 # 2.0.9: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux
 Server release 6.0 (Santiago)
 mail_debug = yes
 mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u
 mail_nfs_storage = yes
 mbox_write_locks = fcntl
 passdb {
 driver = pam
 }
 plugin {
 mail_log_events = delete undelete expunge copy mailbox_delete
 mailbox_rename imap_quota quota
 mail_log_fields = uid box msgid size
 quota = fs:bigfat:mount=/home
 quota2 = fs:INBOX:mount=/mail
 }
 ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
 ssl_key = /etc/pki/dovecot/private/dovecot.pem
 userdb {
 driver = passwd
 }
 protocol imap {
 mail_plugins = quota imap_quota
 }

 DF
 /dev/mapper/mail_group-mail
                    780152128    202024 740320692   1% /mail
 bigfat.localserver:/export/home0/centos
                    198381216  64283072 123858336  35% /home/centos

 and this is the log

 Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Loading modules from
 directory: /usr/lib64/dovecot/auth
 Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libauthdb_ldap.so
 Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libdriver_sqlite.so
 Feb 27 05:30:35 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libmech_gssapi.so
 Feb 27 05:30:35 mailerweb dovecot: auth: Debug: new auth connection: 
 pid=10514
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client in:
 AUTH#0111#011PLAIN#011service=imap#011secured#011lip=SERVERIP#011rip=CLIENTIP#011lport=993#011rport=49186
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client out: CONT#0111#011
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client in: CONThidden
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Loading modules from
 directory: /usr/lib64/dovecot/auth
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libauthdb_ldap.so
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libdriver_sqlite.so
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: Module loaded:
 /usr/lib64/dovecot/auth/libmech_gssapi.so
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: pam(centos,CLIENTIP):
 lookup service=dovecot
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: pam(centos,CLIENTIP):
 #1/1 style=1 msg=Password:
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: client out:
 OK#0111#011user=centos
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: master in:
 REQUEST#0111#01110514#0111#0113e6c35de88f54672e76f353542acc8a4
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: passwd(centos,CLIENTIP): 
 lookup
 Feb 27 05:30:36 mailerweb dovecot: auth: Debug: master out:
 USER#0111#011centos#011system_groups_user=centos#011uid=6277#011gid=600#011home=/home/centos
 Feb 27 05:30:36 mailerweb dovecot: imap-login: Login: user=centos,
 method=PLAIN, rip=CLIENTIP, lip=SERVERIP, mpid=10519, TLS
 Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Loading modules from
 directory: /usr/lib64/dovecot
 Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Module loaded:
 /usr/lib64/dovecot/lib10_quota_plugin.so
 Feb 27 05:30:36 mailerweb dovecot: imap: Debug: Module loaded:
 /usr/lib64/dovecot/lib11_imap_quota_plugin.so
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Effective
 uid=6277, gid=600, home=/home/centos
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Quota root:
 name=INBOX backend=fs args=mount=/mail
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: Quota root:
 name=Others backend=fs args=mount=/home
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs:
 root=/home/centos/mail, index=/mail/indexes/centos, control=,
 inbox=/mail/spool/centos
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota add
 mailbox dir = /home/centos/mail
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota block
 device = bigfat.localserver:/export/home0/centos
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota mount
 point = /home/centos
 Feb 27 05:30:36 mailerweb dovecot: imap(centos): Debug: fs quota mount
 type = nfs
 Feb 27 05:30:37 mailerweb dovecot: imap(centos): Debug:
 box=/mail/spool/centos mount=/mail match=yes
 Feb 27 05:30:37 mailerweb dovecot: imap(centos): Debug:
 box=/mail/spool/centos mount=/home match=no
 Feb 27 05:30:52 mailerweb dovecot: imap(centos): Debug:
 box=/mail/spool/centos mount=/mail match=yes
 Feb 27 05:30:52

Re: [Dovecot] Dovequota Mbox - NFS - Quota Does not work

2011-02-28 Thread Il Neofita
Ok
Thank you soo much

these are the results
2 getquota Others
* QUOTA Others ()
2 OK Getquota completed.
3 getquota INBOX
* QUOTA INBOX ()
3 OK Getquota completed.



On Mon, Feb 28, 2011 at 9:57 AM, Timo Sirainen t...@iki.fi wrote:
 On Mon, 2011-02-28 at 09:28 -0500, Il Neofita wrote:
 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: Quota root:
 name=INBOX backend=fs args=mount=/mail
 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: Quota root:
 name=Others backend=fs args=mount=/home

 So it sees these both..

 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: fs quota add
 mailbox dir = /mail
 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: fs quota block
 device = /dev/mapper/mail_group-mail
 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: fs quota mount
 point = /mail
 Feb 28 09:24:03 mailerweb dovecot: imap(centos): Debug: fs quota mount
 type = ext4

 But it only adds ext4 quota, no NFS quota..

 These are the outputs from the telnet
 2 getquotaroot INBOX
 2 OK No quota.
 3 getquotaroot inbox
 3 OK No quota.

 You could try what these say:

 a getquota INBOX
 b getquota Others

 I guess both say No quota though.

 plugin {
   mail_log_events = delete undelete expunge copy mailbox_delete 
 mailbox_rename
   mail_log_fields = uid box msgid size
   mail_log_group_events = no
   quota = fs:INBOX:mount=/mail
   quota2 = fs:Others:mount=/home

 You could first try getting only one the quotas to work.

 In any case, I don't really see anything wrong in your configs, so I
 have no idea why it's not working. I also can't easily test any quota
 configs myself, and this looks like it would require some debugging to
 solve..




Re: [Dovecot] Dovequota Mbox - NFS - Quota Does not work

2011-02-27 Thread Il Neofita
 to help you get the info here so
 someone who can help will be able to.

 Also - please provide all of the relevant details in the same message,
 don't make people go back and read the entire thread (yes, that would
 mean reposting doveconf -n output)...

 On 2/25/2011 3:27 PM, Il Neofita wrote:
 Ok
 same problem
 # 2.0.9: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux
 Server release 6.0 (Santiago)
 mail_debug = yes
 mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u
 mail_nfs_storage = yes
 mbox_write_locks = fcntl
 passdb {
   driver = pam
 }
 plugin {
   mail_log_events = delete undelete expunge copy mailbox_delete
 mailbox_rename imap_quota quota
   mail_log_fields = uid box msgid size
   quota = fs:fraser:mount=/home
   quota2 = fs:INBOX:mount=/mail
 }
 ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
 ssl_key = /etc/pki/dovecot/private/dovecot.pem
 userdb {
   driver = passwd
 }
 protocol imap {
   mail_plugins = quota imap_quota
 }

 DF
 /dev/mapper/mail_group-mail
                      780152128    202024 740320692   1% /mail
 bigfat.localserver:/export/home0/centos
                      198381216  64283072 123858336  35% /home/centos


 On Fri, Feb 25, 2011 at 2:50 PM, Charles Marcus
 cmar...@media-brokers.com wrote:
 On 2011-02-25 1:58 PM, Il Neofita wrote:
 I am not able to get the quota out from dovecot
 I have tried with thunderbird and roundcube without luck
 this is my conf

 # 2.0.beta6

 Upgrade first, them come back with question.

 Too many fixes since beta6...



[Dovecot] Dovequota Mbox - NFS - Quota Does not work

2011-02-25 Thread Il Neofita
Hi
I am not able to get the quota out from dovecot
I have tried with thunderbird and roundcube without luck
this is my conf

# 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux
Server release 6.0 (Santiago)
mail_debug = yes
mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u
mbox_write_locks = fcntl
passdb {
  driver = pam
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  quota = fs:INBOX:mount=/mail
  quota2 = fs:ROOT:mount=/home
}
ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
ssl_key = /etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol imap {
  imap_logout_format = bytes=%i/%o
  mail_max_userip_connections = 10
  mail_plugins = imap_quota quota
}

What I am doing wrong?


Re: [Dovecot] Dovequota Mbox - NFS - Quota Does not work

2011-02-25 Thread Il Neofita
Ok
same problem
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.14.1.el6.x86_64 x86_64 Red Hat Enterprise Linux
Server release 6.0 (Santiago)
mail_debug = yes
mail_location = mbox:~/mail:INBOX=/mail/spool/%u:INDEX=/mail/indexes/%u
mail_nfs_storage = yes
mbox_write_locks = fcntl
passdb {
  driver = pam
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename imap_quota quota
  mail_log_fields = uid box msgid size
  quota = fs:fraser:mount=/home
  quota2 = fs:INBOX:mount=/mail
}
ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
ssl_key = /etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol imap {
  mail_plugins = quota imap_quota
}

DF
/dev/mapper/mail_group-mail
 780152128202024 740320692   1% /mail
bigfat.localserver:/export/home0/centos
 198381216  64283072 123858336  35% /home/centos


On Fri, Feb 25, 2011 at 2:50 PM, Charles Marcus
cmar...@media-brokers.com wrote:
 On 2011-02-25 1:58 PM, Il Neofita wrote:
 I am not able to get the quota out from dovecot
 I have tried with thunderbird and roundcube without luck
 this is my conf

 # 2.0.beta6

 Upgrade first, them come back with question.

 Too many fixes since beta6...

 --

 Best regards,

 Charles



[Dovecot] deliver

2009-02-19 Thread Il Neofita
I am new and for sure I did something stupid

I trying to use dovecot with sendmail
but I am receiving this error

teststat deliver(usertest): net_connect(/var/run/dovecot/auth-master)
failed: Permission denied
stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) exited with
EX_TEMPFAIL

on send mail I added
FEATURE(`local_procmail', `/usr/libexec/dovecot/deliver',`deliver -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)dnl

I am using the nis, but I do not think that this is the problem since I am
able to login with imaps

# 1.0.5: /etc/dovecot.conf
protocols: imaps
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:/var/mail/newmail/%u:INDEX=/var/indexes/newmail/%u
mail_debug: yes
auth default:
  passdb:
driver: pam
args: session=yes dovecot
  userdb:
driver: passwd
  socket:
type: listen
client:
  path: /var/run/dovecot/auth-client
  mode: 432
master:
  path: /var/run/dovecot/auth-master
  mode: 384