Re: [vchkpw] vchkpw and courier 2.2.1 (long)

2004-01-09 Thread Alexander Bruns
Hi,

hope this helps you.

we use this to do the smtp after pop3/imap:
http://www.pofo.de/HOWTO/qmail/install-courierimaphack.html
it is installed under /home/vpopmail/bin/open_relay

we use courimap for all 4 protocols, pop3d, pop3d-ssl, imapd, imapd-ssl and  
all for runs-cripts under
/usr/local/courier-imap/current/libexec/imapd.rc or pop3d-rc or pop3d-ssl.rc
look like this:

# 8 Schnipp 8 #
#! /bin/sh
# $Id: imapd.rc.in,v 1.22 2002/12/24 02:31:40 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.


prefix=/usr/local/courier-imap/2.1.2
exec_prefix=/usr/local/courier-imap/2.1.2
bindir=${exec_prefix}/bin
libexecdir=/usr/local/courier-imap/2.1.2/libexec

TLS_CACHEFILE=
. ${prefix}/etc/imapd-ssl
. ${prefix}/etc/imapd

case $1 in
start)
LIBAUTHMODULES=
for f in `echo $AUTHMODULES`
do
LIBAUTHMODULES=$LIBAUTHMODULES 
/usr/local/courier-imap/2.1.2/libexec/authlib/$f
done

if test -x ${libexecdir}/authlib/authdaemond
then
/usr/bin/env - ${libexecdir}/authlib/authdaemond start
fi

if test $TLS_CACHEFILE != 
then
rm -f $TLS_CACHEFILE
fi

ulimit -v $IMAP_ULIMITD
/usr/bin/env - /bin/sh -c  set -a ;
prefix=/usr/local/courier-imap/2.1.2 ;
exec_prefix=/usr/local/courier-imap/2.1.2 ;
bindir=${exec_prefix}/bin ;
libexecdir=/usr/local/courier-imap/2.1.2/libexec ;
. ${prefix}/etc/imapd ; \
. ${prefix}/etc/imapd-ssl ; \
IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
/usr/local/courier-imap/2.1.2/libexec/couriertcpd 
-address=$ADDRESS \

-stderrlogger=/usr/local/courier-imap/2.1.2/libexec/courierlogger \
-stderrloggername=imapd \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
-pid=$PIDFILE $TCPDOPTS \
$PORT ${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES \
/home/vpopmail/bin/open_relay \
${exec_prefix}/bin/imapd Maildir
;;
stop)
/usr/local/courier-imap/2.1.2/libexec/couriertcpd -pid=$PIDFILE -stop
if test -x ${libexecdir}/authlib/authdaemond
then
${libexecdir}/authlib/authdaemond stop
fi
;;
esac
exit 0

# 8 Schnapp 8 #
Only this line has to be added at the riht point:
/home/vpopmail/bin/open_relay \

For us this works better than the relay-control way


Greetings

Alex



[vchkpw] Norwegian characters inn domains with qmail/vpopmail doens't work

2004-01-09 Thread huleboer
From   18 feb if I remember correctly norwegian characters like øæå will be
allowed to use on the internet. This included characters like øæå. Full list
is available from
http://www.norid.no/domeneregistrering/idn/idn_nyetegn.html. 

If I try to do a:
./vadddomain tyttebær.no
I get
Error: Invalid domain name

Get the same problem with vaddaliasdomain. I don't know if this is a qmail
issue or vpopmail issue. But any1 have a fix? Is this a problem just with
vadddomain/vaddaliasdomain or will it require more changes inn
qmail/vpopmail?




[vchkpw] Qmail should queue every mail

2004-01-09 Thread Werner Schalk
Hi guys,

I know this is not the official qmail list but I might get the best answers on 
this list here :-)

How can I make qmail to queue every incoming mail and not sending it? I mean 
qmail should keep every mail in its queue without actually delivering it. How 
can I do that?

Bye and thanks,
Werner.



RE: [vchkpw] Qmail should queue every mail

2004-01-09 Thread Navarro Martinez, Juan Antonio
Hi Werner:

Try to stop qmail-send process.

It will show you in the log a line in every delivery exiting ASAP, and
every incoming message will be delivered when you restart qmail-send
process.

If you execute qmail-qstat you will see messages in queue but not yet
preprocessed growing for every incoming mail.

As soon as the queue reaches 0 messages it will stop, and when you like to
send all the pending messages you must restart qmail-send process.

Greetings

Juan Antonio

-Mensaje original-
De: Werner Schalk [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 09 de enero de 2004 12:12
Para: [EMAIL PROTECTED]
Asunto: [vchkpw] Qmail should queue every mail


Hi guys,

I know this is not the official qmail list but I might get the best answers
on 
this list here :-)

How can I make qmail to queue every incoming mail and not sending it? I mean

qmail should keep every mail in its queue without actually delivering it.
How 
can I do that?

Bye and thanks,
Werner.


Re: [vchkpw] Qmail should queue every mail

2004-01-09 Thread Manvendra Bhangui
two solutions

