メールサーバ設定?

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

#add 
command_directory = /usr/sbin
daaeemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
#add
setgid_group = postdrop

biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

#myhostname = localhost.localdomain
myhostname = popowa.com

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = popowa.com, localhost
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

#add
# to make sure connection comes from FQDN
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_non_fqdn_hostname
disable_vrfy_command = yes

#add
# to limit the number of recipients to avoid spam mail
smtpd_recipient_limit = 100

#add
#for smtp-auth config
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noaanonymous
smtpd_recipient_restricitons = 
       permit_mynetworks,
       permit_sasl_authenticated,
       permit_auth_destination,
       reject
broken_sasl_auth_clients = yes

Last-modified: 2012-03-12 (月) 17:05:04 (166d)