
13th April 2008, 02:40
|
|
Junior Member
|
|
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

13th April 2008, 20:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's in /etc/postfix/main.cf?
|

14th April 2008, 12:31
|
|
Junior Member
|
|
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

15th April 2008, 11:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Please post the content of your main.cf file, as falko requested.
|

18th April 2008, 20:36
|
|
Junior Member
|
|
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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??
|

19th April 2008, 10:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Please change the line:
relay_domains = $relay_domains
to:
relay_domains = /etc/postfix/relaydomains
and restart postfix.
|

19th April 2008, 16:17
|
|
Junior Member
|
|
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok. Now work!
Thanks!
Other question,
how to put spam message directly in Junk folder??
|

19th April 2008, 23:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Are you using amavisd? I think you can specify a spam quarantine folder in the amavisd configuration.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 23:25.
|
Recent comments
21 hours 1 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
2 days 2 hours ago
2 days 4 hours ago