[HLUG] Exim 4.50 on Debian 3.1 external greet_pause?

Mark Broadbent mgjbroadbent at googlemail.com
Mon Jan 29 15:55:34 GMT 2007


Hi Andrew,

On 29/01/07, Andrew Hodgson <andrew.hodgson at allpay.net> wrote:
> On 29/01/07, Mark Broadbent <andrew.hodgson at allpay.net> wrote:
> > [...]
> >
> >I agree that that is a waste of time to do it more than once, I only
> >do it on boot-up to get the queued mail pushed quickly then leave the
> >backup MX to deliver after that (I often don't want to wait for
> >~30minutes until my email appears).
>
> Yes good point.  Usually if the primary goes down because it does so much
> else on our network the email is the least of my worries :(.
>
> >The backup  should deliver
> >immediately when the primary is up not to mention that other delivery
> >agents should direct deliver to the primary when it is reachable (note
> >that I leave out spammers tactics to deliberately deliver to
> >secondaries as the anti-spam/AV measures are usually less there).
>
> This is why I wanted to control what was coming into the secondary.  I was
> fed up of having several DSNs coming at other users because the secondary
> was accepting the mail then it got bounced - I saw the bounce log on my
> server and it wasn't pleasant.  Now using Exim I do a callout on the
> recipient to see if my MTA will accept it, at worst now if my MTA is down it
> will accept the message, but over the last year this has been only a few
> hours.  I am also doing CLAM on the secondary, and at some point I will be
> integrating SpamAssassin (though I am not sure whether that is pushing the
> memory on the virtual machine).

If you do have enough memory, run spamassassin as a daemon and use the
exiscan plugin in exim to talk to it, I can pull the configuration off
my machine if you're interested.  The advantages are that you can
reject email at SMTP time (i.e. you don't have bother about DSNs
bouncing back to you) and it (exiscan) can also interface to your
favorite AV package (like clam, sophos etc) to run at the same time.

> On another note, have you ever had to set up POP3 using virtual users (not
> in /etc/passwd)?  I am trying to do something using Solid-POP3D and Pam
> using htpasswd files, but get the general feeling I am re-inventing the
> wheel.

Try this (using Exim, Courier-IMAP and MySQL):

http://www.debian-administration.org/articles/140
and
http://www.tty1.net/virtual_domains_en.html

For the instructions given you'll need a MySQL database which should
work fine, provided you're not running it on you're virtual host as
well!

Thanks
Mark


-- 
Mark Broadbent
* http://www.wetlettuce.com/



More information about the Herefordshire mailing list