Edit /etc/postfix/main.cf
add -a "$RECIPIENT" to the mailbox_command option:
mailbox_command = -a "$EXTENSION" -a "$RECIPIENT"
Edit /etc/procmailrc
----------------------
VERBOSE=true
LOGFILE=/tmp/procmail.log
:0:
* ^Subject: **SPAM**
| /usr/sbin/dbmail-smtp -m Spam -d "$2"
----------------------
After you get this working (check the LOGFILE), comment the VERBOSE and LOGFILE
lines.
Simon Buchanan wrote:
Thanks for the replies.. Does anyone know how to make this work with
postfix?
Newman wrote:
I use Exim->Spamassassin->DBMail and that's what I do to put spam into a
separate folder. I have routers defined in Exim so if it's determined
to be spam, it executes "dbmail-smtp -d [EMAIL PROTECTED] -m \"Spam\""
and if it's not spam, it executes "dbmail-smtp -d [EMAIL PROTECTED]"
-Sean
On Mon, 2005-01-31 at 21:19 -0800, Micah Stevens wrote:
I don't know if this has been changed in 2.x, as I'm still running
1.x stuff, but it used to be:
dbmail-smtp [-n headerfield] [-d addresses] [-u usernames] [-m
mailboxname] [-r return path]
[-f file]
So, you can deliver to junk by:
dbmail-smtp -u username -m junk
I think.. never tried delivering to anything but inbox, but that's
what the docs say..
man dbmail-smtp gives you that.. that program's name has been changed
in 2.x though, right?
-Micah
On Monday 31 January 2005 07:39 pm, Simon Buchanan wrote:
Hi,
Simon Buchanan wrote:
Hi There, We are using postfix>amavis>dbmail.. and im wondering how to
get amavis delivering SPAM to a INBOX/Junk, rather than just the
INBOX... Does any body else do this and can provide some setup tips?
Thanks,
Is there anyone who can help me with this setting please?
Thanks!!!
SImon
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
________________________________________________________________
Paul Stevens [EMAIL PROTECTED]
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands_______________________________________www.nfg.nl