Приветствую уважаемые! Есть очень слабенький почтовый сервер на Freebsd 7.2. Случилась вот какая неприятность, вздумалось прикрутить к postfix-у spamassassin, но он потребовал обновить perl, т.к. на сервере был 5.8.3, а убивец спама затребовал более свежую версию. Я решил обновить perl. Сразу на 5.14 он меня послал, и я решил ограничится 5.10. После установки 5.10 postfix упал. Я долго мучался поисками и не придумал ничего лучше, чем пройтись по системе portupgrade -afrR
Он долго пыжился пересобирая всё и вся, но к положительному результату так и не пришёл. Вопчем в лог сыплет теперь вот что:/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maildir_limit_message="Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_mailbox_limit_maps=mysql:$base/mysqlLookupMaps/quota.conf
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_mailbox_limit_override=yes
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_overquota_bounce=yes
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/main.cf: unused parameter: smtpd_sasl_application_name=smtpd
/usr/local/sbin/postconf: warning: /usr/local/etc/postfix/master.cf: unused parameter: content-filter=
Postfix, mysql, smtpd, squid, всё стартует.
Вот rc.conf:
ifconfig_fxp0="inet 192.168.0.125 netmask 255.255.255.0"
ifconfig_rl0="inet 192.168.1.23 netmask 255.255.255.224"
defaultrouter="192.168.1.16"
hostname="relay.nesterova.ru"
static_routes='net'
route_net="-net 192.168.100.0/24 192.168.0.248"
sshd_enable="YES"
font8x8="cp866-8x8"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
scrnmap="koi8-r2cp866"
keyrate="fast"
keymap="ru.koi8-r"
apache22_enable="YES"
courier_authdaemond_enable="YES"
courier_imap_pop3d_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"
mysql_enable="YES"
squid_enable="YES"
squid_flags="-D -f /usr/local/etc/squid/squid.conf"
firewall_enable="YES"
# added by ./+POST-INSTALL at ЧПУЛТЕУЕОШЕ, 22 ОПСВТС 2009 З. 00:29:50 (MSK)
postfix_mastercf='/usr/local/etc/postfix/master.cf'
Вот main.cf:
#
# /usr/local/etc/postfix/main.cf
#
# LOCAL PATHNAME INFORMATION
#
queue_directory = /var/spool/postfix
# postXXX (postmap, postconf, postdrop)
command_directory = /usr/local/sbin
#
#
base = /usr/local/etc/postfix
#
#
daemon_directory = /usr/local/libexec/postfix
# QUEUE AND PROCESS OWNERSHIP
#
#
mail_owner = postfix
#
default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
#
myhostname = relay.mydomain.ru
#
mydomain = mydomain.ru
# SENDING MAIL
#
#
#
#
# myorigin = $myhostname ( : "alex@mail.akko.com.ua")
# myorigin = $mydomain ( : "alex@akko.com.ua")
myorigin = $mydomain
# RECEIVING MAIL
#
#
inet_interfaces = all
#
#
#
mydestination = $myhostname, localhost.$mydomain, localhost
local_transport = virtual
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
#
#local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $alias_maps
local_recipient_maps = unix:passwd.byname $alias_maps
# TRUST AND RELAY CONTROL
#
#
#
#
mynetworks = 127.0.0.0/8
#relayhost = $mydomain
relay_domains =
# ALIAS DATABASE
#
#
#
#
alias_maps = hash:/etc/mail/aliases
alias_database = hash:/etc/mail/aliases
# JUNK MAIL CONTROLS
#
# The controls listed here are only a very small subset. The file
# SMTPD_ACCESS_README provides an overview.
#header_checks = regexp:$base/header_checks
# SHOW SOFTWARE VERSION OR NOT
#
#
smtpd_banner = $myhostname ESMTP
# DEBUGGING CONTROL
#
debug_peer_level = 1
#debug_peer_list = 127.0.0.1, mydomain.ru, domain.ru
# RESTRICTIONS
#
# client, helo, sender, recipient, data, end-of-data
#
#
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated,
check_client_access hash:$base/client_access,
reject_unknown_client_hostname
#
smtpd_helo_restrictions = check_helo_access hash:$base/hello_access,
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname,
reject_unknown_helo_hostname
smtpd_sender_restrictions = permit_mynetworks,
check_sender_access hash:$base/sender_access,
reject_authenticated_sender_login_mismatch,
reject_unknown_sender_domain,
reject_unlisted_sender
# reject_unverified_sender
#permit_sasl_authenticated,
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_recipient_access hash:$base/recipient_access,
reject_unlisted_recipient,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unverified_recipient
#permit_mynetworks,
#
smtpd_data_restrictions = reject_unauth_pipelining,
reject_multi_recipient_bounce
#
smtpd_etrn_restrictions = reject
#
smtpd_reject_unlisted_sender = yes
#
#
disable_vrfy_command = yes
#
#
strict_rfc821_envelopes = yes
#
# yes: User unknown in virtual mailbox table
# no: User unknown
show_user_unknown_table_name = no
#
address_verify_sender = <>
#
#
unverified_sender_reject_code = 550
#
#
smtpd_helo_required = yes
#
smtp_always_send_ehlo = yes
#
smtpd_hard_error_limit = 8
#
#smtpd_timeout = 120s
#
#smtp_helo_timeout = 60s
#
#smtp_mail_timeout = 60s
#
#smtp_rcpt_timeout = 90s
#
smtpd_sasl_auth_enable = yes
#
smtpd_sasl_application_name = smtpd
#
broken_sasl_auth_clients = yes
#
smtpd_sasl_security_options = noanonymous
# Optional lookup table with the SASL login names
# that own sender (MAIL FROM) addresses
smtpd_sender_login_maps = mysql:$base/mysqlLookupMaps/sender.conf
#
transport_maps = mysql:$base/mysqlLookupMaps/transport.conf
#
virtual_alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
#
virtual_mailbox_domains = mysql:$base/mysqlLookupMaps/domain.conf
#
virtual_mailbox_maps = mysql:$base/mysqlLookupMaps/mailbox.conf
virtual_mailbox_base = /var/spool/mail
#
virtual_mailbox_limit_maps = mysql:$base/mysqlLookupMaps/quota.conf
virtual_maildir_extended=yes
virtual_mailbox_limit_override=yes
virtual_create_maildirsize = yes
virtual_overquota_bounce = yes
virtual_maildir_limit_message="Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
#
message_size_limit = 35242880
# 1979 - uid gid virtual
virtual_gid_maps = static:1979
virtual_uid_maps = static:1979
virtual_minimum_uid = 1979
readme_directory = /usr/local/share/doc/postfix
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
html_directory = /usr/local/share/doc/postfix
setgid_group = maildrop
manpage_directory = /usr/local/man
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
data_directory = /var/db/postfix
inet_protocols = ipv4
Подскажите, где и что искать. К сожалению, этот сервер делал не я, а я postfix вообще до этого не щупал.
З.Ы. ip и домены переименованы