Hi, I have the following vuser file to map email addresses to a local user but also map my other alias domains to the same config for the defined first domain:
[email protected] mve [email protected] test @domain2.nl @domain1.nl @domain2.nl @domain1.nl This gives an error: d9fd3bd7c65dbc3d smtp event=failed-command command="RCPT TO:<[email protected]>" result="451 Temporary failureā My config on OpenBSD 6.0: # $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # pki/ssl/certs pki server.pragmasec.nl key "/etc/letsencrypt/live/server.pragmasec.nl/privkey.pem" pki server.pragmasec.nl certificate "/etc/letsencrypt/live/server.pragmasec.nl/fullchain.pem" # listen listen on lo listen on em0 port 25 hostname server.pragmasec.nl tls pki server.pragmasec.nl listen on em0 port 587 hostname server.pragmasec.nl tls-require pki server.pragmasec.nl auth mask-source # queue expiry expire 7d # virtual domains and users table vdomains "/etc/mail/vdomains" table vusers "/etc/mail/vusers" # our accepted relays accept from any for domain <vdomains> virtual <vusers> deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} -a %{rcpt}" accept from local for any relay How can I map [email protected] to [email protected] but also *@domain2.nl -> *@domain1.nl ? Basically forward the email to the domain1.nl configuration and see if the email address exists. Cheers, Michiel -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
