bug-anubis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-anubis] Anubis question...


From: Sergey Poznyakoff
Subject: Re: [bug-anubis] Anubis question...
Date: Sat, 10 May 2003 10:11:41 +0300

Hello Ernest,

> I need to send email through a smart relay (my ISP). I can do this easily 
> using most graphical mailers (*KMail, Netscape, etc.) because they have 
> authenticated SMTP support.
> 
> My problem is I need to be able to do the same thing with the good old 
> mail(1) 
> command so I can email the outside world from the command line.
[...]
> So I saw anubis, and thought it could help me. 

Yes, it can. However it is hardly possible with the standard mail(1)
program. You will need mail program capable of talking to different
mail servers. Such mail replacement is provided with the GNU Mailutils package
(http://www.gnu.org/software/mailutils). You may download it from
ftp.gnu.org or any mirror thereof. After configuring and installing it
add the following line to your $sysconfdir/mail.rc:

set sendmail="smtp://localhost:24"

($sysconfdir means the configuration directory set up when configuring
the package. To use /etc, run ./configure --sysconfdir=/etc).

That will make mail talk to Anubis instead to sendmail. Feel free to
direct your questions regarding mailutils either to me directly or to
the mailing list address@hidden

Now, a couple of points regarding configuration of Anubis itself. To
incorporate it into the MUA/MTA chain, simply start it as a daemon.
By default it will listen on port 24, so you will have to change this
default by either using the command line option --bind 25, or by
setting `bind = 25' in the CONTROL section of your /etc/anubisrc file.
The distribution contains a couple of startup scripts that can be used
to launch Anubis automatically at the system startup. They are
scripts/debian.init and scripts/redhat.init.

In your /etc/anubisrc you will have to have at least the following
statements:

---BEGIN CONTROL---
remote-mta = HOSTNAME[:PORT]
esmtp-auth = USERNAME:PASSWORD
---END CONTROL---

Where HOSTNAME is the name of your mail gateway, USERNAME and PASSWORD
are user credentials used with SMTP AUTH authentication.

Regards,
Sergey









reply via email to

[Prev in Thread] Current Thread [Next in Thread]