Re: [exim] rejecting messages for unknown virtual users

Etusivu
Poista viesti
Vastaa
Lähettäjä: Fred Viles
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] rejecting messages for unknown virtual users

| On Wed, 19 Jan 2005, oliverj wrote:
| >
| > so if the mail is for fred@??? and there is a mail directory on the server
| > for this user then the perl subroutine will return
| >
| > "/data/mail/mydomain/fred"

|...
| > localuser:
| > driver = accept
| > domains = +local_domains
| > require_files = ${perl {get_user_dir}{$local_part}{$domain}}
| > transport = local_delivery
|
| You should change your perl routine so that it does not do the existence
| check.


That should work. But if you can change the pathname pattern to
"data/mail/mydomain.com/username" you can simplify your configuration
(and make it more readable IMHO):

require_files = /data/mail/$domain/$local_part

- Fred