Re: [vchkpw] Roaming-users could not work with secure pop3 ?

2006-05-19 Thread Bulent
Yes I use sslserver from ucspi-ssl.
How can I solve this problem ?

- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, May 18, 2006 11:22 PM
Subject: Re: [vchkpw] Roaming-users could not work with secure pop3 ?




[vchkpw] Unwanted Local Delivery

2006-05-19 Thread Andy BIERLAIR
Hi,

Let's say you have to vpopmail domains: domaina.com, domainb.com with 2
respective email addresses: [EMAIL PROTECTED], [EMAIL PROTECTED]

When A wants to email B it goes locally. Now let's suppose domainb.com has a
different MX record to his company's exchange server but he forgets to
delete the domainb.com from the vpopmail domains. Domaina.com will never see
the MX because it thinks domainb.com is local, although it isn't.

How can I force vpopmail/qmail to deliver it to the right MX instead to a
local zombie domain?

Thanks a lot.

Andy



[vchkpw] how to save ONLY outgoing messages

2006-05-19 Thread Istvan Köpe

Hello,

I have the Qmailtoaster package installed. I would like to save in a
mailbox all the outgoing messages. So far I managed to save all the
incoming and outgoing messages in a mailbox, using qmail-tap, but I
don't know how can I filter to keep only the outgoing messages. Any
suggestions?

Thank you!


Re: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Tom Collins

On May 19, 2006, at 12:46 AM, Andy BIERLAIR wrote:
How can I force vpopmail/qmail to deliver it to the right MX instead 
to a

local zombie domain?


You can't.

You possibly need to write an auditing program that goes through the 
domains in your rcpthosts and morercpthosts and makes a list of domains 
that don't list you as an MX.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



[vchkpw] qmailadmin 1.2.10 + vpopmail 5.4.16...do people have working instances ?

2006-05-19 Thread df
I'm planning on upgrading my vpopmail to .16 and was wondering if anyone has 
working
instances of 5.4.16 and qmailadmin 1.2.10 successfully compiled on it. May as 
well ask
to prevent a downgrade to get qmailadmin working again ;)





Re: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Michael Krieger
for i in `cat /var/qmail/control/{more,}rcpthosts`; do host -t MX $i | egrep "mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com" 21 || echo $idoneDone- will echo everything that does not include your _expression_ in its MX record. If it has no matches, grep exits 1 and will trigger the echo. If it matches at least one, then you're set. You can make more complex expressions or do more tests if you'd like.-MTom Collins [EMAIL PROTECTED] wrote: On May 19, 2006, at 12:46 AM, Andy BIERLAIR wrote: How can I force vpopmail/qmail to deliver it to the right MX instead  to a local zombie domain?You can't.You possibly need to write an auditing program that goes through the domains in your rcpthosts and morercpthosts and makes a list of domains
 that don't list you as an MX.--Tom Collins  -  [EMAIL PROTECTED]QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/

Re: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Ingo Claro
Title: Ingo Claro




to get only the domains that don't matches you should do:

host -t MX $i | egrep
"mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com"  /dev/null
21 || echo $i


regards,





  

  
  
  
  
  
  
  Ingo
Claro F.
Gerente de Operaciones
  [EMAIL PROTECTED]
(+56-2) 43 00 155
  
  
  
  
  Certificado
ISO 9001:2000
  

  




Michael Krieger escribi:
for i in `cat /var/qmail/control/{more,}rcpthosts`; do
 host -t MX $i | egrep
"mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com" 21 ||
echo $i
done
  
Done- will echo everything that does not include your _expression_ in its
MX record. If it has no matches, grep exits 1 and will trigger the
echo. If it matches at least one, then you're set. You can make more
complex expressions or do more tests if you'd like.
  
-M
  
  Tom Collins [EMAIL PROTECTED] wrote:
  
On May 19, 2006, at 12:46 AM, Andy BIERLAIR wrote:
 How can I force vpopmail/qmail to deliver it to the right MX
instead 
 to a
 local zombie domain?

You can't.

You possibly need to write an auditing program that goes through the 
domains in your rcpthosts and morercpthosts and makes a list of domains

that don't list you as an MX.

--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/

  
  





Re: [vchkpw] Roaming-users could not work with secure pop3 ?

2006-05-19 Thread Jeremy Kitchen
On Thursday 18 May 2006 23:19, Bulent wrote:
 Yes I use sslserver from ucspi-ssl.

great :)

 How can I solve this problem ?

now that you've finally given the information I asked you for, I can give you 
a better answer.

make sure you have the -e flag set so that sslserver will set the $TCP* 
environment variables, which is what vchkpw uses to determine what IP is 
connecting to the server.

the reason the -e flag exists at all is because ucspi-ssl provides a 
ucspi-compliant interface[1], but most programs just assume a TCP protocol 
(including, strangely, qmail-smtpd *boggle*)

[1]: http://cr.yp.to/proto/ucspi.txt

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

http://ipaction.org/ -- defend your rights to fair use


pgpkL0jxpJQHu.pgp
Description: PGP signature


