quotas - Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch)

Discussion in 'HOWTO-Related Questions' started by jdkullmann, Nov 17, 2008.

  1. jdkullmann

    jdkullmann New Member

    Hi - I've had this great setup working for quite awhile now, but, I'm afraid to apt-get upgrade because of the modified postfix, so, I've got about 90 packages out of date.

    Can I just upgrade with the standard postfix if I don't care about quotas, or will that break something since the rest of my setup (MySQL, control files, etc) expects or relies on the patched postfix?

    If I can't just upgrade to the std postfix, where do I find up to date patches for the current postfix source?

    Thanks for all the great howto's and your support here in the forum
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. jdkullmann

    jdkullmann New Member

    OK, first I feel like a n00b for not finding any of those, and thank you for the pointer.

    But, the second part of my question was ''if I don't care about quota's can I just upgrade, or will that break my setup because of possible quota changes elsewhere in other files / parts of the install "?

    Thanks
     
  4. jdkullmann

    jdkullmann New Member

    I've read all the references to pinning and I must be doing something wrong. I'm running 2.3.8

    server:~> sudo postconf -d | grep mail_version
    mail_version = 2.3.8

    Here is my preferences file

    server:~> cat /etc/apt/preferences
    Package: postfix*
    Pin: version 2.3.8
    Pin-Priority: 1001

    but when I run apt-get upgrade it looks like it is still going to upgrade postfix....

    server:~> sudo apt-get -d upgrade
    Reading package lists... Done
    Building dependency tree... Done
    The following packages have been kept back:
    clamav clamav-daemon clamav-freshclam spamassassin
    The following packages will be upgraded:
    apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common bind9-host
    clamav-base debconf debconf-i18n dnsutils grub initramfs-tools initscripts
    libapache2-mod-php5 libbind9-0 libc6 libc6-dev libc6-i686 libclamav4 libdns22
    libfreetype6 libgd2-xpm libisc11 libisccc0 libisccfg1 libkadm55 libkrb5-dev libkrb53
    liblwres9 libmysqlclient15-dev libmysqlclient15off libpcre3 libpcre3-dev libpcrecpp0
    libpq-dev libpq4 libsnmp-base libsnmp9 libtiff4 libxml2 libxslt1.1
    linux-image-2.6.18-6-686 locales mysql-client mysql-client-5.0 mysql-common mysql-server
    mysql-server-5.0 openssh-client openssh-server php-pear php5 php5-cli php5-common
    php5-curl php5-dev php5-gd php5-imap php5-mcrypt php5-mhash php5-mysql php5-pspell
    php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl phpmyadmin postfix
    postfix-doc postfix-mysql proftpd selinux-policy-refpolicy-targeted sysv-rc sysvinit
    sysvinit-utils tzdata
    78 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    Need to get 119MB of archives.
    After unpacking 2582kB of additional disk space will be used.
    Do you want to continue [Y/n]? n

    what am I doing wrong?
    Thanks
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Yes.

    Did you run
    Code:
    apt-get update
    after your changes?
     
  6. jdkullmann

    jdkullmann New Member

    yes, see below. and it still looks like it is going to upgrade postfix. i'd love to know how to hold it. thanks.

    server:~> sudo apt-get update
    Get:1 http://volatile.debian.org etch/volatile Release.gpg [189B]
    Get:2 http://security.debian.org etch/updates Release.gpg [189B]
    Get:3 http://ftp.us.debian.org etch Release.gpg [386B]
    Hit http://ftp.us.debian.org etch Release
    Hit http://volatile.debian.org etch/volatile Release
    Hit http://security.debian.org etch/updates Release
    Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
    Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
    Hit http://ftp.us.debian.org etch/main Packages
    Ign http://security.debian.org etch/updates/main Packages/DiffIndex
    Ign http://volatile.debian.org etch/volatile/main Packages/DiffIndex
    Hit http://ftp.us.debian.org etch/main Sources
    Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
    Ign http://security.debian.org etch/updates/main Sources/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
    Ign http://volatile.debian.org etch/volatile/contrib Packages/DiffIndex
    Ign http://volatile.debian.org etch/volatile/non-free Packages/DiffIndex
    Hit http://security.debian.org etch/updates/main Packages
    Hit http://volatile.debian.org etch/volatile/main Packages
    Hit http://volatile.debian.org etch/volatile/contrib Packages
    Hit http://security.debian.org etch/updates/contrib Packages
    Hit http://security.debian.org etch/updates/main Sources
    Hit http://security.debian.org etch/updates/contrib Sources
    Hit http://volatile.debian.org etch/volatile/non-free Packages
    Fetched 3B in 1s (2B/s)
    Reading package lists... Done

    server:~> sudo apt-get -d upgrade
    Reading package lists... Done
    Building dependency tree... Done
    The following packages have been kept back:
    clamav clamav-daemon clamav-freshclam spamassassin
    The following packages will be upgraded:
    apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common bind9-host
    clamav-base debconf debconf-i18n dnsutils grub initramfs-tools initscripts
    libapache2-mod-php5 libbind9-0 libc6 libc6-dev libc6-i686 libclamav4 libdns22
    libfreetype6 libgd2-xpm libisc11 libisccc0 libisccfg1 libkadm55 libkrb5-dev libkrb53
    liblwres9 libmysqlclient15-dev libmysqlclient15off libpcre3 libpcre3-dev libpcrecpp0
    libpq-dev libpq4 libsnmp-base libsnmp9 libtiff4 libxml2 libxslt1.1
    linux-image-2.6.18-6-686 locales mysql-client mysql-client-5.0 mysql-common mysql-server
    mysql-server-5.0 openssh-client openssh-server php-pear php5 php5-cli php5-common
    php5-curl php5-dev php5-gd php5-imap php5-mcrypt php5-mhash php5-mysql php5-pspell
    php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl phpmyadmin postfix
    postfix-doc postfix-mysql proftpd selinux-policy-refpolicy-targeted sysv-rc sysvinit
    sysvinit-utils tzdata
    78 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    Need to get 119MB of archives.
    After unpacking 2582kB of additional disk space will be used.
    Do you want to continue [Y/n]? n
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Please try
    Code:
    sudo apt-get upgrade
    (without -d).
     
  8. jdkullmann

    jdkullmann New Member

    ok I ran it w/o -d and even though it stated it was updating and looked like it did, afterwards postconf showed it was still 2.3.8.

    thanks
     

Share This Page