Comments for Celestial Software https://www.celestialsoftware.net/ SSH Telnet and SFTP Wed, 04 Dec 2024 12:03:01 +0000 hourly 1 https://wordpress.org/?v=6.8.3 Comment on Compiling opendkim on Amazon Linux 2023 by bpence https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-62 Wed, 04 Dec 2024 12:03:01 +0000 https://www.celestialsoftware.net/?p=742#comment-62 Thanks Les.

I ended up with a similar opendkim.service, though not exactly the same….. I intentionally left out any mention of opendkim.conf or opendkim.service in this guide, as there are plenty of online resources for those. The real trick is to get past the install hurdle…. But yes… next would be to get the service RUNNING, then to configure for your specific mail agent (postfix, sendmail), guidance on requirements for your domain, required DNS records, validation of DKIM, SPF, and DMARC setup, etc… All of which can be quite a large topic… 🙂

]]>
Comment on Compiling opendkim on Amazon Linux 2023 by Les Hatton https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-61 Tue, 19 Nov 2024 16:03:57 +0000 https://www.celestialsoftware.net/?p=742#comment-61 Dear Brian,
As promised, an apparently working solution based on your compilation of opendkim. I couldn’t find a service for opendkim and AL2023 has moved towards systemV. In the end after suitably editing /etc/opendkim.conf for selector, pidfile and so on, I created the following file /usr/lib/systemd/system/opendkim.service

———————————————-
[Unit]
Description=Opendkim Service
Documentation=man:opendkim(1)
After=network.target

# Note PIDfile is under /run now, (var/run/ has been deprecated and does not work)
[Service]
Type=simple
ExecStart=/usr/local/sbin/opendkim -x /etc/opendkim.conf
PIDFile=/run/opendkim/opendkim.pid
Restart=on-failure
RestartPreventExitStatus=0 255

[Install]
WantedBy=multi-user.target
———————————————-

Then tell systemV that there is a new one
# systemctl daemon-reload

Then
# systemctl status opendkim
# systemctl start opendkim
# systemctl stop opendkim

all seem to function OK. Now to check that postfix will talk to it.

Cheers, Les.

]]>
Comment on Compiling opendkim on Amazon Linux 2023 by Les Hatton https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-60 Mon, 18 Nov 2024 18:19:07 +0000 https://www.celestialsoftware.net/?p=742#comment-60 Dear Brian,
Thanks again for the feedback. Very odd. I checked today and yum list available | grep sendmail now reveals sendmail-devel. It definitely didn’t on mine a couple of days ago. Must be a movable feast. Ah yes, there is a new release, so upgraded and it now loads in the sendmail-devel which they must have just added. Now for configuring. I will drop you a line with whatever I have to do for completeness.

Onwards and sideways …

Cheers, Les.

]]>
Comment on Compiling opendkim on Amazon Linux 2023 by bpence https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-59 Thu, 14 Nov 2024 01:34:23 +0000 https://www.celestialsoftware.net/?p=742#comment-59 Thanks for trying it out and for providing feedback..

That’s very odd….
I ran through the instructions again with a brand new Amazon Linux 2023 and didn’t have any problem at all.

‘yum install sendmail-devel’ installs sendmail-milter and sendmail-milter-devel:

It’s possible your configuration is older and slightly different?

Try:
1. ‘yum update’ to get everything to the latest versions and try again
2. ‘yum repolist all’ to see all repositories. I have TWO enabled: ‘amazonlinux’ and ‘kernel-livepatch’

Try those and let me know what you find out.

My output

yum install sendmail-devel
Last metadata expiration check: 0:04:43 ago on Thu Nov 14 01:18:29 2024.
Dependencies resolved.
========================================================================================================
Package Architecture Version Repository Size
========================================================================================================
Installing:
sendmail-milter-devel x86_64 8.17.1-5.amzn2023.0.4 amazonlinux 109 k
Installing dependencies:
sendmail-milter x86_64 8.17.1-5.amzn2023.0.4 amazonlinux 41 k

