Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci

Hi Tobias,

I've seen a similar thing recently, however I'm using MySQL
rather than files and my users have received the same error
message.  I checked and found their IP in the table, however
they were still not allowed to send/relay mail.

I had to resort to manually configure static blocks of IP's in
the tcp.stmp file rather than let the roaming feature work.

Its strange, it works for 99% of our customers, but then I
find that some people get stuck from certain areas.

Brian

   Hi! i´m back again : P
   
   Someone who has setup vpopmail with roaming users who have some suggestions
   for a beginner
   
   I have succeded so far that the pop 3 server writes to the file open-smtp
   with correct ip and timestamp but the smtp server
   do not read it or maybe the permisions have been setup wrong. I have looked
   allover for info but havent found any solutions yet
   
   the smtp server says
   
   The message could not be sent because one of the recipients was rejected by
   the server. The rejected e-mail address was x. Subject '', Account:
   , Server: , Protocol: SMTP, Server Response: '553 sorry,
   that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
   Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
   
   maybe there is some file owner permision setup failure here´s a ls -la on
   the etc dir of home/vpopmail
   
   drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
   drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
   -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
   -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
   -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
   -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
   -rw-r--r--1 root root0 Dec  9 12:52 open-smtp.tmp.10753
   -rw-r--r--1 root root0 Dec  8 19:06 open-smtp.tmp.10766
   -rw-r--r--1 root root0 Dec  9 16:16 open-smtp.tmp.11173
   -rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.11200
   -rw-r--r--1 root root0 Dec  9 18:46 open-smtp.tmp.11281
   -rw-r--r--1 root root0 Dec  9 14:46 open-smtp.tmp.11880
   -rw-r--r--1 root root0 Dec  9 15:05 open-smtp.tmp.12481
   -rw-r--r--1 root root0 Dec  9 13:42 open-smtp.tmp.12500
   -rw-r--r--1 root root0 Dec  9 21:46 open-smtp.tmp.12663
   -rw-r--r--1 root root0 Dec  7 21:14 open-smtp.tmp.12861
   -rw-r--r--1 root root0 Dec  9 15:42 open-smtp.tmp.12869
   -rw-r--r--1 root root0 Dec  8 01:45 open-smtp.tmp.13274
   -rw-r--r--1 root root0 Dec  8 21:27 open-smtp.tmp.14119
   -rw-r--r--1 root root0 Dec  8 00:45 open-smtp.tmp.14307
   -rw-r--r--1 root root0 Dec  8 14:31 open-smtp.tmp.14327
   -rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.14825
   -rw-r--r--1 root root0 Dec  9 17:46 open-smtp.tmp.14895
   -rw-r--r--1 root root0 Dec  7 18:35 open-smtp.tmp.15191
   -rw-r--r--1 root root0 Dec  9 19:16 open-smtp.tmp.15331
   -rw-r--r--1 root root0 Dec  7 22:14 open-smtp.tmp.15618
   -rw-r--r--1 root root0 Dec  9 16:46 open-smtp.tmp.15881
   -rw-r--r--1 root root0 Dec  9 20:16 open-smtp.tmp.16429
   -rw-r--r--1 root root0 Dec  7 18:36 open-smtp.tmp.16483
   -rw-r--r--1 root root0 Dec  8 02:16 open-smtp.tmp.1719
   -rw-r--r--1 root root0 Dec  8 01:15 open-smtp.tmp.17426
   -rw-r--r--1 root root0 Dec  9 13:23 open-smtp.tmp.18732
   -rw-r--r--1 root root0 Dec  8 14:28 open-smtp.tmp.19621
   -rw-r--r--1 root root0 Dec  9 19:46 open-smtp.tmp.19655
   -rw-r--r--1 root root0 Dec  8 23:03 open-smtp.tmp.1983
   -rw-r--r--1 root root0 Dec  8 17:46 open-smtp.tmp.20357
   -rw-r--r--1 root root0 Dec  8 04:54 open-smtp.tmp.20512
   -rw-r--r--1 root root0 Dec  9 13:49 open-smtp.tmp.21280
   -rw-r--r--1 root root0 Dec  7 17:04 open-smtp.tmp.21672
   -rw-r--r--1 root root0 Dec  7 23:45 open-smtp.tmp.21711
   -rw-r--r--1 root root0 Dec  8 22:14 open-smtp.tmp.21890
   -rw-r--r--1 root root0 Dec  7 18:39 open-smtp.tmp.22001
   -rw-r--r--1 root root0 Dec  9 13:29 open-smtp.tmp.22186
   -rw-r--r--1 root root0 Dec  7 18:57 open-smtp.tmp.22391
   -rw-r--r--1 root root0 Dec  9 14:01 open-smtp.tmp.22793
   -rw-r--r--1 root root0 Dec  9 15:46 open-smtp.tmp.23728
   -rw-r--r--1 root root   

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Tobias Åman
Okay but should the option Accepted local and relay domains be set to Any
Domain ?

