On Thu, Mar 27, 2025 at 11:01:18PM -0500, victoria crenshaw wrote:

> > > rewrite[671022]: warning: do not list domain johnreedcenter.net in
> > > BOTH mydestination and virtual_alias_domains
> > 
> > Well, don't do that!  Is the domain a virtual alias domain (with all
> > addresses rewritten to other domains, ...) or is a local domain
> > (users have system accounts, and/or /etc/aliases(5) is used to
> > handle lists, ...)?  See ADRESS_CLASS_README.
>
> It is the external domain johnreedcenter.net.  This server has a bunch
> of domains it responds to.  Its primary domain is johnreedcenter.net.

How is mail for "u...@johnreedcenter.net" delivered?

    - Is the address rewritten prior to delivery?  If so, how?
    - Your SASL settings seem to be based on Dovecot, perhaps
      you really should be using virtual mailboxes, but you're
      not doing that it seems.
    - Is the delivery to a mailbox associated with a system
      user login account (/etc/passwd, ...)?
    - How do users read their mail?  POP? IMAP? Other?

> i do not know the proper way to fix this
> here is /etc/aliases
> 
> # See man 5 aliases for format
> postmaster:    root
> monit: root

These could be handled in virtual_alias_maps, or left alone if real
users get their mail delivered to login-account account mailboxes.

> ...(these are just comments)
> backuppc: root
> what should i add here?

You need to understand local delivery to system mailboxes, vs.  delivery
to virtual mailboxes not tied to system login accounts, and mapped to
appropriate locations in Dovecot's config and perhaps the virtual(8)
delivery agent if not using Dovecot's LMTP.

A deep dive into the Postfix book by Ralf and Patrick would like be
appropriate.  Making sure that afterwards you understand
ADDRESS_CLASS_README and VIRTUAL_README.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to