Old 7th January 2013, 14:34
teves teves is offline
Senior Member
Join Date: Oct 2006
Posts: 150
Thanks: 27
Thanked 15 Times in 10 Posts
Default Postfix configuration problem


I have a small problem with my postfix configuration.
In the /var/log/mail.log file I get warnings like the following:
warning: address not listed for hostname localhost.localdomain
very regularly.
I searched this issue in the forum and it has already been discussed, but not solved seemingly.
After trying some things I spotted the detail in the master.cf which is responsible for those messages:
content_filter = amavis:[]:10024
After commenting out this line I get no warnings any more. But this can not be the solution....
Any ideas what I cound do about it?

Thank you!
Regards, Tom
Reply With Quote
Sponsored Links
Old 7th January 2013, 14:59
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

Ensure that you have the line: localhost localhost.localdomain

in your /etc/hosts file. Do not comment out theline content_filter = amavis:[]:10024 because your mail system will stop working then.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 7th January 2013, 16:57
tafkaz tafkaz is offline
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts

Hi Till,
we had this in our hosts-file already, but i think we found the problem.
As we are using an openVZ guest for ISPConfig our ifconfig looks like this:

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11007 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:997376 (974.0 KiB)  TX bytes:997376 (974.0 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:  P-t-P:  Bcast:  Mask:
          RX packets:9581 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9086 errors:0 dropped:21 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:908263 (886.9 KiB)  TX bytes:2444074 (2.3 MiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:123.123.666.666  P-t-P:123.123.666.666  Bcast:  Mask:
So i guess i will have to add

Code: localhost.localdomain localhost
to my hosts-file?

can i leave
Code: localhost.localdomain localhost
in it as well, or should that line be replaced totally?

Thank you very much
Reply With Quote


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
Sending mails: fine > recive: bad Moundy General 1 20th June 2012 00:40
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 14:21
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 12:56
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39

All times are GMT +2. The time now is 04:17.

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