Regards /Tobias


- Original Message -
From: Brian Kolaci [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 9:14 PM
Subject: Re: [vchkpw] relaying not allowed



Hi Tobias,

I've seen a similar thing recently, however I'm using MySQL
rather than files and my users have received the same error
message.  I checked and found their IP in the table, however
they were still not allowed to send/relay mail.

I had to resort to manually configure static blocks of IP's in
the tcp.stmp file rather than let the roaming feature work.

Its strange, it works for 99% of our customers, but then I
find that some people get stuck from certain areas.

Brian

   Hi! i´m back again : P
  
   Someone who has setup vpopmail with roaming users who have some
suggestions
   for a beginner
  
   I have succeded so far that the pop 3 server writes to the file
open-smtp
   with correct ip and timestamp but the smtp server
   do not read it or maybe the permisions have been setup wrong. I have
looked
   allover for info but havent found any solutions yet
  
   the smtp server says
  
   The message could not be sent because one of the recipients was rejected
by
   the server. The rejected e-mail address was x. Subject '',
Account:
   , Server: , Protocol: SMTP, Server Response: '553 sorry,
   that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
   Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
  
   maybe there is some file owner permision setup failure here´s a ls -la
on
   the etc dir of home/vpopmail
  
   drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
   drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
   -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
   -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
   -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
   -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
   -rw-r--r--1 root root0 Dec  9 12:52
open-smtp.tmp.10753
   -rw-r--r--1 root root0 Dec  8 19:06
open-smtp.tmp.10766
   -rw-r--r--1 root root0 Dec  9 16:16
open-smtp.tmp.11173
   -rw-r--r--1 root root0 Dec  7 16:03
open-smtp.tmp.11200
   -rw-r--r--1 root root0 Dec  9 18:46
open-smtp.tmp.11281
   -rw-r--r--1 root root0 Dec  9 14:46
open-smtp.tmp.11880
   -rw-r--r--1 root root0 Dec  9 15:05
open-smtp.tmp.12481
   -rw-r--r--1 root root0 Dec  9 13:42
open-smtp.tmp.12500
   -rw-r--r--1 root root0 Dec  9 21:46
open-smtp.tmp.12663
   -rw-r--r--1 root root0 Dec  7 21:14
open-smtp.tmp.12861
   -rw-r--r--1 root root0 Dec  9 15:42
open-smtp.tmp.12869
   -rw-r--r--1 root root0 Dec  8 01:45
open-smtp.tmp.13274
   -rw-r--r--1 root root0 Dec  8 21:27
open-smtp.tmp.14119
   -rw-r--r--1 root root0 Dec  8 00:45
open-smtp.tmp.14307
   -rw-r--r--1 root root0 Dec  8 14:31
open-smtp.tmp.14327
   -rw-r--r--1 root root0 Dec  7 16:03
open-smtp.tmp.14825
   -rw-r--r--1 root root0 Dec  9 17:46
open-smtp.tmp.14895
   -rw-r--r--1 root root0 Dec  7 18:35
open-smtp.tmp.15191
   -rw-r--r--1 root root0 Dec  9 19:16
open-smtp.tmp.15331
   -rw-r--r--1 root root0 Dec  7 22:14
open-smtp.tmp.15618
   -rw-r--r--1 root root0 Dec  9 16:46
open-smtp.tmp.15881
   -rw-r--r--1 root root0 Dec  9 20:16
open-smtp.tmp.16429
   -rw-r--r--1 root root0 Dec  7 18:36
open-smtp.tmp.16483
   -rw-r--r--1 root root0 Dec  8 02:16
open-smtp.tmp.1719
   -rw-r--r--1 root root0 Dec  8 01:15
open-smtp.tmp.17426
   -rw-r--r--1 root root0 Dec  9 13:23
open-smtp.tmp.18732
   -rw-r--r--1 root root0 Dec  8 14:28
open-smtp.tmp.19621
   -rw-r--r--1 root root0 Dec  9 19:46
open-smtp.tmp.19655
   -rw-r--r--1 root root0 Dec  8 23:03
open-smtp.tmp.1983
   -rw-r--r--1 root root0 Dec  8 17:46
open-smtp.tmp.20357
   -rw-r--r--1 root root0 Dec  8 04:54
open-smtp.tmp.20512
   -rw-r--r--1 root root0 Dec  9 13:49
open-smtp.tmp.21280
   -rw-r--r--1 root root0 Dec  7 17:04
open-smtp.tmp.21672
   -rw-r--r--1 root root0 Dec  7 23:45
open-smtp.tmp.21711
   -rw-r--r--1 root root0 Dec  8 22:14
open-smtp.tmp.21890
   -rw-r--r--1 root root0 Dec  7 18:39
open-smtp.tmp.22001
   -rw-r--r--1 root root0 Dec  9 13:29

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci

Well, it looks like in your case, the problem appears
to be that the tcp.smtp.cdb file isn't being updated.
This is the file that the server uses to allow relaying
or not, and its timestamp is older than your tcp.smtp file.

Brian

   Okay but should the option Accepted local and relay domains be set to Any
   Domain ?
   
   Regards /Tobias
   
   
   - Original Message -
   From: Brian Kolaci [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Tuesday, December 10, 2002 9:14 PM
   Subject: Re: [vchkpw] relaying not allowed
   
   
   
   Hi Tobias,
   
   I've seen a similar thing recently, however I'm using MySQL
   rather than files and my users have received the same error
   message.  I checked and found their IP in the table, however
   they were still not allowed to send/relay mail.
   
   I had to resort to manually configure static blocks of IP's in
   the tcp.stmp file rather than let the roaming feature work.
   
   Its strange, it works for 99% of our customers, but then I
   find that some people get stuck from certain areas.
   
   Brian
   
  Hi! i´m back again : P
 
  Someone who has setup vpopmail with roaming users who have some
   suggestions
  for a beginner
 
  I have succeded so far that the pop 3 server writes to the file
   open-smtp
  with correct ip and timestamp but the smtp server
  do not read it or maybe the permisions have been setup wrong. I have
   looked
  allover for info but havent found any solutions yet
 
  the smtp server says
 
  The message could not be sent because one of the recipients was rejected
   by
  the server. The rejected e-mail address was x. Subject '',
   Account:
  , Server: , Protocol: SMTP, Server Response: '553 sorry,
  that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
  Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
 
  maybe there is some file owner permision setup failure here´s a ls -la
   on
  the etc dir of home/vpopmail
 
  drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
  drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
  -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
  -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
  -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
  -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
  -rw-r--r--1 root root0 Dec  9 12:52
   open-smtp.tmp.10753
  -rw-r--r--1 root root0 Dec  8 19:06
   open-smtp.tmp.10766
  -rw-r--r--1 root root0 Dec  9 16:16
   open-smtp.tmp.11173
  -rw-r--r--1 root root0 Dec  7 16:03
   open-smtp.tmp.11200
  -rw-r--r--1 root root0 Dec  9 18:46
   open-smtp.tmp.11281
  -rw-r--r--1 root root0 Dec  9 14:46
   open-smtp.tmp.11880
  -rw-r--r--1 root root0 Dec  9 15:05
   open-smtp.tmp.12481
  -rw-r--r--1 root root0 Dec  9 13:42
   open-smtp.tmp.12500
  -rw-r--r--1 root root0 Dec  9 21:46
   open-smtp.tmp.12663
  -rw-r--r--1 root root0 Dec  7 21:14
   open-smtp.tmp.12861
  -rw-r--r--1 root root0 Dec  9 15:42
   open-smtp.tmp.12869
  -rw-r--r--1 root root0 Dec  8 01:45
   open-smtp.tmp.13274
  -rw-r--r--1 root root0 Dec  8 21:27
   open-smtp.tmp.14119
  -rw-r--r--1 root root0 Dec  8 00:45
   open-smtp.tmp.14307
  -rw-r--r--1 root root0 Dec  8 14:31
   open-smtp.tmp.14327
  -rw-r--r--1 root root0 Dec  7 16:03
   open-smtp.tmp.14825
  -rw-r--r--1 root root0 Dec  9 17:46
   open-smtp.tmp.14895
  -rw-r--r--1 root root0 Dec  7 18:35
   open-smtp.tmp.15191
  -rw-r--r--1 root root0 Dec  9 19:16
   open-smtp.tmp.15331
  -rw-r--r--1 root root0 Dec  7 22:14
   open-smtp.tmp.15618
  -rw-r--r--1 root root0 Dec  9 16:46
   open-smtp.tmp.15881
  -rw-r--r--1 root root0 Dec  9 20:16
   open-smtp.tmp.16429
  -rw-r--r--1 root root0 Dec  7 18:36
   open-smtp.tmp.16483
  -rw-r--r--1 root root0 Dec  8 02:16
   open-smtp.tmp.1719
  -rw-r--r--1 root root0 Dec  8 01:15
   open-smtp.tmp.17426
  -rw-r--r--1 root root0 Dec  9 13:23
   open-smtp.tmp.18732
  -rw-r--r--1 root root0 Dec  8 14:28
   open-smtp.tmp.19621
  -rw-r--r--1 root root0 Dec  9 19:46
   open-smtp.tmp.19655
  -rw-r--r--1 root root0 Dec  8 23:03
   open-smtp.tmp.1983
  -rw-r--r

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Johan Almqvist
* Brian Kolaci [EMAIL PROTECTED] [021210 21:22]:
 Well, it looks like in your case, the problem appears
 to be that the tcp.smtp.cdb file isn't being updated.
 This is the file that the server uses to allow relaying
 or not, and its timestamp is older than your tcp.smtp file.

Tobias,

you should probably try to attache strace or something like that
to qmail-popop (with child process tracing) or to vchkpw. The problem may
be that your system is looking for the tcprules program in the wrong
place.

-Johan



msg10149/pgp0.pgp
Description: PGP signature


Re: [vchkpw] relaying not allowed

2002-12-10 Thread Tobias Åman
I solved the problem!!

the tcprules app for some reason updates the /etc/tcp.smtp.cdb database and
not the one in /home/vpopmail/etc
as described in th FAQ so i changed in the run sript for tcprules to use the
one in the /etc dir and then it worked
as it should do...

If this is not right someone tell me why this works then : )

Regards / Tobias
- Original Message -
From: Johan Almqvist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 10:18 PM
Subject: Re: [vchkpw] relaying not allowed







RE: [vchkpw] Relaying

2002-11-22 Thread Clayton Weise
You'll need the qmail-queue patch for qmail. And this really isnt' the right
list for this kind of question.

-Clayton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 11:18 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Relaying


   I'm trying to do relaying through a virus scanner with qmail-scanner
which is in front of my mail server (qmail). I tried copying, and mountig
the open.smtp file from my mail server to my virus scanner and it didn't
work (I belive this is because of the different time stamps of both boxes).
How can I tell to my virus scanner to allow relay to a client based on my
mail server relaying rules? Thanks in advance

-Juan K. Baez





Re: [vchkpw] Relaying

2002-11-22 Thread jbaez
My question was intended to know how can I manipulate the open-smtp
file, which, if I'm not mistaken, is handled by vpopmail. Basically, I need
the virus scanner to do the relaying based on the authentication made on the
mail server. I tried to use the open-smtp file, generated on the mail
server, on the virus scanner (mounted the /home/vpopmail/etc from the mail
server on the virus scanner). If you could point me into any direction (even
the rigth mailing list! ;) ...) would help. Thanks for your reply.

Juan K. Baez.
Marcatel International.
Monterrey, Mexico
- Original Message -
From: Clayton Weise [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 5:26 PM
Subject: RE: [vchkpw] Relaying


 You'll need the qmail-queue patch for qmail.  And this really isnt' the
 right list for this kind of question.

 -Clayton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 22, 2002 11:18 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Relaying


I'm trying to do relaying through a virus scanner with qmail-scanner
 which is in front of my mail server (qmail). I tried copying, and mountig
 the open.smtp file from my mail server to my virus scanner and it didn't
 work (I belive this is because of the different time stamps of both
boxes).
 How can I tell to my virus scanner to allow relay to a client based on my
 mail server relaying rules? Thanks in advance

 -Juan K. Baez