[Exim] Sender verify

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Abaddon
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Sender verify
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Someone is sending fake mail through my exim server.

My relay works like this: (POP-before-SMTP)

When the person checks e-mail the POP (insert into relay values (local_part, domain, ip, time)
on an mysql database.

But when eXim checks for relay he only (select ip from relay where date_sub(now(), interval 15 minute) < time)

Is there any way to check the From of a sending mail ?
like, (select local_part, domain where date_sub(now(), interval 15 minute) < time)
when a domains its no local.

An example:

test@??? checks his email. So we have this on the mysql: (test, test.com, 127.0.0.1, 23:00:00)

When test want to send an email he issues:

From: test@???

When eXim receives, is my question, it would check it, like:
select local_part, domain where user="test" and domain="test.com" and date_sub(now(), interval 15 minute) < time)

Its possible ?
Any example on how could this work ?

I am using eXim 4.10

Have a nice weekend..

Abaddon
--