[courier-users] Supporting sendmail user extensions

2004-05-19 Thread David Newall
On Wed, 2004-05-19 at 08:39, Sam Varshavchik wrote:
 There's certaily a better alternative: modify your authentication module to 
 do the necessary writing.

I'd like to report, happily, that a minor change to authpam now permits
my legacy (Sendmail) user-extension addresses to be accepted by
courier.  I no longer need a .courier-default, and my server load and
network usage are reduced.  Thank you so very much, Sam, for pointing me
to the solution.



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Maildir filename format and mail migration

2004-05-19 Thread Sam Varshavchik
Ray Jackson writes:
   Mail store: timestamp.procid.hostname;size
Webmail store: user%40pop3server%2etimestamp%2eprocid%2ehostname%3bsize
So, anyway I did a test and copied an inbox off our existing mail store and
copied them directly into a Maildir folder called oldmail (under the 'cur'
sub-directory) and hey presto - my IMAP client simply recognised all the email
and Courier created and updated a 'courierimapuiddb' file.  I didn't need to
rename the files or anything.  I then copied the files and added :2,S on the
end of the filenames and my IMAP client saw them all as read!  For the Webmail
store I copied the files again to a folder and then coverted the \r\n to \n and
again it all worked with no file renaming etc.  And Courier happily created a
'courierimapuiddb' file with the orginal file names etc.
So, I guess my question is - Are there any problems or issues we might face with
copying files into a Maildir directory without the standard Maildir filename
format?
No.  The only issue will be that the relative order of messages in a folder 
may change, after the move.



pgpnr6MJcF4tG.pgp
Description: PGP signature


[courier-users] fetchmail times out when talking to courier smtpd

2004-05-19 Thread Felix Maibaum
Hi, all my fetchmail session end like the one shown below.
delivering directly to maildrop is unfortunately not an option, because I want 
to pipe through spamassassin first (no, I'm not doing that yet).


reading message [EMAIL PROTECTED]@pop3.web.de:1 of 2 (4447 octets)
fetchmail: SMTP 220 myserver ESMTP
fetchmail: SMTP EHLO localhost
fetchmail: SMTP 250-servierer Ok.
fetchmail: SMTP 250-AUTH LOGIN CRAM-MD5
fetchmail: SMTP 250-AUTH=LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
fetchmail: SMTP 250-STARTTLS
fetchmail: SMTP 250-XVERP=Courier
fetchmail: SMTP 250-XEXDATA
fetchmail: SMTP 250-XSECURITY=NONE,STARTTLS
fetchmail: SMTP 250-PIPELINING
fetchmail: SMTP 250-8BITMIME
fetchmail: SMTP 250-SIZE
fetchmail: SMTP 250 DSN
fetchmail: SMTP MAIL FROM:[EMAIL PROTECTED] BODY=8BITMIME 
SIZE=444 7
fetchmail: SMTP 250 Ok.
fetchmail: SMTP RCPT TO:[EMAIL PROTECTED]
fetchmail: SMTP 250 Ok.
fetchmail: SMTP DATA
fetchmail: SMTP 354 Ok.
#***.***fetchmail: SMTP. 
(E OM)

-- fetchmail sits here for a long time, waiting. afterwards:

fetchmail: SMTP RSET
 not flushed
fetchmail: POP3 RETR 2
fetchmail: socket error while fetching from pop3.web.de


I can use myserver as smtp from my mailclient to send mails to local users. 
only fetchmail has problems.

Any ideas?
I will also go and bug the fetchmail people, but since fetchmail works with 
most other mtas this might as well be a problem with courier.

thanks for any advice

Felix


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Logs

2004-05-19 Thread Robert Horton
All right, this may be a stupid question, but here goes:
Courier was logging to /var/log/mail.log. I do not have a log rotating 
program (someone want to recommend one with a link?). mail.log was 
getting fairly large so I moved mail.log, created a new one and 
restarted courier. Instead of logging to the new mail.log, it started 
logging to sys.log. This morning I did the same thing with sys.log and 
restarted courier, but now it does not appear to be logging to anywhere!

Anyway to make it log to where it is supposed to?
Thank,
Rob

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Logs

2004-05-19 Thread Jay Lee
You are probably recreating the log files with rights that prevent Courier
from writing to the files.  Try deleting the new log files and restarting
Courier.  Courier should be able to create the log file itself with proper
rights when it sees it doesn't exist.  As for a log rotater, you didn't
say much about what OS your running but I use logrotate which comes as an
RPM on Redhat along with logwatch which emails me summary information from
the logs each day.  Works very nice.  Just do a google for your platform.

Jay
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--
In the eyes of my dog, I'm a man. --Martin Mull


Robert Horton said:
 All right, this may be a stupid question, but here goes:

 Courier was logging to /var/log/mail.log. I do not have a log rotating
 program (someone want to recommend one with a link?). mail.log was
 getting fairly large so I moved mail.log, created a new one and
 restarted courier. Instead of logging to the new mail.log, it started
 logging to sys.log. This morning I did the same thing with sys.log and
 restarted courier, but now it does not appear to be logging to anywhere!

 Anyway to make it log to where it is supposed to?

 Thank,

 Rob



 ---
 This SF.Net email is sponsored by: SourceForge.net Broadband
 Sign-up now for SourceForge Broadband and get the fastest
 6.0/768 connection for only $19.95/mo for the first 3 months!
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] IMAP and POP authentication

