Virtual Users + Domains With Postfix etc.

Discussion in 'HOWTO-Related Questions' started by byw, Feb 19, 2006.

  1. byw

    byw New Member

    Hi

    I have tried the (Virtual Users + Domains With Postfix, Courier + MySQL (+SMTP-AUTH, SpamA, ClamAV)) Tutorial many times on two different machines yet Amavis randomly stops and queues of email build up, is there any reason for this happening?

    Thanks

    Byron Williams
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any error messages in the mail log?
     
  3. byw

    byw New Member

    This is a manual start.
    Code:
    Feb 19 10:19:25 localhost amavis[19242]: starting.  amavisd-new at ptah amavisd-new-20030616-p10, Unicode aware, LANG=en_GB
    Feb 19 10:19:26 localhost amavis[19242]: Perl version               5.008004
    Feb 19 10:19:26 localhost amavis[19242]: Module Amavis::Conf        1.15
    Feb 19 10:19:26 localhost amavis[19242]: Module Archive::Tar        1.23
    Feb 19 10:19:26 localhost amavis[19242]: Module Archive::Zip        1.14
    Feb 19 10:19:26 localhost amavis[19242]: Module Compress::Zlib      1.34
    Feb 19 10:19:26 localhost amavis[19242]: Module Convert::TNEF       0.17
    Feb 19 10:19:26 localhost amavis[19242]: Module Convert::UUlib      1.051
    Feb 19 10:19:26 localhost amavis[19242]: Module DBI                 1.46
    Feb 19 10:19:26 localhost amavis[19242]: Module DB_File             1.808
    Feb 19 10:19:26 localhost amavis[19242]: Module MIME::Entity        5.417
    Feb 19 10:19:26 localhost amavis[19242]: Module MIME::Parser        5.417
    Feb 19 10:19:26 localhost amavis[19242]: Module MIME::Tools         5.417
    Feb 19 10:19:26 localhost amavis[19242]: Module Mail::Header        1.62
    Feb 19 10:19:26 localhost amavis[19242]: Module Mail::Internet      1.62
    Feb 19 10:19:26 localhost amavis[19242]: Module Mail::SpamAssassin  3.000003
    Feb 19 10:19:26 localhost amavis[19242]: Module Net::Cmd            2.26
    Feb 19 10:19:26 localhost amavis[19242]: Module Net::DNS            0.48
    Feb 19 10:19:26 localhost amavis[19242]: Module Net::SMTP           2.29
    Feb 19 10:19:26 localhost amavis[19242]: Module Net::Server         0.87
    Feb 19 10:19:26 localhost amavis[19242]: Module Time::HiRes         1.59
    Feb 19 10:19:26 localhost amavis[19242]: Module Unix::Syslog        0.100
    Feb 19 10:19:26 localhost amavis[19243]: Found $file       at /usr/bin/file
    Feb 19 10:19:26 localhost amavis[19243]: No $arc,          not using it
    Feb 19 10:19:26 localhost amavis[19243]: Found $gzip       at /bin/gzip
    Feb 19 10:19:26 localhost amavis[19243]: Found $bzip2      at /usr/bin/bzip2
    Feb 19 10:19:26 localhost amavis[19243]: No $lzop,         not using it
    Feb 19 10:19:26 localhost amavis[19243]: No $lha,          not using it
    Feb 19 10:19:26 localhost amavis[19243]: Found $unarj      at /usr/bin/arj
    Feb 19 10:19:26 localhost amavis[19243]: Found $uncompress at /bin/uncompress
    Feb 19 10:19:26 localhost amavis[19243]: No $unfreeze,     not using it
    Feb 19 10:19:26 localhost amavis[19243]: No $unrar,        not using it
    Feb 19 10:19:26 localhost amavis[19243]: Found $zoo        at /usr/bin/zoo
    Feb 19 10:19:26 localhost amavis[19243]: Found $cpio       at /bin/cpio
    Feb 19 10:19:26 localhost amavis[19243]: Using internal av scanner code for (primary) Clam Antivirus-clamd
    Feb 19 10:19:26 localhost amavis[19243]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
    Feb 19 10:19:34 localhost dccproc[19245]: socket(UDP): Address family not supported by protocol
    And this from the Scheduled SpamAssassin Rules update

    Code:
    Feb 19 06:00:46 localhost amavis[18631]: starting.  amavisd-new at ptah amavisd-new-20030616-p10, Unicode aware, LANG=en_GB
    Feb 19 06:00:48 localhost amavis[18631]: Perl version               5.008004
    Feb 19 06:00:48 localhost amavis[18631]: Module Amavis::Conf        1.15
    Feb 19 06:00:48 localhost amavis[18631]: Module Archive::Tar        1.23
    Feb 19 06:00:48 localhost amavis[18631]: Module Archive::Zip        1.14
    Feb 19 06:00:48 localhost amavis[18631]: Module Compress::Zlib      1.34
    Feb 19 06:00:48 localhost amavis[18631]: Module Convert::TNEF       0.17
    Feb 19 06:00:48 localhost amavis[18631]: Module Convert::UUlib      1.051
    Feb 19 06:00:48 localhost amavis[18631]: Module DBI                 1.46
    Feb 19 06:00:48 localhost amavis[18631]: Module DB_File             1.808
    Feb 19 06:00:48 localhost amavis[18631]: Module MIME::Entity        5.417
    Feb 19 06:00:48 localhost amavis[18631]: Module MIME::Parser        5.417
    Feb 19 06:00:48 localhost amavis[18631]: Module MIME::Tools         5.417
    Feb 19 06:00:48 localhost amavis[18631]: Module Mail::Header        1.62
    Feb 19 06:00:48 localhost amavis[18631]: Module Mail::Internet      1.62
    Feb 19 06:00:48 localhost amavis[18631]: Module Mail::SpamAssassin  3.000003
    Feb 19 06:00:48 localhost amavis[18631]: Module Net::Cmd            2.26
    Feb 19 06:00:48 localhost amavis[18631]: Module Net::DNS            0.48
    Feb 19 06:00:48 localhost amavis[18631]: Module Net::SMTP           2.29
    Feb 19 06:00:48 localhost amavis[18631]: Module Net::Server         0.87
    Feb 19 06:00:48 localhost amavis[18631]: Module Time::HiRes         1.59
    
    Code:
    Feb 19 00:00:05 localhost dccproc[17494]: socket(UDP): Address family not supported by protocol
    This keeps popping up on all of the mail logs

    Thanks

    Byron Williams
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I can't see any amavisd errors... :confused:
     
  5. byw

    byw New Member

    If there are no Amavis errors why would Amavis keep dying?
    I can only see a link between that and the SpamAssassin rules update?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What SpamAssassin rules update?
     
  7. byw

    byw New Member

    Code:
    45 3 * * * root  /usr/local/sbin/sa_rules_update.sh &> /dev/null
    18 */3	* * *	amavis	test -e /usr/bin/sa-learn && test -e /usr/sbin/amavisd-new && /usr/bin/sa-learn --rebuild >/dev/null 2>&1
     

Share This Page