A. van Roggen wrote:
I am trying to make qpsmtd work with e-mail on my machine, but keep
getting stuck on the smtp message from my ISP [Verizon.net] "host
... Authorization required", and cannot find a plugin which handles
this case, or if it relates to this, the exmh, or any other program.
Has this been encountered earlier, and if so, what was the solution?
I cannot find an answer anywhere in the docs and FAQ of the various
programs.

I am running Linux 2-6-12-1-k7, Debian, and the related daemons are
 6639 pts/1    S      0:00 /usr/bin/perl -Tw /usr/bin/qpsmtpd-forkserver
-u qpsmtpd
and
 6852 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m

[Note: the qpsmtpd-forkserver also was called with specific
'--listen-address' of the machine running it, but no difference.]

The e-mail system I am trying to get to work is exmh + exim + qpsmtpd.
(The latter due to its filtering, and written in Perl).  The various
setup commands and files have been tried in many variations, and of
those that did not directly fail, always gave the no-authorization
error.  I cannot find any reference in the docs or web site related to
this topic on any of the programs mentioned.

The basic connections are OK, witness this e-mail via 'evolution',
which when setup had a question on the needed password.  How can I get
that check in qpsmtpd??

I would appreciate a hint on where to look, or some bypass (maybe a
wrapper around the 'send' command?).

A. van Roggen
[EMAIL PROTECTED]
qpsmtpd tried the local address and failed to validate
it as local, and then fell through to see if isp was a relay
client, failed, reported error to isp. Plugin rcpt_ok probably
issued a deny, and that's qpsmtpd's error message.

You can find test setups in the mailing list archive
at gmane. John Peacock is talking about testing
using swaks today. You could use ssmtp and write
a sendmail script to use it.

In order for qpsmtpd to cooperate with your local
delivery mechanism, qpsmtpd needs some way to
validate addresses as local. The quick and dirty
way is to let qpsmtpd/plugins/rcpt_ok find your
hosted domains in qpsmtpd/config/rcpthosts.
qpsmtpd looks in qmail dirs for the same file.
Then you would need qpsmtpd/relayclients to
look something like--

192.168.1.
127.0.

You could then send mail without auth, by using
a sendmail type script. That will be how your
system notifications go, without auth. And no
auth by "mail" or sendmail is how you can test
to debug.

To set up for evolution to use auth, try
perldoc qpsmtpd/plugins/auth/auth_flat_file
and then you might be interested in sql or
ldap methods later.

When you get going you will want a more
fine-grained address verification method
than rcpthosts file, which only verifies
the @domain.

-Bob

Reply via email to