[Exim] Problem with local_user delivery

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Robert
Date:  
À: exim-users
Sujet: [Exim] Problem with local_user delivery
Hi All,

On the server locally hosted several virtual domains and delivery to them
is Ok except delivery to local users listed in /etc/passwd.
I use exim with Kaspersky Antivirus 4.0 for Exim
In a mainlog exim write a following: .

>--CUT--<

/var/log/mainlog
--
2003-03-13 15:38:01 18tQ65-0002dF-00 == robert@??? <mail@???>
R=virtual_alias defer (-1): failed to expand
"${lookup{$local_part@$domain}lsearch{/home/vpopmail/domains/$domain/aliases}}":
failed to open /home/vpopmail/domains/loki.infoport.uz/aliases for linear
search: No such file or directory
>--CUT--<


Any ideas are welcome.

Thanks,
Robert


/etc/exim/exim.conf
---
> primary_hostname = loki.infoport.uz
> domainlist local_domains = loki.infoport.uz: *.infoport.uz : trans.com.uz
> domainlist relay_to_domains = trans.com.uz : infoport.uz
> hostlist relay_from_hosts = 127.0.0.1:192.168.200.0/24
> helo_allow_chars=_
> acl_smtp_rcpt = acl_check_rcpt
> never_users = root
> host_lookup = ! 192.168.222.*:192.168.200.*:192.168.110.*
> rfc1413_hosts = ! 192.168.200.*:192.168.222.*:192.168.110.*
> ignore_bounce_errors_after = 2d
> timeout_frozen_after = 7d
>
> begin acl
> acl_check_rcpt:
>   accept  hosts = :
>   deny    local_parts   = ^.*[@%!/|] : ^\\.
>   accept local_parts = cdb;/home/vpopmail/domains/$domain/vpasswd.cdb
>          domains     = +local_domains
>   require verify        = sender
>   accept  domains       = +local_domains
>           endpass
>           message       = unknown user
>           verify        = recipient
>   accept  domains       = +relay_to_domains
>           endpass
>           message       = unrouteable address
>           verify        = recipient
>   accept  hosts         = +relay_from_hosts
>   accept  authenticated = *
>   deny    message       = relay not permitted

>
> begin routers
>
> dnslookup:
> driver = dnslookup
> transport = kav_lmtp_transport
> domains = ! +local_domains
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> file_transport = address_file
> pipe_transport = address_pipe
>
> virtual_alias:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part@$domain}lsearch{/home/vpopmail/domains/$domain/aliases}}
> file_transport = address_file
> pipe_transport = address_pipe
> user = vpopmail
>
> virt_forward:
> driver = redirect
> data = ${lookup{$local_part@$domain}lsearch{/home/vpopmail/domains/$domain/forward}}
> no_verify
> no_expn
> check_ancestor
> reply_transport = address_reply
>
> virtual_user:
>    driver = accept
>    transport = kav_lmtp_transport
>    condition = ${if eq {}{${lookup{$local_part}cdb{/home/vpopmail/domains/${domain}/vpasswd.cdb}}}{no}{yes}}

>
> userforward:
> driver = redirect
> check_local_user
> file = $home/.forward
> no_verify
> no_expn
> check_ancestor
>
>
> begin transports
>
> kav_lmtp_transport:
> driver = lmtp
> command = /opt/AVP/kavkeeper/kavkeeper
>
> remote_smtp:
> driver = smtp
>
> local_delivery:
> driver = appendfile
> file = /var/mail/$local_part
> delivery_date_add
> envelope_to_add
> return_path_add
> group = mail
> mode = 0660
>
> virtual_delivery:
> driver = appendfile
> delivery_date_add
> directory = /home/vpopmail/domains/${domain}/${local_part}/Maildir
> directory_mode = 0770
> envelope_to_add
> maildir_format
> mode = 0660
> no_mode_fail_narrower
> return_path_add
> user = vpopmail
> group = vchkpw
>
> address_pipe:
> driver = pipe
> return_output
>
> address_file:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
>
> address_reply:
> driver = autoreply
>
> begin retry
> *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h
> begin rewrite

>
> begin authenticators