[pskmail] new server snapshot for adding new users from client

  • From: Fred Reiselt <freiselt@xxxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Thu, 14 Sep 2006 10:16:40 -0500

Rein,

I installed the server snapshot and did some testing. I can add a new user 
totally from an rf client. There a couple of strange things.

First, when the email info is uploaded from an rf client, the fields in the 
users data in rflink_users.db are shifted down by one position. For example, 
field 1: pop host is blank while field 2: pop user has the pop host entry, 
and so on.

Second, when the server encounters an unregistered user, it will connect and 
ask the new user to update their data. The second time the server encounters 
a new user, it will not ask the new user to update their data. Instead, it 
says "sri, no mail". If the server perl script is restarted, it will then ask 
a new user to update their data the first time only.

I do think a flag for this feature in the pskmailrc.pl would be a good idea. 
Some hams may want to set up a server just for themselves or a small group as 
it wouldn't take many users to keep a server busy.

Thanks for your efforts. I'll be glad to do some more testing as needed.

I have attached output from the server, in case it is useful.

73,
Fred - WB5CON

[freiselt@localhost ~]$ chmod 744 arq.pm
[freiselt@localhost ~]$ chmod 744 rflinkserver.pl
[freiselt@localhost ~]$ ./rflinkserver.pl
Connected to pskmail.org
1
Listening to the radio
Send>APRS-IS:WB5CON>PSKAPRS:@141413z3455.95N/08830.59W&PSKmail-0.2.0 test

<SOH>00cWB5CON-4:1024 WB5CON:24 563C6<EOT>
> Connect: WB5CON-4:1024 WB5CON:24 5

Connect_req
Called by WB5CON-4
Max block length = 5
Added WB5CON-4 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING WB5CON-4

~ABORTSEND
Could not find record
added call to list of known calls
Call WB5CON-4 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Hi WB5CON-4, pse update your record

<SOH>01s ""C3FB<EOT>
> Status : last=0 good=2 end=2 missing=
Disconnected
Listening to the radio
<SOH>00cWB5CON-4:1024 WB5CON:24 563C6<EOT>
> Connect: WB5CON-4:1024 WB5CON:24 5

Connect_req
Called by WB5CON-4
Max block length = 5
Added WB5CON-4 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING WB5CON-4

Call WB5CON-4 o.k.
~ABORTSEND
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Hi WB5CON-4, pse update your record

<SOH>02$mNvbSxmcmVkLExhTWFuY2hhLGZyZWRAcE776<SOH>
> Data:  4
mNvbSxmcmVkLExhTWFuY2hhLGZyZWRAc
<SOH>02s%  632F<EOT>
> Status : last=5 good=0 end=0 missing=
<SOH>02!~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV51EC<SOH>
> Data:  1
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV
<SOH>02"kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC508C1<SOH>
> Data:  2
kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5
<SOH>02#jb20sCg==
~RECxbWFpbC5yZWlzZWx0LECC5<SOH>
> Data:  3
jb20sCg==
~RECxbWFpbC5yZWlzZWx0L
<SOH>02%mVpc2VsdC5jb20sCg==
13AF<SOH>
> Data:  5
mVpc2VsdC5jb20sCg==

<SOH>02p%""86AF<EOT>
> Poll   : last=5 good=2 end=2 missing=
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmVkLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5jb20sCg==
Updating database for WB5CON-4
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmVkLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5jb20sCg==
Updating database for WB5CON-4
<SOH>02p%""86AF<EOT>
> Poll   : last=5 good=2 end=2 missing=
Send>APRS-IS:WB5CON>PSKAPRS:@141423z3455.95N/08830.59W&PSKmail-0.2.0 test

<SOH>02s%""C2AF<EOT>
> Status : last=5 good=2 end=2 missing=
::Updated database for WB5CON-4
Updated database for WB5CON-4

<SOH>02s%$$602C<EOT>
> Status : last=5 good=4 end=4 missing=
<SOH>02s%$$602C<EOT>
> Status : last=5 good=4 end=4 missing=
<SOH>02s%$$602C<EOT>
> Status : last=5 good=4 end=4 missing=
<SOH>02&~QUIT
0118<SOH>
> Data:  6
~QUIT

