Re: DMARC problems with some emails from the list

2021-03-08 Thread Ángel L . Mateo

El 8/3/21 a las 11:20, Benny Pedersen escribió:

On 2021-03-08 07:43, Ángel L. Mateo wrote:


I'm having problems with some emails from the list, been classified
as SPAM in my system because of DMARC failures. I'm not sure but this
may be a problem with the list configuration.


what state of dkim is c= tag ?, if it contains simple, its not that 
simple since its more strong then relaxed


if thats the case, it could be that 8bitmime is not being disabled 
before dkim signing :(


reference from amavisd dkim howto

is your dmarc test doing ARC test ?

	I don't know the exact details of the antispam configuration. But I 
have asked and the administrator told me that we are not doing ARC 
tests. He told me that the emails are marked as spam because of dkim 
failures.


--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


DMARC problems with some emails from the list

2021-03-07 Thread Ángel L . Mateo

Hello,

	I'm having problems with some emails from the list, been classified as 
SPAM in my system because of DMARC failures. I'm not sure but this may 
be a problem with the list configuration.



I attach the log for the failures in the last week.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


dovecot_dmarc.csv.log.gz
Description: application/gzip


Where can I contact with this list administrator?

2021-03-04 Thread Ángel L . Mateo

Hi,

	I'm having problems with some emails receive from this list. Problems 
related with DMARC.


How can I contact with this list administrator to try to fix it?

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Re: CASifying dovecot and webmail

2019-02-27 Thread Ángel L . Mateo via dovecot

El 17/2/19 a las 18:33, Juan Carlos Sánchez via dovecot escribió:

Hello:

I'm trying to authenticate webmail (roundcube) and dovecot with Apereo CAS.

I don't find any good guide and everything I have found is some years 
old. Has any of you done a recent integration with CAS and can share the 
details ?


	I can't help you with rouncube part (because we use horde as webmail), 
but dovecot we have configured with pam_cas module.


	The idea is that horde pass a PGT as user password, and with PAM 
dovecot server checks it.


--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Re: Exclude userdb from iterate users

2018-10-25 Thread Ángel L . Mateo
	I'm trying to configure an iterate_filter returning an empty result. So 
I have configured:


iterate_filter = (objectClass=objectClassNoExiste)

My question is, why I'm having this log in ldap?

Oct 25 12:46:41 canis30 slapd[25736]: conn=1192459 op=1 SRCH 
base="ou=Correo,ou=Groups,dc=Telematica" scope=2 deref=0 
filter="(?objectClass=objectClassNoExiste)"


	It is adding a question mark ("?" char) at the beginning of the search. 
The problem is that sometimes dovecot auth is crashing with:


Oct 25 12:57:13 myotisfa61 dovecot: auth-worker(24036): Debug: ldap: 
iterate: base=ou=Correo,ou=Groups,dc=Telematica scope=subtree 
filter=(objectClass=objectClassNoExiste) fields=uid
Oct 25 12:57:13 myotisfa61 dovecot: auth-worker(24036): Panic: file 
db-ldap.c: line 844 (db_ldap_result_unref): assertion failed: 
(res->refcount > 0)
Oct 25 12:57:13 myotisfa61 dovecot: auth-worker(24036): Error: Raw 
backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x9cdc2) [0x7fc9f1225dc2] 
-> /usr/lib/dovecot/libdovecot.so.0(+0x9cead) [0x7fc9f1225ead] -> 
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fc9f11b6761] -> 
/usr/lib/dovecot/modules/auth/libauthdb_ldap.so(+0x3928) 
[0x7fc9f0141928] -> 
/usr/lib/dovecot/modules/auth/libauthdb_ldap.so(+0x5bf4) 
[0x7fc9f0143bf4] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x52) [0x7fc9f123bca2] 
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x109) 
[0x7fc9f123d399] -> 
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) 
[0x7fc9f123bd3c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7fc9f123bee8] -> 
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7fc9f11c1023] -> dovecot/auth(main+0x39c) [0x564e91363ecc] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fc9f0795830] 
-> dovecot/auth(_start+0x29) [0x564e913640d9]
Oct 25 12:57:13 myotisfa61 dovecot: auth: Error: auth worker: Aborted 
LIST request for *: Worker process died unexpectedly
Oct 25 12:57:13 myotisfa61 dovecot: auth-worker(24036): Fatal: master: 
service(auth-worker): child 24036 killed with signal 6 (core dumps disabled)


and I don't know if this could be related with this empty search.

El 25/10/18 a las 10:51, Ángel L. Mateo escribió:

Hi,

 I have a system with various userdbs defined, mostly all of them 
based on ldap (and a few passwd-files).


 I want one of my ldap userdbs not to be used in "doveadm user -A" 
commands, that is to be excluded in iterate searchs. I have no 
iterate_filter neither iterate_attrs configured in that userdb, but it 
is still used.


 Is it possible? How?



--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Exclude userdb from iterate users

2018-10-25 Thread Ángel L . Mateo

Hi,

	I have a system with various userdbs defined, mostly all of them based 
on ldap (and a few passwd-files).


	I want one of my ldap userdbs not to be used in "doveadm user -A" 
commands, that is to be excluded in iterate searchs. I have no 
iterate_filter neither iterate_attrs configured in that userdb, but it 
is still used.


Is it possible? How?

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Re: Custom variable

2018-09-27 Thread Ángel L . Mateo

El 27/09/18 a las 12:04, Aki Tuomi escribió:


You can. In passdb, return userdb_your_own_variable=value, in userdb you
can omit the userdb_ prefix, except if you are using passwd-file.


I'm trying this. In the ldap configuration, I have:

pass_attrs = 
=userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_uuid=%{ldap:entryUUID}
user_attrs = 
=user=%{ldap:mail},=quota_rule=%{ldap:quota:*:storage=10G},=uuid=%{ldap:entryUUID}


and in my dovecot config I get:

mail_home =/mail/mailboxes/%L{uuid}

but when I get user fields I have:

field   value
uid vmail
gid vmail
home/mail/mailboxes/unsupported_variable_uuid
mailmdbox:~/mdbox:INDEX=/mail/indexes/um.es/an/angel.luis
quota_rule  *:storage=10G
uuiddc6c5cd6-bf4d-1030-8d28-d5b8647941b3

it seems I can't use this "uuid" variable in mail_home config.

Is it possible? Am I doing something wrong?

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Re: Custom variable

2018-09-27 Thread Ángel L . Mateo

El 27/09/18 a las 12:04, Aki Tuomi escribió:



On 27.09.2018 13:01, Ángel L. Mateo wrote:

Hi,

 I know that there are some variables (as user or username) I could
use inside dovecot. They are at https://wiki2.dovecot.org/Variables.

 My question is if I can create my own variables from attributes at
my pass/user db and then use it inside dovecot configuration.



You can. In passdb, return userdb_your_own_variable=value, in userdb you
can omit the userdb_ prefix, except if you are using passwd-file.


OK. Thank you.

--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337


Custom variable

2018-09-27 Thread Ángel L . Mateo

Hi,

	I know that there are some variables (as user or username) I could use 
inside dovecot. They are at https://wiki2.dovecot.org/Variables.


	My question is if I can create my own variables from attributes at my 
pass/user db and then use it inside dovecot configuration.


--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 86337