1. Don't start qmail-send in your RC script (in case u are not
using supervise (comment out the line having qmail-start).
If qmail-send is already running 

kill pid of qmail-send 
   
   If using supervise, 
   touch /service/qmail-send/down
   svc -d /service/qmail-send
   (having the down file will prevent qmail-send to come up
the next time you reboot your m/c)

2. have 0 in the control files concurrencylocal and concurrencyremote


Regards
On Fri, 2004-01-09 at 16:41, Werner Schalk wrote:
 Hi guys,
 
 I know this is not the official qmail list but I might get the best answers on 
 this list here :-)
 
 How can I make qmail to queue every incoming mail and not sending it? I mean 
 qmail should keep every mail in its queue without actually delivering it. How 
 can I do that?
 
 Bye and thanks,
 Werner.
-- 
Manvendra Bhangui [EMAIL PROTECTED]



[vchkpw] clearopensmtp

2004-01-09 Thread alcohol
does the latest vpopmail require a differently formatted tcp.smtp? i jsut
upgraded from 5.3.29 to 5.4.0-rc1 and now my once working tcp.smtp rules
are now rejected

127.:allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-scann
er-queue.pl
10.0.0.:allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-sc
anner-queue.pl
209.205.179.:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl

rejected with this error when clearopenstmp is ran

tcprules: fatal: unable to parse this line:
:::203.99.28.2:allow,RELAYCLIENT=,RBLSMTPD=
Warning: update_rules() - tcprules failed


i looked around the vpopmail documentation and the examples that are given
there are just like what i have... i cant find anything saying to change
your tcpserver rules around.

_
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
Looking for friendships,romance and more?
http://www.MyOwnFriends.com



Re: [vchkpw] Norwegian characters inn domains with qmail/vpopmail doens't work

2004-01-09 Thread Ken Jones
On Friday 09 January 2004 3:11 am, huleboer wrote:
 From  18 feb if I remember correctly norwegian characters like øæå will be
 allowed to use on the internet. This included characters like øæå. Full
 list is available from
 http://www.norid.no/domeneregistrering/idn/idn_nyetegn.html.

 If I try to do a:
 ./vadddomain tyttebær.no
 I get
 Error: Invalid domain name

 Get the same problem with vaddaliasdomain. I don't know if this is a qmail
 issue or vpopmail issue. But any1 have a fix? Is this a problem just with
 vadddomain/vaddaliasdomain or will it require more changes inn
 qmail/vpopmail?

If the code is still the same, there are two functions, one
to verify the characters in the user name and another to verify
the domain name characters. That would be the place to allow
for the new characters. 

Ken Jones


Re: [vchkpw] clearopensmtp

2004-01-09 Thread Tom Collins
On Jan 9, 2004, at 7:49 AM, alcohol wrote:
rejected with this error when clearopenstmp is ran

tcprules: fatal: unable to parse this line:
:::203.99.28.2:allow,RELAYCLIENT=,RBLSMTPD=
Warning: update_rules() - tcprules failed
There was a bug that caused incorrect data to be written to the open 
smtp file (the leading :::).  5.4.0-rc1 doesn't contain that bug 
(it was fixed in 5.4.0-pre2), but if you still have programs compiled 
against 5.3.29 (like courier-imap), then that could be part of the 
problem.

You might need to delete your open smtp file if it contains invalid 
entries.  Also, make sure you've recompiled courier-imap after 
installing 5.4.0-rc1.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] Re: Qmail should queue every mail

2004-01-09 Thread Peter Palmreuther
Hello Werner,

On Friday, January 9, 2004 at 12:33:59 PM you wrote (at least in
part):

[qmail should keep every mail in its queue without actually delivering it]
 I think you need to turn of qmail-send. And possible qmail-local.

 how can I do that. Just stop the appropriate processes?

I think without additional 'init 0' this will not suffice.

Sorry, just kidding.

Of /course/ you'll just have to stop the appropriate process if you
want to turn it of. And if it restart you'll have to restop it.
Until one of you both, you or the process, get's bored, or until you
recognized that if it gets restarted you'll have to tell the
restarter to stop it's action.

How? This exercise I'll left to you. Because it heavily depends
on your setup and therefore the find the solution process enables
you to actually understand your qmail.

P.S.: The queue will grow until the hard disk bursts and qmail will
  have a hard job when you finally restart qmail-send and the
  queue is filled up; I hope you know this facts too.
-- 
Best regards
Peter Palmreuther

He Who Stands On A Toliet Is High On Pot



[vchkpw] unicode domain names in vpopmail and qmailadmin

