Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2012, 06:35
epretorious epretorious is offline
Member
 
Join Date: Feb 2010
Location: Truckee, CA
Posts: 33
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via AIM to epretorious Send a message via Yahoo to epretorious Send a message via Skype™ to epretorious
Exclamation The Perfect Server - CentOS 6.2 x86_64 With Apache2 [ISPConfig 3] - AMAVISD

There appears to be a detail missing in Step 14 ("Install Amavisd-new, SpamAssassin And ClamAV") of "The Perfect Server - CentOS 6.2 x86_64 With Apache2 [ISPConfig 3]":

1. When performing Step 14, the Amavisd init.d script (/etc/init.d/amavisd) complained...
Code:
[eric@ispconfig-1 ~]$ sudo /etc/init.d/amavisd start
Starting amavisd:   The value of variable $myhostname is "ispconfig-1", but should have been
  a fully qualified domain name; perhaps uname(3) did not provide such.
  You must explicitly assign a FQDN of this host to variable $myhostname
  in amavisd.conf, or fix what uname(3) provides as a host's network name!
                                                           [FAILED]
2. This prevented mail delivery and lead to lots of these errors (in /var/log/maillog)...
Code:
Jan 17 20:01:39 ispconfig-1 postfix/smtp[1819]: 08F1D62443: to=<root@localhost.example.com>, orig_to=<root@localhost>, relay=none, delay=59398, delays=59397/0.06/0.04/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 17 20:01:39 ispconfig-1 postfix/smtp[2020]: A3611624B2: to=<eric@luckydogconsulting.com>, relay=none, delay=337, delays=337/0.07/0.04/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 17 20:01:39 ispconfig-1 postfix/error[2031]: D0044624B7: to=<justine@luckydogconsulting.com>, relay=none, delay=337, delays=337/0.14/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 17 20:02:02 ispconfig-1 postfix/error[2031]: BEF54624C7: to=<justine@luckydogconsulting.com>, relay=none, delay=0.16, delays=0.14/0/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 17 20:03:51 ispconfig-1 postfix/error[2119]: 41080624C9: to=<justine@luckydogconsulting.com>, relay=none, delay=41, delays=40/0.02/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jan 17 20:06:39 ispconfig-1 postfix/smtp[2271]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jan 17 20:06:39 ispconfig-1 postfix/smtp[2272]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
__________________
Eric Pretorious,
Truckee, CA
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2012, 06:51
epretorious epretorious is offline
Member
 
Join Date: Feb 2010
Location: Truckee, CA
Posts: 33
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via AIM to epretorious Send a message via Yahoo to epretorious Send a message via Skype™ to epretorious
 
Smile

Editing /etc/amavisd/amavisd.conf (i.e., Setting $myhostname to the FQHN of the MX) resolves this:
Code:
[eric@ispconfig-1 ~]$ hostname  -f
ispconfig-1.example.com

[eric@ispconfig-1 ~]$ grep \$myhostname /etc/amavisd/amavisd.conf
$myhostname = 'ispconfig-1.example.com';  # must be a fully-qualified domain name!
__________________
Eric Pretorious,
Truckee, CA
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
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 15:05
Two problems with The Perfect Server - CentOS 5.7 x86_64 [ISPConfig 2] cmp HOWTO-Related Questions 2 1st November 2011 21:10
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 13:58
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08


All times are GMT +2. The time now is 12:55.


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