1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail and Amavis

Discussion in 'Plesk for Linux - 8.x and Older' started by saschahb, Jul 19, 2005.

  1. saschahb

    saschahb Guest


    i just tried to use amavis with qmail.

    - i downloaded amavis-0.3.12
    - ./configure --prefix=/usr/local

    everything was detected correctly...

    - make and then make install
    - cd /var/qmail/bin
    - cp qmail-queue qmail-queue-real
    - cp /usr/local/sbin/amavis qmail-queue

    now I've changed the orig queue to the one from amavis.

    when i do a test:

    echo test|mailx -i my@email.com

    the email arrives at my mailbox... and yeah! it was checked for virus (i can see the tag within the mailheader)...

    BUT: now my problem...

    if the mail arrives from outside the qmail-daemon does not even touch this qmail-queue... no log entry, no failure... so the mail will not be delivered...

    if i change back to the original qmail-queue everything works fine...

    anyone has a solution for this problem?
  2. saschahb

    saschahb Guest

    Now it works... It's a little bit different than described within all manuals i found:

    - Download amavis-0.3.12.tar.gz
    - decompress and do a ./configure --prefix=/usr/local
    - amavis should detect everything
    - make and then make install
    - cd /var/qmail/bin
    - cp qmail-queue qmail-queue-real
    - cp /usr/local/sbin/amavis /var/qmail/bin/qmail-queue
    - chmod ogu+xr qmail-queue
    - chown qmaild.qmail qmail.queue
    - chown -R qmaild.qmail /var/virusmails /var/amavis
    - chmod 777 /var/amavis
    - restart qmail

    everything should work fine now and it is possible to use neary ANY virus scanner! amavis supports many many of them ;)

  3. superbock

    superbock Guest

    you could also install clamav and qmail-scanner packages, they integrate cleanly with PSA's qmail, and it's becoming a kinda "standard" combination.

    ART's has nice RPM's to get you going, check his website.
  4. _tek

    _tek Basic Pleskian

    Feb 7, 2005
    Likes Received:

    thank you so very very much for posting this, i have been looking into how to make this happen for quite some time now and every how-to i had found talked about doing it with qmvc which plesk will not work with because of dependancies.

    My major complaint about qmail is the fact that since its a "assembly required" MTA. there is to many different combinations of how you might have assembled it and gotten it working.

    Postfix on the other hand is going to be uniformly the same every time at the base level which makes modifying or adding stuff to it hundreds of times easier.

    I have not drank the cool-aid so i do not believe qmail to be a better choice for any reason and having used it in the past i quit using it because every install could be vastly different than the last one. postfix on the otherhand requires virtually no assembly to get it to work and once its up you can bolt in whatever functionality you want.
  5. superbock

    superbock Guest

    Yep that's true, qmail does not bring a lot out of the box. But it's simplicity and configuration scheme is attractive, as is it's security track record.

    These days, i use qmail for MX frontends and Postix for backend mail delivery (mainly because ot it's MySQL support). It's a good combination, i use the best of them in both situations.
  6. saschahb

    saschahb Guest

    I'm trying to get/build a fast and stable solution for debian. the the rpm's doesn't help me...

    what's the url of ART's website? I need a detailed description how to realize it with debian and plesk...

    best wishes
  7. jamesyeeoc

    jamesyeeoc Guest

  8. JoaoCorreia

    JoaoCorreia Guest

    As I say in ... SUS !

    As I say in:


    We should start paying our SUS to AtomicRocketTurtle.

    He's features are basically essencial to any hosting company and still not available with Plesk standard.

    Joao Correia