[courier-users] courier dependencies

2004-07-30 Thread [EMAIL PROTECTED]
Hello all again!
Please don't shoot for I am going to ask a question that may seem very 
general, even off topic. I think it's ok to ask though for it is - in 
this case - very much about courier.
Being a newby I heavily rely on the RPM systems the distros i use 
provide. It currently being Debian the apt-get and dpkg systems take 
the task of meeting dependencies off my hands. Even when I am (trying 
to) building courier I run apt-get build-dep courier and this puts 
about 60MB of stuff I didn't even know existed on my system so that i 
can build the tarball.

Now my question is: If I start moving from RPM built packages to 
tarball compiled stuff where do I get the dependencies information 
from? How do I know which libraries, their versions and other software 
the given release of courier needs to build or at runtime? If I have 
missed something in TFManual then I beg for a hint and your pardon.

Michael

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP outbox/sent mail folders

2004-07-30 Thread m
Sam Varshavchik writes: 

Warren Konkel writes: 


 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
Although the Outbox is a great feature, you can do a lot yourself using 
cronjobs. It takes some thinking to get it right, but once it works, it 
works great. One can implement an outbox this way that does move the item to 
sent items. 

I use this myself to process the occasionally misidentified spam or ham. By 
placing it in the right folder, a cronjob picks it up, feeds it through 
spamassassin, if spam sends it to spamcop, and files the message in the 
appropriate folder. 

This is very easy to do when one user is involved. When multiple users are 
involved it is actually not that much harder, something like (I have real 
users and virtual domains): 

