Differences between revisions 3 and 4
Revision 3 as of 2023-05-30 01:27:04
Size: 2641
Comment:
Revision 4 as of 2023-05-30 01:27:43
Size: 2585
Comment:
Deletions are marked like this. Additions are marked like this.
Line 78: Line 78:

== whois ==
{{{

}}}

== history ==
{{{

}}}

NAME

1. mfdnschecks

1.1. DESCRIPTION

  • This plugin is meant to be used on the MAIL command, and performs the following basic checks of the sender email address.
  • If the sender is empty, it is probably a bounce, so we have to accept it.
  • If it is not empty, it will require that the sender is of the form user@domain, both non-empty.
  • The domain must exist in DNS, and have either a MX or a A record. If it doesn't, that means
    • there is no way to answer to the message, and/or the email address is madeup.
  • If there is a DNS error, it will postpone delivery by giving a temporary error. While not very effective, it will block some naive spammers, and will bounce messages with misspelt senders, which are always a support annoyance and a source of useless bounces.

1.2. REQUIREMENTS

  • Use of this plugin adds very little processor or memory load, but does add 1 or 2 DNS calls per message. That should not be a problem on any reasonable configuration, unless your server lacks Internet connectivity on delivery (for example if it uses fetchmail to get the mail and does the delivery while offline).

1.3. CONFIGURATION

  • No configuration required.

1.4. LOGGING

  • It logs every sender, accepted or not, so it does add 1 extra line of log per mail. Example logs:
    • mfdnschecks: pid 7467 - OK sender@sending.com mfdnschecks: pid 23785 - blocked with: your envelope sender domain must exist: fakedomain.tld

1.5. ERROR MESSAGES

  • If there is a DNS outage, checks can not be performed, and the message is temporarily rejected:
    • 451 sorry, DNS temporary failure
    If the sender's domain doesn't exist (or there is no way to send email to it), the message will be permanently rejected:
    • 553 sorry, your envelope sender domain must exist: fakedomain.tld

SEE ALSO

COPYRIGHT

  • Copyright © 2006 Roberto Alsina <ralsina@kde.org>

    Copyright (C) 2003-2004 Perolo Silantico <per.sil@gmx.it> In case of problems, please contact Roberto Alsina, since this version is heavily modified from Perolo Silantico's original. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


CategoryDns CategoryWatch CategoryTemplate

MoinQ: qmail/spp/ra-plugins/mfdnschecks (last edited 2023-05-30 01:27:43 by ToshinoriMaeno)