Displaying 18 results from an estimated 18 matches for "mlocal".
Did you mean:
local
2004 Mar 25
1
mlocal/mtrace inside a loop
...which calls fun2, fun2 has a loop
which fails and I need to find out the value of the
variables of the fun2 and fun1 loops at the specific
iteration that fails. Both fun1 and fun2 loops will
iterate thousands of times so line by line debug is
not practical.
According to what I understood from > ?mlocal and the
Vol. 3/3, December 2003 R-news article "Debugging
Without (Too Many) Tears" by Mark Bravington. P.32
first column last paragraph, I did. "Which needs some
fixing and direction - thanks"
> source("funs")
> library(debug)
> debug(fun1)
data <- fun1(s...
2009 Nov 15
0
Basic Question about local
...egarding local, in the docs, it says that
"local evaluates an expression in a local environment".
Q1: why is B different from A? In B, is a<-a+1 getting evaluated
before eval proceeds?
#A
a=0
eval(quote(a<-a+1),new.env())
a # 0
#B
a=0
eval(a<-a+1,new.env())
a # 1
Q2: Why does mlocal behave differently?
#C
local
#function (expr, envir = new.env())
#eval.parent(substitute(eval(quote(expr), envir)))
#<environment: namespace:base>
a=0
local(a<-a+1)
a #0
mlocal <- function (expr, envir = new.env())
eval(quote(expr), envir)
a=0
mlocal(a<-a+1)
a #1
Thank you...
2005 Oct 03
2
access to R parse tree for Lisp-style macros?
...e:
http://www.biostat.wustl.edu/archives/html/s-news/2002-10/msg00064.html
but that's really just a syntactic short-cut to the run-time use of
substitute() and eval(), which you could manually put into a function
yourself if you cared too. (AKA, not at all equivalent to Lisp
macros.) The mlocal() function in mvbutils also has seemingly similar
macro-using-eval properties:
http://cran.r-project.org/src/contrib/Descriptions/mvbutils.html
http://www.maths.lth.se/help/R/.R/library/mvbutils/html/mlocal.html
I could of course pre-process R source code, either using a custom
script or so...
2010 Feb 23
3
Best style to organize code, namespaces
Hi all,
I'm hoping someone could tell me what best practices are as far as
keeping programs organized in R. In most languages, I like to keep
things organized by writing small functions. So, suppose I want to
write a function that would require helper functions or would just be
too big to write in one piece. Below are three ways to do this:
################### Style 1 (C-style)
2015 Jan 18
2
sendmail not invoking dovecot-lda
...c/dovecot/password
dnl
MAILER(dovecot)dnl # see below
dnl
dnl End of File
-------------------------------------------------------
- my (relevant to dovecot ) sendmail.cf file looks like:
-------------------------------------------------------
#
# lots of deleted ... ??not?? important until Mlocal ---> MAILER(local)
#
Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/
HdrToL,
T=DNS/RFC822/SMTP,
A=mail.local -l
Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,...
2004 Dec 03
1
newbie question
Hello all,
just managed to install dovecot as imap server on a Suse Linux box. Now running fine with mbox format. A question regarding maildir or mbox. The MDA (in my case sendmail, Mlocal = procmail) stores mbox format. Do have to modify the local mailer to store maildir format or does dovecot convert automatically from mbox when I tell dovecot to use maildir format?
Thanks, for any hint.
Carsten
2004 Jun 09
1
Using macros
Dear list members,
I've been puzzling over how best to clean up the code for my Rcmdr package.
In particular, there's a lot of repetitive tcltk code in the package, and as
Martin M?chler has pointed out to me, this makes the package difficult to
maintain.
If R were Lisp, I'd use macros for much of the clean up. My efforts to do
similar things with R functions has run into problems
2015 Jan 26
0
sendmail not invoking dovecot-lda
...l # see below
> dnl
> dnl End of File
>
> -------------------------------------------------------
> - my (relevant to dovecot ) sendmail.cf file looks like:
> -------------------------------------------------------
>
> #
> # lots of deleted ... ??not?? important until Mlocal ---> MAILER(local)
> #
>
> Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/
> HdrToL,
> T=DNS/RFC822/SMTP,
> A=mail.local -l
> Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=...
2006 Oct 03
2
dovecot, procmail and deliver
...ery-side migration from [UW] tmail/dmail to [dovecot] 'deliver'?
It would feel safer this way, but maybe I worry too much...
---
Second: "deliver" seems to add an unconditional "From " line at the start
of each delivery. From sendmail, using the 'n' flag, "Mlocal F=...n..."
that is OK. (Although I'm not convinced that "dovecot.deliver", nor its
two-space separator (emphasis on "two") from the following date are
ideal. Nor, come to that line's lack of "@somewhere".)
But from a procmail recipe, I end up with two &...
2009 Mar 04
2
deliver to root
Hi,
we use dovecot 1.1.11 on a RH Server with sendmail. Local delivery is
done with deliver:
Mlocal, P=/usr/local/libexec/dovecot/deliver,
F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=deliver -d $u
This setup works without issues for us, but mail to root has a problem
with deliver:
deliver(root): Mar 04 16:31:31 E...
2009 Apr 13
0
debug/mtrace problem
...rgument "l" est manquant, avec aucune valeur par d?faut
#argument "l" is missing without default value...
I've tried to look in with traceback(), but it does not help me.
> traceback()
21: FUN("l"[[1L]], ...)
20: lapply(savers, get, envir = nlocal.env)
19: mlocal(index(nchar(names(line.list)) > 0)[l] - 1)
18: screen.line(lno)
17: assign("answer", {
Here is some technical informations :
> Sys.info()
sysname release version nodename
"Windows" "Vista" "build 6001, Service Pack 1" &quo...
2010 Sep 15
1
Can solaris sendmail use dovecot lda
Hello,
on a Solaris 9 system with dovecot 1.2.14 installed I want to replace the sendmail local delivery agent 'mail.local' with the dovcot LDA. The wiki page http://wiki.dovecot.org/LDA/Sendmail did not really help me, because there are only linux specific tipps I am not able to apply to solaris sendmail.cf. So how can I tell solaris sendmail to use dovecots LDA instead of mail.local?
2007 Sep 24
1
Deliver, sendmail & envelope From_
...ructions at wiki.dovecot.org/LDA/Sendmail
Any help would be much appreciated. I've appended my local mailer
stuff below. Should I just substitute deliver's path for mail.local?
By the way, dovecot is very slick! It should speed up my
mail server by a huge factor. Many thanks to Timo!
Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXmnz9P, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/SMTP,
A=mail.local -l
Mprog, P=/usr/libexec/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
T=X-Unix/X-Unix/X-Unix,
A=smrsh -c $u
1997 Jan 21
0
sendmail 8.8.5 released
...root privileges. This problem appeared in 8.8.3.
It is essential that you upgrade ASAP if you are running 8.8.3 or
8.8.4. If you cannot upgrade immediately, turn off the F=9 flag
on the local and prog mailers. You can do this by editing the
/etc/sendmail.cf file and look for the lines beginning Mlocal and
Mprog. Find the field beginning "F=" and delete the digit "9"
from the following string. Then restart the sendmail daemon.
If your configuration file does not include the F=9 flag, then
you are not vulnerable. A CERT Advisory on this vulnerability
will be released soon....
2012 Jul 15
3
Issues with Plus addressing and detail part of subaddress.
Hi all,
So, it's been a while. I'm just ramping back up with Dovecot after a hiatus of a few years.
I've been using it fine, complete with Sieve, for about a year, with little or no issues.
I finally got around to setting up a second account, to start figuring out how I want to do some plus address filtering.
In a nutshell, I want to put mail for foo+bar in foo's 'bar'
2008 Oct 17
2
Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota
...ndex=, control=,
inbox=/var/mail/stsimb.t157.forthnet.gr/Maildir
deliver(stsimb.t157.forthnet.gr): Oct 17 14:25:19 Info:
msgid=<200810171125.m9HBPJFT017287 at mx-mstr-07.forthnet.prv>: save failed
to INBOX: Quota exceeded (mailbox for user is full)
==> sendmail.cf dovecot mailer <==
Mlocal, P=/usr/libexec/dovecot/deliver, F=lsDFMAw5:/|@qSPhn9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=deliver -d $u
[root at mx-mstr-07 ~]# dovecot -n
# 1.1.4: /etc/dovecot.conf
log_path: /var/log/dovecot.log
protocols: imap pop3
ssl_disable...
2012 Jun 12
1
Getting duplicates despite trying hard to match lock styles
...gies: dotlocking, fcntl()
Default rcfile: $HOME/.procmailrc
It may be writable by your primary group
Your system mailbox: /var/spool/mail/rw
----------
(There is no $HOME/.procmailrc or other system-wide procmailrc.)
3. The mailer as defined in sendmail.cf says:
----------
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=procmail -t -Y -a $h -d $u
----------
4. The relevant lines from /var/log/maillog:
----------
Jun 12 08:56:53 localhost dovecot: imap-login: Login: use...
2015 Jul 03
3
Dovecot LMTP tries to access a directory of a different user, than the one it actually changed to.
Hello, I encountered a problem when trying to send an email to multiple
recipients.
=== LOG ===
... cut ...
Jul 3 12:34:57 dhcp90 dovecot: lmtp(24106): Debug: none: root=, index=,
control=, inbox=
Jul 3 12:34:57 dhcp90 dovecot: lmtp(24106): Connect from local
Jul 3 12:34:57 dhcp90 dovecot: lmtp(24106): Debug: Loading modules from
directory: /usr/lib64/dovecot
Jul 3 12:34:57 dhcp90