Re: [vchkpw] how to save ONLY outgoing messages

2006-05-19 Thread Jeremy Kitchen
On Friday 19 May 2006 03:51, Istvan Köpe wrote:
 Hello,

 I have the Qmailtoaster package installed.

ok.. whatever that is.

 I would like to save in a 
 mailbox all the outgoing messages. So far I managed to save all the
 incoming and outgoing messages in a mailbox, using qmail-tap, but I
 don't know how can I filter to keep only the outgoing messages. Any
 suggestions?

http://cr.yp.to/qmail/faq/admin.html#copies

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

http://ipaction.org/ -- defend your rights to fair use


pgpo6DhLQkyGK.pgp
Description: PGP signature


[vchkpw] vchkpw + courier-authlib problem!!!!!!

2006-05-19 Thread Marco Spiga
Hello!!!

Why when I compiling courier-authlib with vpopmail it don't create 
libauthvchkpw.so.0.0 in the
/usr/courier-auth/lib/courier-auth/lib directory?
The configure options of vpopmail are:
./configure \
--disable-roaming-users \
--enable-logging=p \
--disable-ip-alias-domains \
--disable-passwd \
--enable-clear-passwd \
--disable-domain-quotas \
--enable-auth-module=pgsql \
--disable-many-domains \
--enable-auth-logging \
--enable-sql-logging

make  make install-strip

and configure options of courier-authlib are:
./configure --prefix=/usr/courier-authlib --without-authpam \
--without-authldap --without-authpwd --without-authmysql \
--without-authpgsql --without-authshadow --without-authuserdb \
--without-authcustom --without-authcram --without-authdaemon --with-authvchkpw \
--with-mailuser=vpopmail --with-mailgroup=vchkpw
gmake
gmake install
gmake install-configure

My OS is OpenBSD3.9

Sorry for my bad english

Thank you!

Marco

-- 
! Messaggio da Marco !


[vchkpw] chkuser mystery

2006-05-19 Thread Matt Cornell
I'm have a hell of a time tracking down why some of my user extensions won't work with chkuser. I'm running netqmail-1.05 with the qmail-toaster-0.8.1.patch from shupp.org and vpopmail-5.4.13
 (on debian woody). Now, I have one .qmail-matt-default alias that works, and a new one I created (with a cp -a) .qmail-foobar-default that doesn't. To make matters even more confusing, I've set up a test qmail-smtpd service running on a different port, but with the same backend file structure, so that I could test new qmail-smtpd builds without disrupting my users. So, I rebuilt everything and started the service and I can now successfully email my .qmail-foobar-default alias. 
But - just for testings sake - I deleted my .qmail-foobar-default and the sent email STILL made it past the chkuser check and then I got the bounce message stating that there was no mailbox. I'm thoroughly confused. Is there some cache somewhere of the aliases and valid email addresses for my vpopmail domains? If so, where is it, when does it get refreshed? 
Thanks in advance, I've been searching through the list archives and readmes so it's a lack of tokens and not effort if this question has already been answered. 


Re: [vchkpw] chkuser mystery

2006-05-19 Thread tonix (Antonio Nati)


At 19.28 19/05/2006, you wrote:
I'm have a hell of a time
tracking down why some of my user extensions won't work with chkuser.

I'm running netqmail-1.05 with the qmail-toaster-0.8.1.patch from
shupp.org and vpopmail-5.4.13 (on debian
woody). 
Now, I have one .qmail-matt-default alias that works, and a new one I
created (with a cp -a) .qmail-foobar-default that doesn't. 

Are you speaking of user extensions or aliases, or
CHKUSER_ENABLE_ALIAS_DEFAULT setting?
They are different things.
If you are using normal aliases, user extensions are not needed.
If you are using user extensions, if the first part (before
-) of the recipient exists then chkuser will let the message
pass.
If you are using CHKUSER_ENABLE_ALIAS_DEFAULT then
.qmail-foobar-default will be recognized.
To make matters even more
confusing, I've set up a test qmail-smtpd service running on a different
port, but with the same backend file structure, so that I could test new
qmail-smtpd builds without disrupting my users. So, I rebuilt
everything and started the service and I can now successfully email my
.qmail-foobar-default alias. 
But - just for testings sake - I deleted my .qmail-foobar-default and the
sent email STILL made it past the chkuser check and then I got the bounce
message stating that there was no mailbox. 

Check if you have user extensions enabled and a foobar recipient
exists.
Ciao,
Tonino
I'm thoroughly confused. Is
there some cache somewhere of the aliases and valid email addresses for
my vpopmail domains? If so, where is it, when does it get
refreshed? 
Thanks in advance, I've been searching through the list archives and
readmes so it's a lack of tokens and not effort if this question has
already been answered. 





RE: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Andy BIERLAIR
Title: Ingo Claro








So you say
that there is no option to simply switch off local delivery and treat
everything as coming from the outside? I guess I have to live with that :)



How would I
do the script based idea below realtime based? I mean, each time an email is
sent from the smtp.





Thanks,



Andy











