On 5/10/19 10:55 AM, Harald Dunkel wrote:
Hi folks,

for testing purposes I have to setup opensmtpd 6.0.3 to
redirect all outgoing EMails from a list of stage systems to a
dedicated internal account. smtpd.conf is attached.


I have found it:

:
table aliases file:/etc/aliases
table vmap file:/etc/vmap
accept for local alias <aliases> deliver to mbox
accept from source <stage_example_com> sender <at_example_com> for any virtual 
<vmap> deliver to mbox
accept from source <clients_example_com> sender <at_example_com> for any relay hostname 
"mailproxy.example.com" pki $xname
:

with an appropriate vmap file, e.g.

@       catchall

and a local user "catchall"

did the trick.


Thanx anyway. Keep on your good work


Harri

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to