[vchkpw] what is rcpthosts and morecpthosts ? sorry, that domain isn't allowed relay

2004-07-27 Thread songrit
what is file rcpthosts and morercpthosts ? what is defferent ? 
when i add new domain 
[EMAIL PROTECTED] control]# ~vpopmail/bin/vadddomain test1.com tom
[EMAIL PROTECTED] control]# ~vpopmail/bin/vadddomain test2.com tom
[EMAIL PROTECTED] control]# ~vpopmail/bin/vadddomain test3.com tom

[EMAIL PROTECTED] control]# tail -2 rcpthosts
teakfur.com
test1.com

[EMAIL PROTECTED] control]# tail -3 morercpthosts
suntech.co.th.
test2.com
test3.com

cpthosts have about 49 domains , morercpthosts have about 279 domains.
This is my qmail-showctl
[EMAIL PROTECTED] control]# /var/qmail/bin/qmail-showctl |more
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 509.
subdirectory split: 23.
user ids: 101, 102, 103, 0, 104, 105, 106, 107.
group ids: 11, 16.

badmailfrom:
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is vmail.eguide.co.th.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: Remote concurrency is 255.
databytes: SMTP DATA limit is 10485760 bytes.
defaultdomain: Default domain name is eguide.co.th.
defaulthost: (Default.) Default host name is vmail.eguide.co.th.
.
.
rcpthosts:
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at vmail.eguide.co.th.
.
.
MTP clients may send messages to recipients at ns1.eguide.co.th.
SMTP clients may send messages to recipients at songngam.com.
SMTP clients may send messages to recipients at prolanguage.co.th.
SMTP clients may send messages to recipients at thaipantex.com.
SMTP clients may send messages to recipients at aboutclassicmodel.com.
SMTP clients may send messages to recipients at tcbcc.com.
SMTP clients may send messages to recipients at bodyrelax.com.
.
SMTP clients may send messages to recipients at teakfur.com.
SMTP clients may send messages to recipients at test1.com.
morercpthosts:
SMTP clients may send messages to recipients at pholdhanya.com.
SMTP clients may send messages to recipients at saksitalloy.com
.
SMTP clients may send messages to recipients at suntech.co.th.
SMTP clients may send messages to recipients at test2.com.
SMTP clients may send messages to recipients at test3.com.
.
morercpthosts.cdb: Modified recently enough; hopefully up to date.
smtpgreeting: SMTP greeting: 220 Welcome to cpek6.com ClamAV Virus Scan Serv
er.
smtproutes:
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: SMTP server data timeout is 120 seconds.
virtualdomains:
Virtual domain: aradvisors.com:aradvisors.com
Virtual domain: aue.co.th:aue.co.th
Virtual domain: hongkongfurnishing.com:hongkongfurnishing.com
.
Virtual domain: suntech.co.th:suntech.co.th
Virtual domain: teakfur.com:teakfur.com
Virtual domain: test1.com:test1.com
Virtual domain: test2.com:test2.com
Virtual domain: test3.com:test3.com

concurrencyincoming: I have no idea what this file does.
blacklists: I have no idea what this file does.
deaultdelivery: I have no idea what this file does.
rpthosts.lock: I have no idea what this file does.
sql: I have no idea what this file does.
tarpitcount: I have no idea what this file does.
tarpitdelay: I have no idea what this file does.
virtualdomains.lock: I have no idea what this file does.
locals.lock: I have no idea what this file does.
morercpthosts.lock: I have no idea what this file does.
servercert.pem: I have no idea what this file does.
defaultdomain.origin: I have no idea what this file does.
badmailto: I have no idea what this file does.
concurrencyincoming.origin: I have no idea what this file does.

when i send mail to [EMAIL PROTECTED] it return sorry, that domain isn't 
allowed relay 

