Postfix configuration - mydestination and virtual_mailbox_domains

Discussion in 'Installation/Configuration' started by mrazicek, Jun 28, 2008.

  1. mrazicek

    mrazicek New Member


    I am newbie in Linux and I have problem with postfix configuration on Debian Etch.

    I have VHCS control panel installed and I have problem with delivering email to one email address.

    myhostname = mail.server.tld
    mydomain = server.tld
    mydestination = $myhostname, $mydomain

    mynetworks_style = host

    append_dot_mydomain = no
    local_transport = local
    virtual_transport = virtual
    transport_maps = hash:/etc/postfix/vhcs2/transport

    virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains

    All email communication is working well, but If I send email to : [email protected], I get an error message:
    postfix/trivial-rewrite[16832]: warning: do not list domain server.tld in BOTH mydestination and virtual_mailbox_domains

    postfix/local[17028]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled

    postfix/local[17028]: E26A923B9265: to=<[email protected]>, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "info")
    Jun 27 23:39:15 debian postfix/cleanup[16831]: EC40B23B92AA: message-id=<[email protected]>

    I was looking in virtual_mailbox_domains file, and there is right domain, also this domain is in mydestination.

    I am hopeless with it. Could someone help with this problem?

    Many thanks
  2. topdog

    topdog Active Member HowtoForge Supporter

    remove the domain from mydestination
  3. mrazicek

    mrazicek New Member

    ooou it's working perfect.

    Thank you very much

Share This Page