Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2008, 02:40
dearste dearste is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation postfix error. please help.

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.
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2008, 20:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th April 2008, 12:31
imnajam imnajam is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Reference to the thread, I get the same error
http://www.howtoforge.com/forums/sho...d.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
Reply With Quote
  #4  
Old 15th April 2008, 11:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Please post the content of your main.cf file, as falko requested.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th April 2008, 20:36
dearste dearste is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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??
Reply With Quote
  #6  
Old 19th April 2008, 10:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Please change the line:

relay_domains = $relay_domains

to:

relay_domains = /etc/postfix/relaydomains


and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 19th April 2008, 16:17
dearste dearste is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok. Now work!
Thanks!
Other question,
how to put spam message directly in Junk folder??
Reply With Quote
  #8  
Old 19th April 2008, 23:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Are you using amavisd? I think you can specify a spam quarantine folder in the amavisd configuration.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Postfix: connection refused error tosin Server Operation 1 30th October 2007 17:30
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 08:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.