for d in /home/*/Maildir/.Outbox/cur/ `find /var/vmail \
 -path /var/vmail/*/.Outbox/cur/`
do
 # process outbox
done 

Processing of a mailbox should ofcourse be done in a manner that is 
resilient to multiple invocations of the script, I leave that up to your 
imagination. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: courier dependencies

2004-07-30 Thread Sam Varshavchik
[EMAIL PROTECTED] writes:
Now my question is: If I start moving from RPM built packages to 
tarball compiled stuff where do I get the dependencies information 
from? How do I know which libraries, their versions and other software 
the given release of courier needs to build or at runtime? If I have 
missed something in TFManual then I beg for a hint and your pardon.
INSTALL tells you what stuff needs to be installed first.  From there, you 
figure out the actual libraries.



pgpMZDihdNS1B.pgp
Description: PGP signature


RE: [courier-users] Re: courier dependencies

2004-07-30 Thread David Gomillion
 Sam Varshavchik wrote:
 
 [EMAIL PROTECTED] writes:
 
  Now my question is: If I start moving from RPM built packages to
  tarball compiled stuff where do I get the dependencies information 
  from? How do I know which libraries, their versions and 
 other software 
  the given release of courier needs to build or at runtime? 
 If I have 
  missed something in TFManual then I beg for a hint and your pardon.
 
 INSTALL tells you what stuff needs to be installed first.  
 From there, you 
 figure out the actual libraries.
 


Another option you have is to build your own RPMs.  The document at
http://www.courier-mta.org/status.html states:

Building RPMs
You can build binary Courier RPMs directly from the tarball, using RPM
version 4.0.2 or higher. For example:
. . .

As you can see, you can build your own RPMs as new versions of Courier
are released.  It is really not hard to do.  And the RPM building
process will yell at you for any failed dependencies, and you can then
research the library specified and so some research to see what package
you need to install to satisfy such dependencies.

If you are going to go down this road, do not forget that you cannot
build the RPMs as root.  

HTH,

David Gomillion
 



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Esmtp MAXRCPT Setting...

2004-07-30 Thread KOMEC Informatica - It



Anyone know if there is a limit to 100 to the 
MAXRCPT parameter in the module.esmpt configuration file ?

I need to set it to 1000 or more but it doesn't 
work.

My configuration is 
courier 0.45.4 + amavis-new 2.0
linux red-hat 8.0
kernel 2.4.20-24.8

Thank's.





[courier-users] Deliver to different users with same username but different aliased hostnames

2004-07-30 Thread David Ehle

Hello!

I am trying to consolidate multiple mail servers w/ assort MTAs to one
established mail serverr with Courier-MTA. Moving mail from mbox format
went beautifully with mb2mb, but now I have run into a stumper.

Since most of the machines I am conslidating were small user run systems,
there were a number of cases where bad usernames were chosen - joe, john
ect. As I consolidate it looks like there will be a number of overlapping
usernames.  The main server has a good username policy, but I want to be
able to switch over mail delivery with minimal interrruption and without
my users having to send out a warning to all their contacts that their
email has changed, so I need to be able to re-reoute [EMAIL PROTECTED] to
[EMAIL PROTECTED] and [EMAIL PROTECTED] to
[EMAIL PROTECTED]

I think the solution is to use maildrop with a filter but it looks like a
pretty steep learning curve on the maildrop filter scripting language.

Has any one run into a similar situation?

I thouht that it would be as simple as doing a .mailfilter that looked
like this:

if ( /^To: [EMAIL PROTECTED]/)
{
to /home/jsmith/Maildir
}


But when I test it as a .mailfilter in a testing account it appears that
since the user doesn't have write access to the other users Maildir it
just deffers delivery. (tried it with both suid and guid for maildrop)

I don't want to put it in maildroprc till i'm sure all is working
correctly for fear that I could mess up ALL my delivery ;)

Is there an easy way to bounce or otherwise redirect the mail?

something like

to | mail [EMAIL PROTECTED]

but I'm just not sure.

Thanks for any suggestions! Just trying to avoid re-inventing the wheel.

 --
David Ehle
Computing Systems Manager
CAPP CSRRI
rm 077
LS Bld. IIT Main Campus
Chicago IL 60616
312-567-3751





---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Deliver to different users with same username but different aliased hostnames

2004-07-30 Thread Bowie Bailey
From: David Ehle [mailto:[EMAIL PROTECTED]
 
 I am trying to consolidate multiple mail servers w/ assort MTAs to
 one established mail serverr with Courier-MTA. Moving mail from mbox
 format went beautifully with mb2mb, but now I have run into a
 stumper.
 
 Since most of the machines I am conslidating were small user run
 systems, there were a number of cases where bad usernames were
 chosen - joe, john ect. As I consolidate it looks like there will be
 a number of overlapping usernames.  The main server has a good
 username policy, but I want to be able to switch over mail delivery
 with minimal interrruption and without my users having to send out a
 warning to all their contacts that their email has changed, so I
 need to be able to re-reoute
 [EMAIL PROTECTED] to [EMAIL PROTECTED]
 and [EMAIL PROTECTED] to [EMAIL PROTECTED]
 
 I think the solution is to use maildrop with a filter but it looks
 like a pretty steep learning curve on the maildrop filter scripting
 language.
 
 Has any one run into a similar situation?
 
 I thouht that it would be as simple as doing a .mailfilter that
 looked like this:
 
 if ( /^To: [EMAIL PROTECTED]/)
 {
 to /home/jsmith/Maildir
 }
 
 
 But when I test it as a .mailfilter in a testing account it appears
 that since the user doesn't have write access to the other users
 Maildir it just deffers delivery. (tried it with both suid and guid
 for maildrop)
 
 I don't want to put it in maildroprc till i'm sure all is working
 correctly for fear that I could mess up ALL my delivery ;)
 
 Is there an easy way to bounce or otherwise redirect the mail?
 
 something like
 
 to | mail [EMAIL PROTECTED]
 
 but I'm just not sure.
 
 Thanks for any suggestions! Just trying to avoid re-inventing the
 wheel.

Have you looked into using aliases?

Add a file to /etc/courier/aliases with a line like:

[EMAIL PROTECTED]: [EMAIL PROTECTED]

The substitution will happen at the beginning of the delivery and so
the message will go through all of the normal filtering that jsmith01
would get.

Bowie


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Failed to create cache file: maildirwatch

2004-07-30 Thread downtime null
I know this is touched on in the FAQ, but it didn't resolve the issue for
me. I can't imagine what is causing it. I have fam starting through xinetd,
portmap is running and IMAP_ENHANCEDIDLE was even set to 0. The permissions
seem to be just fine in the maildir. I even tried setting it to 777 as a
test. Where is it trying to create this file? How can I check to make sure
fam support was properly compiled into the courier-IMAP server?






---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Esmtp MAXRCPT Setting...

2004-07-30 Thread Sam Varshavchik
KOMEC Informatica - It writes:
 HTML content follows 
Anyone know if there is a limit to 100 to the MAXRCPT parameter in the
module.esmpt configuration file ?

I need to set it to 1000 or more but it doesn't work.

My configuration is
courier 0.45.4 + amavis-new 2.0
linux red-hat 8.0
kernel 2.4.20-24.8
You will also need to set the 'batchsize' configuration file.  See the
courier man page.


pgpbdQiEu0Grd.pgp
Description: PGP signature


Re: [courier-users] Deliver to different users with same username but different aliased hostnames

2004-07-30 Thread Martijn Lievaart
David Ehle wrote:
Hello!
I am trying to consolidate multiple mail servers w/ assort MTAs to one
established mail serverr with Courier-MTA. Moving mail from mbox format
went beautifully with mb2mb, but now I have run into a stumper.
Since most of the machines I am conslidating were small user run systems,
there were a number of cases where bad usernames were chosen - joe, john
ect. As I consolidate it looks like there will be a number of overlapping
usernames.  The main server has a good username policy, but I want to be
able to switch over mail delivery with minimal interrruption and without
my users having to send out a warning to all their contacts that their
email has changed, so I need to be able to re-reoute [EMAIL PROTECTED] to
[EMAIL PROTECTED] and [EMAIL PROTECTED] to
[EMAIL PROTECTED]
 

Sounds like aliases will solve all your problems. See makealiases(8).
HTH,
M4

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Deliver to different users with same username but different aliased hostnames

2004-07-30 Thread Sam Varshavchik
David Ehle writes:
email has changed, so I need to be able to re-reoute [EMAIL PROTECTED] to
[EMAIL PROTECTED] and [EMAIL PROTECTED] to
[EMAIL PROTECTED]
I think the solution is to use maildrop with a filter but it looks like a
pretty steep learning curve on the maildrop filter scripting language.
Has any one run into a similar situation?
I thouht that it would be as simple as doing a .mailfilter that looked
like this:
if ( /^To: [EMAIL PROTECTED]/)
{
to /home/jsmith/Maildir
}
It's a popular fairy tale that the message's sender and recipient are
completely defined in the headers, such as From:, To:, or Cc:.
It would be a simple matter for me to send you a message with the To: header
set to [EMAIL PROTECTED]  Furthermore, most of the spam in your
mailbox does not have your address explicitly listed as a recipient either.
So since it is painfully obvious that an arbitrary's message's recipient
address may not be necessarily found in its header, why exactly do you
belive that you can accomplish your goal of identifying the recipient, and
redirecting the message, by screwing around with its headers?
No, all you need to do is to define your aliases.  See the makealiases man
page as a starting point.


pgpokeHnp078T.pgp
Description: PGP signature


[courier-users] Re: Failed to create cache file: maildirwatch

2004-07-30 Thread Sam Varshavchik
downtime null writes:
I know this is touched on in the FAQ, but it didn't resolve the issue for
me. I can't imagine what is causing it. I have fam starting through xinetd,
portmap is running and IMAP_ENHANCEDIDLE was even set to 0. The permissions
seem to be just fine in the maildir. I even tried setting it to 777 as a
test. Where is it trying to create this file?
The IMAP server.
  How can I check to make sure
fam support was properly compiled into the courier-IMAP server?
If you're getting the error message, the support was properly compiled, but 
attempts to contact the famd daemon failed.



pgpxiHIPaerar.pgp
Description: PGP signature


[courier-users] [courier-users]Re: Deliver to different users with same username but different aliased hostnames

2004-07-30 Thread David Ehle

 Have you looked into using aliases?

 Add a file to /etc/courier/aliases with a line like:

 [EMAIL PROTECTED]: [EMAIL PROTECTED]

 The substitution will happen at the beginning of the delivery and so
 the message will go through all of the normal filtering that jsmith01
 would get.

 Bowie
##
Bowie, Martijn,

  I thought that would work, but once I was read up on it I wasn't sure.
It seemed that I would need to use hosteddomains but it seemed like then
you needed to be using a ldap or mySQL backend to handle it.  If I put the
new domains in hosteddomains and do the makehosted domains, can I then
just drop a
[EMAIL PROTECTED]: jsmith
in /etc/courier/aliases/john, do a make aliases and it work?

I have just tried it without using hosteddomains, just a domain I have in
locals, and it definately did NOT work.

David.
--
David Ehle
Computing Systems Manager
CAPP CSRRI
rm 077
LS Bld. IIT Main Campus
Chicago IL 60616
[EMAIL PROTECTED]
312-567-3751







---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users