On Thu, Mar 27, 2025 at 09:31:17PM -0500, victoria crenshaw wrote:
> here are the warnings
> 
> postmap: warning: /etc/postfix/virtual_domains, line 1: expected
> format: key whitespace value

Why are you attempting to "postmap" this file?  It is just a list
of domains one per line, not a key-value indexed table.  There's
no need to "postmap" it, and it is not possible to do it.

On the other hand you're misusing this file in your configuration:

    # This parameter should be set to just one domain, and best
    # avoid using a Debian-specific syntax here with the domain
    # stored in a file, just set it to a literal domain.
    mydomainname = /etc/postfix/virtual_domains

    # This is fine:
    virtual_alias_domains = /etc/postfix/virtual_domains

    # If these are virtual alias domains, they can't also
    # be virtual mailbox domains.  Which is it?
    #
    virtual_mailbox_domains = /etc/postfix/virtual_domains

Since you don't define "virtual_mailbox_maps", and don't override
"virtual_transport" you probably don't have any
"virtual_mailbox_domains", and should delete that setting.


> postmap: warning: /etc/postfix/virtual_domains, line 2: expected
> format: key whitespace value

Just one example is sufficient.

> the file has a list of domains
> localhost
> johnreedcenter.net
> ... and so on
> 

And what material problems are your users having and/or are reported in
the mail logs?

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

Reply via email to