postfix virtual users not found

General support questions
Post Reply
jnojr
Posts: 133
Joined: 2007/11/29 23:42:03
Location: San Diego, CA
Contact:

postfix virtual users not found

Post by jnojr » 2020/03/09 15:54:34

Trying to get virtual user mappings going. No matter what i do, I get "User unknown in virtual alias table" even though the user is in there.

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = my_real_domain.com
myhostname = host.my_real_domain.com
mynetworks = <my_network>, 127.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_domains = my_real_domain.com
virtual_alias_maps = hash:/etc/postfix/virtual
I have 'postmap /etc/postfix/virtual' and 'postfix reload'

jnojr
Posts: 133
Joined: 2007/11/29 23:42:03
Location: San Diego, CA
Contact:

Re: postfix virtual users not found

Post by jnojr » 2020/04/26 13:27:06

BTT

aks
Posts: 2999
Joined: 2014/09/20 11:22:14

Re: postfix virtual users not found

Post by aks » 2020/04/27 17:37:11

Did you remember to run newaliases?

jnojr
Posts: 133
Joined: 2007/11/29 23:42:03
Location: San Diego, CA
Contact:

Re: postfix virtual users not found

Post by jnojr » 2020/04/28 16:01:56

aks wrote:
2020/04/27 17:37:11
Did you remember to run newaliases?
For virtual users? Not aliases?

aks
Posts: 2999
Joined: 2014/09/20 11:22:14

Re: postfix virtual users not found

Post by aks » 2020/04/28 19:28:53

All

lightman47
Posts: 1151
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: postfix virtual users not found

Post by lightman47 » 2020/04/28 20:32:43

For learning (on my part) only - Are your "virtual users' just users on a VM, or some other type of special user on a non-virtual machine?

Thank you. My brain twists around 'virtual users' but I'm old.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

jnojr
Posts: 133
Joined: 2007/11/29 23:42:03
Location: San Diego, CA
Contact:

Re: postfix virtual users not found

Post by jnojr » 2020/04/28 20:36:02

lightman47 wrote:
2020/04/28 20:32:43
For learning (on my part) only - Are your "virtual users' just users on a VM, or some other type of special user on a non-virtual machine?

Thank you. My brain twists around 'virtual users' but I'm old.
http://www.postfix.org/VIRTUAL_README.html

Post Reply

Return to “CentOS 6 - General Support”