<SOH>02s&$$60DC<EOT>
> Status : last=6 good=4 end=4 missing=
~QUIT
Disconnect received
<SOH>02s&$$60DC<EOT>
> Status : last=6 good=4 end=4 missing=
Listening to the radio
<SOH>00cWB5CON-4:1024 WB5CON:24 563C6<EOT>
> Connect: WB5CON-4:1024 WB5CON:24 5

Connect_req
Called by WB5CON-4
Max block length = 5
Added WB5CON-4 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING WB5CON-4

Call WB5CON-4 o.k.
~ABORTSEND
Pop defined
Use of uninitialized value in numeric lt (<) at ./rflinkserver.pl line 837.
::WB5CON pskmail v.0.2.0
Sri WB5CON-4, No mail

<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03!~QUIT
0DAF<SOH>
> Data:  1
~QUIT

<SOH>03s!""C3D3<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
<SOH>03p!""87D3<EOT>
> Poll   : last=1 good=2 end=2 missing=
Listening to the radio
Send>APRS-IS:WB5CON>PSKAPRS:@141433z3455.95N/08830.59W&PSKmail-0.2.0 test

<SOH>00cWB5CON-5:1024 WB5CON:24 59F97<EOT>
> Connect: WB5CON-5:1024 WB5CON:24 5

Connect_req
Called by WB5CON-5
Max block length = 5
Added WB5CON-5 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING WB5CON-5

~ABORTSEND
Could not find record
added call to list of known calls
Call WB5CON-5 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Sri WB5CON-5, No mail

<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04!~QUIT
EBEE<SOH>
> Data:  1
~QUIT

<SOH>04s!""0366<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
Listening to the radio
<SOH>00cWB5CON-6:1024 WB5CON:24 5DB67<EOT>
> Connect: WB5CON-6:1024 WB5CON:24 5

Connect_req
Called by WB5CON-6
Max block length = 5
Added WB5CON-6 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING WB5CON-6

~ABORTSEND
Could not find record
added call to list of known calls
Call WB5CON-6 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Sri WB5CON-6, No mail

<SOH>05s ""030A<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>05s ""030A<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>05s ""030A<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>05!~QUIT
272F<SOH>
> Data:  1
~QUIT

<SOH>05s!""C35B<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
Listening to the radio
<SOH>00cW5JOR-2:1024 WB5CON:24 5905E<EOT>
> Connect: W5JOR-2:1024 WB5CON:24 5

Connect_req
Called by W5JOR-2
Max block length = 5
Added W5JOR-2 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING W5JOR-2

~ABORTSEND
Could not find record
added call to list of known calls
Call W5JOR-2 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Sri W5JOR-2, No mail

<SOH>06s ""034E<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>06!~QUIT
326F<SOH>
> Data:  1
~QUIT

<SOH>06s!""C31F<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
<SOH>06s!""C31F<EOT>
> Status : last=1 good=2 end=2 missing=
Listening to the radio

[freiselt@localhost ~]$ ./rflinkserver.pl
Connected to pskmail.org
1
Listening to the radio
Send>APRS-IS:WB5CON>PSKAPRS:@141442z3455.95N/08830.59W&PSKmail-0.2.0 test

<SOH>00cW5JOR-3:1024 WB5CON:24 56C0F<EOT>
> Connect: W5JOR-3:1024 WB5CON:24 5

Connect_req
Called by W5JOR-3
Max block length = 5
Added W5JOR-3 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING W5JOR-3

~ABORTSEND
Could not find record
added call to list of known calls
Call W5JOR-3 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Hi W5JOR-3, pse update your record

<SOH>01s ""C3FB<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>01s ""C3FB<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>01s ""C3FB<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>01!~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV26EC<SOH>
> Data:  1
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV
<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
<SOH>01"kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC57FC1<SOH>
> Data:  2
kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5
<SOH>01#jb20sCg==
2628<SOH>
> Data:  3
jb20sCg==

<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5jb20sCg==
<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
<SOH>01p#""870B<EOT>
> Poll   : last=3 good=2 end=2 missing=
<SOH>01s#""C30B<EOT>
> Status : last=3 good=2 end=2 missing=
<SOH>01$~QUIT
D47B<SOH>
> Data:  4
~QUIT

