Displaying 7 results from an estimated 7 matches for "cannot_route_messag".
Did you mean:
cannot_route_message
2016 Nov 07
2
Redirect the emails from domain2 to domain1
...at it is enough to add domain_old to the list of local domains:
domainlist local_domains = @ : domain_new : domain_old
...
begin routers
...
local_users:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
transport = dovecot_lmtp
cannot_route_message = Unknown user
However in Dovecot I'm checking both the username and the domain to
perform the authentication:
auth_username_format = %Lu
passdb { driver = sql ; }
password_query = SELECT username, domain, password FROM users WHERE
username = '%n' AND domain = '%d'
To have...
2019 Aug 17
1
exim+dovecot+sieve issue
...vecot.
Mailman is responsible for mailing lists, Roundcube webmail has managsieve
module to create sieve filters.
Exim router,transport for dovecot
> localuser:
> driver = accept
> domains = +local_domains : +virt_domains
> check_local_user
> transport = dovecot_lmtp
> cannot_route_message = Unknown account
> no_more
> dovecot_lmtp:
> driver = lmtp
> socket = /var/spool/dovecot/lmtp
> batch_max = 500
> rcpt_include_affixes
It worked perfectly, but after upgrade from Dovecot 2.2 to Dovecot 2.3
major version, I've found a lot of strange errors in ex...
2016 Nov 23
0
Exim still accepting emails to nonexistent users
...I managed to get this working using local_user changes by adding ldap user
verification there:
local_user:
debug_print = "R: local_user LDAP lookup for $local_part@$domain"
driver = accept
domains = +local_domains
condition = CHECK_VIRTUAL_USER
transport = dovecot_lmtp
cannot_route_message = Unknown user
Where CHECK_VIRTUAL_USER is:
# Query that tests the existence of the user
CHECK_VIRTUAL_USER = \
${lookup ldap{user="cn=exim4,ou=dsa,dc=mydomain,dc=com" pass=PASS \
ldap:///dc=mydomain,dc=com?mail?sub?(&(objectClass=inetOrgPerson)(mail=$local_part@
$doma...
2016 Nov 16
2
Exim still accepting emails to nonexistent users
After adding the configuration bit:
deny
message = invalid recipient
domains = +local_domains
!verify = recipient/callout=no_cache
from: http://wiki2.dovecot.org/LMTP/Exim <http://wiki2.dovecot.org/LMTP/Exim> running update-exim4.conf and service exim4 restart
the server is still accepting emails to recipients that do not exist in dovecot.
Any ideas?
2010 Dec 19
1
stat(/..../Maildir/cur) failed: No such file or directory
...= '%u'
user_query = SELECT homedir as home, uid, gid, maildir as mail FROM accounts WHERE login = '%u';
exim router:
mysql_account:
driver = accept
condition = ${lookup mysql{MYSQL_Q_MAILDIR}{$value}fail}
transport = dovecot_delivery
cannot_route_message = Unknown account $local_part@$domain
exim transport:
dovecot_delivery:
driver = pipe
command = /usr/local/libexec/dovecot/dovecot-lda -e -k -d $local_part@$domain \
-f $sender_address -a $original_local_part@$original_domain -m IN...
2016 Nov 21
2
Exim still accepting emails to nonexistent users
Hi,
Heiko Schlittermann <hs at schlittermann.de> (Mo 21 Nov 2016 11:50:13 CET):
> a) Routing stage
> You need to interact with the user database dovecot uses.
> Either you access the user database directory (flat file, LDAP,
> whatever) or you use the ${readsocket?} feature of Exim to talk to
> dovecot.
The readsocket trick doesn't seem to work anymore.
Using
$
2016 Nov 21
2
Exim still accepting emails to nonexistent users
...hide data = CHECK_VIRTUAL_ALIASES
user = vmail
group = mail
local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
#Dovecot auth check
# check_local_user
local_parts = ! root
transport = dovecot_lmtp
cannot_route_message = Unknown user
And this is the transport:
dovecot_lmtp:
driver = lmtp
socket = /var/run/dovecot/lmtp
#return_path_add
#maximum number of deliveries per batch, default 1
batch_max = 200
This might also be helpful (this is with check_local_user commented out in the router)
-------...