lonely wolf wrote:
>>> <>reformulez intrebarea. nu vreau sa primesc orice spam imi vine ci
>>> a) sa ii dau drop
>>> b) sa nu dau sender notify
>>
extras din pagina catre care am trimis link mai demult:
--------------------------------------------------------
This patch modifies qmail-smtpd to check for an environment variable,
$RCPTCHECK. If it is set, for each 'rcpt to:' that qmail-smtpd receives,
it will fork/exec $RCPTCHECK. $RCPTCHECK is run in the same environment
as qmail-smtpd. Additionally $SENDER is set to the envelope from (mail
from:) and $RECIPIENT is set to the envelope recipient (for the current
rcpt to:). Based on the return code (exit value) of $RCPTCHECK, the rcpt
to: address will either be accepted or rejected as follows:
* 100: recipient is rejected with "553 sorry, no mailbox here by
that name. (#5.1.1)"
* 111: connection is dropped with a temporary error "421 unable to
verify recipient (#4.3.0)"
* 120: connection is dropped with a temporary error "421 unable to
verify recipient (#4.3.0)"
* All others: recipient is accepted.
120 is used internally (by the patch) if $RCPTCHECK cannot be executed.
Useful for validating recipient to addresses with an arbitrary program
(such as fastforward in '-n' mode).
--------------------------------------------------------
>>> <>ps: nu pot recompila qmail.
>>
evident, ar trebui recompilat qmail-smtpd. chiar nu se poate?
ar mai putea fi o problema cu incarcarea procesorului/memoriei (mai
ruleaza un program la fiecare conexiune), dar dc rezolva problema...
Alta idee: qmail-smtpd e rulat de tcpserver. Un wrapper pt el ar putea
verifica adresa de e-mail inainte de a o da mai departe (nu trebuie
recompilat qmail-smtpd, ramane problema rularii inca unui program).
---
Detalii despre listele noastre de mail: http://www.lug.ro/