in log file
[EMAIL PROTECTED] smtp]# grep [EMAIL PROTECTED] *
@40004105e5c10e95c1cc.s:@40004105e1131aaf65e4 qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 206.190.38.186 to [EMAIL PROTECTED]
@40004105e5c10e95c1cc.s:@40004105e1f628107e1c qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 64.4.11.8 to [EMAIL PROTECTED]
@40004105e5c10e95c1cc.s:@40004105e23a250bf87c qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 65.54.185.29 to [EMAIL PROTECTED]
@40004105e5c10e95c1cc.s:@40004105e2760c97a7dc qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 206.190.38.182 to [EMAIL PROTECTED]
@40004105e5c10e95c1cc.s:@40004105e28913e60c2c qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 65.54.185.16 to [EMAIL PROTECTED]
@40004105ed2518bc86f4.s:@40004105e710136b179c qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 206.190.38.186 to [EMAIL PROTECTED]
@40004105ed2518bc86f4.s:@40004105e79a1c6da814 qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 206.190.38.183 to [EMAIL PROTECTED]
@40004105ed2518bc86f4.s:@40004105e8a42e6be364 qmail-smtpd: Attempted 
relay from [EMAIL PROTECTED] at 206.190.38.184 to [EMAIL 

Re: [vchkpw] what is rcpthosts and morecpthosts ? sorry, that domain isn't allowed relay

2004-07-27 Thread Justin Heesemann
On Tuesday 27 July 2004 20:32, [EMAIL PROTECTED] wrote:
 what is file rcpthosts and morercpthosts ? what is defferent ?
-
# man qmail-smtpd
Rule  of  thumb  for  large  sites: Put your 50 most commonly used
domains into rcpthosts, and the rest into morercpthosts.
-

the rcpthosts file is just a textfile which qmail-smtpd reads, whenever 
someone tries to send a message. if it cannot find the domain in 
rcpthosts, it will check a cdb database, generated from morercpthosts.
(this is why adding domains to the morercpthosts file alone doesn't 
help: you have to call qmail-newmrh afterwards to recreate the cdb file 
- vpopmail does this for you, when you call vadddomain)

i hope this helps..


 concurrencyincoming: I have no idea what this file does.
 blacklists: I have no idea what this file does.
 deaultdelivery: I have no idea what this file does.
 rpthosts.lock: I have no idea what this file does.
 sql: I have no idea what this file does.
 tarpitcount: I have no idea what this file does.
 tarpitdelay: I have no idea what this file does.
 virtualdomains.lock: I have no idea what this file does.
 locals.lock: I have no idea what this file does.
 morercpthosts.lock: I have no idea what this file does.
 servercert.pem: I have no idea what this file does.
 defaultdomain.origin: I have no idea what this file does.
 badmailto: I have no idea what this file does.
 concurrencyincoming.origin: I have no idea what this file does.

 when i send mail to [EMAIL PROTECTED] it return sorry, that domain
 isn't allowed relay



most of the files are explained in the qmail-smtpd or qmail-local 
manpage

the others probably are related to the various patches you seem to have 
applied to qmail.
it's safe to ignore the .lock files..



-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org


Re: [vchkpw] what is rcpthosts and morecpthosts ? sorry, that domain isn't allowed relay

2004-07-27 Thread Jeremy Kitchen
On Tuesday 27 July 2004 01:32 pm, [EMAIL PROTECTED] wrote:
 what is file rcpthosts and morercpthosts ? what is defferent ?

man qmail-control

find what is using both of them and read the manpage for that (hint: 
qmail-smtpd)

morercpthosts needs to have qmail-newmrh run to rebuild the cdb file that 
qmail-smtpd uses to check the domain.

 when i send mail to [EMAIL PROTECTED] it return sorry, that domain isn't
 allowed relay

qmail never says that.  if you're getting that error, then you've found your 
problem: qmail isn't being used for that domain.

I just connected to your MX and tried to send a mail to [EMAIL PROTECTED] and 
the recipient was accepted.  Did you already resolve the problem?

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Ken Jones

Anyone interested in trying simscan before I release it?
It is a simplified replacement for qscanq. 
We have been running it on our server for over a week and it is solid. 
Like qscanq it can call clamdscan to check for viri. 
It is invoked via the QMAILQUEUE patch.

Differences:
- uses configure ; make ; make install-strip
- automatically deletes working directories when done
- uses one program instead of qscanq's two programs per email
- optionally calls spamassassin to reject spam during smtp
- optionally blocks list of attachments
- does not require svscan
- simplified C code (one simscan.c file)

If you are interested, please email me directly and I'll send you a tar ball.

-- 
Ken Jones
inter7.com


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Chris A. Kalin
Ken Jones wrote:
Anyone interested in trying simscan before I release it?
If you are interested, please email me directly and I'll send you a tar ball.
Absolutely.  I'd love to test it on our test mail machine.  :)
Thanks in advance!
Chris Kalin


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Kiril Todorov
Ken Jones wrote:
Anyone interested in trying simscan before I release it?
 

Yes, definitely interested!


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Itamar Reis Peixoto
pelase send for me.
- Original Message - 
From: Ken Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 2:57 PM
Subject: [vchkpw] simscan test release: simplified scanner for 
clamav/spamassassin


Anyone interested in trying simscan before I release it?
It is a simplified replacement for qscanq.
We have been running it on our server for over a week and it is solid.
Like qscanq it can call clamdscan to check for viri.
It is invoked via the QMAILQUEUE patch.
Differences:
- uses configure ; make ; make install-strip
- automatically deletes working directories when done
- uses one program instead of qscanq's two programs per email
- optionally calls spamassassin to reject spam during smtp
- optionally blocks list of attachments
- does not require svscan
- simplified C code (one simscan.c file)
If you are interested, please email me directly and I'll send you a tar 
ball.

--
Ken Jones
inter7.com



[vchkpw] db failover

2004-07-27 Thread Charles Sprickman
Howdy,

I can't recall the original thread that went off on a tangent, but there
was some talk about whether or not the mysql C libs handled failover,
round-robin, etc.

I was curious myself, so I asked about this on the mysql list.  Apparently
the libs don't do anything special; if you hit a db that doesn't respond,
the connection fails and that's that.  Has anyone thought about building
in some simple oh, this host is down, but I've got three more A records
for 'db.blah.com' to try, so let's try the next?

from the mysql list:
_

 I have a quick question about how programs linked against the mysql C
 libraries handle the following:

 -assume three mysql hosts, say 10.0.0.2, 10.0.0.3, and 10.0.0.4
 -assume a dns name db.example.com that returns the following:
  [EMAIL PROTECTED] host db.example.com
  db.example.com has address 10.0.0.2
  db.example.com has address 10.0.0.3
  db.example.com has address 10.0.0.4

 If my client program repeatedly connects to db.example.com and my
 nameserver round-robins through those IPs, will the client also keep
 cycling through those?  What is the behaviour if one of those hosts does
 not respond?  Will the client application then try the next one?

The MySQL C client libarary doesn't treat this case specially.

Jeremy
--
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, Yahoo!
[EMAIL PROTECTED]  |  http://jeremy.zawodny.com/
_

Thanks,

Charles


Re: [vchkpw] simscan ideas

2004-07-27 Thread Kiril Todorov
Okay, looking at the INSTALL file and the simscan.c file here are some 
ideas:

* move bk_attachments array to /var/qmail/simscan/blockattachments (or 
similiar external config file)

* make spam blocking at smtp level optional, add an option to inject in 
the queue the output of spamc instead of the original mail. (so we have 
the X-Spam headers added to it)

* import the QMAILRCPTS functionality from qmail-qfilter and add an 
option for spamc_args to run spamc -u $QMAILRCPTS

* add -m 20 or simliar limiting option to the spamd options in rc.spamd
someone might get surprised with all his memory and swap eaten :)
that's all for now :) I hope it makes sense.


[vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Edilmar
Hi,
I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + SQWebmail 4.0.5.
But my users have talked about changing the webmail, mainly because
layout limitations
and other resources like virtual disk, support online for many
languages, instant messages
when new emails are received, etc.
I look at SQuirelmail but it needs IMAP and I'd not like to install a
new service.
I look also at Openwebmail but I didn't find a distribution integrated
with QMail/VPopmail.
Is there one?
Or are there other webmails more advanced than SQWebmail?
Thanks,



RE: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Mário Gamito
Hi,

Try squirrelmail.
It has more features, a lot of plugins and it is easy to restyle.
But if features that you want, IMP is the answer. Take no substitutes. But
it's a pain in the ass to restyle.

Even better: tell your users that sqwebmail may be ugly, but it's by far the
most secure and reliable.

Just my 2 cents of euro,
Mário Gamito

 -Original Message-
 From: Edilmar [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 27, 2004 10:00 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] What's the better Webmail for Vpopmail?
 
 Hi,
 
 I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + 
 SQWebmail 4.0.5.
 But my users have talked about changing the webmail, mainly 
 because layout limitations and other resources like virtual 
 disk, support online for many languages, instant messages 
 when new emails are received, etc.
 
 I look at SQuirelmail but it needs IMAP and I'd not like to 
 install a new service.
 
 I look also at Openwebmail but I didn't find a distribution 
 integrated with QMail/VPopmail.
 Is there one?
 
 Or are there other webmails more advanced than SQWebmail?
 
 Thanks,
 
 
 



Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Jeremy Kitchen
On Tuesday 27 July 2004 03:59 pm, Edilmar wrote:
 I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + SQWebmail 4.0.5.
 But my users have talked about changing the webmail, mainly because
 layout limitations
 and other resources like virtual disk, support online for many
 languages, instant messages
 when new emails are received, etc.

 I look at SQuirelmail but it needs IMAP and I'd not like to install a
 new service.

well, if you look around, you'll soon find that almost every webmail 
application out there is an imap client.  bincimap (http://www.bincimap.org) 
and courier-imap (http://www.courier-mta.org/imap) are not difficult to set 
up (in fact, sqwebmail and courier-imap are very very close in codebase).

 I look also at Openwebmail but I didn't find a distribution integrated
 with QMail/VPopmail.
 Is there one?

not likely.

omail-webmail might work, but it's a PITA to set up and I don't know if it 
works with vpopmail (however, I do know that it does work with vmailmgr, as I 
used to have it set up on my old box)

 Or are there other webmails more advanced than SQWebmail?

probably.  Most of them are imap clients.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Oden Eriksson
tisdagen den 27 juli 2004 22.59 skrev Edilmar:
 Hi,

 I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + SQWebmail 4.0.5.
 But my users have talked about changing the webmail, mainly because
 layout limitations
 and other resources like virtual disk, support online for many
 languages, instant messages
 when new emails are received, etc.

 I look at SQuirelmail but it needs IMAP and I'd not like to install a
 new service.

 I look also at Openwebmail but I didn't find a distribution integrated
 with QMail/VPopmail.
 Is there one?

 Or are there other webmails more advanced than SQWebmail?

 Thanks,

I have recently migrated from cdb to mysql and sqwebmail to squirrelmail. 
Stuff like address books and prefs from sqwebmail is also in mysql. I have 
scripts for that if you like. With this setup you can easily spread the load 
into different web and sql servers, etc. courier-imap is a good imap server, 
use it. I also have the relay hosts in mysql too, that tcpserver can use. 
(the pop-before-smtp solution). Though, this system is _not_ in production 
yet it looks promising... We're a small ISP, that's why I chose this path.

-- 
Regards // Oden Eriksson


Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Itamar Reis Peixoto
try
http://www.uebimiau.org
- Original Message - 
From: Edilmar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 5:59 PM
Subject: [vchkpw] What's the better Webmail for Vpopmail?


Hi,
I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + SQWebmail 4.0.5.
But my users have talked about changing the webmail, mainly because
layout limitations
and other resources like virtual disk, support online for many
languages, instant messages
when new emails are received, etc.
I look at SQuirelmail but it needs IMAP and I'd not like to install a
new service.
I look also at Openwebmail but I didn't find a distribution integrated
with QMail/VPopmail.
Is there one?
Or are there other webmails more advanced than SQWebmail?
Thanks,



Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Chris Pugh

Just to add chuck another item into the melting 
pot... ;-)

 I look at SQuirelmail but it needs IMAP and I'd not
 like to install a new service.

Try http://ilohamail.org, has it's own integral
IMAP should you decide to try it.  Works directly
with Qmail/ Vpopmail and the source is there for 
you to meddle with as well.

 I look also at Openwebmail but I didn't find a
 distribution integrated with QMail/VPopmail.
 Is there one?

I've tried quite a few interfaces out there, 
including Openwebmail, all of which seem to 
overlay quite well except are maybe just a 
wee bit fiddly to install from source.

 Or are there other webmails more advanced than
 SQWebmail?

I'd say, lots.  You are spoilt for choice. ;-)

Cheers,


Chris.

 --






__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Eduardo M. Bragatto
Itamar Reis Peixoto wrote:
try
http://www.uebimiau.org
	Do not try it. I've being using it for two years and I'm now looking 
for another webmail. Uebimiau is easy to install/configure, do not 
depend on IMAP (it uses POP3) and brings Apache to 99% of CPU load when 
(even if it's just a few) users with large mailboxes log in.
	I think it happens because Uebimiau (like every pop3 client) after 
downloading the message, writes it to the disk. As a result, my 
webserver keeps thousands of small files on the disk and it has to scan 
every single file to get informations like subject when the user log in.
	If it were a IMAP client it shouldn't happen, because the message 
wouldn't have to be downloaded to give a list of messages to the user 
(am I right here?).

Best regards,
Eduardo M. Bragatto.


Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread {{{ SaLaPaO-j }}}
try http://hastymail.sourceforge.net/ i think better than uebimiau
- Original Message - 
From: Eduardo M. Bragatto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 4:53 AM
Subject: Re: [vchkpw] What's the better Webmail for Vpopmail?


Itamar Reis Peixoto wrote:
try
http://www.uebimiau.org
Do not try it. I've being using it for two years and I'm now looking 
for another webmail. Uebimiau is easy to install/configure, do not 
depend on IMAP (it uses POP3) and brings Apache to 99% of CPU load when 
(even if it's just a few) users with large mailboxes log in.
I think it happens because Uebimiau (like every pop3 client) after 
downloading the message, writes it to the disk. As a result, my 
webserver keeps thousands of small files on the disk and it has to scan 
every single file to get informations like subject when the user log in.
If it were a IMAP client it shouldn't happen, because the message 
wouldn't have to be downloaded to give a list of messages to the user 
(am I right here?).

Best regards,
Eduardo M. Bragatto.



Re: [vchkpw] what is rcpthosts and morecpthosts ? sorry, that domain isn't allowed relay

2004-07-27 Thread songrit
  when i send mail to [EMAIL PROTECTED] it return sorry, that domain isn't
  allowed relay

 qmail never says that.  if you're getting that error, then you've found
 your problem: qmail isn't being used for that domain.

 I just connected to your MX and tried to send a mail to [EMAIL PROTECTED]
 and the recipient was accepted.  Did you already resolve the problem?

 -Jeremy

I am fix the problem with delete domain then add domain again.  I know this is 
bad choice but it work for me .  I need to know how to fix this problem . i 
don't want delete - add when  error found.
-- 

Best Regard,

Songrit Srilasak 


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread manvendra bhangui
On Tue, 27 Jul 2004 12:57:20 -0500, Ken Jones [EMAIL PROTECTED] wrote:
 
 Anyone interested in trying simscan before I release it?

Can you send it to me ? I will love to try it.

-- 
Regards Manny

Unix is simple, but it takes a genius to understand the simplicity.
 - Dennis Ritchie


[vchkpw] How to back up all incoming messages.

2004-07-27 Thread Takeshi Nishioka
What I want to realize is that all incoming messages would be saved to
the appointed directory.

I performed the following operations in order to all incoming messages
are also save to /usr/local/vpopmail/domains/bar.com/foo/Maildir.bak,
but the original message is doubly written down in the saved message.


 /usr/local/vpopmail/vadduser [EMAIL PROTECTED] passwd
 cp -pR /usr/local/vpopmail/domains/bar.com/foo/Maildir 
 /usr/local/vpopmail/domains/bar.com/foo/Maildir.bak
 touch /usr/local/vpopmail/domains/bar.com/foo/Maildir/.qmail
 chown vpopmail:vchkpw touch /usr/local/vpopmail/domains/bar.com/foo/Maildir/.qmail
 vi /usr/local/vpopmail/domains/bar.com/foo/Maildir/.qmail

/usr/local/vpopmail/domains/bar.com/foo/Maildir/
/usr/local/vpopmail/domains/bar.com/foo/Maildir.bak/