Re: [exim] building mail gateway

Top Page
Delete this message
Reply to this message
Author: Genady Perchenko
Date:  
To: exim-users
Subject: Re: [exim] building mail gateway
On Wed, 2004-10-27 at 14:00, Tim Jackson wrote:
> On 27 Oct 2004, Genady Perchenko wrote:


>
> With one of two ways:
>
> a) (the VERY easy way) use recipient callouts. With Exim 4, this takes
> about 5 seconds. Just add "/callout" to "verify = recipient" in the RCPT
> ACL. I don't think you can do this at all with Exim 3, though I could be
> completely wrong.
>


would that add an overhead to the main server that is busy as it is
since it did not pickup email in the first place. What if prim is not
available?

> b) push your valid recipient list to the secondary server(s). You can do
> this by any means you want - it could be scp'ing text/DBM files, using a
> shared database (LDAP, MySQL, whatever...) or whatever you want. You then
> use a router to check recipients against the list (even though deliveries
> will not actually take place on that server). I'm pretty sure you could do
> this with Exim 3.
>


I really like this!! I would like to try it. In fact, I do have up to
date mysql database with all valid email addresses maintained by the
control panel. The format is not strait forward and would require some
script to process, but I would be really interested in writing a small
perl script that I can hook to exim and get it executed for each
incoming email and let it decide a if email should be accepted for a
delivery. Is this possible? If yes, can you refer me to some example?


>
> How about you just put Exim 4 on the secondary server(s) for now? From
> what you said, it sounds like they are just "dumb" secondary MXes in which
> case, the config is probably pretty much default. By putting Exim 4 on the
> secondar(y|ies), you can immediately stop the collateral spam problem
> without having to spend ages looking into a new configuration. Then, when
> you have time, you can look into configuring it on your main machine, and
> in the meantime you will be able to assess your requirements more
> accurately without the confusion of lots of collateral spam unnecessarily
> loading your machines.


This is actually sounds like not such a bad idea. I will plan it for a
weekend. This way I will have more time to deal with any kind of crises
might come up, plus, the general critical mail traffic on weekend is not
as high as during the regular weekday.

But I still want to try script first! I would probably use it regardless
of version of exim I use.     


>
> > Hey, how come when I hit reply to your message, I am sending message to
> > you and not to the list?
>
> Because that's how the list is set up. Some mailing lists change the
> Reply-To header but this list does not. Don't even go there; there will be
> lots of arguments (with no ultimate agreement) about which way is correct.
>
> If your mail client has a "List Reply" function, that should work.
> Otherwise, you may be able to set it up manually to recognise that this is
> a mailing list with a special address.
>


reply to list works better!

thanks!!

Genady