Danil Smirnov via Postfix-users: > Hi Wietse, > > Thank you for your response! > > On Wed, Aug 30, 2023 at 8:07?PM Wietse Venema via Postfix-users < > postfix-users@postfix.org> wrote: > > > This is one of the purposes of virtual_alias_maps. > > > > I tried this first - I've added "@domain2.tld @domain1.tld" to my > virtual_alias_maps > source file but I got this error: > > Aug 30 19:20:39 some postfix/smtpd[141]: NOQUEUE: reject: RCPT from > mailhost[mailhost IP]: 454 4.7.1 <mailman_test...@domain2.tld>: Relay > access denied; from=<danil.smir...@gmail.com> to=<mailman_testing@ > domain2.tld> proto=ESMTP helo=<mailhost> > > Did I miss something?
I just answered the question in your subject (replace a domain). If you did not already do so, you need to tell Postfix what domains to receive mail for. If using Dovecot, they have suggestions for where to list the domain names. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org