Scan locally generated email

Patrick Ben Koetter p at
Tue Nov 13 18:55:12 CET 2012

* Rob Sterenborg (lists) <lists at>:
> On 11/12/2012 11:16 PM, Patrick Ben Koetter wrote:
> >* Simon Brereton <simon.buongiorno at>:
> I have a MySQL table containing the complete list of local domains
> that I would like to use in amavis. I found out how to do so by
> either exporting the table to a file or to load directly from the
> table, which works.
> However.. I take it that this only works once: when amavisd is started.
> Is it possible to dynamically read the list directly from MySQL so
> that I don't have to restart or reload amavisd when the
> local_domains list changes?


> (I can of course schedule a reload using cron, but it would be nice
> if I don't have to do it that way.)

Either export via cron and reload (!) amavis _or_ read into the SQL Readme for
MySQL. A recipient, (sub)domain found in MySQL is considered local by default.

p at rick

[*] sys4 AG, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich

More information about the amavis-users mailing list