2024-01-01から1年間の記事一覧

ppa:ondrej

ppa:ondrej/apache2 https://launchpad.net/~ondrej/+archive/ubuntu/apache2 Ubuntu 22.04 2.4.52 to 2.4.58https://serverfault.com/questions/1151794/apache-upgrade-to-2-4-58-on-ubuntu-22-04 Ubuntu 16.04 BestManfred Hampl (m-hampl) said on 2021-…

FreeBSD 14.0 mysql81-server-8.1.0 WARNING: failed precmd routine for mysql

/usr/local/etc/rc.d/mysql-server start /usr/local/etc/rc.d/mysql-server: WARNING: failed precmd routine for mysql sh -x /usr/local/etc/rc.d/mysql-server start ... + [ ! -d /var/db/mysql/mysql/. ] + mysql_create_auth_tables + eval /usr/loca…

DMARC集計レポート受信 → 可視化

https://www.reddit.com/r/selfhosted/comments/vcf8aj/dmarc_report_analyzer_and_visualizer/ サービス DMARC集計レポートを受信して可視化するツールを探す | DevelopersIO 2022→ https://dmarcian.com/jp/ OSS https://github.com/techsneeze/dmarcts-re…

OpenDMARC

https://wiki.archlinux.jp/index.php/OpenDMARCDMARC検証。集計レポート送信いまさらだけど遅すぎというほどでもないDMARC レポート編1 - がとらぼ 2022 FreeBSD DMARCを導入する – 気まぐれITエンジニアBlog 2022FreeBSD 12 で自宅サーバ作成 メールサーバ…

sendmail TLS エンフォースメント

Example: e-mail sent to secure.example.com should only use an encrypted connection. E-mail received from hosts within the laptop.example.com domain should only be accepted if they have been authenticated. The host which receives e-mail for…

sendmail フィルタ

INPUT_MAIL_FILTER(`opendkim', `S=local:/var/run/opendkim/opendkim.sock,F=T') F= は、以下のフラグのいずれを適用するかを示します。 項目 説明 R フィルターが使用不可の場合に接続が拒否されます。 T フィルターが使用不可の場合に接続が一時的に失敗…

sendmail ruleset ルール セット

An Address Rewriting Rule The core of sendmail’s address rewriting capabilities is based on the idea of rules and rulesets. An individual address rewriting rule is a simple if ... then ... statement. If the address matches the Left Hand Si…

sendmail QUEUE_GROUP

/usr/local/share/doc/sendmail/TUNING Let's assume a simple example: a mailing list where most of the recipients are at three domains: the local one (local.domain) and two remotes (one.domain, two.domain) and the rest is splittered over sev…

mfsmax.docomo.ne.jp 454 4.7.0 TLS handshake failed.

FreeBSD 14.0 sendmail-8.17.2 OpenSSL 3.0.12unsafe legacy renegotiation disabled sm-mta[47973]: STARTTLS=client, error: connect failed=-1, reason=unsafe legacy renegotiation disabled, SSL_error=1, errno=0, retry=-1 sm-mta[47973]: ruleset=tl…

Office365 xxx.prod.outlook.com Too many recipients

stat=Deferred: 452 4.5.3 Too many recipients (AS780090) From further research, it appears that Office 365 servers are picky with new servers, and they require them being run long enough to gain a good reputation. A lot of people complain a…

procmailrc の ^FROM_DAEMON ^FROM_MAILER

正規表現に `^FROM_DAEMON' とある場合、 (^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemo…

Precedence: bulk

RFC 2076 Precedence: bulk メール送信者のガイドラインに Precedence: bulk の明確な記述はない (2024/2 現在) メール送信者のガイドライン - Google Workspace 管理者 ヘルプ 参考情報:https://www.validity.com/understanding-the-precedence-header/ あ…

CentOS 7 certbot apache

証明書取得 yum install certbot vi /etc/httpd/conf.d/httpd-acme.conf Alias /.well-known/acme-challenge/ "/var/lib/letsencrypt/.well-known/acme-challenge/" <Directory "/var/lib/letsencrypt/"> AllowOverride None Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Re</directory>…

Ubuntu 16.04 perl LWP SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

SSL connect attempt failed error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure at /usr/share/perl5/LWP/Protocol/http.pm line 47. openssl 1.0.2g-1ubuntu4.20 libio-socket-ssl-perl 2.024-1 #!/usr/bin/perl use stri…

FreeBSD pwコマンド バッチ処理

最近になって、FreeBSD には pw という、バッチコマンド形式でユーザー登録やグループ登録、削除や変更を行える pw コマンドがあるのを知りました。 FreeBSD: pw コマンドによるユーザー・グループ管理 – システム管理メモ 2016 「pw」の「-h」パラメータに…

node npm

https://www.freshports.org/www/nodenode20 (2024/01) npm outdatedコマンドで現在のライブラリのバージョン、マイナーバージョンがどのくらい上がるのかを確認します。npmで管理しているライブラリのバージョンアップ手順まとめ 2021

共有ライブラリ so

その役割上仕方ないことだとは思うものの、C++の新機能提供用ライブラリのboostやUnicode処理用ライブラリicuなどは、バージョンアップごとに共有ライブラリのメジャーバージョン番号を更新するので、メンテナにとっては頭痛の種です。 第29回 共有ライブラ…

freebsd ports node18

cd /usr/ports/www/node18 make ../src/node_os.cc:384:30: error: use of undeclared identifier 'uv_available_parallelism' unsigned int parallelism = uv_available_parallelism();libuv-1.42.0 でエラー1.44.0 以降に更新が必要 New in version 1.44.0…

Slackワークフロービルダー

SlackワークフロービルダーでGoogleスプレッドシートへ書き込みを自動化してみた | PCIソリューションズ - プロダクト・サービスサイトワークフローの起動条件がショートカットからlink in slack(URL)になっている。URLをbookmarkに登録

さくらのレンタルサーバ メモ

FreeBSD 13 ufs quota % df -h Filesystem Size Used Avail Capacity Mounted on /dev/vtbd0p2 19G 5.0G 13G 28% / devfs 1.0K 1.0K 0B 100% /dev /dev/vtbd0p4 29G 3.2G 23G 12% /var /dev/vtbd1 3.9T 1.1T 2.5T 30% /home % cat /etc/fstab # Device Mount…

FreeBSD ufs quota

FreeBSD 11だと $ sysctl kern.features.ufs_quota kern.features.ufs_quota: 1カーネルの再コンパイルは必要ないhttps://docs.freebsd.org/en/books/handbook/disks/#quotas の手順に従って設定する クォータ設定 # edquota -u test ある範囲の UID に対し…

git sparse-checkout

git の sparse-checkout を使ってモノリポでも快適にいこう! - asoview! Tech Blog 2023 cone sparse-checkoutにはconeとnon-coneの2つのモードがある。標準ではconeモードが有効になっている。non-coneモードに切り替えるには--no-coneオプションをつける…

git compile FreeBSD11

Gitをソースからコンパイルしてインストールする。 #Linux - Qiita 2020https://github.com/git/git/releases/tag/v2.43.0 $ curl -LO https://github.com/git/git/archive/refs/tags/v2.43.0.tar.gz $ tar xvzf v2.43.0.tar.gz $ cd git-2.43.0/ $ gmake co…

PHP-Facedetect

https://www.xarg.org/project/php-facedetect/https://github.com/infusion/PHP-Facedetect0e243c5 PHP7 OpenCV 3(4)680c815 v1.1.0 PHP5 OpenCV 2 https://github.com/infusion/PHP-Facedetect/releases/tag/v1.1.0