HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   postfix error after upgrade (

kwickcut 30th September 2011 07:14

postfix error after upgrade
hello all i have just upgraded to ubuntu 10.04 and ispconfig and now i am having troubles

first thing is in ispconfig under Status of Services it shows dns- server is not running and smtp server is not running.

now i restarted postfix

sudo /etc/init.d/postfix restart
and it is running but it still shows not running under under ispconfig.

when i goto a site and send an email i am getting the following error

(connect to[]:10024: Connection refused)
i i found that this could mean that amavis is not running so i did the following


postconf -e 'content_filter = amavis:[]:10024'
Reload/Restart postfix ..

postfix reload
And check if amavis is running..

netstat -tap | grep amavis
(you should see a LISTEN port..) but i dont get anything

any ideas


till 30th September 2011 11:05

You have to upgrade ispconfig after you upgraded ubuntu and then select to reconfigure services in ispconfig. If you upgraded ispconfig first, then you have to do a manual ispconfig update now and choose to reconfigure services.

kwickcut 30th September 2011 12:46

ok i did upgrade ubuntu first then ungraded ispconfig. where would i find this reconfigure services in ispconfig


till 30th September 2011 13:10

download ispconfig tar.gz, unpack it and then run upfate.php script again.

kwickcut 30th September 2011 15:02

so should i

cd /tmp
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/

then run

php -q install.php
and do the set up again like i did when i first installed ispconfig?

and this will not bother any sites that are running?

thanks again


kwickcut 1st October 2011 01:42

ok i have downloaded and ran the update script and i have the save issue postfix is running but ispconfig does not see it i think went wrong with the upgrade of Ubuntu


kwickcut 1st October 2011 08:07

i cant start amavisd this is what i get when i try any ideas?


root@myhost:~# sudo /etc/init.d/amavis restart
Stopping amavisd: (not running).
Starting amavisd: hostname: Name or service not known
  The value of variable $myhostname is "", 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 /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
  network name!

falko 1st October 2011 10:16

Open your amavisd configuration and set the correct $myhostname value (usually localhost should work).

kwickcut 1st October 2011 16:43

sorry for this but i cant find the config file unless it is this

if this is it this is the output and i am not sure where to add it


use strict;

# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.

# Default antivirus checking mode
# Uncomment the two lines below to enable it

@bypass_virus_checks_maps = (
  \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);

# Default SPAM checking mode
# Uncomment the two lines below to enable it

@bypass_spam_checks_maps = (
  \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);

1;  # insure a defined return


falko 1st October 2011 21:57

Did you check the other files in the /etc/amavis/conf.d/ directory (and also in the parent directory /etc/amavis/)?

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

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