postfix abort check flush reload start status stop
pitfiend# postconf -m
btree
cdb
cidr
environ
hash
mysql
pcre
proxy
regexp
static
unix
pitfiend# postconf alias_maps
alias_maps = hash:/etc/aliases
pitfiend# postmap -q
main.cf
= /usr/local/etc/postfix/main.cf =
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
or more likely
virtual_alias_maps = cdb:/usr/local/etc/postfix/virtual
Do not specify virtual alias domain names in the main.cf
mydestination or relay_domains configuration parameters.
cavernoflostsouls.com
virtual_mailbox_domains = hash:/usr/local/etc/postfix/domains
virtual_mailbox_base = /var/mail/vhost
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_domains = hash:/usr/local/etc/postfix/domains
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
If I don’t add cavernoflostsouls.com to relay_domains it get
Diagnostic-Code: smtp;554 5.7.1
If I do I get
Diagnostic-Code: X-Postfix; mail for cavernoflostsouls.com loops back to myself
relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients ????
inet_interfaces = mail.imptech.net
mydestination List of domains that this mail system considers local.
myorigin The domain that is appended to any address that does not have a domain.
owner_request_special Give special treatment to owner-xxx and xxx-request addresses.
proxy_interfaces Other interfaces that this machine receives mail on by way of a proxy agent or network address translator.
#