From: Ingo Claro [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 19, 2006 18:12
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Unwanted
Local Delivery





to get only the domains that don't matches you should
do:

host -t MX $i | egrep
mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com  /dev/null
21 || echo $i


regards,




 
  
  
  
  
  
  
  
  Ingo Claro F.
  Gerente de Operaciones
  [EMAIL PROTECTED]
  (+56-2) 43 00 155
  
  
  
  Certificado ISO 9001:2000
  
 






Michael Krieger escribió: 

for i in `cat /var/qmail/control/{more,}rcpthosts`; do
 host -t MX $i | egrep
mail1.thiscouldbeme.com|mail2.thiscouldbemetoo.com 21 ||
echo $i
done

Done- will echo everything that does not include your _expression_ in its MX
record. If it has no matches, grep exits 1 and will trigger the
echo. If it matches at least one, then you're set. You can make
more complex expressions or do more tests if you'd like.

-M

Tom Collins [EMAIL PROTECTED]
wrote: 

On May 19, 2006, at 12:46
AM, Andy BIERLAIR wrote:
 How can I force vpopmail/qmail to deliver it to the right MX instead 
 to a
 local zombie domain?

You can't.

You possibly need to write an auditing program that goes through the 
domains in your rcpthosts and morercpthosts and makes a list of domains 
that don't list you as an MX.

--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/
Vpopmail: http://vpopmail.sf.net/










Re: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Tom Collins

On May 19, 2006, at 11:13 AM, Andy BIERLAIR wrote:
So you say that there is no option to simply switch off local delivery 
and treat everything as coming from the outside? I guess I have to 
live with that :)

 
How would I do the script based idea below realtime based? I mean, 
each time an email is sent from the smtp.


It will be very difficult to do what you're trying to accomplish, with 
little benefit.


Your server is set up to host email for a particular domain.  If email 
for that domain is delivered to your box, then you should accept it.


It can be delivered locally (someone using your server for smtp relay 
with pop-before-smtp or SMTP AUTH sends to the domain in question).  
This is the version you're trying to catch.


Another SMTP server on the Internet could deliver it to you (this 
should only happen if you're listed as an MX host for the domain).  So 
this one isn't a problem.


Why is it so important for you to do this on your server?  If you're 
hosting someone's email, and they move their email hosting to another 
provider without telling you, is it really your fault if your server 
still accepts their email?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



RE: [vchkpw] Unwanted Local Delivery

2006-05-19 Thread Andy BIERLAIR
I am hosting a few hundred domains on that email server and people come and
go. Most people who leave won't drop you a note and the domain stays in
vpopmail.

Even if most of you would say that it is not my fault, it is my
responsibility to guarantee that the email trafic goes where it belongs to.
Today someone almost killed me when he said that he's not getting any mail
from our customers. I immediately knew why: 4 months (!!) ago he had his MX
redirected to his homeserver (MS Exchange) and forgot to tell me that he
doesn't need the mail domain. So he had a few hundred unread messages in a
zombie mailbox that wasn't supposed to be there. Customers don't always
accept technical reasons and that's why I am looking what I can do to make
everybody happy...


Andy

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 19, 2006 21:24
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Unwanted Local Delivery

On May 19, 2006, at 11:13 AM, Andy BIERLAIR wrote:
 So you say that there is no option to simply switch off local delivery 
 and treat everything as coming from the outside? I guess I have to 
 live with that :)
  
 How would I do the script based idea below realtime based? I mean, 
 each time an email is sent from the smtp.

It will be very difficult to do what you're trying to accomplish, with 
little benefit.

Your server is set up to host email for a particular domain.  If email 
for that domain is delivered to your box, then you should accept it.

It can be delivered locally (someone using your server for smtp relay 
with pop-before-smtp or SMTP AUTH sends to the domain in question).  
This is the version you're trying to catch.

Another SMTP server on the Internet could deliver it to you (this 
should only happen if you're listed as an MX host for the domain).  So 
this one isn't a problem.

Why is it so important for you to do this on your server?  If you're 
hosting someone's email, and they move their email hosting to another 
provider without telling you, is it really your fault if your server 
still accepts their email?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/




Re: [vchkpw] how to save ONLY outgoing messages

2006-05-19 Thread Istvan Köpe

Jeremy if you would read my post to the end probably you would not
answer this. I already did this, I want get rid of the incomming
messages, but I don't know how
Anybody?

On 5/19/06, Jeremy Kitchen [EMAIL PROTECTED] wrote:

On Friday 19 May 2006 03:51, Istvan Köpe wrote:
 Hello,

 I have the Qmailtoaster package installed.

ok.. whatever that is.

 I would like to save in a
 mailbox all the outgoing messages. So far I managed to save all the
 incoming and outgoing messages in a mailbox, using qmail-tap, but I
 don't know how can I filter to keep only the outgoing messages. Any
 suggestions?

http://cr.yp.to/qmail/faq/admin.html#copies

-Jeremy

--
Jeremy Kitchen ++ [EMAIL PROTECTED]

http://ipaction.org/ -- defend your rights to fair use