Are you sure that your router is being used? Sounds like the default 'appendfile' router may be taking precedence... Try 'exim -btd username' to see which router is called for delivery
-- Merlin Hartley > On 4 Jun 2014, at 15:07, Daniel Müller <[email protected]> wrote: > > I am using exim with dovecot 2.2.1 with ADS auth to samba 4.1.7 on a centos > 6.4 > > > Exim version 4.72 #1 built 28-Oct-2012 18:32:26 > Copyright (c) University of Cambridge, 1995 - 2007 > Berkeley DB: Berkeley DB 4.7.25: (March 5, 2012) > Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc TCPwrappers OpenSSL > Content_Scanning DKIM Old_Demime > Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz > dnsdb dsearch ldap ldapdn ldapm nis nis0 nisplus passwd sqlite > Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa > Routers: accept dnslookup ipliteral manualroute queryprogram redirect > Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp > Fixed never_users: 0 > Size of off_t: 8 > OpenSSL compile-time version: OpenSSL 1.0.0-fips 29 Mar 2010 > OpenSSL runtime version: OpenSSL 1.0.0-fips 29 Mar 2010 > Configuration file is /etc/exim/exim.conf > > Everythings is working fine exept exim just routes the mails to the wrong > home directory(not dovecot dir.): > > exim -bt [email protected] > [email protected] cannot be resolved at this time: failed to stat > /home/TPLK/mueller/. (No such file or directory) > > > The homedir that is reported from ADS/Winbind is ex: > > getent passwd |grep tester > TPLK\tester:*:90000:100:Testuser TestMs:/home/TPLK/tester:/bin/false > But the mails that should be delivered to: > /var/mail/maildata/[email protected]/ > > Now I can make a ln -s /var/mail/maildata/[email protected] tester@mydomain > in /home/TPLK > and the things are up and running but for 100 users!!??? > > Is there a way to tell an exim router to change $home to > /var/mail/maildata/$local_part@$domain/ by default?? > > My router: > > localuser: > driver = accept > router_home_directory=/var/mail/maildata/$local_part@$domain/ > transport_home_directory = /var/mail/maildata/$local_part@$domain/ > transport = dovecot_virtual_delivery > cannot_route_message = Unknown user > > The Transport: > > dovecot_virtual_delivery: > driver = pipe > command = /usr/libexec/dovecot/dovecot-lda -d $local_part@$domain -f > $sender_address > message_prefix = > message_suffix = > delivery_date_add > envelope_to_add > return_path_add > home_directory = /var/mail/maildata/$local_part@$domain > log_output > user = vmail > temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78 > > You see I tested router_home_directory, transport_home_directory, > home_directory with no success!!! > > Greetings > Daniel > > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: [email protected] > Internet: www.tropenklinik.de > > > > > > > -- > ## List details at https://lists.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://wiki.exim.org/ -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
