RE: [Exim] Problem with Delivery to /var/mail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Chan Cao
Dátum:  
Címzett: 'Philip Hazel', 'Chan Cao'
CC: exim-users
Tárgy: RE: [Exim] Problem with Delivery to /var/mail
Thanks Phillip.

I discovered that exim was trying to etch mail in users' home dirs...
which I don't want to do.

So I moved the localuser: director up in front of userforward and added
current_directory and home_directory like this:

system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
# user = exim
file_transport = address_file
pipe_transport = address_pipe

# This director matches local user mailboxes.

localuser:
driver = localuser
transport = local_delivery
current_directory = /var/mail
home_directory = /var/mail

I'm good for now.

C

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Philip Hazel
Sent: Tuesday, July 27, 1999 4:41 AM
To: Chan Cao
Cc: exim-users@???
Subject: Re: [Exim] Problem with Delivery to /var/mail


On Mon, 26 Jul 1999, Chan Cao wrote:

> Here's my debug -d9 -bt output
>
> queued for local_delivery transport: local_part=ccao domain=fastech.com
> localuser director succeeded for ccao
>   transport: local_delivery
> ccao@???
>     <-- ccao@???
>   deliver to ccao in domain fastech.com
>   director = localuser, transport = local_delivery

>
> Ok. so exim got its head straight about who I am and where it's about
> to do. My configuration is the default:


> but nothing under /var/mail. Oh yea...I already did chmod 0660 and chgrp
> on /var/mail.


What is the -d9 output when you actually try to deliver a message? Using
-bt just checks the routing. Try

exim -d9 ccao@???
Test message
.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.




--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##