

![]() | 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: |
2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Multiple problems.| From | Sent On | Attachments |
|---|---|---|
| Rob Short | Feb 12, 2003 8:13 am | |
| Sam Varshavchik | Feb 12, 2003 2:54 pm |

![]() | 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: | [maildropl] Multiple problems. | Actions... |
|---|---|---|
| From: | Rob Short (robs...@venturenet.net) | |
| Date: | Feb 12, 2003 8:13:48 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Advance apologies for the length of this, but better to include to much than too little:
Environment:
------------ Maildrop 1.5.1 Qmail 1.03 Vpopmail 5.2 Redhat 8.0
Mailfilter in use/question:
------------------ logfile "/var/log/maildrop/maildrop.log" VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d te...@testing.com`
if ( $SIZE < 262144 ) { exception { to "$VPOP" } } else { # then try delivering it to a Spam folder exception { to "$VHOME/Maildir/spam" } }
referring .qmail-default in the same directory:
----------------------------------------------- | maildrop -V 5 mailfilter # | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
What I'm trying to do in the above is a very basic first try at "if the message is less than 262144, deliver straight through with no filtering to VPOPMail." Else, send the message to the user's SPAM box.
There are a couple of things I intend to change in time to get more complex, like not hard coding the user's address into the VHOME= variable declaration at the top, and I expect to add an exception for personal mail filter include statements.
NOW: that said, here is my problem. When I send a message that has a size above 262144 the message doesn't get delivered to $VHOME/Maildir/spam.
Here is the log of what happens:
@400000003e4a674302a81b6c new msg 4145333 @400000003e4a674302a832dc info msg 4145333: bytes 8787991 from <root@#censored#.#censored#.net> qp 9610 uid 0 @400000003e4a674303a3f7fc starting delivery 151: msg 4145333 to local test...@testing.com @400000003e4a674303a4bb4c status: local 1/10 remote 0/20 @400000003e4a674417335a9c delivery 151: success: Message_start_at_0_bytes,_envelope_sender=vpopmail/maildrop:_Attempting_ mailfilter/mailfilter(1):_Opening_logfile_/var/log/maildrop/maildrop.log /mailfilter(2):_VPOP="|_/home/vpopmail/bin/vdelivermail_''_bounce-no mailbox"/maildrop:_Filtering_through_`/home/vpopmail/bin/vuserinfo_d_tes t...@testing.com`/mailfilter(3):_VHOME="/home/vpopmail/domains/testing.com/ test"/mailfilter(5):_Evaluating_IF_condition./mailfilter(5):_IF_evaluate d,_result=0/mailfilter(14):_Trapping_exceptions./maildrop:_Delivering_to _/home/vpopmail/domains/testing.com/test/Maildir/spam/mailfilter(14):_Tr apped_exception./maildrop:_Delivering_to_/var/spool/mail/vpopmail/maildr op:_Flock()ing_/var/spool/mail/vpopmail./maildrop:_Appending_to_/var/spo ol/mail/vpopmail./maildrop:_Delivery_complete./did_0+0+1/ @400000003e4a67441736f864 status: local 0/10 remote 0/20 @400000003e4a674417389e44 end msg 4145333
Don't know if this is clear or not. What happens is that the mail is not delivered to /home/vpopmail/domains/testing.com/test/Maildir/spam, it instead gets delivered to the last resort /var/spool/mail/vpopmail.
I see that the log says that there is an exception being trapped for that statement, but I can't for the life of me squeeze any more logging out of this thing to find out exactly what's bombing. Obviously, from this line: maildrop:_Filtering_through_`/home/vpopmail/bin/vuserinfo_d_test@testing .com` evaluating to this line: maildrop:_Delivering_to_/home/vpopmail/domains/testing.com/test/Maildir/ spam
the vuserinfo command is getting executed correctly, and the correct value is getting stored in $VHOME.
It would seem that the problem was with the actual delivery.. I thought it was permissions, but after setting the directory that it was supposed to deliver to "chmod 777 spam", it still isn't delivering.
Anyone have any ideas? If you need more info about the setup / configuration / anything I'll be more than happy to provide it.
Cheers,
Robert Short







