@ IN TXT v=spf1 ip4:xx.xx.xx.xx include:outgoing.com -all
_dmarc IN TXT v=DMARC1; p=none; rua=mailto:dmarc_rua@mydomain.com; ruf=mailto:dmarc_ruf@mydomain.com
IN MX 10 mail.mydomain.com.
mail IN A mydomain.com
ml IN A mydomain.com
> win-acme.exe
A: Manage renewals (1 total)
Please choose from the menu: a
D: Show details for the renewal
Choose an action or type numbers to select renewals: d
E: Edit renewal
Choose an action or type numbers to select renewals: e
2: Source
Which step do you want to edit?: 2
2: Manual input
How shall we determine the domain(s) to include in the certificate?: 2
Host: mydomanin.com,ftp.mydomanin.com,mail.mydomanin.com,ml.mydomanin.com,www.mydomanin.com
Friendly name '[Manual] mydomanin.com'. <Enter> to accept or type desired name: mydomanin.com
$ sudo vi /root/.fetchmailrc
# ログファイルの指定
set logfile "/var/log/fetchmail.log"
# エラーの送信先
set postmaster postmaster@mydomain.com
set no bouncemail
# メールのチェック間隔(秒)
set daemon 300
# デフォルト設定
defaults
# 既読のチェックを行う
uidl
# 未読メールの取り込み(ex.全て取り込む場合[fetchall])
no fetchall
# サーバ上にメールを残す(ex.削除する場合[no keep])
keep
# mimed ecode(8ビットデータに変換しない)
no mimedecode
# RFC-822 のアドレスヘッダ (To, From, Cc, Bcc, Reply-To) を書き換えない
no rewrite
# 外部メールサーバの設定(取り込み元) localdomainsではenvelopeが必要
poll mail.mydomain.com with proto imap envelope "X-Envelope-To"
localdomains ml.mydomain.com
# アカウント名、パスワード、宛先ユーザー
user "mailman" with pass "mailパスワード" to * here
$ sudo /usr/lib/mailman/bin/newlist --language=ja mailman
Enter the email of the person running the list: postmaster@mydomain.com
Initial mailman password:xxxxx
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:
$ sudo vi /etc/mailman/mm_cfg.py
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
DEFAULT_EMAIL_HOST = 'ml.mydomain.com'
DEFAULT_URL_HOST = 'ml.mydomain.com'
#####
# Archive defaults
#####
# Are archives on or off by default?
DEFAULT_ARCHIVE = Off
# Are archives public or private by default?
# 0=public, 1=private
DEFAULT_ARCHIVE_PRIVATE = 1
#####
# Delivery defaults
#####
MTA='Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = [DEFAULT_EMAIL_HOST ]
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#####
# General defaults
#####
DEFAULT_SERVER_LANGUAGE = 'ja'
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
DEFAULT_NEW_MEMBER_OPTIONS = 256 # Default see Bitfield for user options
#####
# List defaults. NOTE: Changing these values does NOT change the
# configuration of an existing list. It only defines the default for new
# lists you subsequently create.
#####
DEFAULT_LIST_ADVERTISED = No
DEFAULT_SUBJECT_PREFIX = '[%(real_name)s:%%05d] '
# What should happen to non-member posts which are do not match explicit
# non-member actions?
# 0 = Accept
# 1 = Hold
# 2 = Reject
# 3 = Discard
DEFAULT_GENERIC_NONMEMBER_ACTION = 2
DEFAULT_SEND_REMINDERS = 0
DEFAULT_SEND_WELCOME_MSG = No
DEFAULT_SEND_GOODBYE_MSG = No
# Mailman can be configured to "munge" Reply-To: headers for any passing
# messages. One the one hand, there are a lot of good reasons not to munge
# Reply-To: but on the other, people really seem to want this feature. See
# the help for reply_goes_to_list in the web UI for links discussing the
# issue.
# 0 - Reply-To: not munged
# 1 - Reply-To: set back to the list
# 2 - Reply-To: set to an explicit value (reply_to_address)
DEFAULT_REPLY_GOES_TO_LIST = 1
# SUBSCRIBE POLICY
# 0 - open list (only when ALLOW_OPEN_SUBSCRIBE is set to 1) **
# 1 - confirmation required for subscribes
# 2 - admin approval required for subscribes
# 3 - both confirmation and admin approval required
#
# ** please do not choose option 0 if you are not allowing open
# subscribes (next variable)
DEFAULT_SUBSCRIBE_POLICY = 2
#####
# Digestification defaults. Same caveat applies here as with list defaults.
#####
DEFAULT_DIGESTABLE = No
postfix
sudo less +F /var/log/mail.log
sudo less /var/log/mail.err
mailman sudo less /var/log/mailman/error sudo less +F /var/log/mailman/post sudo less /var/log/mailman/qrunner sudo less /var/log/mailman/smtp sudo less /var/log/smtp-failure sudo less /var/log/subscribe sudo less /var/log/ette
fetchmail sudo less +F /var/log/fetchmail.log
apache2 sudo ls -lF /var/log/apache2/ sudo less +F /var/log/apache2/access.log sudo less /var/log/apache2/error.log
メール sudo less -f /var/spool/mail/root sudo less -f /var/spool/mail/user