Re: [Exim] Delivery Issues

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tom Ray [Lists]
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Delivery Issues
Ok I think I found my problem, but I'm still a bit stumped by it. I ran
exim with -d -bv and I found this:

failed to expand condition "${if eq
{}{${lookup{$local_part}lsearch{/webs/${domain}/etc/passwd}}}{no}{yes}}"
for exim_localuser router: failed to open /webs/testmail.com/etc/passwd
for linear search: Permission denied (euid=501 egid=501)
exim_localuser router skipped: condition failure

Now for both the user and group, 501 is exim. I've set the etc directory
and the passwd file to exim:exim and it's still giving me that error.
The etc directory has the permissions of 750 and the passwd file is 750
also...anyone got an idea on what I'm missing and/or doing wrong?

TIA

Tom Ray [Lists] wrote:

> I just install Exim 4.34 using virtual domains, however when I try to
> make local deliveries I get this error:
>
> == tom@??? R=exim_localuser T=local_delivery defer (13):
> Permission denied: failed to create directories for
> /webs/testmail.com/mail/tom: Permission denied
>
> I've played with the permission on /webs/testmail.com/mail, and down.
> I've got /var/spool/exim set to exim:exim I'm guessing there's a
> permission I'm not setting.
>
> Just in case here's my local delivery commands from my exim.conf file
>
> exim_localuser:
> driver = accept
> condition = ${if eq
> {}{${lookup{$local_part}lsearch{/webs/${domain}/etc/passwd}}}{no}{yes}}
> domains = lsearch;/etc/exim/domains
> retry_use_local_part
> transport = local_delivery
>
>
> local_delivery:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> file = /webs/${domain}/mail/${local_part}/inbox
> group = mail
> mode = 0600
> user = exim
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##