![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
DKIMをテスト環境のPostfixに組み込む
- 2023/04/26
- aikawa
前回はSPFを組み込んだので、今回はDKIMを組み込んでみます。
SPFと違ってDKIMでローカルから出したメールのVerifyを色々と試しましたが、やってくれなかったので結局二台のサーバ構成にしました。
サーバ1をvirtual.localdomain, サーバ2をvirtual2.localdomainとして両方に設定をして行きます。
SPFと違ってDKIMでローカルから出したメールのVerifyを色々と試しましたが、やってくれなかったので結局二台のサーバ構成にしました。
サーバ1をvirtual.localdomain, サーバ2をvirtual2.localdomainとして両方に設定をして行きます。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
SPFをテスト環境のPostfixに組み込む
以前作ったテスト環境のPostfixに、SPF(Sender Policy Framework)を組み込んでみます。
わざわざGoogle Domainsや、お名前.comから取得しなくても、試せるようにしています。
わざわざGoogle Domainsや、お名前.comから取得しなくても、試せるようにしています。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
milterでウィルスチェック、おまけでPostgrey
- 2023/04/17
- aikawa
前回SpamAssasssinのmilterを使ったので、引き続きmilterでウィルスチェックと、greylist対応にPostgreyを使ってみます(PostgreSQLではない)。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
pigeonholeとSpamAssassinでSpamを学習させる
- 2023/04/10
- aikawa
- pigeonhole
- SpamAssassin
前回Dovecotのpigeonholeを扱ったので、更にSpamAssassinと合わせて使ってみます。
※今回の設定は単純に学習させるだけで、スパムチェックやフォルダへの自動移動は別途設定が必要になります。
※今回の設定は単純に学習させるだけで、スパムチェックやフォルダへの自動移動は別途設定が必要になります。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
ソースからビルドしたDovecotにpigeonholeを入れる
- 2023/04/05
- aikawa
- CentOS
- Dovecot
- pigeonhole
- sieve
以前Dovecotをソースからビルドしましたが、dnfでdovecot-pigeonholeを入れても(当然)動かなかったので、別途入れる事にしました。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
メールサーバのためにLDAPを触る
- 2023/03/29
- aikawa
LDAPは使う機会が無かった事と、ちょっと面倒な感じが有り触って来なかったのですが、メールサーバの試験環境で利用するためにちょっと学習しました。OSはCentOS Stream 9。
長くなるので、今回はLDAPのみです。メール環境は次回に。
長くなるので、今回はLDAPのみです。メール環境は次回に。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
Dovecotで共有フォルダ
- 2023/03/09
- aikawa
Dovecotで、他人と同じメールフォルダを共有する設定を追加してみます。
ユーザのいないフォルダを全員で共有するケースと、個人のフォルダを誰かに共有するケースの2つを設定してみます。
ユーザのいないフォルダを全員で共有するケースと、個人のフォルダを誰かに共有するケースの2つを設定してみます。
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)