<SOH>01s$""02BA<EOT>
> Status : last=4 good=2 end=2 missing=
~QUIT
Disconnect received
<SOH>01s$""02BA<EOT>
> Status : last=4 good=2 end=2 missing=
Listening to the radio
<SOH>00cW5JOR-3:1024 WB5CON:24 56C0F<EOT>
> Connect: W5JOR-3:1024 WB5CON:24 5

Connect_req
Called by W5JOR-3
Max block length = 5
Added W5JOR-3 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING W5JOR-3

Call W5JOR-3 o.k.
~ABORTSEND
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Hi W5JOR-3, pse update your record

<SOH>02s ""C3BF<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>02s ""C3BF<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>02!~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV51EC<SOH>
> Data:  1
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmV
<SOH>02"kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC508C1<SOH>
> Data:  2
kLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5
<SOH>02#jb20sCg==
222C<SOH>
> Data:  3
jb20sCg==

<SOH>02s#""C34F<EOT>
> Status : last=3 good=2 end=2 missing=
~RECxbWFpbC5yZWlzZWx0LmNvbSxmcmVkLExhTWFuY2hhLGZyZWRAcmVpc2VsdC5jb20sCg==
Updating database for W5JOR-3
<SOH>02p#""874F<EOT>
> Poll   : last=3 good=2 end=2 missing=
<SOH>02s#""C34F<EOT>
> Status : last=3 good=2 end=2 missing=
::Updated database for W5JOR-3

<SOH>02s###938F<EOT>
> Status : last=3 good=3 end=3 missing=
<SOH>02s###938F<EOT>
> Status : last=3 good=3 end=3 missing=
<SOH>02s###938F<EOT>
> Status : last=3 good=3 end=3 missing=
<SOH>02s$##523E<EOT>
> Status : last=4 good=3 end=3 missing=
<SOH>02$~QUIT
C13B<SOH>
> Data:  4
~QUIT

<SOH>02s$##523E<EOT>
> Status : last=4 good=3 end=3 missing=
~QUIT
Disconnect received
Listening to the radio
<SOH>00cW5JOR-3:1024 WB5CON:24 56C0F<EOT>
> Connect: W5JOR-3:1024 WB5CON:24 5

Connect_req
Called by W5JOR-3
Max block length = 5
Added W5JOR-3 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING W5JOR-3

~ABORTSEND
Call W5JOR-3 o.k.
Pop defined
Use of uninitialized value in numeric lt (<) at ./rflinkserver.pl line 837.
::WB5CON pskmail v.0.2.0
Sri W5JOR-3, No mail

<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03s ""0382<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>03!~QUIT
0DAF<SOH>
> Data:  1
~QUIT

<SOH>03s!""C3D3<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
<SOH>03s!""C3D3<EOT>
> Status : last=1 good=2 end=2 missing=
Listening to the radio
<SOH>00cW5JOR-4:1024 WB5CON:24 519BE<EOT>
> Connect: W5JOR-4:1024 WB5CON:24 5

Connect_req
Called by W5JOR-4
Max block length = 5
Added W5JOR-4 to link list
Send>APRS-IS:WB5CON>PSKMAIL,TCPIP*:{{GATING W5JOR-4

~ABORTSEND
Could not find record
added call to list of known calls
Call W5JOR-4 o.k.
Could not find record
Could not find record
::WB5CON pskmail v.0.2.0
Sri W5JOR-4, No mail

Send>APRS-IS:WB5CON>PSKAPRS:@141452z3455.95N/08830.59W&PSKmail-0.2.0 test

<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04s ""C337<EOT>
> Status : last=0 good=2 end=2 missing=
<SOH>04s!""0366<EOT>
> Status : last=1 good=2 end=2 missing=
<SOH>04!~QUIT
EBEE<SOH>
> Data:  1
~QUIT

<SOH>04s!""0366<EOT>
> Status : last=1 good=2 end=2 missing=
~QUIT
Disconnect received
<SOH>04s!""0366<EOT>
> Status : last=1 good=2 end=2 missing=
Listening to the radio
                                                                                
         

Other related posts: