[Exim] Using External LDA - Please help

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Odhiambo G. Washington
Fecha:  
A: Exim Users
Asunto: [Exim] Using External LDA - Please help
Hello,


Section 28.5 of spec.txt gives example for using procmail.

  # transport
  procmail_pipe:
    driver = pipe
    command = /usr/local/bin/procmail -d $local_part
    return_path_add
    delivery_date_add
    envelope_to_add
    check_string = "From "
    escape_string = ">From "
    user = $local_part
    group = mail


  # router
  procmail:
    driver = accept
    check_local_user
    transport = procmail_pipe





Is there a way I can modify the setup such that the router only runs for
a list of users?

I have a file which contains e-mail addresses

user1@???
user2@???
user3@???
..
userx@???


The issue here is that I want to apply this to local users as well as virtual users.
I don't want to get involved in modifying the file containing the addresses so I'll
have some mlm handle the modification.



Also, this example assumes that the procmailrc is the global one. Can I change that
with

require_files = /usr/local/etc/procmailrcs/some_file


??


Thanks in advance.


-Wash

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



If little green men land in your back yard, hide any little green women
you've got in the house.
        -- Mike Harding, "The Armchair Anarchist's Almanac"