postfix error. please help.

Discussion in 'General' started by dearste, Apr 13, 2008.

  1. dearste

    dearste New Member

    Hi all,
    i wake up, and find this error on postfix (webmin):

    Error while checking current Postfix configuration. Please manually fix Postfix configuration.
    postfix: warning: unreasonable macro call nesting: "relay_domains"
    postfix: fatal: dictionary mail_dict: macro processing error
    Anybody can help to solve this??
    Many Thanks!!

  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/
  3. imnajam

    imnajam New Member


    Reference to the thread, I get the same error

    Can you please add me into your MSN messenger [ my id = Check your PM ] or any other way by which we can instant message with each other to resolve the issue?

    Thanks & Regards,

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of your file, as falko requested.
  5. dearste

    dearste New Member

    this is my

    myhostname = mysite
    mydomain = com
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    local_recipient_maps =
    mynetworks =,
    relay_domains = $relay_domains
    alias_maps = hash:/etc/aliases
    home_mailbox = /var/vmail/%d/%n/Maildir/
    message_size_limit = 20480000
    mailbox_size_limit = 0
    mail_spool_directory = /var/spool/mail
    mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
    smtpd_banner = $myhostname ESMTP Mysite Mail Server (linux)
    debug_peer_level = 10
    debugger_command =
    	 xxgdb $daemon_directory/$process_name $process_id & sleep 5
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.1.5/samples
    readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
    virtual_mailbox_domains =  mysql:/etc/postfix/
    virtual_mailbox_base = /var/vmail/
    virtual_mailbox_maps = mysql:/etc/postfix/
    virtual_alias_maps = mysql:/etc/postfix/
    virtual_minimum_uid = 150
    virtual_uid_maps = static:150
    virtual_gid_maps = static:8
    virtual_transport = virtual
    what's wrong??
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please change the line:

    relay_domains = $relay_domains


    relay_domains = /etc/postfix/relaydomains

    and restart postfix.
  7. dearste

    dearste New Member

    Ok. Now work!
    Other question,
    how to put spam message directly in Junk folder??
  8. falko

    falko Super Moderator ISPConfig Developer

    Are you using amavisd? I think you can specify a spam quarantine folder in the amavisd configuration.

Share This Page