Nach Jessie Server Migration Postfix queue (amavis Problem?)

Simon

Member
Hallo,

ich habe das Problem das die Postfix Queue vollläuft.

Vorneweg, den alten habe ich auch zuerst auf Debian Jessie hochgehoben, hier läuft auch alles wie gewünscht.
Den neuen Server habe ich nach dem neuen Debian Jessie Perfect Server Howto installiert.

mailq sagt:
Code:
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Ich habe Hostnames wie auf dem alten Server gesetzt, jedoch hat der neue Server einen neuen Hostname. (Domain ist gleich)
ALT=srv1, Neu=vs1
Code:
service amavis status:
● amavis.service - LSB: Starts amavisd-new mailfilter
  Loaded: loaded (/etc/init.d/amavis)
  Active: active (running) since Fr 2015-05-01 05:12:43 CEST; 8h ago
  Process: 485 ExecStart=/etc/init.d/amavis start (code=exited, status=0/SUCCESS)
  CGroup: /system.slice/amavis.service
  ├─1151 /usr/sbin/amavisd-new (master)
  ├─1176 /usr/sbin/amavisd-new (virgin child)
  └─1177 /usr/sbin/amavisd-new (virgin child)

Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .lha
Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .lrz
Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .lz4
Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .rar
Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .rpm
Mai 01 05:12:43 vs1.domain.net amavis[1151]: No decoder for  .swf
Mai 01 05:12:43 vs1.domain.net amavis[1151]: Using primary internal av scanner code for ClamAV-clamd
Mai 01 05:12:43 vs1.domain.net amavis[1151]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Mai 01 05:12:43 vs1.domain.net amavis[1151]: Deleting db files snmp.db,nanny.db,__db.001,__db.003,__db.002 in /var/lib/amavis/db
Mai 01 05:12:43 vs1.domain.net amavis[1151]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3
Code:
cat /etc/hostname
vs1.domain.net
Code:
cat /etc/hosts
127.0.0.1  localhost
6.45.17.166  vs1.domain.net  vs1

# The following lines are desirable for IPv6 capable hosts
::1  localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Code:
netstat -tap | grep amavis
tcp6  0  0 localhost:10024  [::]:*  LISTEN  1151/amavisd-new (m
 

Simon

Member
Noch als Zusatzinfo:
Die FTP-Logins und Websites bei denen ich DNS schon umgestellt habe funktionieren auf dem neuem Server.
 

nowayback

Well-Known Member
laut deinem netstat befehl läuft amavis nur auf ipv6 und mailq (solltest du das tatsächlich meinen) versucht der verbindung über ipv4
 

Simon

Member
Danke für den Hinweis, Problem erledigt :)

So ich habe nun ipV6 deaktiviert,
1. ipV6 Zeilen aus /etc/hosts genommen.

2. sysctl.conf angepasst:
Code:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

3. /etc/default/grub angepasst:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet"

4. reboot

Jetzt passts:
Code:
 service amavis status
● amavis.service - LSB: Starts amavisd-new mailfilter
  Loaded: loaded (/etc/init.d/amavis)
  Active: active (running) since Fr 2015-05-01 15:27:48 CEST; 50s ago
  Process: 500 ExecStart=/etc/init.d/amavis start (code=exited, status=0/SUCCESS)
  CGroup: /system.slice/amavis.service
  ├─1316 /usr/sbin/amavisd-new (master)
  ├─1347 /usr/sbin/amavisd-new (virgin child)
  └─1348 /usr/sbin/amavisd-new (virgin child)

Mai 01 15:27:48 amavis[1316]: No decoder for  .jar
Mai 01 15:27:48 amavis[1316]: No decoder for  .lha
Mai 01 15:27:48 amavis[1316]: No decoder for  .lrz
Mai 01 15:27:48 amavis[1316]: No decoder for  .lz4
Mai 01 15:27:48 amavis[1316]: No decoder for  .rpm
Mai 01 15:27:48 amavis[1316]: No decoder for  .swf
Mai 01 15:27:48 amavis[1316]: Using primary internal av scanner code for ClamAV-clamd
Mai 01 15:27:48 amavis[1316]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Mai 01 15:27:48 amavis[1316]: Deleting db files snmp.db,nanny.db,__db.001,__db.003,__db.002 in /var/lib/amavis/db
Mai 01 15:27:48 amavis[1316]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3

Code:
netstat -tap | grep 10024
tcp  0  0 localhost:10024  *:*  LISTEN  1316/amavisd-new (m
 

Werbung

Top