全文検索:
- 04 Postfix+MySQL+Postfix AdminでバーチャルSMTPサーバの構築
- LAIN connect = dbname=postfix user=postfix host=/var/lib/mysql/mysql.sock password=xxpostfix password... # vi /etc/dovecot.conf listen = [::] log_path = /var/log/dovecot.log ssl_disable = no ssl_cert_file = ... conf } socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user... f postfixadmin_2.3.tar.gz # mv postfixadmin_2.3 /var/www/html/postfixadmin # cd /var/www/html/postfix
- 13 CentOS6メール設定
- CRYPT connect = dbname=postfix user=postfix host=/var/lib/mysql/mysql.sock password=xxpostfix password_... uid = 10000 #listen = [::] listen = * log_path = /var/log/dovecot.log mail_location = maildir:/home/mai... ocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix ... f postfixadmin_2.3.tar.gz # mv postfixadmin_2.3 /var/www/html/postfixadmin # cd /var/www/html/postfix
- 02 Postfix + amavisd + clamav
- clamd', 364 # \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"], 365 # qr/\bOK$/m, qr/\... -clamd', 364 \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"], 365 qr/\bOK$/m, qr/\b... ム・ウィルスメールの保管場所 ==== このフォルダ内に保管されます。 <code> # ll /var/virusmails/ </code> ==== spamassassinが起動しない ====... : exit 255 at /usr/bin/spamd line 2588. </code> /var/log/mailログを見てみたら、amavisdのログにsa-updateしろと出ておりました。
- 17 メールログのログローテート
- REG 253,1 30643285 1320630 /var/log/maillog-20190621 </code> ===== 毎日ローテート ===== <code|/etc/logrotate.d/maillog> /var/log/maillog { create 0640 root root daily ... ripts postrotate /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || tr
- 03 Postfix + Postgrey
- === ◆遅延応答ログ === <code> # grep "NOQUEUE: warn" /var/log/maillog </code> === ◆遅延を待たずにDATAを送ってきたログ === <code> # grep "NOQUEUE: sleep" /var/log/maillog |grep pipelining </code> === ◆遅延を待たずに切断したログ === <code> # grep "NOQUEUE: sleep" /var/log/maillog |grep "lost connection" </code> {{ta
- 15 Spamassassin 学習
- il/Spam ==== amavisd利用の場合 ==== amavisユーザのホームが /var/spool/amavis/ なのでsudo でsa-learnしてあげると良い。 # sud... am そうすると、amavisユーザ用のスパムフィルタ学習ファイルが更新される # ll /var/spool/amavisd/.spamassassin/ total 5516 -rw--
- Postfix DovecotでPOP before SMTP
- nd orange> 32 <color red>**#**</color>$logto = '/var/log/pop-before-smtp'; \\ 44 <color red>**#**</color>$file_tail{'name'} = '/var/log/maillog'; \\ \\ 254 <color red>**#**</color>
- Postfix Virtual Dovecot
- e> # cat /etc/postfix/main.cf queue_directory = /var/spool/postfix command_directory = /usr/sbin daem... } socket listen { client { path = /var/spool/postfix/private/auth mode = 0660
- 05 Postfix log解析
- rt #!/bin/bash MAILLOG=`mktemp` for log in `ls /var/log/maillog*|sort -r` do cat $log >> $MAILLOG
- Dovecot 2.2 upgrade
- グローテート設定 <code> # cat /etc/logrotate.d/dovecot /var/log/dovecot.log { weekly rotate 4 missingok