Koozali.org: home of the SME Server

How do you edit .dbm files

Offline bjoyce

  • *
  • 72
  • +0/-0
How do you edit .dbm files
« on: December 29, 2006, 05:44:10 AM »
Hi,
Sorry for the crosspost.
I implemented greylisting on my server but there are some servers that do not retry sending email in Australia, namely bigpond.
By adding a server to the file /etc/mail/spamassassin/local.cf it does bypass the greylisting and also the spamassin checking which I dont want to do.
If I could manually add entries to the greylist database located at  /usr/bin/config/denysoft_greylist.dbm I would have finer control over the recieved email.
Unfortunatly I dont know perl and can not open or edit the .dbm file.

Does anyone know how I can edit this file, or , edit entries in the greylist database?

Thanks

Brad
.........

Offline mmccarn

  • *
  • 2,651
  • +10/-0
How do you edit .dbm files
« Reply #1 on: December 31, 2006, 04:20:19 PM »
If I read this excerpt from /usr/share/qpsmtpd/plugins/greylisting correctly:
Code: [Select]
 # Always allow relayclients and whitelisted hosts/senders
  return DECLINED if $self->qp->connection->relay_client();
  return DECLINED if $self->qp->connection->notes('whitelisthost');
  return DECLINED if $transaction->notes('whitelistsender');
the greylisting plugin supports the use of the whitelisting function, so you can cause a given host to be ignored by the greylisting plugin using whitelist_soft.

This post:
 http://forums.contribs.org/index.php?topic=34260.0
 has an entry describing how to enable whitelist_soft and create a whitelisted host.