Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian)

Discussion in 'HOWTO-Related Questions' started by TheRudy, Jun 26, 2009.

  1. TheRudy

    TheRudy Member

    I already have it working just fine, but i didn't do two things..

    Two quick questions:

    1. Apply The Quota Patch To Postfix
    When i run:
    Code:
    apt-get build-dep postfix
    The result is:
    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Could not open file /var/lib/apt/lists/security.debian.org_dists_stable_updates_main_source_Sources - open (2 No such file or directory)
    Eh?

    Content of sources:
    Code:
    deb http://security.debian.org/ stable/updates main contrib
    deb-src http://security.debian.org/ stable/updates main contrib
    2. Is there any script out there that will also delete folders when i input to it only email and/or domain name?
     
    Last edited: Jun 26, 2009
  2. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    aptitude update
    and try again.
     
  3. TheRudy

    TheRudy Member

    Same error..
     
  4. TheRudy

    TheRudy Member

    Oh wait, gave you wrong error message before..

    This is the error from vanila debian:

    Code:
    # apt-get build-dep postfix
    
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to find a source package for postfix
    The error in my first post was when i added this to sources list:
    Code:
    deb http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main contrib
    deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main contrib
     
  5. TheRudy

    TheRudy Member

    Adding this two
    Code:
    deb http://http.us.debian.org/debian lenny main contrib non-free
    deb-src http://http.us.debian.org/debian lenny main contrib non-free
    
    And it works..
     
  6. TheRudy

    TheRudy Member

    Quick question. Now that i installed this patched packages and when i run aptitude update - aptitude safe-upgrade, it offers me to upgrade postfix and postfix-mysql. Anyway to remove this two from the aptitude update list?

    Code:
    The following packages will be upgraded:
      postfix postfix-mysql
    
    If i do upgrade, the old ones, unpatched will be back, right?
    So i have to remove them from aptitude list when i do safe-upgrades..
     
  7. falko

    falko Super Moderator Howtoforge Staff

  8. TheRudy

    TheRudy Member

    Code:
    aptitude hold postfix
    aptitude hold postfix-mysql
    Works.. ;)

    Thanks falko as always!
     
  9. mazze

    mazze New Member

  10. mazze

    mazze New Member

    problem found

    sorry, i found the problem. i wrote a config file for the mysql false and a parameter in it.
     

Share This Page