|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Mon Jul 27 2009 - 11:21:43 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Monday, July 27, 2009 at 18:05 CEST,
Pablo Yaggi <pyaggi
alsurdelsur.com> wrote:
> On Monday 27 July 2009 12:46:04 pm Magnus Bäck wrote:
> > On Monday, July 27, 2009 at 16:37 CEST,
> > Pablo Yaggi <pyaggi
alsurdelsur.com> wrote:
> >
> > > taking a deep look into your example, I notice
> > > the restriction is only applied to example.com, isn't it ?
> >
> > Yes.
> >
> > > if this is the case, I have a problem on doing it, my list of domains
> > > is virtual, so I need to restrict the test to them, is it possible ?
> >
> > The address class of your domains is irrelevant. Just put one line per
> > domain into the access table.
> >
> > example.com permit_pop_before_smtp, reject
> > example.net permit_pop_before_smtp, reject
> > example.org permit_pop_before_smtp, reject
> >
>
> But the problem with this, is I'm using virtual domains with
> sql database (I thought I told you, my mistake), this is my conf:
How you store the data doesn't matter. You just need to construct a
`mysql' lookup table configuration that returns the desired string
iff the domain is one of your domains. For example, the following
query could satisfy that requirement:
SELECT 'permit_pop_before_smtp, reject' FROM domains WHERE name = '%u'
[...]
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]