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

FreeBSD 12.4 bash /etc/profile の問題

bash は /usr/local/etc/profile のみ読む ( /etc/profile は読まない ) Hmm. Something I overlooked with regards to bash (I don't use it): Code: 20200716: AFFECTS: users of shells/bash, shells/bash-static AUTHOR: ehaupt@FreeBSD.org In order to…

ネットワークペイロード 転送量

HTTP Archiveが分析したURLは、デスクトップ向けが730万3959件、モバイル向けが1032万8202件です。転送量からみる各サイトのファイルサイズの中央値は、2022年7月時点でデスクトップ向けが2314.4KB(約2.26MB)、モバイル向けが2040.4KB(約1.99MB)となっていま…

CVE-2023-48795 terrapin

https://twitter.com/satorukanno/status/1737311133885935655https://github.com/RUB-NDS/Terrapin-ScannerFreeBSD 12.4 はまだ Note: While this issue does affect 12.4-STABLE and 12.4-RELEASE, the version of OpenSSH in 12.4 is old enough the vend…

Ubuntu 22.04 PHP5.6

php5.6 インストール sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt-get install php5.6 php5.6-fpm Ubuntu 22.04 に複数の PHP バージョンをインストールする 2023 mysql-server-8.0 に p…

openssh バージョン

頑張って翻訳すると、「バージョン情報は、接続先SSHサーバとのプロトコルの互換性を有効にする調整のために、サーバとクライアントによって使用される。非互換のバージョンはまだ広く使われているので、このプロトコル機能のチェックは現在もまだ必要とされ…

FreeBSD openssh-portable

https://www.cyberciti.biz/faq/how-to-install-and-upgrade-openssh-server-on-freebsd/FreeBSD 12.4-RELEASE-p9 openssh-portable-9.3.p2_1,1blacklistdを使用する場合はportsでインストールする [ ] BLACKLISTD FreeBSD blacklistd(8) support インストー…

PRIMERGY TX1320 M5 CSM

M5世代はCSM(Compatibility Supported Module)がないUEFI オンリー 2020年11月以降に発表した製品は、「BIOSモード」は非サポートとなり、「UEFIモード」のみご使用になれます。 https://jp.fujitsu.com/platform/server/primergy/pdf/note/uefi.pdf…

USBのGrub2からSATAのHDDのUbuntuを起動 lvm

内臓HDDのUbuntuをUSBメモリのGrub2から叩く。 - 手続き型音楽の日常 2017 grub> set root=(hd0,gpt2) grub> linuxefi /vmlinuz-3.10.0-514.16.1.el7.x86_64 root=/dev/mapper/cl-root grub> initrdefi /initramfs-3.10.0-514.16.1.el7.x86_64.img grub> gru…

apache 2.4 IP制限

Require ip <Directory /var/www/secret> Require ip 192.168.1.1 Require ip 192.168.1.2 Require ip 192.168.1.3 </Directory>SetEnvIf Remote_Addr SetEnvIf Remote_Addr "^192\.168\.1\.[1-3]$" let_me_in <Directory /var/www/secret> Require env let_me_in </Directory>Apache の SetEnvIf で プライベートIPアドレス帯域を指定する方…

Ubuntu 22.04 MySQL8.0

mysql_secure_installation パスワード 久しぶりにMySQLをAzure VMのUbuntu20.04にインストールする機会がありました。 そこで、気になったことがありました。 インストール後にmysql_secure_installation を行うのですがrootパスワードが設定されない。Ubun…

QNAP .streams フォルダ

The “.streams” folder is used by the SAMBA service to store metadata created by an NTFS file system feature called NTFS Alternate Data Streams (ADS). When a file that includes ADS metadata is transferred to a NAS shared folder using the pr…

FreeBSD apache 2.4 env

test.cgi #!/usr/bin/env perl print "Content-type: text/plain\n\n"; print "test!!\n";End of script output before headers: test.cgienv: perl: No such file or directory自動起動した場合 /usr/local/bin にPATHが通らないRails Apache Passenger で …

Gmail 送信ガイドライン 2024年2月

https://support.google.com/mail/answer/81126?hl=enGoogle, Yahoo の Sender Guidelines について | IIJ Engineers Blog 2023新潮流になるか?GoogleとYahooが発表した「今後は受信しないメール」の条件 – エンタープライズIT [COLUMNS] 2023Gmailが2024年…