Συντάκτης: Nico Erfurth Ημερομηνία: Προς: emmanuel Υ/ο: exim-users Αντικείμενο: Re: [Exim] problem with aliasfile
emmanuel wrote:
> here is a part of my configure file:
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> user = mailnull
> group = mail
> file_transport = address_file
> pipe_transport = address_pipe
>
>
> my /etc/aliases:
>
>
> emmanuel.kim@???: mrk
> kim_e@???: mrk
>
> my updatedb aliases file ( when i put a new aliases):
>
> #!/bin/sh
> aliasfile=/etc/aliases
> exim_dbm=/usr/local/sbin/exim_dbmbuild
> $exim_dbm $aliasfile $aliasfile.db
you don't need this script, if you use lsearch-lookups, lsearch works on
the plaintext-file itself ;)
if you want a db-lookup, use dbm instead of lsearch.
> 2002-06-13 11:32:19 17IQxn-0002W5-00 <= root@??? U=root P=local
> S=322
> 2002-06-13 11:32:19 17IQxn-0002W5-00 ** emmanuel.kim@???:
> Unrouteable address
> 2002-06-13 11:32:20 17IQxn-0002W7-00 <= <> R=17IQxn-0002W5-00 U=mailnull
> P=local S=1102
> 2002-06-13 11:32:20 17IQxn-0002W7-00 User 0 set for local_delivery
> transport is on the never_users list
root is in never_users (thats ok) but you should set an alias for him,
because exim will deny to deliver mail to this user.