Re: [Exim] Checking a POP box with multiple users

Etusivu
Poista viesti
Vastaa
Lähettäjä: MikeF
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Checking a POP box with multiple users
Find the line that contains this (a simple grep will do):

file = /var/spool/mail/${local_part}

Now change it to:

file = /var/spool/mail/foobar

Where "foobar" is whatever username you are trying to sent your
messages to, since I'm guessing that you don't read your mail as root.

This is a brute force way of doing what you asked, but it's the only
way I can think of bypassing delivery to existing unix users.

You might make a special transport for that domain only, or just don't
create unix users for those users and change the alias director from:

file = /etc/aliases
search_type = lsearch

to:

file = /etc/email-aliases/$domain
search_type = lsearch*

If you do, you'll need to create /etc/email-aliases directory and put
your aliases in a file named /etc/email-aliases/foo.bar, whatever your
domain is.

Be sure to put this line in the main configuration area (at the top of
the file, before the first "end"):

multi_domain = false

Now, in foo.bar, make a line that looks like this:

*: fubar

Where "fubar" is, replace it with the username you want your messages
to goto by *default*.


This might not have made much sense, but I just read all of this today
and I'm sure I don't know it all. Maybe someone else can clean this
up a little. Take note, there are TWO options above, and they don't
mix. :|

Mike



Daniel Free wrote:
>
> Subject line isnt too clear im sorry, heres the situation.
>
>         one of my clients has a domain and all mail for all the users@???
> is being dropped into a single mail box. I am migrating from a NT machine
> running mercury 32 over to exim + fetchmail on debian 2.2, now when it pops
> the box it drops all the mail into root/my mailbox instead of the users its
> meant to be delivered to.

>
> are there any trick that i need to know in order to have this work ??
>
> TIA
> -=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-
> -=|  Daniel Free                     Earthlight Communications LTD    |=-
> -=|  daniel@???    ICQ#    15707938                 |=-
> -=|  Cellular # 021 258 3389         HTTP://quake.earthlight.co.nz/   |=-
> -=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-

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