Re: Re: NeoMail-users digest, Vol 1 #672 - 3 msgs

Torsten Mueller <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
Avelino Faria schrieb:
> 
> Hello Torsten,
> 
> Thank you for the info. I looked at the code and was not able to figure
> out where it can be changed. Can you provide some more details? Promise
> will not place no blame on you.
> 
> Thank you,
> Avelino

In neomail.pl locate 

sub movemessage {

and change
(($folder eq $destination) || ($destination eq 'INBOX'));
to
($folder eq $destination);

Now you have to add the INBOX as a target for the move option.
Ernie did it this way (to not have the INBOX as the target):

################
my @movefolders;
foreach my $checkfolder (@validfolders) {
         unless ( ($checkfolder eq 'INBOX') || ($checkfolder eq $folder)
) {
         push (@movefolders, $checkfolder);
     }
}
################
Change (more than once)
unless ( ($checkfolder eq 'INBOX') || ($checkfolder eq $folder) ) {
to
unless ($checkfolder eq $folder) {

Between, Ernie mentioned, that it is possible. I myself agree with
Ernie,
that it's not wise to do it.

However Avelino,

Good Luck.
(and tell us, if you succeed)

Torsten


> 
...
> > From: Ernie Miller <[email protected]>
> >
> > Actually this option was disabled due to me not wanting to be blamed
> > when some app that doesn't respect file locks hosed up a mail spool
> > while NeoMail was reading it.  It's easy to enable though... There's
> > only a conditional in one spot that prevents the moving of a message
> to
> > inbox -- been a while since I looked at the code but if you change
> that
> > line, and add INBOX to the folder list in the dropdown, you should be
> > good.
> >


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.