Re: cyrus-2.2-cvs: virtualdomains and sendmail virtusertable (cyrusv2as local mailer)

2003-01-01 Thread Christian Schulte
Jonathan Marsden schrieb:


On 16 Dec 2002, Christian Schulte writes:

 

+`R$=L < @ $=w . >	$#_LOCAL_ $: @ $1`@'$2	special local names
+R$+ < @ $=w . >	$#_LOCAL_ $: $1`@'$2	regular local name')
   


 

I think the two lines you added should look like
   


 

`R$=L < @ $=w . >   $#_LOCAL_ $: @ $1 < @ $2 >  special local names
R$+ < @ $=w . > $#_LOCAL_ $: $1 < @ $2 >regular local name')
   


 

don't they ? For me thinks work after chaning them this way !
   


I'm glad you've found something that works for you.  I'd have to run
more tests to know if that same change to proto.m4 would work for me.
It could be that you have found a more generic approach than mine.
What I sent is in active use on multiple smallish servers under
Sendmail 8.12.5, and seems to be working fine so far.


Hello again,

actually I found the problem what made your patch not work for me 
without the need to change it! I changed the cyrusv2 mailer definition 
to R=EnvToSMTP instead of the original R=EnvToL and used the mailertable 
for delivery earlier for which your patch does not work. Now I am able 
to use your patch unchanged. There is just one problem which drives me 
crazy the whole time. I cannot get the aliases to work. If I have an 
entry in virtusertable with an RHS of  just a local alias e.g. 
LHS:@domain.tld RHS:alias_x and also have this alias_x:  defined in the 
aliases database. During delivery cyrusv2 mailer gets selected for the 
alias_x RHS from virtusertable and then cyrusv2 mailer will not do the 
actual alias expansion but tries to deliver to the alias_x mailbox 
(user.alias_x). Do you have any idea why that happens ?  Do aliases work 
for you with I think now the same setup ?

--Christian--



Re: Documentation for compiling process of the cyrus-imapd-2x releases

2003-01-01 Thread Scott Smith
and for that matter, have you started master? Verified that it's still 
running?

Does netstat -an output show port 143 in LISTEN state? ...etc.

Scott

Ken Murchison wrote:

Any errors in the server's syslog?






Re: Cyrus/IMAP/IMAP.bs file

2003-01-01 Thread Jonathan Marsden
On 1 Jan 2003, marc bigler writes:

> Can someone tell me if the PERL file Cyrus/IMAP/IMAP.bs which
> resides in the local site_perl dir is required ? Or what is it used
> for ?

> I am asking this because my IMAP.bs file is 0 kb and I am currently
> packaging Cyrus IMAP so I was wondering if I could simply ignore
> this file.

Keep it.  I am 99% sure this marks the associated IMAP.pm file (or the
functions/methods/objects it contains) as being 'blessed'.  

If you run

   find /usr/lib/perl5/ -name "*.bs" |xargs ls -l

you will see many such *.bs files within your Perl library setup, all
zero length.

I'm not enough of a Perl OO wizard to be sure of the details, though,
can someone else provide a pointer to the perl documentation on this
issue?

Jonathan
--
Jonathan Marsden| Internet: [EMAIL PROTECTED] | Making electronic 
1252 Judson Street  | Phone: +1 (909) 795-3877  | communications work 
Redlands, CA 92374  | Fax:   +1 (909) 795-0327  | reliably for Christian 
USA | http://www.xc.org/jonathan| missions worldwide 



Re: saslauthd performance anxiety

2003-01-01 Thread Igor Brezac

On Wed, 1 Jan 2003, Rob Siemborski wrote:

> On Wed, 1 Jan 2003 [EMAIL PROTECTED] wrote:
>
> > Since it's hard to predict peak usage, I'm tempted to run the daemon with
> > the -n0 option so it can spawn as required. However, a colleague has
> > pointed out that if something blows up then spawn-on-demand could kill the
> > server - with a fixed-size pool, auth requests would fail but the system
> > would keep going.
>
> At CMU, before we went to using the doors IPC method (due to unix domain
> socket issues under load on solaris), we used a value for -n of 2x our 5
> minute connection rate peak (which we have from historical graphs).
>
> If you are on Solaris, I highly recommend the doors IPC method over the
> UNIX socket method, since we began to see very bizarre problems under
> load.

You might run into problems if you use ldap api and doors, ldap module
may not be thread safe.  In addition, thread safe ldap libs need to be
used when saslauthd-doors is built.

I'd like to enhance saslauthd to use loopback interface at some point,
this will solve the problem with unix sockets and you do not need to worry
about thread safety.

-- 
Igor






Re: PHP Cyradm extension - Re: Add mailbox automatically

2003-01-01 Thread Scott Russell
On Wed, Jan 01, 2003 at 06:27:49PM -0500, Kervin L. Pierre wrote:
> 
> Thanks. I didn't know you could do that.
> 
> BTW, I browsed the PHP manual for more IMAP stuff and came across a 
> Cyradm extension http://www.php.net/manual/en/ref.cyrus.php .
> 
> It is undocumented.  Has anyone used this extension with success??

I googled for the docs once and found them. But I've always had the
worst troubles getting that PHP extension to compile. The stock PHP
IMAP stuff has always worked well enough for me.

We use php imap_* functions to handle various bits such as creating
accounts, deleting accounts, and setting account quotas. 

One word of caution. I hit a very wonky SASL reentrant bug with Red Hat
7.3. Basically because the apache server loaded an mod_ldap module and
the openldap libs had been compiled with SASLv1 support some IMAP
login mechs with the php imap_* commands would end up doing a core
dump on the apache server.

The solution for me was to rebuild the Red Hat openldap packages
without SASL support, not load any apache mod_ldap modules, and then
rebuild the Red Hat php SRPM against the previously rebuilt openldap
package. It was most odd tracking this one down.

-- 
  Scott Russell ([EMAIL PROTECTED])
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)



Re: Add mailbox automatically

2003-01-01 Thread Kendrick Vargas
On Wed, 1 Jan 2003, Kervin L. Pierre wrote:

> I am working on some PHP scripts to manage mailboxes and I have to use 
> passthough calls to execute cyradm to add mailboxes.
> 
> I'd like to avoid opening a shell from the web for security and 
> performance reasons.

You don't have to open a shell. If you look at http://www.php.net/imap 
you'll notice there are a number of functions which you could use to log 
in as your cyrus admin and create mailboxes with. There are also likely 
examples out there for you to use, in fact if you look in the archives of 
this list for my address you'll notice I posted a class which lets you 
create mailboxes n' stuff. It's not hard at all, I do it all the time.
-peace

-- 
Let he who is without clue kiss my ass




PHP Cyradm extension - Re: Add mailbox automatically

2003-01-01 Thread Kervin L. Pierre

Thanks. I didn't know you could do that.

BTW, I browsed the PHP manual for more IMAP stuff and came across a 
Cyradm extension http://www.php.net/manual/en/ref.cyrus.php .

It is undocumented.  Has anyone used this extension with success??

--Kervin



Scott Russell wrote:
On Wed, Jan 01, 2003 at 05:16:12PM -0500, Kervin L. Pierre wrote:


Just a thought,

I am working on some PHP scripts to manage mailboxes and I have to use 
passthough calls to execute cyradm to add mailboxes.

I'd like to avoid opening a shell from the web for security and 
performance reasons.



Here's a PHP function that I use to create user mailboxes with. It
could use some clean up but it works for us. Beware line wraps.

function imap_acct_create ($mailbox, $quota="") {
// creates user.$mailbox in cyrus 2.1.5
global $imap_error;
$imap = @imap_open("{localhost:143/imap/notls}", "cyrus", "passwd", OP_HALFOPEN);
if (!$imap) { 
$imap_error = imap_last_error(); 
return FALSE; 
}
// create the new top level mailbox
$ret = @imap_createmailbox($imap, "{localhost}user.".$mailbox);
if (!$ret) { $imap_error = imap_last_error(); 
@imap_close($imap);
return FALSE; 
}
// if needed, set the account quota
if ($quota != "") {
$ret = @imap_set_quota($imap, "user.".$mailbox, $quota);
if (!$ret) { $imap_error = imap_last_error(); 
	@imap_close($imap); return FALSE; }
}
@imap_close($imap);
// if we get here everything worked
return TRUE;
}   



--

=
Kervin Pierre

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]





Re: Add mailbox automatically

2003-01-01 Thread Scott Russell
On Wed, Jan 01, 2003 at 05:16:12PM -0500, Kervin L. Pierre wrote:
> Just a thought,
> 
> I am working on some PHP scripts to manage mailboxes and I have to use 
> passthough calls to execute cyradm to add mailboxes.
> 
> I'd like to avoid opening a shell from the web for security and 
> performance reasons.
> 

Here's a PHP function that I use to create user mailboxes with. It
could use some clean up but it works for us. Beware line wraps.

function imap_acct_create ($mailbox, $quota="") {
// creates user.$mailbox in cyrus 2.1.5
global $imap_error;
$imap = @imap_open("{localhost:143/imap/notls}", "cyrus", "passwd", OP_HALFOPEN);
if (!$imap) { 
$imap_error = imap_last_error(); 
return FALSE; 
}
// create the new top level mailbox
$ret = @imap_createmailbox($imap, "{localhost}user.".$mailbox);
if (!$ret) { $imap_error = imap_last_error(); 
@imap_close($imap);
return FALSE; 
}
// if needed, set the account quota
if ($quota != "") {
$ret = @imap_set_quota($imap, "user.".$mailbox, $quota);
if (!$ret) { $imap_error = imap_last_error(); 
@imap_close($imap); return FALSE; }
}
@imap_close($imap);
// if we get here everything worked
return TRUE;
}   

-- 
  Scott Russell ([EMAIL PROTECTED])
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)




Re: Impossible to move messages to trash when overquota

2003-01-01 Thread Scott Russell
On Wed, Jan 01, 2003 at 11:14:38PM +0100, Stefano Tabacchiera wrote:
> Hi all,
> my box is running cyrus-2.1.11 and I set up quota for my users.
> When someone is overquota, it's impossible to MOVE messages to Trash and 
> then delete them. The only way is to NOT use Trash, mark messages as 
> deleted and then expunge.
> Question is: why ???

This has come up before. The move command is actually a two step
operation where the file is first copied to the 'Trash' folder and
then deleted from the source directory. The copy operation fails
because the user is over quota.

> Is there a workaround for this?
> Almost all of my users use 'move-to-Trash->then-empty-Trash'. So I dont 
> want to force them to change.
> Any clue?

This is an education issue for your users. Show them how to recover
from an over quota situation without using the move-to-Trash features
of their client. Also setup cyrus to provide warnings to users who are
approaching their quota limits.

-- 
  Scott Russell ([EMAIL PROTECTED])
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)




Re: saslauthd performance anxiety

2003-01-01 Thread Kervin L. Pierre
[EMAIL PROTECTED] wrote:

directory it's binding to is quite slow (it's actually a slapd instance
running a shell backend which routes bind requests to different places
depending on the usercode - don't ask...). Because saslauthd makes


Maybe you should seriously consider moving from back-shell to back-perl, 
which you can optimize much more and is probably quicker right of the 
bat, since it does not spawn a separate process for the interpreter.

Better still, have you thought of back-meta or back-ldap?  These were 
designed for ldap routing.

I suspect you're optimizing the the wrong bottleneck.

--

=
Kervin Pierre

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]




Re: Impossible to move messages to trash when overquota

2003-01-01 Thread Rob Siemborski
On Wed, 1 Jan 2003, Stefano Tabacchiera wrote:

> Hi all,
> my box is running cyrus-2.1.11 and I set up quota for my users.
> When someone is overquota, it's impossible to MOVE messages to Trash and
> then delete them. The only way is to NOT use Trash, mark messages as
> deleted and then expunge.
> Question is: why ???

Because delete and then expunge is the IMAP model, and implementing a
trash mailbox on top of it (with a literal trash mailbox) is a gross hack.

There are ways to implement this in an IMAP-friendly manner that don't
result in this behavior, but they are still pretty gross hacks.

> Is there a workaround for this?

Don't use trash mailboxes.  Or don't use quotas.  Take your pick.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





Re: saslauthd performance anxiety

2003-01-01 Thread Rob Siemborski
On Wed, 1 Jan 2003 [EMAIL PROTECTED] wrote:

> Since it's hard to predict peak usage, I'm tempted to run the daemon with
> the -n0 option so it can spawn as required. However, a colleague has
> pointed out that if something blows up then spawn-on-demand could kill the
> server - with a fixed-size pool, auth requests would fail but the system
> would keep going.

At CMU, before we went to using the doors IPC method (due to unix domain
socket issues under load on solaris), we used a value for -n of 2x our 5
minute connection rate peak (which we have from historical graphs).

If you are on Solaris, I highly recommend the doors IPC method over the
UNIX socket method, since we began to see very bizarre problems under
load.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper






Impossible to move messages to trash when overquota

2003-01-01 Thread Stefano Tabacchiera
Hi all,
my box is running cyrus-2.1.11 and I set up quota for my users.
When someone is overquota, it's impossible to MOVE messages to Trash and 
then delete them. The only way is to NOT use Trash, mark messages as 
deleted and then expunge.
Question is: why ???
Is there a workaround for this?
Almost all of my users use 'move-to-Trash->then-empty-Trash'. So I dont 
want to force them to change.
Any clue?

Thanks all.



Add mailbox automatically

2003-01-01 Thread Kervin L. Pierre
Just a thought,

I am working on some PHP scripts to manage mailboxes and I have to use 
passthough calls to execute cyradm to add mailboxes.

I'd like to avoid opening a shell from the web for security and 
performance reasons.

So what if a valid login to cyrus created a mailbox if one did not 
exist?  Ie. does a 'cm $login' if sasl or saslauthd reports that $login 
and it's password succeeded.

That way all a sysadmin using LDAP would have to do is do an ldap_add() 
to create a mailbox.  This would be true for MySQL users as well.


--

=
Kervin Pierre

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]




Re: Documentation for compiling process of the cyrus-imapd-2x releases

2003-01-01 Thread Ken Murchison


Michael Obster wrote:
> 
> Hi,
> 
> I'm searching for good documentation for the compiling process of cyrus-imapd-2.*. 
>All documentation I found was about cyrus-imapd-1.* :-((
> Can anybody give me link?

All the documentation that you should need is in the doc/ directory of
the distribution.


> Or perhaps can solve my problem. I've all done and can create mailboxes. I also can 
>give the mailboxes the acl lrswipcd. But if I want to connect, my mail-client(mutt 
>and mozilla) says that he could not connect to the server. THe configuration of the 
>clients are right, because they worked before.

Any errors in the server's syslog?

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Sendmail & Unix Hierarchy Sep

2003-01-01 Thread Jerome M Berkman
Ilan,

If you have F=w specified in the mailer definition,
sendmail issues that message if the address is not in /etc/passwd.

E.g., from an old, untried, sendmail.cf:

Mcyrus, P=/usr/cyrus/bin/deliver, F=lsDFMnPqAh5@/:|, ...

Here F=lsDFMnPqAh5@/:| does not include "w".  Check if yours
does include "w".

- Jerry Berkman, UC Berkeley


On Tue, 31 Dec 2002, Ilan Rabinovitch wrote:

> Ya this is definately a sendmail problem.  I was hoping someone on this list
> had run into it before because for the life of me I cant figure out which
> flag I need to remove or add to solve this.
> 
> Thanks,
> Ilan
> 
> On Tue, Dec 31, 2002 at 09:34:51AM -0600, Simon Loader wrote:
> > I havent messed with sendmail configs for a while (been using these new 
> > fangled MTA`s of late). Check the flags for your mailer is passing the 
> > full emial. Track down which line in the config the error is coming from 
> > becuase it looks like this is a sendmail problem.
> > 
> > -- 
> > Simon Loader
> > 
> > Ilan Rabinovitch wrote:
> > 
> > >thanks for the suggestion.  I patched cyrus but I'm still getting:
> > >
> > >Dec 31 04:30:44 igaming1 sendmail[5278]: gBV4TxVF005275: gBV4UiVF005278:
> > >DSN: User unknown
> > >
> > >In the sendmail logs. 
> > >
> > >Any suggestions?
> > >
> > >Thanks again,
> > >Ilan
> > >
> > >
> > >On Mon, Dec 30, 2002 at 08:59:00PM -0600, Simon Loader wrote:
> > >
> > >>Are you using cyrus 2.2 ? (cvs only) if not try the lmtp patch at
> > >>http://www.surf.org.uk/downloads/
> > >>
> > >>-- 
> > >>Simon Loader
> > >>
> > >>Ilan Rabinovitch wrote:
> > >>
> > >>
> > >>>Hello,
> > >>>
> > >>>In case this might help I'm attaching my sendmail.mc file.
> > >>>I'm still not having much luck with this thing.
> > >>>Same problem of sendmail rewriting the recipient to be just 'user' 
> > >>>instead
> > >>>of '[EMAIL PROTECTED]'
> > >>>
> > >>>Any suggestions greatly appreciated.  Is there a guide or a document out
> > >>>there on this I cant seem to find antyhign that covers this problem.
> > >>>
> > >>>Thanks,
> > >>>Ilan
> > >>>
> > >>>divert(-1)
> > >>># 
> > >>>#
> > >>>#(C) Copyright 2000 by Carnegie Mellon University
> > >>>#Portions (C) Copyright 2000 Red Hat, Inc.
> > >>>#
> > >>>#This sample mc file is for a site that uses the Cyrus IMAP server
> > >>>#exclusively for local mail. This requires Sendmail 8.10 or later.
> > >>>#
> > >>>divert(0)
> > >>>include(`/usr/share/sendmail-cf/m4/cf.m4')
> > >>>OSTYPE(`linux')
> > >>>define(`confDEF_USER_ID',``8:12'')dnl
> > >>>define(`confTO_CONNECT', `1m')dnl
> > >>>define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
> > >>>define(`confDONT_PROBE_INTERFACES',true)dnl
> > >>>define(`confTO_IDENT',`0')dnl
> > >>>define(`confLOCAL_MAILER',`cyrus')dnl
> > >>>define(`ALIAS_FILE',`/etc/mail/aliases')dnl
> > >>>define(`STATUS_FILE', `/var/log/sendmail.st')dnl
> > >>>FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
> > >>>FEATURE(redirect)dnl
> > >>>FEATURE(always_add_domain)dnl
> > >>>FEATURE(use_cw_file)dnl
> > >>>FEATURE(`access_db')dnl
> > >>>FEATURE(`genericstable')dnl
> > >>>FEATURE(`virtusertable')dnl
> > >>>EXPOSED_USER(`root')dnl
> > >>>EXPOSED_USER(`postmaster')dnl
> > >>>EXPOSED_USER(`mailer-daemon')dnl
> > >>>MAILER(smtp)dnl
> > >>>MAILER(local)dnl
> > >>>
> > >>>MAILER_DEFINITIONS
> > >>>Mcyrus,  P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
> > >>> S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, 
> > >>> A=FILE /var/lib/imap/socket/lmtp
> > >>>
> > >>>LOCAL_RULE_0
> > >>>Rbb + $+ < @ $=w . > $#cyrus $: + $1
> > >>>
> > >>>LOCAL_RULESETS
> > >>># if there's a plus part, we want to directly deliver it
> > >>>SLocal_localaddr
> > >>>R$+ + $* $#cyrus $@ $: $1 + $2
> > >>>
> > >>>
> > >>>Ilan Rabinovitch wrote:
> > >>>
> > >>>
> > Hello,
> > 
> > I'm trying to get sendmail to work with Cyrus-Imap and UnixHierarchysep.
> > Right now when e-mails come in sendmail only seems to pass on the 'user'
> > part of '[EMAIL PROTECTED]' so the mail never reaches the mail box I 
> > created
> > for it.
> > 
> > Any suggestions on how to fix this? Anyone have a sample sendmail.mc I 
> > can
> > look at?
> > 
> > thanks,
> > Ilan
> > 
> > 
> > 
> 




Documentation for compiling process of the cyrus-imapd-2x releases

2003-01-01 Thread Michael Obster
Hi,

I'm searching for good documentation for the compiling process of cyrus-imapd-2.*. All 
documentation I found was about cyrus-imapd-1.* :-((
Can anybody give me link?

Or perhaps can solve my problem. I've all done and can create mailboxes. I also can 
give the mailboxes the acl lrswipcd. But if I want to connect, my mail-client(mutt and 
mozilla) says that he could not connect to the server. THe configuration of the 
clients are right, because they worked before.

Regards,
Michael Obster



Re: sieve notifyd method for sending sms doesn't work

2003-01-01 Thread Ken Murchison


mt wrote:
> 
> I want to get the contrib notify_unix stuff to work. My goal is to send sms
> messages in case of important messages. This is my sieve file:
> 
> require ["fileinto","notify"];
> if anyof (header :contains "subject" "test") {
> fileinto "INBOX.test
> #tried   notify :method "zephyr"  :message "Important message";
> #tried   notify :method "notify"  :message "Important message";
> #tried   notify :method "daemon"  :message "Important message";
>notify :method "log"  :message "Important message";
> }

AFAIK, the notify_unix stuff is not compatible with the new notify
code.  If you want to do true sms, then you'll have to write a 'sms'
method for notifyd, otherwise, you could use the 'mailto' method to send
the message to a mail-to-sms gateway.  Actually, you could just
'redirect' the message to the mail-to-sms gateway.
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Download Eminem-Shaggy'S Mp3s 01.01.2003 17:01:32

2003-01-01 Thread info-cyrus



! Hello Webmasters !
www.Netlist.net
has Opened !
So Join Our
toplist and increase your traffic for free. You wont need to open pop-up !
Because we have a dinamic counter looks like:

Click That logo and come to our
site. Than Add Your site to the correct Category..
We Accep All Kinds of Sites !. add your site and put the html code what you given..! Thats
it !
Good Luck.
Thanks
!!! DEAR SURFERS !!!
You can also reach the best sites by
www.netlist.net 
And you can download the most populer
Mp3s for free like Shaggy- Eminem- Marylin Manson




Cyrus/IMAP/IMAP.bs file

2003-01-01 Thread marc . bigler
Hello,

Can someone tell me if the PERL file Cyrus/IMAP/IMAP.bs which resides in
the local site_perl dir is required ? Or what is it used for ?

I am asking this because my IMAP.bs file is 0 kb and I am currently
packaging Cyrus IMAP so I was wondering if I could simply ignore this file.

Regards
Marc




sieve notifyd method for sending sms doesn't work

2003-01-01 Thread mt
I want to get the contrib notify_unix stuff to work. My goal is to send sms 
messages in case of important messages. This is my sieve file:

require ["fileinto","notify"];
if anyof (header :contains "subject" "test") {
fileinto "INBOX.test
#tried   notify :method "zephyr"  :message "Important message";
#tried   notify :method "notify"  :message "Important message";
#tried   notify :method "daemon"  :message "Important message";
   notify :method "log"  :message "Important message";
}

This is my imap.conf
mailnotifier: log
sievenotifier: log

I get entries in my log like that:

Jan  1 03:27:30 horizon notifyd[15498]: do_notify using method 'log'
Jan  1 03:27:30 horizon notifyd[15498]: MAIL, , mt, INBOX.test,  "From: mt 
<[EMAIL PROTECTED]> Subject: test To: [EMAIL PROTECTED] "
Jan  1 03:27:30 horizon notifyd[15498]: do_notify using method 'unknown'

I have tried all methods I have found in the man pages and in the
mailarchives, but to no avail. The perl scripts are build and started. Please 
can someone point me to the correct direction? As my search of the archives 
revealed it is not only me who has some problems getting this type of
setup to work. 





Re: make depend problems

2003-01-01 Thread marc . bigler

>Are you using the --disable-sieve configure option? It's broken and will
>produce this error, but the attached patch (tested on Solaris 8 with GNU
>tools) fixes the problem.

Yes exactly I am using the --disable-sieve option, thanks for the patch !
In the mean time I've also found out that I just need to comment out the
depend:: part of the Makefile in the perl directory.

Regards
Marc




Re: Sendmail & Unix Hierarchy Sep

2003-01-01 Thread Mike O'Rourke
I believe this subject was treated in this thread:

Re: cyrus-2.2-cvs: virtualdomains and sendmail virtusertable (cyrusv2 as 
local mailer)

You can go to 
http://asg.web.cmu.edu/archive/index.php?mailbox=archive.info-cyrus
and do a search for "sendmail" and go to the last 25 messages to see the 
tail end of
the thread.

Maybe Christian would share with you his final (?) solution?

Mike.

Ya this is definately a sendmail problem.  I was hoping someone on this list
had run into it before because for the life of me I cant figure out which
flag I need to remove or add to solve this.

Thanks,
Ilan

On Tue, Dec 31, 2002 at 09:34:51AM -0600, Simon Loader wrote:
> I havent messed with sendmail configs for a while (been using these new
> fangled MTA`s of late). Check the flags for your mailer is passing the
> full emial. Track down which line in the config the error is coming from
> becuase it looks like this is a sendmail problem.
>
> --
> Simon Loader
>
> Ilan Rabinovitch wrote:
>
> >thanks for the suggestion.  I patched cyrus but I'm still getting:
> >
> >Dec 31 04:30:44 igaming1 sendmail[5278]: gBV4TxVF005275: gBV4UiVF005278:
> >DSN: User unknown
> >
> >In the sendmail logs.
> >
> >Any suggestions?
> >
> >Thanks again,
> >Ilan
> >
> >
> >On Mon, Dec 30, 2002 at 08:59:00PM -0600, Simon Loader wrote:
> >
> >>Are you using cyrus 2.2 ? (cvs only) if not try the lmtp patch at
> >>http://www.surf.org.uk/downloads/
> >>
> >>--
> >>Simon Loader
> >>
> >>Ilan Rabinovitch wrote:
> >>
> >>
> >>>Hello,
> >>>
> >>>In case this might help I'm attaching my sendmail.mc file.
> >>>I'm still not having much luck with this thing.
> >>>Same problem of sendmail rewriting the recipient to be just 'user'
> >>>instead
> >>>of '[EMAIL PROTECTED]'
> >>>
> >>>Any suggestions greatly appreciated.  Is there a guide or a document out
> >>>there on this I cant seem to find antyhign that covers this problem.
> >>>
> >>>Thanks,
> >>>Ilan
> >>>
> >>>divert(-1)
> >>>#
> >>>#
> >>>#  (C) Copyright 2000 by Carnegie Mellon University
> >>>#  Portions (C) Copyright 2000 Red Hat, Inc.
> >>>#
> >>>#  This sample mc file is for a site that uses the Cyrus IMAP server
> >>>#  exclusively for local mail. This requires Sendmail 8.10 or later.
> >>>#
> >>>divert(0)
> >>>include(`/usr/share/sendmail-cf/m4/cf.m4')
> >>>OSTYPE(`linux')
> >>>define(`confDEF_USER_ID',``8:12'')dnl
> >>>define(`confTO_CONNECT', `1m')dnl
> >>>define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
> >>>define(`confDONT_PROBE_INTERFACES',true)dnl
> >>>define(`confTO_IDENT',`0')dnl
> >>>define(`confLOCAL_MAILER',`cyrus')dnl
> >>>define(`ALIAS_FILE',`/etc/mail/aliases')dnl
> >>>define(`STATUS_FILE', `/var/log/sendmail.st')dnl
> >>>FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
> >>>FEATURE(redirect)dnl
> >>>FEATURE(always_add_domain)dnl
> >>>FEATURE(use_cw_file)dnl
> >>>FEATURE(`access_db')dnl
> >>>FEATURE(`genericstable')dnl
> >>>FEATURE(`virtusertable')dnl
> >>>EXPOSED_USER(`root')dnl
> >>>EXPOSED_USER(`postmaster')dnl
> >>>EXPOSED_USER(`mailer-daemon')dnl
> >>>MAILER(smtp)dnl
> >>>MAILER(local)dnl
> >>>
> >>>MAILER_DEFINITIONS
> >>>Mcyrus,P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
> >>>   S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
> >>>   A=FILE /var/lib/imap/socket/lmtp
> >>>
> >>>LOCAL_RULE_0
> >>>Rbb + $+ < @ $=w . >   $#cyrus $: + $1
> >>>
> >>>LOCAL_RULESETS
> >>># if there's a plus part, we want to directly deliver it
> >>>SLocal_localaddr
> >>>R$+ + $*   $#cyrus $@ $: $1 + $2
> >>>
> >>>
> >>>Ilan Rabinovitch wrote:
> >>>
> >>>
> Hello,
> 
> I'm trying to get sendmail to work with Cyrus-Imap and 
UnixHierarchysep.
> Right now when e-mails come in sendmail only seems to pass on the 
'user'
> part of '[EMAIL PROTECTED]' so the mail never reaches the mail box I
> created
> for it.
> 
> Any suggestions on how to fix this? Anyone have a sample sendmail.mc I
> can
> look at?
> 
> thanks,
> Ilan
> 
> 
>