On Mon, 2006-01-02 at 13:16 -0800, Robert Spier 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.
>
> How are you testing this?
>
[See below]
> Where are the machines located? (i.e. home dsl? campus?
>
This is my main machine, at home, called ganesha, 192.168.1.6.
I
have several e-mail addresses, via ieee.org, sju.edu, and at
home (dsl)
verizon.net. The ieee one just forwards to sju, and I scan both
sju
and verizon via a pop3-perl routine. In short: Net::POP3, and
messages sorted into many MH
subdirs, /Mail/incoming, /Mail/ieee/deis,
/Mail/family, etc. The first stage filter is mailagent
(~/.rules).
The mail is read/replied to with exmh (or now temporarily with
evolution).
The system worked fine until I needed more filtering, which
could be
done with qpsmtp. After installing that, the error started.
Installation of all programs is via Debian 'apt-get install
xxx'
(etc.) in the 'testing' setup, maintained essentially daily with
updates. This guarantees that the dependencies are covered,
including
the 'mail' (= mailx), mnh, ... programs.
> What exactly are you doing to get the error?
>
I send/reply mail in exmh and the message bounces (copied from
a
test message with -- prepended) :
-- Return-Path: MAILER-DAEMON
-- Delivery-Date: Mon Jan 02 14:07:41 2006
-- Return-path: <>
-- Envelope-to: [EMAIL PROTECTED]
-- Delivery-date: Mon, 02 Jan 2006 14:07:41 -0500
-- Received: from Debian-exim by ganesha.dslnet with local (Exim
4.60)
id 1EtV1x-0004QM-Cd for [EMAIL PROTECTED]; Mon, 02 Jan 2006
14:07:41
-0500
-- X-Failed-Recipients: [EMAIL PROTECTED]
-- Auto-Submitted: auto-replied
-- From: Mail Delivery System <[EMAIL PROTECTED]>
-- To: [EMAIL PROTECTED]
-- Subject: Mail delivery failed: returning message to sender
-- Message-Id: <[EMAIL PROTECTED]>
-- Date: Mon, 02 Jan 2006 14:07:41 -0500
--
-- This message was created automatically by mail delivery
software.
--
-- A message that you sent could not be delivered to one or more
of its
-- recipients. This is a permanent error. The following
address(es)
failed:
--
-- [EMAIL PROTECTED]
-- SMTP error from remote mail server after MAIL
FROM:<[EMAIL PROTECTED]> SIZE=1549:
-- host outgoing.verizon.net [206.46.232.12]: 550 5.7.1
Authentication Required
--
-- ------ This is a copy of the message, including all the
headers.
------
--
-- Return-path: <[EMAIL PROTECTED]>
-- Received: from localhost ([127.0.0.1] helo=ganesha.dslnet)
-- by ganesha.dslnet with esmtp (Exim 4.60)
-- (envelope-from <[EMAIL PROTECTED]>)
-- id 1EtV1w-0004QI-Q7
-- for [EMAIL PROTECTED]; Mon, 02 Jan 2006 14:07:40 -0500
-- From: "A. van Roggen" <[EMAIL PROTECTED]>
-- To: AvR <[EMAIL PROTECTED]>
-- Subject: test mh-e
-- X-Mailer: MH-E 7.4.2; nmh 1.1; XEmacs 21.4 (patch 17)
-- Date: Mon, 02 Jan 2006 14:07:40 -0500
-- Sender: [EMAIL PROTECTED]
-- Message-Id: <[EMAIL PROTECTED]>
--
-- This is a test, mh-e, sju, Ma1403.
> What is your qpsmtpd configuration?
As of this morning, the log is in /var/log/qpsmtpd:
-rw-r----- 1 qpsmtpd adm 904 05:24 03-Jan-2006 qpsmtpd.log
and "cat qpsmtpd.log" gives:
Tue Jan 3 03:45:29 2006 ganesha[6247]: Loaded
Qpsmtpd::Plugin::logging::file=HASH(0x856eb4c)
Tue Jan 3 03:45:29 2006 ganesha[6247]: loading plugins
from /usr/share/qpsmtpd/plugins
Tue Jan 3 03:45:29 2006 ganesha[6247]: Listening on port 25
Tue Jan 3 03:45:29 2006 ganesha[6247]: Running as user qpsmtpd,
group
qpsmtpd
Tue Jan 3 03:45:29 2006 ganesha[6248]: Initializing spool_dir
Tue Jan 3 03:45:29 2006 ganesha[6248]: size_threshold set to 0
[[end log file, no additions after sending the bounced mail
message]]
The files in /etc/qpsmtpd are the default ones; I tried several
options, e.g. the listen addresses in exim4 and qpsmtpd so that
they
do not clash, e.g. in debconf-settings:
-- # auto-generated by /var/lib/dpkg/info/qpsmtpd.postinst at
Tue Jan
3 05:24:18 EST 2006
-- INTERFACES="192.168.37.6 192.168.1.6"
and looking at 127.0.0.1 only in exim4 [if these are wrong, the
qpsmtpd does not start due to 'address in use'].
I also tried to verify that none of my set of ~/.xxx setup files
gave
an unintentional conflict, by creating a new dummy
user /home/tuser,
and starting a fresh exmh (etc) mail system. This caused the
identical smtp error when sending. My gut feeling from the
error is
that the qpsmtpd program needs an internal check on the (ISP)
host
machine user/password values (as does evolution); on the other
hand
probably many people use this via their ISP.
Many thanks for looking into this; with so many interacting
packages
it is possible that I have not given you the exact answer to
your
questions or too much immaterial stuff; if not, please ask again
or let
me know which other programs/setup files should be looked at.
A. van Roggen
[EMAIL PROTECTED]
[EMAIL PROTECTED]