Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)

Discussion in 'HOWTO-Related Questions' started by rickcore, Dec 28, 2006.

  1. rickcore

    rickcore New Member

    Everything is working fine, I want to do the same with Suse 9.0 and amavis, i created a quaratine account called "spam" amavis will delever all spam mail to this account, then I could redirect all good mail from this account, the problem with the new version is that I cannot redirect mail from this account, any idea to fix this?

    I'm getting this error message:
    amavis[17023]: (17023-01) (!!)TROUBLE in check_mail: quar+notif FAILED: Explicit forwarding, but not all recips done at /usr/sbin/amavisd line 3083.

    amavis[17023]: (17023-01) (!)PRESERVING EVIDENCE in /var/spool/amavisd/tmp/amavis-20061228T102146-17023

    postfix/smtp[17537]: 8B9879C8489: to=<rick@localhost>, relay=127.0.0.1[127.0.0.1]:10024, delay=7, delays=0.1/0.04/0.01/6.9, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=17023-01, quar+notif FAILED: Explicit forwarding, but not all recips done at /usr/sbin/amavisd line 3083. (in reply to end of DATA command))

    the config file looks like this:
    $QUARANTINEDIR = undef;
    $mailfrom_to_quarantine = '';
    $spam_quarantine_to="spam\@localhost";

    Thanks in advance.:)
     
  2. rickcore

    rickcore New Member

    After modify final spam destiny to:
    $final_spam_destiny = D_DISCARD; ( With D_PASS spam cannot be blocked :( )

    The main problem seems to be solved, I cannot redirect any email from the spam account, because amavis apply the same spam rules:

    Dec 28 12:49:01 localhost sendmail[21604]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Dec 28 12:49:01 localhost postfix/smtpd[21605]: 4A5CA9C8486: client=localhost[127.0.0.1]
    Dec 28 12:49:01 localhost postfix/cleanup[21608]: 4A5CA9C8486: message-id=<000c01c729eb$61ab2d10$00000000@PSLPC3>
    Dec 28 12:49:01 localhost postfix/cleanup[21608]: 4A5CA9C8486: resent-message-id=<[email protected]>
    Dec 28 12:49:01 localhost postfix/qmgr[21023]: 4A5CA9C8486: from=<[email protected]>, size=18008, nrcpt=1 (queue active)
    Dec 28 12:49:01 localhost sendmail[21604]: kBSIn1pd021604: to=rick@localhost, [email protected] (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=47113, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 4A5CA9C8486)
    Dec 28 12:49:01 localhost postfix/smtpd[21605]: disconnect from localhost[127.0.0.1]
    Dec 28 12:49:01 localhost imapd: LOGOUT, user=spam, ip=[::ffff:127.0.0.1], headers=0, body=17102, rcvd=359, sent=19212, time=1, starttls=1
    Dec 28 12:49:01 localhost postfix/smtpd[21613]: connect from localhost[127.0.0.1]
    Dec 28 12:49:01 localhost postfix/smtpd[21613]: B409E9C848D: client=localhost[127.0.0.1]
    Dec 28 12:49:01 localhost postfix/cleanup[21608]: B409E9C848D: message-id=<000c01c729eb$61ab2d10$00000000@PSLPC3>
    Dec 28 12:49:01 localhost postfix/cleanup[21608]: B409E9C848D: resent-message-id=<[email protected]>
    Dec 28 12:49:01 localhost postfix/qmgr[21023]: B409E9C848D: from=<>, size=19178, nrcpt=1 (queue active)
    Dec 28 12:49:01 localhost postfix/smtpd[21613]: disconnect from localhost[127.0.0.1]
    Dec 28 12:49:01 localhost postfix/local[21614]: B409E9C848D: to=<spam@localhost>, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
    Dec 28 12:49:01 localhost postfix/qmgr[21023]: B409E9C848D: removed
    Dec 28 12:49:01 localhost amavis[21412]: (21412-01) Blocked SPAM, LOCAL [127.0.0.1] [127.0.0.1] <[email protected]> -> <rick@localhost>, quarantine: spam@localhost, Message-ID: <000c01c729eb$61ab2d10$00000000@PSLPC3>, Resent-Message-ID: <[email protected]>, mail_id: TvF8euxCAzzq, Hits: 24.661, 420 ms
    Dec 28 12:49:01 localhost postfix/smtp[21609]: 4A5CA9C8486: to=<rick@localhost>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.51, delays=0.06/0.02/0.01/0.41, dsn=2.7.0, status=sent (254 2.7.0 Ok, discarded, id=21412-01 - SPAM)
    Dec 28 12:49:01 localhost postfix/qmgr[21023]: 4A5CA9C8486: removed

    Whitelist added too without any luck :(
    read_hash(\%whitelist_sender, '/var/amavis/whitelist_sender');

    sorry for the long message :D
     
  3. falko

    falko Super Moderator Howtoforge Staff

    What's the value of $mydomain in your amavisd.conf?
     

Share This Page