Điểm:0

Cấu hình Amavis trên Ubuntu 20.04/Cổng 10025 đã được sử dụng

lá cờ va

tôi cố gắng định cấu hình amavis trên Ubuntu 20.04 của mình với postfix và kopano đang hoạt động. Postfix gặp sự cố với lỗi sau:

Ngày 10 tháng 1 11:23:52 mail postfix/postfix-script[143585]: fatal: không thể thực thi /usr/sbin/postconf!
Ngày 10 tháng 1 11:24:32 mail postfix/postfix-script[143751]: fatal: không thể thực thi /usr/sbin/postconf!
Ngày 10 tháng 1 11:24:52 mail postfix/postfix-script[143845]: fatal: không thể thực thi /usr/sbin/postconf!
Ngày 10 tháng 1 11:25:35 mail postfix/postfix-script[143979]: fatal: không thể thực thi /usr/sbin/postconf!
Ngày 10 tháng 1 12:22:09 mail postfix/master[14877]: fatal: bind 127.0.0.1 port 10025: Địa chỉ đã được sử dụng
Ngày 10 tháng 1 12:22:17 mail postfix/master[148204]: fatal: bind 127.0.0.1 port 10025: Địa chỉ đã được sử dụng
Ngày 10 tháng 1 12:22:18 mail postfix/master[148203]: fatal: daemon khởi tạo thất bại
Ngày 10 tháng 1 12:22:19 mail postfix/postfix-script[148205]: fatal: mail system startup fail

Khi tôi thêm đoạn mã sau vào master.f postfix của mình:

127.0.0.1:10025 inet n - n - - smtpd
    -o syslog_name=postfix/10025
    -o nội dung_filter=
    -o mynetworks_style=host
    -o mynetworks=127.0.0.0/8
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o nghiêm ngặt_rfc821_envelopes=có
    -o smtp_tls_security_level=none
    -o smtpd_tls_security_level=none
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,từ chối
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,từ chối
    -o smtpd_end_of_data_restrictions=
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o get_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings

Đây là master.cf đang hoạt động thực sự của tôi:

#
# Tệp cấu hình quy trình tổng thể Postfix. Để biết chi tiết về định dạng
# của tệp, xem trang hướng dẫn chính (5) (lệnh: "man 5 master" hoặc
# trực tuyến: http://www.postfix.org/master.5.html).
#
# Đừng quên thực hiện "tải lại postfix" sau khi chỉnh sửa tệp này.
#
# ================================================= ==========================
# loại dịch vụ riêng tư unpriv đánh thức chroot lệnh maxproc + args
# (có) (có) (không) (không bao giờ) (100)
# ================================================= ==========================
smtp inet n - y - - smtpd
#smtp inet n - y - 1 màn hình đăng
#smtpd vượt qua - - y - - smtpd
#dnsblog unix - - y - 0 dnsblog
#tlsproxy unix - - y - 0 tlsproxy
đệ trình inet n - y - - smtpd
  -o smtpd_enforce_tls=có
  -o smtpd_sasl_auth_enable=có
  -o smtpd_client_restrictions=permit_sasl_authenticated,từ chối
# -o syslog_name=postfix/submission
# -o smtpd_tls_security_level=mã hóa
# -o smtpd_sasl_auth_enable=có
# -o smtpd_tls_auth_only=có
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,từ chối
# -o milter_macro_daemon_name=ĐANG XUẤT HÀNH
#smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=có
# -o smtpd_sasl_auth_enable=có
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,từ chối
# -o milter_macro_daemon_name=ĐANG XUẤT HÀNH
#628 inet n - y - - qmqpd
đón unix n - y 60 1 đón
dọn dẹp unix n - y - 0 dọn dẹp
qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - - y 1000? 1 tlsmgr
viết lại unix - - y - - viết lại tầm thường
bị trả lại unix - - y - 0 bị trả lại
trì hoãn unix - - y - 0 thoát
theo dõi unix - - y - 0 bị trả lại
xác minh unix - - y - 1 xác minh
tuôn ra unix n - y 1000? 0 tuôn ra
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - y - - smtp
chuyển tiếp unix - - y - - smtp
        -o syslog_name=postfix/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - y - - showq
lỗi unix - - y - - lỗi
thử lại unix - - y - - lỗi
loại bỏ unix - - y - - loại bỏ
unix cục bộ - n n - - cục bộ
unix ảo - n n - - ảo
lmtp unix - - y - - lmtp
đe unix - - y - 1 đe
scache unix - - y - 1 scache
postlog unix-dgram n - n - 1 postlogd
#
# ================================================= ===================
# Giao diện cho phần mềm không phải Postfix. Hãy chắc chắn kiểm tra hướng dẫn
# trang của phần mềm không phải Postfix để tìm ra những tùy chọn mà nó muốn.
#
# Nhiều dịch vụ sau sử dụng phân phối Postfix pipe(8)
# đại lý. Xem trang man pipe(8) để biết thông tin về ${recipient}
# và các tùy chọn phong bì thư khác.
# ================================================= ===================
#
# gửi thư. Xem tệp Postfix MAILDROP_README để biết chi tiết.
# Cũng chỉ định trong main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ================================================= ===================
#
# Các phiên bản Cyrus gần đây có thể sử dụng mục "lmtp" master.cf hiện có.
#
# Chỉ định trong cyrus.conf:
# lmtp cmd="lmtpd -a" nghe="localhost:lmtp" proto=tcp4
#
# Chỉ định trong main.cf một hoặc nhiều điều sau:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ================================================= ===================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Cũng chỉ định trong main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - ống
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ================================================= ===================
# Ví dụ cũ về giao hàng qua Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ================================================= ===================
#
# Xem tệp Postfix UUCP_README để biết chi tiết về cấu hình.
#
uucp unix - n n - - ống
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($người nhận)
#
# Các phương thức giao hàng bên ngoài khác.
#
ifmail unix - n n - - pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - ống
  cờ = Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 ống
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
người đưa thư unix - n n - - pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${người dùng}

smtps inet n - y - - smtpd
    -o smtpd_tls_wrappermode=có  

smtp-amavis unix - - n - 2 smtp
    -o syslog_name=postfix/amavis
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=có
    -o vô hiệu hóa_dns_lookups=có
    -o max_use=20
    -o smtp_tls_security_level=none
lá cờ in
Chạy `Sudo ss -tnlp |grep 10025` và kiểm tra những gì đang nghe trên cổng đó
nils50122 avatar
lá cờ va
NGHE 0 128 127.0.0.1:10025 0.0.0.0:* người dùng:(("smtpstd",pid=245,fd=3))

Đăng câu trả lời

Hầu hết mọi người không hiểu rằng việc đặt nhiều câu hỏi sẽ mở ra cơ hội học hỏi và cải thiện mối quan hệ giữa các cá nhân. Ví dụ, trong các nghiên cứu của Alison, mặc dù mọi người có thể nhớ chính xác có bao nhiêu câu hỏi đã được đặt ra trong các cuộc trò chuyện của họ, nhưng họ không trực giác nhận ra mối liên hệ giữa câu hỏi và sự yêu thích. Qua bốn nghiên cứu, trong đó những người tham gia tự tham gia vào các cuộc trò chuyện hoặc đọc bản ghi lại các cuộc trò chuyện của người khác, mọi người có xu hướng không nhận ra rằng việc đặt câu hỏi sẽ ảnh hưởng—hoặc đã ảnh hưởng—mức độ thân thiện giữa những người đối thoại.