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):

    Code:
    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!!

    Stefano.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/postfix/main.cf?
     
  3. imnajam

    imnajam New Member

    Hello,

    Reference to the thread, I get the same error
    http://www.howtoforge.com/forums/showthread.php?p=119031

    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,

    Najam
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

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

    dearste New Member

    this is my main.cf:

    Code:
    myhostname = mysite
    mydomain = com
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    local_recipient_maps =
    mynetworks = 127.0.0.0/8, 192.0.0.0/8
    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 =
    	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    	 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/mysql_virtual_domains.cf
    virtual_mailbox_base = /var/vmail/
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox.cf
    virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias.cf
    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

    to:

    relay_domains = /etc/postfix/relaydomains


    and restart postfix.
     
  7. dearste

    dearste New Member

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

    falko Super Moderator Howtoforge Staff

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

Share This Page