On 11/9/23 19:05, Viktor Dukhovni via Postfix-users wrote:
On Thu, Nov 09, 2023 at 05:50:20PM -0500, Phil Stracchino via Postfix-users
wrote:
virtual_mailbox_domains = seanfenian.com fenianhouse.com
virtual_mailbox_maps = lmdb:/etc/postfix/vmailbox
virtual:
seanfen...@fenianhouse.com sean.fen...@fenianhouse.com
s...@fenianhouse.com sean.fen...@fenianhouse.com
seanfen...@seanfenian.com sean.fen...@fenianhouse.com
s...@seanfenian.com sean.fen...@fenianhouse.com
Odd choice of RHS, since that's not the key in vmailbox below...
vmailbox:
sean.fen...@seanfenian.com fenianhouse.com/seanfenian/
Well yeah, the *intent* (I don't know if I have it configured correctly
is to have all mail to {sean,seanfenian,sean.fenian}@... end up in a
Maildir under the name seanfenian. Which I can then point an identity
at in Thunderbird.
However, below you're testing that address directly, so...
$ echo test | mutt sean.fen...@seanfenian.com
Nov 9 17:36:54 babylon5 postfix/smtp[3231]: 4B6BA1145E89B:
to=<sean.fen...@seanfenian.com>,
relay=smtp.caerllewys.net[10.24.32.15]:25,
delay=0.28, delays=0.02/0/0.06/0.2, dsn=2.0.0,
status=sent (250 2.0.0 Ok: queued as 6256522656D01)
The message is relayed to a remote mailhost, so presumably you
have a transport table entry or virtual_transport setting that
preƫmpts the default:
virtual_transport = virtual
The same domain might also be included in $mydestination, and you
could then have a mailbox_transport in place, ...
I have deliberately not included fenianhouse.com and seanfenian.com in
$mydestination on the mailserver. *Should* I? This is my first try at
setting up virtual mailbox domains, I don't doubt I've made mistakes.
virtual_transport is not set. That seems to be something I missed.
Full postconf -nf attached.
--
Phil Stracchino
Babylon Communications
ph...@caerllewys.net
p...@co.ordinate.org
Landline: +1.603.293.8485
Mobile: +1.603.998.6958
access_map_reject_code = 553
address_verify_map = lmdb:$data_directory/verify_cache
alias_database = lmdb:/etc/postfix/aliases lmdb:/etc/sympa/sympa_aliases
alias_maps = lmdb:/etc/postfix/aliases lmdb:/etc/sympa/sympa_aliases
body_checks = pcre:/etc/postfix/body_checks
command_directory = /usr/sbin
compatibility_level = 3.8
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
default_database_type = lmdb
default_destination_concurrency_limit = 10
header_checks = pcre:/etc/postfix/smtp_header_checks.pcre
regexp:/etc/postfix/header_checks
home_mailbox = .maildir/
html_directory = /usr/share/doc/postfix-3.8.2/html
in_flow_delay = 0
inet_protocols = ipv4
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_version = 3.8.2
mailbox_size_limit = 10000000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_reject_code = 553
message_size_limit = 100000000
meta_directory = /etc/postfix
milter_default_action = accept
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
milter_protocol = 6
mime_header_checks = pcre:/etc/postfix/mime_header_checks
mydestination = $myhostname localhost.$mydomain minbar.$mydomain $mydomain
mydomain = caerllewys.net
myhostname = smtp.caerllewys.net
mynetworks = 127.0.0.0/8 10.24.32.0/24 10.24.33.0/24 10.24.34.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
parent_domain_matches_subdomains = debug_peer_list fast_flush_domains mynetworks
permit_mx_backup_networks qmqpd_authorized_clients relay_domains
smtpd_access_maps
postscreen_access_list = permit_mynetworks
postscreen_blacklist_action = enforce
postscreen_cache_map = lmdb:$data_directory/postscreen_cache
postscreen_dnsbl_action = enforce
postscreen_greet_action = enforce
qmqpd_authorized_clients = $mynetworks $relay_domains
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-3.8.2/readme
recipient_delimiter = +
reject_code = 550
relay_domains = $mydestination flambe.org
relay_domains_reject_code = 553
relay_recipient_maps = lmdb:/etc/postfix/relay_recipients
remote_header_rewrite_domain = domain.invalid
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
shlib_directory = /usr/lib64/postfix/${mail_version}
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtp_tls_session_cache_database = lmdb:/var/lib/postfix/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions = permit_sasl_authenticated permit_mynetworks
reject_unauth_destination reject_unknown_reverse_client_hostname
smtpd_data_restrictions = reject_multi_recipient_bounce reject_unauth_pipelining
permit
smtpd_error_sleep_time = 5
smtpd_hard_error_limit = 5
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks reject_non_fqdn_helo_hostname
check_helo_access pcre:/etc/postfix/helo.pcre check_client_access
cidr:/etc/postfix/whitelist.cidr reject_invalid_helo_hostname permit
smtpd_log_access_permit_actions = static:all
smtpd_milters = inet:localhost:11332
smtpd_recipient_limit = 40
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
reject_unknown_reverse_client_hostname reject_invalid_helo_hostname
reject_unknown_sender_domain reject_non_fqdn_sender check_sender_access
lmdb:/etc/postfix/block-local-sender check_helo_access
pcre:/etc/postfix/helo.pcre check_client_access
cidr:/etc/postfix/whitelist.cidr check_recipient_access
lmdb:/etc/postfix/recipient_access check_sender_access
lmdb:/etc/postfix/block-local-sender
smtpd_relay_restrictions = permit_mynetworks reject_unauth_destination
reject_unknown_sender_domain reject_invalid_helo_hostname
reject_unknown_helo_hostname reject_non_fqdn_sender check_sender_access
lmdb:/etc/postfix/block-local-sender check_client_access
cidr:/etc/postfix/whitelist.cidr check_helo_access
pcre:/etc/postfix/helo.pcre check_sender_access
lmdb:/etc/postfix/sasl_authenticated permit_sasl_authenticated
smtpd_sender_restrictions = permit_mynetworks permit_tls_clientcerts
reject_unauth_destination reject_non_fqdn_sender
reject_unknown_sender_domain check_client_access
cidr:/etc/postfix/whitelist.cidr check_sender_access
lmdb:/etc/postfix/block-local-sender
smtpd_soft_error_limit = 10
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtputf8_enable = yes
strict_rfc821_envelopes = yes
transport_maps = lmdb:/etc/postfix/transport
unknown_address_reject_code = 551
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550
virtual_alias_maps = lmdb:/etc/postfix/virtual
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = seanfenian.com fenianhouse.com
virtual_mailbox_maps = lmdb:/etc/postfix/vmailbox
virtual_minimum_uid = 1000
virtual_uid_maps = static:2000
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org