|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Maildrop with QmailHi List,
How do i integrate maildrop with qmail. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-maildrop mailing list Courier-maildrop@... https://lists.sourceforge.net/lists/listinfo/courier-maildrop |
|
|
Re: Maildrop with QmailAnirban Mukherjee writes:
> Hi List, > How do i integrate maildrop with qmail. Read INSTALL. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-maildrop mailing list Courier-maildrop@... https://lists.sourceforge.net/lists/listinfo/courier-maildrop |
|
|
Re: Maildrop with QmailOn Thu, May 8, 2008 at 4:59 PM, Sam Varshavchik <mrsam@...> wrote: I have istalled , my mailfilter file is containing
SHELL="/bin/sh" import EXT import HOST VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` VDHOME=`dirname "$VHOME"` # Test for the existance of the SPAM directory. Create it if it doesn't # exist `test -d $VHOME/Maildir/.SPAM` if ( $RETURNCODE == 1 ) { `/usr/local/bin/maildirmake -f SPAM $VHOME/Maildir` `echo INBOX.SPAM >> $VHOME/Maildir/courierimapsubscribed` } if ( /^X-Spam-Status: Yes/ ) { to "$VHOME/Maildir/.SPAM" } but , in qmail-send log some error is coming @4000000048244416199c926c delivery 9: deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./ @4000000048244416199cc91c status: local 0/10 remote 0/255 @400000004824443b199a38dc starting delivery 10: msg 2360746 to local test.com-ranjan@... @400000004824443b199a7374 status: local 1/10 remote 0/255 @400000004824443b1ef744dc delivery 10: deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./ @400000004824443b1ef77b8c status: local 0/10 remote 0/255 @40000000482444f31ef529cc starting delivery 11: msg 2360639 to local test.com-trm@... @40000000482444f31efaa03c status: local 1/10 remote 0/255 @40000000482444f3246131bc delivery 11: deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./ -- AM ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-maildrop mailing list Courier-maildrop@... https://lists.sourceforge.net/lists/listinfo/courier-maildrop |
|
|
Re: Maildrop with QmailHi!,
Set the permitions of the directory .SPAM. In my Qmail+Ldap the owner and group are "vmail". Bye! > > > On Thu, May 8, 2008 at 4:59 PM, Sam Varshavchik <mrsam@... > <mailto:mrsam@...>> wrote: > > Anirban Mukherjee writes: > > Hi List, > How do i integrate maildrop with qmail. > > > Read INSTALL. > > > I have istalled , my mailfilter file is containing > SHELL="/bin/sh" > import EXT > import HOST > VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" > VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` > VDHOME=`dirname "$VHOME"` > > # Test for the existance of the SPAM directory. Create it if it doesn't > # exist > > `test -d $VHOME/Maildir/.SPAM` > > if ( $RETURNCODE == 1 ) > { > `/usr/local/bin/maildirmake -f SPAM $VHOME/Maildir` > `echo INBOX.SPAM >> $VHOME/Maildir/courierimapsubscribed` > } > if ( /^X-Spam-Status: Yes/ ) > { > to "$VHOME/Maildir/.SPAM" > } > > > but , in qmail-send log some error is coming > > @4000000048244416199c926c delivery 9: deferral: > /usr/local/bin/maildrop:_Unable_to_open_mailbox./ > @4000000048244416199cc91c status: local 0/10 remote 0/255 > @400000004824443b199a38dc starting delivery 10: msg 2360746 to local > test.com-ranjan@... <mailto:test.com-ranjan@...> > @400000004824443b199a7374 status: local 1/10 remote 0/255 > @400000004824443b1ef744dc delivery 10: deferral: > /usr/local/bin/maildrop:_Unable_to_open_mailbox./ > @400000004824443b1ef77b8c status: local 0/10 remote 0/255 > @40000000482444f31ef529cc starting delivery 11: msg 2360639 to local > test.com-trm@... <mailto:test.com-trm@...> > @40000000482444f31efaa03c status: local 1/10 remote 0/255 > @40000000482444f3246131bc delivery 11: deferral: > /usr/local/bin/maildrop:_Unable_to_open_mailbox./ > > -- > AM > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Courier-maildrop mailing list > Courier-maildrop@... > https://lists.sourceforge.net/lists/listinfo/courier-maildrop > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-maildrop mailing list Courier-maildrop@... https://lists.sourceforge.net/lists/listinfo/courier-maildrop |
|
|
Re: Maildrop with QmailAnirban Mukherjee writes:
> On Thu, May 8, 2008 at 4:59 PM, Sam Varshavchik > <<URL:mailto:mrsam@...>mrsam@...> wrote: > > > Anirban Mukherjee writes: > > Hi List, > How do i integrate maildrop with qmail. > > Read INSTALL. > > > I have istalled , my mailfilter file is containing > SHELL="/bin/sh" > import EXT > import HOST > VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" > VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` yourself, then you must know how the vdelivermail and vuserinfo tools work, so you should be able to figure it out yourself. If you're just following someone else's instructions, they are the ones you should ask for help. If vdelivermail and vuserinfo return wrong information, and maildrop is unable to deliver to the indicated mailbox, then there's nothing that maildrop can do about it. Fix your vpopmail configuration. Furthermore, it's fairly that whoever wrote the above knows absolutely nothing about system security. I wonder what would happen if someone were to send an email addressed to: To: "p0wned" <|| rm -rf $HOME ||@domain.com> Presuming that you have domain.com configured in Qmail as a virtual domain. Your maildrop recipe would likely, essentially, end up executing, in a subshell: /home/vpopmail/bin/vuserinfo -d || rm -rf $HOME || @$HOST Why don't you try running that in shell, and see what happens to your home directory. Congratulations, anyone can now wipe out your home directory, just by sending you an E-mail message. The problem with all those canned FAQs you read on the Internet, from self-appointed experts, on how to do this or the other, is that they are rarely written by someone who understands system security. There is no substitute for learning how software works by yourself, and understanding it, instead of relying on some half-baked recipe that popped out of a Google search. You should read INSTALL, and the maildropfilter man page, and learn how maildrop really works, instead of blindly loading some code you found somewhere on the Internet, that you do not understand. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Courier-maildrop mailing list Courier-maildrop@... https://lists.sourceforge.net/lists/listinfo/courier-maildrop |
| Free Forum Powered by Nabble | Forum Help |