2004-01-09 Thread Tom Collins
On Jan 7, 2004, at 4:33 PM, Philipp Wagner wrote:
Hi,
today I thought about the new domain names with some country specific
chars (IDN-Domains), like they are offered for com/net/org already and
for some European domains (de etc.) from March 1st on.
Is it right, that if I want to login into qmailadmin, that I would have
to enter the punycode-encoded domain name?
That is bad for customers, because they normally don't remember their
punycode-domainname, but only their domain name with the special
characters. For example, the domain
schülerzeitung.net would be xn--schlerzeitung-yob.net
Is it possible to integrate that conversion into qmailadmin like the
webbrowser does it?
On Jan 9, 2004, at 2:11 AM, huleboer wrote:
From 	18 feb if I remember correctly norwegian characters like øæå 
will be
allowed to use on the internet. This included characters like øæå. 
Full list
is available from
http://www.norid.no/domeneregistrering/idn/idn_nyetegn.html.

If I try to do a:
./vadddomain tyttebær.no
I get
Error: Invalid domain name
Get the same problem with vaddaliasdomain. I don't know if this is a 
qmail
issue or vpopmail issue. But any1 have a fix? Is this a problem just 
with
vadddomain/vaddaliasdomain or will it require more changes inn
qmail/vpopmail?

It's obvious that this is going to be a significant issue for vpopmail 
and qmailadmin.  On the backend, we'll be storing everything in 7-bit 
ASCII (xn--schlerzeitung-yob.net in the example given above), but allow 
for users to enter unicode names into the command-line programs for 
vpopmail, and display the properly formatted name in qmailadmin.

Can someone with a more detailed knowledge of these systems point the 
developers to a concise description of how to add support for it to 
vpopmail and qmailadmin?  Perhaps the relevant RFCs?  Code libraries 
that we could simply integrate into our programs?  This looks like a 
good summary: http://www.dns.pl/IDN/idn_intro_eng.html.

It will take some time to go through the source and identify times when 
we need to output the unicode-formatted string (onscreen to the user, 
in error messages, etc.), versus the 7-bit ASCII version (when writing 
files).  I also don't know if knowledge of the current character set 
(for example, when a user runs the command-line tools or qmailadmin 
outputs HTML pages) will be important or not.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


RE: [vchkpw] unicode domain names in vpopmail and qmailadmin

2004-01-09 Thread huleboer
For Norway they're using the following RFC's for ACE converting:

RFC 3490 ftp://ftp.ntnu.no/pub/rfc/rfc3490.txt
RFC 3491 ftp://ftp.ntnu.no/pub/rfc/rfc3491.txt
RFC 3492 ftp://ftp.ntnu.no/pub/rfc/rfc3492.txt

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: 9. januar 2004 18:49
To: vpopmail list; [EMAIL PROTECTED]
Subject: [vchkpw] unicode domain names in vpopmail and qmailadmin

On Jan 7, 2004, at 4:33 PM, Philipp Wagner wrote:
 Hi,
 today I thought about the new domain names with some country specific 
 chars (IDN-Domains), like they are offered for com/net/org already and 
 for some European domains (de etc.) from March 1st on.
 Is it right, that if I want to login into qmailadmin, that I would 
 have to enter the punycode-encoded domain name?
 That is bad for customers, because they normally don't remember their 
 punycode-domainname, but only their domain name with the special 
 characters. For example, the domain schülerzeitung.net would be 
 xn--schlerzeitung-yob.net Is it possible to integrate that conversion 
 into qmailadmin like the webbrowser does it?

On Jan 9, 2004, at 2:11 AM, huleboer wrote:
 From  18 feb if I remember correctly norwegian characters like øæå 
 will be
 allowed to use on the internet. This included characters like øæå. 
 Full list
 is available from
 http://www.norid.no/domeneregistrering/idn/idn_nyetegn.html.

 If I try to do a:
 ./vadddomain tyttebær.no
 I get
 Error: Invalid domain name

 Get the same problem with vaddaliasdomain. I don't know if this is a 
 qmail issue or vpopmail issue. But any1 have a fix? Is this a problem 
 just with vadddomain/vaddaliasdomain or will it require more changes 
 inn qmail/vpopmail?


It's obvious that this is going to be a significant issue for vpopmail and
qmailadmin.  On the backend, we'll be storing everything in 7-bit ASCII
(xn--schlerzeitung-yob.net in the example given above), but allow for users
to enter unicode names into the command-line programs for vpopmail, and
display the properly formatted name in qmailadmin.

Can someone with a more detailed knowledge of these systems point the
developers to a concise description of how to add support for it to vpopmail
and qmailadmin?  Perhaps the relevant RFCs?  Code libraries that we could
simply integrate into our programs?  This looks like a good summary:
http://www.dns.pl/IDN/idn_intro_eng.html.

It will take some time to go through the source and identify times when we
need to output the unicode-formatted string (onscreen to the user, in error
messages, etc.), versus the 7-bit ASCII version (when writing files).  I
also don't know if knowledge of the current character set (for example, when
a user runs the command-line tools or qmailadmin outputs HTML pages) will be
important or not.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/






Re: [vchkpw] Using CVS

2004-01-09 Thread Tom Collins
On Jan 9, 2004, at 4:08 PM, Alexandre Barbosa wrote:
Can anybody give me a short tutorial of how to use the cvs ?
http://sourceforge.net/docman/display_doc.php?docid=14033group_id=1#top

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/