E-mail Servers

AVG 7.5 to 8.5 for Linux/FreeBSD Postfix transition

If you are using the AVG 7.5 for Linux/FreeBSD and the Postfix mail transfer agent and you want to upgrade it to the latest AVG 8.5 for Linux/FreeBSD, please follow these steps to perform successful transition:

  • Stop Postfix
    • Linux
      # /etc/init.d/postfix stop
    • FreeBSD
      #
      /usr/local/etc/rc.d/postfix.sh stop
  • Upgrade the AVG 7.5 program to the latest 8.5 version
    Accurate steps how to upgrade your AVG program are listed in FAQ 1743.
  • Edit the main.cf configuration file and change (/etc/postfix/main.cf):
  • content_filter = smtp-avgd:localhost:55555
    to
    content_filter = smtp-avgd:localhost:54321
  • Start Postfix
    • Linux
      # /etc/init.d/postfix start
    • FreeBSD
      # /usr/local/etc/rc.d/postfix.sh start
  • Start AVG 8.5
  • # avgctl --start

     

 

AVG 7.5 to 8.5 for Linux/FreeeBSD Exim transition

If you are using the AVG 7.5 for Linux/FreeBSD and the Exim mail transfer agent and you want to upgrade it to the latest AVG 8.5 for Linux/FreeBSD, please follow these steps to perform successful transition:

  • Stop Exim
    • Linux
      # service exim stop
    • FreeBSD
      # /usr/local/etc/rc.d/exim.sh stop
  • Upgrade the AVG 7.5 program to the latest 8.5 version
    Accurate steps how to upgrade your AVG program are listed in FAQ 1743.
  • Edit Exim configuration and change transports configuration file you have changed during AVG 7.5 configuration OR transports section of the main Exim configuration file
    from:
    avgd:
      driver = smtp
      port = 55555
      allow_localhost
    to:
    avgd:
      driver = smtp
      port = 54321
      allow_localhost
  • Start Exim
    • Linux
      # service exim start
    • FreeBSD
      # /user/local/etc/rc.d/exim.sh start
  • Start AVG 8.5
    # avgctl --start
 

AVG 7.5 to 8.5 for Linux/FreeBSD Qmail transition

If you are using the AVG 7.5 for Linux/FreeBSD and the Qmail mail transfer agent and you want to upgrade it to the latest AVG 8.5 for Linux/FreeBSD, please follow these steps to perform successful transition:

  • Stop the Qmail service
    • Linux
      # /etc/init.d/qmail stop
    • FreeBSD
      /usr/local/etc/rc.d/qmaild.sh stop
  • Upgrade the AVG 7.5 program to the latest 8.5 version
    Accurate steps how to upgrade your AVG program are listed in FAQ 1743.
  • If the qmail-queue-avg is still correctly installed (required by AVG 7.5) with default communication port 55555 then please change configuration of AVG 8.5 to use this port too:
    # avgcfgctl -w Default.tcpd.avg.ports="|55555|"</li><li><strong>Start Qmail and AVG 8.5</strong></li><ul><li><strong>Linux<br></strong># /etc/init.d/qmail start<br># avgctl --start</li><li><strong>FreeBSD<br></strong># /usr/local/etc/rc.d/qmaild.sh start<br># avgctl --start</li></ul>
     

AVG 7.5 to 8.5 for Linux/FreeBSD Sendmail transition

<p>If you are using the <strong>AVG 7.5 for Linux/FreeBSD</strong> and the <strong>Sendmail </strong>mail transfer agent with AVG milter daemon and you want to upgrade it to the latest <strong>AVG 8.5 for Linux/FreeBSD</strong>, please follow these steps to perform successful transition:</p><ul><li><strong>Stop Sendmail</strong></li><ul><li><strong>Linux</strong><br># /etc/init.d/sendmail stop</li><li><strong>FreeBSD<br></strong># /usr/local/etc/rc.d/sendmail.sh stop</li></ul><li><strong>Stop AVG milter daemon<br></strong># /opt/grisoft/avg7/etc/init.d/avgdmilter.all stop<br>For <strong>Gentoo</strong> distribution the command is slightly different:<br># /opt/grisoft/avg7/etc/init.d/avgdmilter.gentoo stop</li><li><strong>Upgrade the AVG 7.5 program to the latest 8.5 version<br></strong>Accurate steps how to upgrade your AVG program are listed in <a class="arr" href="http://www.avg.com/za-en/faq?num=1743#faq_1743">FAQ 1743.
  • Change AVG configuration as follows:
    #avgcfgctl -w Default.tcpd.milter.enabled=true
    #avgcfgctl -w Default.tcpd.milter.socket=inet:10024@localhost
    #avgcfgctl -w Default.tcpd.smtp.enabled=false
  • Start AVG 8.5 and Sendmail
    • Linux
      # avgctl --start
      # /etc/init.d/sendmail start
    • FreeBSD
      # avgctl --start
      # /usr/local/etc/rc.d/sendmail.sh start
     

    AVG for Linux/FreeBSD program update on MTAs

    You may have noticed that during the program update of AVG for Linux/FreeBSD the AVG daemons are restarted during the update process, therefore mail processing on MTA is suspended for a while. For further correct function of some MTAs, it can be necessary to flush MTA´s queue manually in order to receive all deferred e-mails and to restore mail processing again. Please find the steps for MTA you are using below:

    • Postfix
      All e-mails received during restart of AVG are placed to the queue and it might be necessary to flush the queue to process all e-mails in it. Please use the following command to flush the queue manually:

      # /etc/init.d/postfix flush
    • Sendmail
      All e-mails received during restart of AVG (after program update) are temporarily rejected by Sendmail. However, almost all servers are trying to send e-mail more times when rejected so every e-mail should be delivered only with some small delay (as it will be accepted later).

      Note: In case of Sendmail MTA it is not possible to have both milter interface and smtp protocol enabled in AVG at the same time and it is recommended to disable communication via smtp protocol prior to the program update (or after the program update if it already took place). Please see FAQ 1891 for more information.
    • Exim
      All e-mails received during restart of AVG are placed to the queue and it might be necessary to flush the queue to process all e-mails in it. You can use this command to flush the queue manually:

      # exim -qff
    • Qmail
      All e-mails received during restart of AVG are temporarily rejected until AVG is ready again. Every e-mail should be delivered with a small delay.
     

    Possible mail processing issues on Sendmail after last program update

    We would like to inform you that after the last program update of AVG for Linux/FreeBSD (build 288), it is not possible to have the following options enabled simultaneously:

    Default.tcpd.milter.enabled=true
    Default.tcpd.smtp.enabled=true

    If these options are enabled at the same time, milter cannot be initialized and e-mails cannot be processed by AVG.

    If you experience such issue after the last program update of AVG, please follow these steps to rectify it:

    • Change the configuration of AVG

      # avgcfgctl -w Default.tcpd.smtp.enabled=false

    • Restart AVG

      # avgctl --restart

    Please note that the AVG functions/protection levels are not affected by this change.

     
     
    </p>"