summaryrefslogtreecommitdiff
path: root/docs/TOOLS
blob: d33d142de5a5305bb34ea680085006985f0ffb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Anope Bundled Tools
-------------------

1) Anope SMTP Client

    Provided with Anope is a simple SMTP client which can be used instead of
    programs like SendMail in some cases.

    The SMTP client can be used instead of sendmail for use with Anope's mail
    options. To use the SMTP client instead of sendmail, find the line in your
    services configuration file (services.conf) that defines sendmailpath. On
    that line, change the path to your services installation directory, then
    followed by "bin/anopesmtp" and the IP address of a valid SMTP server. It
    should look like this:

        sendmailpath = "/home/anope/services/bin/anopesmtp 127.0.0.1"

    If the SMTP client doesn't send mail, or if there's an other problem with
    it, you can compile it in debug mode. To do this, open anopesmtp.cpp, and look
    for "smtp_debug" near the top. Change this from 0 to 1 and recompile
    the code. This should generate a log file of what happened when it tried
    to connect to the SMTP server.

        Credits:
    Originally written by  Dominick Meglio    <codemastr@unrealircd.com>
    Ported to *nix by      Trystan Scott Lee  <trystan@nomadirc.net>