2004-05-19 Thread Andre Correa
Hi list, for a long time I've being using Courier IMAP and POP in 
several servers with great results. But now I have a new need that I'm 
not sure how to address.

I need to make IMAP and POP daemons authenticate on my MySQL DB using 
diferent SQL queries.

This is because I have to permit some users to have access to IMAP and 
POP and others just to POP. I've created a new field in the database but 
I don't know how to make the two daemons use diferent SQL queries.

I thought about running two authentication daemons and point IMAP to one 
and POP to the other. Is it possible? Or I better try something with ACLs?!

Any help is appreciated.
tks in advance.
Andre

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] mailq

2004-05-19 Thread Robert Horton
And another question:
My mailq is quite suddenly filled with over 1000 messages to various 
address which, based on the address, are over in tawain. Is there 
anyway to clear the mailq in one fell swoop or do I have to cancelmsg 
id for EVERY message?

Thanks

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailq

2004-05-19 Thread Anand Buddhdev
On Wed, May 19, 2004 at 08:53:18AM -0700, Robert Horton wrote:

 And another question:
 
 My mailq is quite suddenly filled with over 1000 messages to various 
 address which, based on the address, are over in tawain. Is there 
 anyway to clear the mailq in one fell swoop or do I have to cancelmsg 
 id for EVERY message?

Hmm... sounds like some spammer has managed to relay through your mail
server (unlikely with the default configuration), or has managed to
send spam through one of your downstreams, which uses you as a relay,
and all those messages are DSNs from the downstream.

