Hello Áron,

Á> Would you be so kind tell me how can I stop dbmail sending mails from
Á> itself? DBmail sends hundreds of e-mail, like this:

As Daniel said, the secret is to keep the mail to bad addresses from
ever reaching dbmail. There are a number of spam programs that COUNT
on systems accepting email before checking that the user exists, to
allow them to relay. It's one of the reasons that Exchange and
GroupWise are extremely difficult to secure from relaying.

If you are using Postfix as the MTA and you have compiled MySQL or
Postgres support into it, you can simply have it look up local
addresses in the dbmail aliases table, before accepting delivery. For
MySQL, the line to add to main.cf is:

local_recipient_maps = mysql:/etc/postfix/mailbox.cf

and /etc/postfix/mailbox.cf contains:

user = sqluser
password = sqlpassword
dbname = dbmail
table = aliases
hosts = sql.mydomain.tld
select_field = alias
where_field = alias

Now, postfix will no longer accept undeliverable mail for your
domains... so dbmail won't have to bounce it.

-- 
Jeff Brenton
President,
Engineered Software Products, Inc
http://espi.com
Questionable web page: http://dididahdahdidit.com

Liberalism grants you the freedom to advocate any idea*.
 * Please see http://www.dididahdahdidit.com/except.php for a
   current list of exceptions

Reply via email to