> Hello > > i have an Openbsd 7.1, with Opensmtpd + Dovecot; it is working as > expected. But i ned that 1 Virtual user re-send e-mail to 5 different > address or users. > > I think that it could be made, by 1 alias table, or team table! > > But i am not clear how to do it! > > Can somebody share some similar situation please? or a contundent and > clear answer please? > > Thanks > >
I think that, it is what i need! But i do not have an idea how to add it to smtpd.conf can somebody help please? "table domains { agroena.org consultores.ca } table staff { staff => staff_1,staff_2,staff_3 } accept for domain <domains> virtual <staff>" PS: table domains already exist, table staff does not exist. # PKI for TLS pki agroena.org cert "/etc/ssl/agroena.org.fullchain.pem" pki agroena.org key "/etc/ssl/private/agroena.org.key" # tables setup table domains file:/etc/mail/domains table passwd file:/etc/mail/passwd table virtuals file:/etc/mail/virtuals table hosts file:/etc/mail/hosts table users file:/etc/mail/users # Blocks junk mail filter check_rdns phase connect match !rdns junk filter check_fcrdns phase connect match !fcrdns junk filter "dkimsign" proc-exec "filter-dkimsign -d agroena.org -s mail -k /etc/mail/dkim/private.key" user _smtpd group _smtpd # macros ipv4 = "45.77.223.248" ipv6 = "2001:19f0:5:3b4d:5400:04ff:fe1a:ee7b" check = "pki agroena.org mask-src filter { check_rdns check_fcrdns } hostname agroena.org" authcheck = "pki agroena.org auth <passwd> mask-src senders <users> filter { check_rdns check_fcrdns dkimsign } hostname agroena.org" # listeners listen on socket filter "dkimsign" listen on lo0 filter "dkimsign" listen on $ipv4 port 25 tls $check listen on $ipv6 port 25 tls $check listen on $ipv4 port 465 smtps $authcheck listen on $ipv6 port 465 smtps $authcheck listen on $ipv4 port 587 tls-require $authcheck listen on $ipv6 port 587 tls-require $authcheck # rules action "lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals> action "outbound" relay src $ipv4 match from any for domain <domains> action "lmtp" match from local for any action "outbound" match from src <hosts> for any action "outbound" match auth from any for any action "outbound"