Wrote Áron:
> Hello.
>
>
> Would you be so kind tell me how can I stop dbmail sending mails from
> itself? DBmail sends hundreds of e-mail, like this:
>
(snip)
>
> Our IP address is in 3 several SPAM database because of this e-mails and
> I can not explain them this is just a delivery failure notice!!! They
> said this is SPAM...
> Our business e-mailing is dead because of the SPAM db-s!
>
> Thank you very much!!!
>
> Aron
I think the solution to prevent DBMail from sending its own bounces is
to block any invalid addresses from reaching DBMail at all -- via your
MTA's access control lists or routing tables.
In Sendmail, what I've done is add all my DBMail users into the
/etc/mail/virtusertable file, then also added all other valid
addresses (such as /etc/alises entries), and finally cap all my
domains with a catcall value of "error:nouser".
So an example virtusertable with two users, and a catchall to ensure
only those two are valid:
[EMAIL PROTECTED] djb
[EMAIL PROTECTED] merkle
@example.dom error:nouser
This assumes your DBMail's usernames are always the same as the
left-side of your email addresses. If not, change the second column
accordingly. :) Also of course, if you have multiple domains, do this
for all your domain names.
In this way, when sendmail looks at the virtusertable, it knows
exactly which addresses are valid and lets them through, and all
invalid addresses are indicated as non-existent within Sendmail.
This works better than letting DBMail handle the bouncing, as Sendmail
has the advantage of telling a SMTP sender to sod off before ever
accepting the email. It is easy to maintain if you have a small site,
and scriptable if you have a large site.
If you have a different MTA, something similar probably exists: some
way to only allow a list of given addresses through, and block all
others. Check your documentation to see how.
-Daniel
--
Daniel Brown <[EMAIL PROTECTED]>