Hello,

I'm trying to set up POP over SSH with qmail on my new server.
Unfortunately, I don't even know if I've got the qmail pop program
working correctly.  Here's the line from inetd.conf:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
area66-1.dsl.speakeasy.net /bin/checkpassword /var/qmail/bi

It's really all on one line.  I've tried a couple formulas in my
.fetchmailrc file for achieving this.  One was straight out of the
POP via SSH HOWTO, but the current version is adapted from Life with
Qmail.  The relevant excerpts:

defaults
##      interface "sl0/10.0.2.15"       # SLIRP standard address
        protocol POP3
        is benfell here
        password NwC1762
        fetchall
        forcecr
        to *
##      fetchlimit 10
##      batchlimit 10
        mda "/usr/bin/procmail -f - "
poll area66-1.dsl.speakeasy.net port 11110 user benfell
       preconnect "ssh -x -C -f -L
11110:area66-1.dsl.speakeasy.net:110
[EMAIL PROTECTED] sleep 2 0 </dev/nul
l >/dev/null";

The last three lines shown here actually share the line which precedes
it, beginning with preconnect.

No matter which flavor of .fetchmailrc adaption I use, the result is
the same:

> ssh-agent getmail
Need passphrase for /home/benfell/.ssh/identity (benfell@area66-1).
Enter passphrase:
Identity added: /home/benfell/.ssh/identity (benfell@area66-1)
...Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
Local: bind: Address already in use
Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
Local: bind: Address already in use

On the server, I see in /var/log/messages:

Jun 21 16:49:08 area66-1 sshd[3118]: log: Connection from
216.88.157.130 port 58113
Jun 21 16:49:08 area66-1 sshd[3118]: log: Could not reverse map
address 216.88.157.130.
Jun 21 16:49:09 area66-1 sshd[3118]: log: RhostsRsa authentication not
available for connections from unprivileged port.
Jun 21 16:49:09 area66-1 sshd[3118]: log: RSA authentication for
benfell accepted.
Jun 21 16:49:09 area66-1 sshd[3118]: fatal: bind: Address already in
use
Jun 21 16:49:29 area66-1 sshd[3120]: log: Connection from
216.88.157.130 port 58185
Jun 21 16:49:29 area66-1 sshd[3120]: log: Could not reverse map
address 216.88.157.130.
Jun 21 16:49:30 area66-1 sshd[3120]: log: RhostsRsa authentication not
available for connections from unprivileged port.
Jun 21 16:49:30 area66-1 sshd[3120]: log: RSA authentication for
benfell accepted.
Jun 21 16:49:31 area66-1 sshd[3120]: fatal: bind: Address already in
use
Jun 21 16:51:34 area66-1 named[197]: Cleaned cache of 0 RRsets
Jun 21 16:51:34 area66-1 named[197]: USAGE 961631494 961566694
CPU=0.39u/0.25s CHILDCPU=0u/0s
Jun 21 16:51:34 area66-1 named[197]: NSTATS 961631494 961566694 A=9
SOA=428 MX=1
Jun 21 16:51:34 area66-1 named[197]: XSTATS 961631494 961566694 RR=3
RNXD=0 RFwdR=2 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
SSysQ=1 SAns=321 SFwdQ=4 SDupQ=38 SErr=0 RQ=438 RIQ=0 RFwdQ=0 RDupQ=6
RTCP=107 SFwdR=2 SFail=0 SFErr=0 SNaAns=321 SNXD=0
Jun 21 16:52:01 area66-1 sshd[324]: log: Generating new 768 bit RSA
key.
Jun 21 16:52:02 area66-1 sshd[324]: log: RSA key generation complete.
Jun 21 16:52:40 area66-1 su: (to root) benfell on /dev/pts/0
Jun 21 16:52:40 area66-1 PAM-unix2[3122]: session started for user
root, service su

In /var/log/mail, I see nothing relevant:

Jun 21 16:20:00 area66-1 qmail: 961629600.359411 new msg 222095
Jun 21 16:20:00 area66-1 qmail: 961629600.359669 info msg 222095:
bytes 648 from <[EMAIL PROTECTED]> qp 3038 uid 500
Jun 21 16:20:00 area66-1 qmail: 961629600.363153 starting delivery 68:
msg 222095 to local [EMAIL PROTECTED]
Jun 21 16:20:00 area66-1 qmail: 961629600.363296 status: local 1/10
remote 0/20
Jun 21 16:20:00 area66-1 qmail: 961629600.372457 delivery 68: success:
did_1+0+0/
Jun 21 16:20:00 area66-1 qmail: 961629600.372646 status: local 0/10
remote 0/20
Jun 21 16:20:00 area66-1 qmail: 961629600.372726 end msg 222095
Jun 21 16:40:00 area66-1 qmail: 961630800.365098 new msg 222095
Jun 21 16:40:00 area66-1 qmail: 961630800.365349 info msg 222095:
bytes 648 from <[EMAIL PROTECTED]> qp 3081 uid 500
Jun 21 16:40:00 area66-1 qmail: 961630800.368869 starting delivery 69:
msg 222095 to local [EMAIL PROTECTED]
Jun 21 16:40:00 area66-1 qmail: 961630800.369012 status: local 1/10
remote 0/20
Jun 21 16:40:00 area66-1 qmail: 961630800.378037 delivery 69: success:
did_1+0+0/
Jun 21 16:40:00 area66-1 qmail: 961630800.378219 status: local 0/10
remote 0/20
Jun 21 16:40:00 area66-1 qmail: 961630800.378299 end msg 222095

These messages reflect a cron job I have running every 20 minutes that
generates e-mail.  (I know this is bad form, but the idea is to have
some test mail to retrieve...)

I've been trying to chase down some information on the "Bind: Address
already in use" messages and could find nothing relevant in a google
search.

In the mean time, I'm not succeeding in downloading the e-mail.  So
far as I can see, it's all failing pretty quietly.

So, where do I begin?

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 

Reply via email to