

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
8 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Move all messages of ...| From | Sent On | Attachments |
|---|---|---|
| juanmi | Dec 20, 2005 4:14 am | |
| Tony Earnshaw | Dec 20, 2005 5:53 am | |
| juanmi | Dec 20, 2005 6:47 am | |
| Tony Earnshaw | Dec 20, 2005 7:14 am | |
| juanmi | Dec 20, 2005 8:08 am | |
| juanmi | Dec 21, 2005 4:36 am | |
| Tony Earnshaw | Dec 21, 2005 5:55 am | |
| juanmi | Dec 21, 2005 7:27 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [maildropl] Move all messages of nonexistent mailboxes | Actions... |
|---|---|---|
| From: | juanmi (jua...@planalfa.es) | |
| Date: | Dec 21, 2005 7:27:38 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
The srcipt not work, sorry for my english. The code is OK?
Thanks Tony /etc/maildroprc ========================================================== if ( $SIZE < 26144 ) { exception { xfilter "/usr/bin/spamassassin" } }
`test -d $HOME/Maildir/`
if( $RETURNCODE == 1 ) { exception { to /cartas/domain.com/spam/Maildir/new } }
else { if (/^X-Spam-Flag: *YES/) { exception { to "$HOME/$DEFAULT/.Spam" } } else { exception { to "$HOME/$DEFAULT" } } } ==================================================
-----Mensaje original----- De: Tony Earnshaw Para: ''cour...@lists.sourceforge.net' ' Enviado el: 20/12/05 16:13 Asunto: Re: [maildropl] Move all messages of nonexistent mailboxes
juanmi wrote:
My Mail Server is this:
Debian Sarge (updated) Postfix 2.1.5-9 Maildrop 1.6.3
Yor answer say me: "refus mail for non-existent accounts in the first place" I explain: I dont permit relay to non-existanaccounts in my MTA. When I say non-existanaccounts i try say for example your mail ton...@barlaeus.nl (i put one mor "n"), the mail go to your server
and
say me "that user is unknow". I try refuse this mails with luser_relay=sp...@domain.com in main.cf (but not work).
That's no good - you *have* to read the Postfix docs, try: Rejecting Unknown Local Recipients with Postfix http://www.postfix.org/LOCAL_RECIPIENT_README.html. This is 2.2 documentation, but the same applies to 2.1.
move
will
have a mailbox with all spam to non-exisatant accounts with this solution and i will can teach spamassassin.
I try compose a similar code of this to put in maildroprc (I don?t know the code) if you can help me :-(.
========================================================================
if ( /^To: NON-...@domain.com ) { exception { to "sp...@domain.com" } } else { exception { to "$HOME/$DEFAULT" } }
No. # make sure Maildir exists `test -d $HOME/Maildir/` # or wherever the Maildir should be if( $RETURNCODE == 1 ) { to /dev/null # or wherever you want. }
Best,
--Tonni
-- Tony Earnshaw Email: ton...@barlaeus.nl
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click <http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click>
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
-- Tony Earnshaw Email: ton...@barlaeus.nl
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