Transaction Summary
========================================================================================================
Install 2 Packages

Total download size: 150 k
Installed size: 337 k
Is this ok [y/N]:

]]>
Comment on Compiling opendkim on Amazon Linux 2023 by Les Hatton https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-58 Tue, 12 Nov 2024 18:41:38 +0000 https://www.celestialsoftware.net/?p=742#comment-58 Dear Brian,
I had no sooner hit the Post comment on the previous mail when I dredged the following out of the internet which seemed to do the job. Your point 1. should now read

sudo bash
yum install openssl-devel libbsd-devel autoconf automake libtool

To get the missing sendmail-devel, this appeared to have worked for me …

wget https://mirror.stream.centos.org/9-stream/CRB/x86_64/os/Packages/sendmail-milter-devel-8.16.1-11.el9.x86_64.rpm
yum localinstall sendmail-milter-devel-8.16.1-11.el9.x86_64.rpm

Then your instructions 2-4 worked fine.

Thanks again,
Cheers, Les.

]]>
Comment on Compiling opendkim on Amazon Linux 2023 by Les Hatton https://www.celestialsoftware.net/compiling-opendkim-on-amazon-linux-2023/#comment-57 Tue, 12 Nov 2024 18:27:08 +0000 https://www.celestialsoftware.net/?p=742#comment-57 Dear Brian,
Thanks for this. The saga continues. Your step 1 now fails as Amazon have squirreled away sendmail-devel somewhere. I spent a deal of time trying to install sendmail-milter (which is also missing) as it is required but unfortunately the milter headers are still missing notably mfapi.h which blows out the ./configure stage of opendkim as it is mandatory. (AL1 and presumably AL2 still had sendmail-milter.x86_64 8.14.4-9.14.amzn1 @amzn-main).

If I find a way round this I will let you know. Amazon seem to be making it so difficult to build secure mail servers that I am almost inclined to give up on them and use Ubuntu instead.

Thanks for your efforts.
Cheers, Les.

]]>
Comment on AbsoluteTelnet – VBScript API by AbsoluteTelnet – VBScripting – Celestial Software https://www.celestialsoftware.net/absolutetelnet-vbscript-api/#comment-5 Fri, 26 Apr 2024 21:14:10 +0000 http://www.celestialsoftware.net/?p=403#comment-5 […] see the api page for more […]

]]>
Comment on AbsoluteTelnet – VBScripting by AbsoluteTelnet – VBScript API – Celestial Software https://www.celestialsoftware.net/absolutetelnet-vbscripting/#comment-4 Fri, 26 Apr 2024 21:13:04 +0000 http://www.celestialsoftware.net/?p=401#comment-4 […] Scripts written in AbsoluteTelnet / SSH are written in VBScript. You can write global login scripts, session-specific login scripts, or user-initiated scripts. For more information about where you can attach various scripts and why you would want to put them there, read the information here. […]

]]>
Comment on AbsoluteTelnet – Mouse Commands by AbsoluteTelnet – Context Menu – Celestial Software https://www.celestialsoftware.net/absolutetelnet-mouse-commandes/#comment-3 Fri, 26 Apr 2024 18:49:36 +0000 http://www.celestialsoftware.net/?p=327#comment-3 […] currently selected. It will copy the selected text from the terminal window into the clipboard. See AbsoluteTelnet – Mouse Commands for details on selecting […]

]]>
Comment on AbsoluteTelnet – Printing by AbsoluteTelnet – Mouse Commandes – Celestial Software https://www.celestialsoftware.net/absolutetelnet-printing/#comment-2 Fri, 26 Apr 2024 18:34:47 +0000 http://www.celestialsoftware.net/?p=306#comment-2 […] To print the current selection, choose the File/Print command or press the print button on the toolbar. AbsoluteTelnet – Printing […]

]]>