Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th December 2006, 17:24
rickcore rickcore is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5)

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.
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2006, 20:01
rickcore rickcore is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by rickcore
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.
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=<20061228124900.pte16pr7288o48k8@192.168.1.150>
Dec 28 12:49:01 localhost postfix/qmgr[21023]: 4A5CA9C8486: from=<hbEChbEnew@frontrangebank.com>, size=18008, nrcpt=1 (queue active)
Dec 28 12:49:01 localhost sendmail[21604]: kBSIn1pd021604: to=rick@localhost, ctladdr=hbEChbEnew@frontrangebank.com (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=<20061228124900.pte16pr7288o48k8@192.168.1.150>
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] <hbEChbEnew@frontrangebank.com> -> <rick@localhost>, quarantine: spam@localhost, Message-ID: <000c01c729eb$61ab2d10$00000000@PSLPC3>, Resent-Message-ID: <20061228124900.pte16pr7288o48k8@192.168.1.150>, 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
Reply With Quote
  #3  
Old 29th December 2006, 16:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
 
Default

What's the value of $mydomain in your amavisd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sapphire327 HOWTO-Related Questions 10 25th December 2006 15:59
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sneaky_russian Installation/Configuration 4 26th September 2006 18:05
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41


All times are GMT +2. The time now is 22:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.