[Exim] starting to get the hang of things..

Góra strony
Delete this message
Reply to this message
Autor: Brian
Data:  
Dla: exim-users
Temat: [Exim] starting to get the hang of things..
Hello all,

So my task atm is to get exim to accept emails for relay_to_domains, but
I need to be able to say this user exists or not on the other side.

So after reading a lot of things I found that what I was missing (to get
this to work basically) was the endpass acl modifier.

I had this:

accept domains       = +relay_to_domains
        local_parts   = lsearch:/usr/local/etc/exim/local_parts
        #local_parts   = lsearch:/usr/local/etc/exim/local_parts.$domain


and what I needed to change it to was this:

accept domains       = +relay_to_domains
        endpass
        local_parts   = lsearch:/usr/local/etc/exim/local_parts
        #local_parts   = lsearch:/usr/local/etc/exim/local_parts.$domain


:)

There are some domains that I do not have a complete or accurate user
listings for the other side, and for those domains I would like to
accept all email in the local_part for some relay_to_domains.

How would I do that?

I see here:
http://www.us.exim.org/exim-html-4.30/doc/html/spec_9.html#IX627

that I could use the wildsearch or nwildsearch. But this also says it's
a linear file search, which is fine for testing but when this goes out,
I'll need to make it be something better, (cdb preferably). What do i
want to use or investigate in this instance?

Also I would also like to have some type of reject-ability for certain
local_parts. Clues appreciated on where/how to do that.. It would have
to be a check before it was accepted.

I would also like to include a description that would be returned to the
user if sending to this address was attempted.

Possibly something like this in the file:

user@???: This account has been suspended - [20040421]
someoneelse@???: This user did not send you a virus - [blah]

something like that maybe?

Clues appreciated.

I thank you for taking the time to read this message.

- Brian