Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafesj



User Name Thread Name Subject Posted
Jon Freeman DECLUTTER * Health/Home Ecologic-Innovation *2023 (1376* d) RE: DECLUTTER * Health/Home Ecologic-Innovation *2023 06 Jul 23


I suppose I might as well mention my health. No further on this please. Although I had a good spell after my cancer op in 2000, the op didn’t rid me of cancer and things I’ve been able to do have been reducing for quite some time. After a spell in hospital starting in May, I was allowed home in June and put on palliative care. As things stand, I can walk a short distance with a frame but spend most of my time in bed and am often very tired.

Coming home was “fun”. They had to clean and clear my cluttered bed/living room and make room for a hospital bed. In doing my desk area, they managed to disconnect some Internet things and I can neither get under the desk to fix everything or think of anyone I’d trust to help me. I managed to restore my Internet and LAN by buying a new Ethernet PoE smart switch, plugging it into an accessible power socket, configuring and using that instead of the one I’ve no power to. Then there were a few more hassles with other things…

I’ve mostly been playing with laptop the last few days. No real need for me doing this but as a something to do, I decided to set up postfix/dovecot on my server box. I got in quite a muddle with postfix and relaying to my ISP’s mail servers and decided some sort of test server would be handy. I failed to find anything free I liked on my short search so I’ve tried to write my own usin python aiosmtpd. Here’s a run with me sending an email to it from kmail.

(aiosmtpd) jon@jonlaptop:~/PycharmProjects/aiosmtpdtest> python main.py -a -t -d INFO --ssl tls /pi4/certs/cert.pem /pi4/certs/key.pem    

Server Started
Listening on 0.0.0.0 8025
Authentication is on
Use tls is on
Debug Level is INFO
Using starttls: certfile: /pi4/certs/cert.pem keyfile: /pi4/certs/key.pem
Press Return to quit.

[2023-07-06 17:25:33,272 INFO] Peer: ('172.23.41.192', 60984)
[2023-07-06 17:25:33,272 INFO] ('172.23.41.192', 60984) handling connection
[2023-07-06 17:25:33,272 INFO] ('172.23.41.192', 60984) >> b'EHLO jonlaptop.localnet'
[2023-07-06 17:25:33,273 INFO] ('172.23.41.192', 60984) >> b'STARTTLS'
[2023-07-06 17:25:33,279 INFO] ('172.23.41.192', 60984) >> b'EHLO jonlaptop.localnet'
[2023-07-06 17:25:33,280 INFO] ('172.23.41.192', 60984) >> b'AUTH PLAIN ********'
[2023-07-06 17:25:33,313 WARNING] Session.login_data is deprecated and will be removed in version 2.0
[2023-07-06 17:25:33,315 INFO] ('172.23.41.192', 60984) >> b'MAIL FROM:'
[2023-07-06 17:25:33,316 INFO] ('172.23.41.192', 60984) sender: jon@laptop.folkinfo.org
[2023-07-06 17:25:33,316 INFO] ('172.23.41.192', 60984) >> b'RCPT TO:'
[2023-07-06 17:25:33,316 INFO] ('172.23.41.192', 60984) recip: jon@laptop.folkinfo.org
[2023-07-06 17:25:33,316 INFO] ('172.23.41.192', 60984) >> b'DATA'
Message from jon@laptop.folkinfo.org
Message for ['jon@laptop.folkinfo.org']
Message data:

> From: Jon Freeman
> To: Jon Freeman
> Subject: starttls test
> Date: Thu, 06 Jul 2023 17:25:33 +0100
> Message-ID: <12239959.O9o76ZdvQC@jonlaptop>
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7Bit
> Content-Type: text/plain; charset="us-ascii"
>
> Message sent to test server
>
>

End of message
[2023-07-06 17:25:33,317 INFO] ('172.23.41.192', 60984) >> b'QUIT'
[2023-07-06 17:25:33,317 INFO] ('172.23.41.192', 60984) Connection lost during _handle_client()
[2023-07-06 17:25:33,317 INFO] ('172.23.41.192', 60984) EOF received
[2023-07-06 17:25:33,317 INFO] ('172.23.41.192', 60984) connection lost


Oh well, gives me something to meddle with I suppose and I’ll have to think of something else now...




Back to the Main Forum Page

By clicking on the User Name, you will requery the forum for that user. You will see everything that he or she has posted with that Mudcat name.

By clicking on the Thread Name, you will be sent to the Forum on that thread as if you selected it from the main Mudcat Forum page.
   * Click on the linked number with * to view the thread split into pages (click "d" for chronologically descending).

By clicking on the Subject, you will also go to the thread as if you selected it from the original Forum page, but also go directly to that particular message.

By clicking on the Date (Posted), you will dig out every message posted that day.

Try it all, you will see.