If you want to zap _all_ the messages, you can stop courier, then
remove all the files from /var/spool/courier/msg{s,q}/*/* and restart
courier.

-- 
Anand Buddhdev
Celtel International


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Logs

2004-05-19 Thread Robert Horton
The perms on my mail.log are correct so this baffles me. *shrug*
Courier is working, yet not creating any logswierd.
On Wednesday, May 19, 2004, at 13:28 US/Pacific, Malcolm Weir wrote:
[EMAIL PROTECTED]

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Logs

2004-05-19 Thread Gordon Messmer
Robert Horton wrote:
Courier was logging to /var/log/mail.log. I do not have a log rotating 
program (someone want to recommend one with a link?). mail.log was 
getting fairly large so I moved mail.log, created a new one and 
restarted courier. Instead of logging to the new mail.log, it started 
logging to sys.log. This morning I did the same thing with sys.log and 
restarted courier, but now it does not appear to be logging to anywhere!
Courier normally logs to syslog.  Syslog keeps its file open, so if you 
move mail.log and create a new one, syslog will still be logging to the 
file it had open (whatever you moved mail.log to).  Even if you delete 
the mail.log file, syslog keeps logging to it and using more disk space. 
 It's a feature of Unix systems.  ;)

Give the syslogd process a HUP signal.

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] fetchmail times out when talking to courier smtpd

2004-05-19 Thread Gordon Messmer
Felix Maibaum wrote:
Hi, all my fetchmail session end like the one shown below.
delivering directly to maildrop is unfortunately not an option, because I want 
to pipe through spamassassin first (no, I'm not doing that yet).
If you set up your maildrop rules to use spamc as an xfilter, then you 
can deliver mail directly to maildrop.  It's best to do this... your 
mail is less likely to be rejected.  If courier won't accept a message 
(for instance, because the sender's DNS went offline never to return), 
that message will get stuck on your POP server, and fetchmail will 
download it every time it checks, and generally waste a lot of bandwidth.


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Logs

2004-05-19 Thread Robert Horton
That did not work. It did not recreate the logs.
As for what OS I am running: I do the LFS (linux from scratch) and I am 
running the 2.4.25 kernel. I do not have the RPM package installed nor 
am I very excited about installing it as I prefer building from source. 
I can find the logrotate source but it appears to be for FreeBSD. So 
who know. heh

Any further suggestions? :)
Thanks
On Wednesday, May 19, 2004, at 07:39 US/Pacific, Jay Lee wrote:
You are probably recreating the log files with rights that prevent 
Courier
from writing to the files.  Try deleting the new log files and 
restarting
Courier.  Courier should be able to create the log file itself with 
proper
rights when it sees it doesn't exist.  As for a log rotater, you didn't
say much about what OS your running but I use logrotate which comes as 
an
RPM on Redhat along with logwatch which emails me summary information 
from
the logs each day.  Works very nice.  Just do a google for your 
platform.

Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--
In the eyes of my dog, I'm a man. --Martin Mull
Robert Horton said:
All right, this may be a stupid question, but here goes:
Courier was logging to /var/log/mail.log. I do not have a log rotating
program (someone want to recommend one with a link?). mail.log was
getting fairly large so I moved mail.log, created a new one and
restarted courier. Instead of logging to the new mail.log, it started
logging to sys.log. This morning I did the same thing with sys.log and
restarted courier, but now it does not appear to be logging to 
anywhere!

Anyway to make it log to where it is supposed to?
Thank,
Rob

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: 
https://lists.sourceforge.net/lists/listinfo/courier-users


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Logs

2004-05-19 Thread Malcolm Weir
 -Original Message-
 From: Robert Horton
 Sent: Wednesday, May 19, 2004 12:47 PM

[ Snip ]

 As for what OS I am running: I do the LFS (linux from 
 scratch) and I am running the 2.4.25 kernel. I do not have 
 the RPM package installed nor am I very excited about 
 installing it as I prefer building from source. 
 I can find the logrotate source but it appears to be for 
 FreeBSD. So who know. heh
 
 Any further suggestions? :)

Yep.  Get RPM.  It's a package *manager*, and in no way precludes building
your own.

Then get the SRPMs (from e.g. Redhat).  Use rpm2cpio (from the
distribution of RPM) to unpack the SRPMs.  And the source will be there for
you to build...

As to log file issue itself, my log and log directory are owned by root:root
with 600 permissions on the files and 755 on the directory...  Hmmm!

Malc.



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] IMAP and POP authentication

2004-05-19 Thread Andre Correa
Hi list, for a long time I've being using Courier IMAP and POP in
several servers with great results. But now I have a new need that I'm
not sure how to address.
I need to make IMAP and POP daemons authenticate on my MySQL DB using
diferent SQL queries.
This is because I have to permit some users to have access to IMAP and
POP and others just to POP. I've created a new field in the database but
I don't know how to make the two daemons use diferent SQL queries.
I thought about running two authentication daemons and point IMAP to one
and POP to the other. Is it possible? Or I better try something with ACLs?!
Any help is appreciated.
tks in advance.
Andre

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] authdaemon: s_connect() failed: No such file or directory

2004-05-19 Thread Frederic SOSSON
Hello courier-users,

I get this message:
authdaemon: s_connect() failed: No such file or directory
from pop3d logs.

Did I forget to start or configure anything?
-- 
Best regards,
 Frederic



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Logs

2004-05-19 Thread Sam Varshavchik
Robert Horton writes:
The perms on my mail.log are correct so this baffles me. *shrug*
Courier is working, yet not creating any logswierd.
Courier never creates any logs.  All messages are sent to the syslog 
facility.  It is the syslog process that's responsible for distributing log 
messages to various files.

This has nothing to do with Courier.


pgpd8NnUZKAxu.pgp
Description: PGP signature


[courier-users] Re: IMAP and POP authentication

2004-05-19 Thread Sam Varshavchik
Andre Correa writes:
This is because I have to permit some users to have access to IMAP and 
POP and others just to POP. I've created a new field in the database but 
I don't know how to make the two daemons use diferent SQL queries.
See the MYSQL_AUXOPTIONS setting in the authmysqlrc configuration file.
See INSTALL for additional information on how to use this option.


pgphK4MHgayUH.pgp
Description: PGP signature


[courier-users] Re: authdaemon: s_connect() failed: No such file or directory

2004-05-19 Thread Sam Varshavchik
Frederic SOSSON writes:
Hello courier-users,
I get this message:
authdaemon: s_connect() failed: No such file or directory
from pop3d logs.
Did I forget to start or configure anything?
You forgot to stard authdaemond.


pgp4aT6RZNXyq.pgp
Description: PGP signature


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-19 Thread Dan
Since this is a new server I decided to reinstall from scratch with the recently
released 0.45.5.  Mail addressed to non-existent users is STILL getting
delivered to /usr/lib/courier/etc/aliasdir/Maildir!  I can't really move to this
new server until I figure out what is going on.  Any help at all would be
appreciated.

Dan



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users