Re: [vchkpw] SMTP AUTH fails if domain dir doesn't exist?

2004-01-26 Thread Hlio Rubens Kamogawa
Hi Tom,

That person would be me. There was a problem authenticating on a remote 
mysql backend without the local directory. But my problem was solved 
when I re-compiled the vpopmail, and set up the 's' flag to others on 
vchkpw again (using vpopmail 5.3.30).

Regards,

Hlio Rubens Kamogawa
Central Server
http://www.centralserver.com.br
[EMAIL PROTECTED]
+55 41 324-1993

On Sunday 25 January 2004 23:01, Tom Collins wrote:
 Someone on the list posted that SMTP AUTH would fail if the domain
 directory didn't exist, because vchkpw needed it.  They were trying
 to set up a separate box for inbound SMTP, and it would only have the
 qmail control files and a link to MySQL to authenticate users.

 I just tried to verify that problem with 5.4.0-rc2, but could not
 reproduce it.  SMTP AUTH worked for a domain without a directory.

 I'm closing out our open bug report.  If the person who originally
 posted about it can get in touch with me, I'd like them to confirm
 that it still fails for them.  It might be another problem that we
 should track down.

 --
 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] Multiple Independent Pipes

2004-01-26 Thread Andy BIERLAIR
Hello,

I am looking for a solution to make multiple independent pipes in qmail with
vpopmail. Usually you do independent pipes like this:

.qmail-default

| /usr/local/bin/a-selfmade-script.pl
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Now imagine a-self-script.pl breaks and the output is empty. The result will
be no delivery.

It there a way to treat incoming mail with two pipes independently? One
Input - 2 or more outputs. I hope you get my point.

Thanks for helping.

Regards,

Andy BIERLAIR
root eSolutions sàrl



smime.p7s
Description: S/MIME cryptographic signature


RE: [vchkpw] Unable to ch to dir

2004-01-26 Thread patrick . liechty
Title: RE: [vchkpw] Unable to ch to dir





I created a .qmail-user file and mail deliver started working. I am getting conflicting information. You say that vpopmail should create .qmail-user files and Jeremy Kitchen says that vpopmail doesn't create .qmail-user files. 

I just added a user through Qmail Admin and it did not create a .qmail-user file. I tested delivery and it did work. 


Looks like I have a user who is messed up in the vpopmail config. I was testing forwarding and things like that. I will have to do some research.



-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, January 24, 2004 10:06 AM
To: vpopmail list
Subject: Re: [vchkpw] Unable to ch to dir


On Jan 23, 2004, at 6:18 PM, [EMAIL PROTECTED] wrote:
 To understand the deliver process better I have a few questions.  
 Qmail receives an email for delivery.  It finds the domain in the 
 virtualdomains file.  It looks in the assigns file and sees that the 
 mail needs to be delivered to the 
 /opt/vpopmail/domains/aurum-email.net (in my case)  directory.  My 
 assigns file is as so:

 +aurum-email.net-:aurum-email.net:89:89:/opt/vpopmail/domains/aurum- 
 email.net:-::


Then it looks for a /opt/vpopmail/domains/aurum-email.net/.qmail-user 
file with delivery instructions for the mail. Vpopmail doesn't even 
get involved at this point, so make sure all of your .qmail-user files 
point to valid Maildirs. Could you have an old alias that points to a 
now non-existent Maildir?


Newer versions of qmailadmin show bad aliases like that in red, so 
they're easy to see.


 So it looks in /opt/vpopmail/domains/aurum-email.net for the 
 .qmail-default file to proceed with delivery.  The .qmail-default has 
 the following:

 | /opt/vpopmail/bin/vdelivermail '' 
 /opt/vpopmail/domains/aurum-email.net/postmaster

 So Qmail runs vdelivermail to deliver the email.  It knows where the 
 user's maildir is and puts the email there.


vdelivermail checks for entries in the valias table (if compiled that 
way), and then tries to look up the user in the user database and 
deliver the mail to the directory specified there. If the user doesn't 
exist, then it delivers the mail to the default location. In your 
case, the postmaster mailbox.


--
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/



Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 





[vchkpw] Spamassassin + Clamav Antivirus + vpopmail

2004-01-26 Thread knom
Hi people !

I want to install Spamassassin and Clam Antivirus with vpopmail !
Do you suggest any high speed scanning tool ?

I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My
Spamassassin needs aproximately 10 seconds for scanning one message.
Is this the normal duration ?

My homegrown Mailserver uses vpopmail/qmail and has about 200 Mails per
day :)

Thanks very much,
knom.




Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail

2004-01-26 Thread Ken Jones
On Monday 26 January 2004 3:22 pm, knom wrote:
 Hi people !

 I want to install Spamassassin and Clam Antivirus with vpopmail !
 Do you suggest any high speed scanning tool ?

 I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My
 Spamassassin needs aproximately 10 seconds for scanning one message.
 Is this the normal duration ?

 My homegrown Mailserver uses vpopmail/qmail and has about 200 Mails per
 day :)

 Thanks very much,
 knom.

I just tested qscanq about 1 hour ago and it's working great.
Written in C. 

http://budney.homeunix.net:8080/users/budney/software/qscanq/index.html

You can configure it the use clamdscan. Works great.

Ken Jones



RE: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail

2004-01-26 Thread Tom Walsh
 I know qmail-scanner.pl, but is this a fast method ? 
 Meanwhile.. My Spamassassin needs aproximately 10 seconds for 
 scanning one message. Is this the normal duration ?

I use a known spam message as a test bed for tuning performance of our
SpamAssassin installation.

You can run:

cat /path/to/known/spam/message | spamassassin -D

Review the output of this command to determine which processes are
taking so long.

More than likely you are making DNS calls to RBLs that aren't responding
in a timely fashion or are using another service (pyzor, which we have
had disabled since December) that is slow to return a response.

With proper tuning your SpamAssassin can be made to scan messages in
under .6 seconds with a full battary of external tests. (This is even on
a 1GHz 512MB AMD Athlon machine.)

If anybody is interested in some of the performance tweaks we have made
to SA, please let me know.

Tom Walsh
Network Administrator
http://www.ala.net/





[vchkpw] single letter local part

2004-01-26 Thread Alastair Battrick
Hi

Can someone explain why vpopmail won't let me have [EMAIL PROTECTED] as a valid
email address.

I get Error: Illegal username when I try to add this, and I think it is a
vpopmail rather than qmail constraint.

Is there any way around this?

Cheers
Al



Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail

2004-01-26 Thread X-Istence
Tom Walsh wrote:

I know qmail-scanner.pl, but is this a fast method ? 
Meanwhile.. My Spamassassin needs aproximately 10 seconds for 
scanning one message. Is this the normal duration ?
   

I use a known spam message as a test bed for tuning performance of our
SpamAssassin installation.
You can run:

cat /path/to/known/spam/message | spamassassin -D

Review the output of this command to determine which processes are
taking so long.
More than likely you are making DNS calls to RBLs that aren't responding
in a timely fashion or are using another service (pyzor, which we have
had disabled since December) that is slow to return a response.
With proper tuning your SpamAssassin can be made to scan messages in
under .6 seconds with a full battary of external tests. (This is even on
a 1GHz 512MB AMD Athlon machine.)
If anybody is interested in some of the performance tweaks we have made
to SA, please let me know.
Tom Walsh
Network Administrator
http://www.ala.net/
 

I would be interested in that. I have been looking at ways to speed up 
SA's working speed.

X-Istence


Re: [vchkpw] single letter local part

2004-01-26 Thread Ron Guerin
On Mon, 2004-01-26 at 17:02, Alastair Battrick wrote:
 Can someone explain why vpopmail won't let me have [EMAIL PROTECTED] as a valid
 email address.

Single characters are reserved for directory hashes.

 Is there any way around this?

Use a dot-qmail file (.qmail-u) to alias the desired address to a valid
vpopmail user. 

- Ron



[vchkpw] Compiling error...

2004-01-26 Thread Stian Hole
I get the following error when trying to compile vpopmail:

In file included from vconvert.c:35:
vmysql.h:53:22: missing terminating  character
vmysql.h:60:35: missing terminating  character
make[2]: *** [vconvert.o] Error 1
make[2]: Leaving directory `/root/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2

-
Med vennlig hilsen / Best regards,
Stian Hole

email: [EMAIL PROTECTED]
website: http://www.boredbroadbanduser.com
jabber: [EMAIL PROTECTED]

shoot your screen: http://www.screenshooters.net/
norwegian musicportal: http://portal.musikkpunkt.com/
download my music: http://ampcast.com/stian


Re: [vchkpw] Compiling error...

2004-01-26 Thread Tom Collins
On Jan 26, 2004, at 4:11 PM, Stian Hole wrote:
I get the following error when trying to compile vpopmail:

In file included from vconvert.c:35:
vmysql.h:53:22: missing terminating  character
vmysql.h:60:35: missing terminating  character
make[2]: *** [vconvert.o] Error 1
make[2]: Leaving directory `/root/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
That error was fixed in 5.2.2, available at http://vpopmail.sf.net/.

--
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] important: roaming users

2004-01-26 Thread knom
I've got a big problem with roaming users !

I compiled vpopmail 5.4.0-rc2  with:
./configure --prefix=/usr/local/vpopmail/ --enable-roaming-users--enable
-relay-clear-minutes=10 --enable-learn-passwords --enable-domainquotas --ena
ble-tcpserver-file=/etc/tcp.smtp


Permissions:
-rw-r--r--1 vpopmail vchkpw 26 Jan 22 17:43 /etc/tcp.smtp

But Vpopmail doesnt add IPs of logged in pop3-users to the tcp.smtp file
(and therefore they can't send)..

Please help me !!



Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail

2004-01-26 Thread Alex Martin
Hello,

qmail-scanner-queue.pl runs spamassassin, razor2, pyzor, clamav, and its 
own internal scanner, as well as doing rbl lookups, in under 1 second 
per message, usually about .8 seconds for me.

The 10 second delay as someone pointed out is the default timeout for 
rbl lookups.

I had this problem and I recently groomed my rblsmtpd list. I was using 
servers that were down.

The following list may use some services that are a little agressive, 
though I now have no (known) issues with valid mails being bounced, but 
in combination with spamassassin, as well as an address known to many 
spammers (used to get 80+ per day), a few spams make it into my inbox 
per week.

More info about these hosts can be found through their websites.

Also, by following /var/log/qmail/smtpd/current, you can follow 
rblsmtpd's actions, for debugging, etc.

FYI: (live, fast responding rbl hosts as of  1/26/03)

snip
/usr/local/bin/rblsmtpd \
-r sbl-xbl.spamhaus.org \
-r blackholes.mail-abuse.org \
-r list.dsbl.org \
-r bl.spamcop.net  \
-r relays.ordb.org \
-r dnsbl.ahbl.org \
/var/qmail/bin/qmail-smtpd \
snip
Regards,

Alex Martin
http://www.rettc.com


knom wrote:

Hi people !

I want to install Spamassassin and Clam Antivirus with vpopmail !
Do you suggest any high speed scanning tool ?
I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My
Spamassassin needs aproximately 10 seconds for scanning one message.
Is this the normal duration ?
My homegrown Mailserver uses vpopmail/qmail and has about 200 Mails per
day :)
Thanks very much,
knom.
 




RE: [vchkpw] important: roaming users

2004-01-26 Thread Andrea Riela
 I compiled vpopmail 5.4.0-rc2  with:
 ./configure --prefix=/usr/local/vpopmail/
 --enable-roaming-users--enable
 -relay-clear-minutes=10 --enable-learn-passwords
 --enable-domainquotas --ena ble-tcpserver-file=/etc/tcp.smtp 

I think you have to use /home/vpopmail/etc/tcp.smtp

Try with --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp.
In you tcp.smtp add your rules.

An example (with qmail-scanner):

# No Qmail-Scanner at all for mail from 127.0.0.1
127.:allow,RELAYCLIENT=,RBLSMTPD=,QMAILQUEUE=/var/qmail/bin/qmail-queue

# Use Qmail-Scanner without SpamAssassin on any mail from the LAN
192.168.:allow,RELAYCLIENT=,RBLSMTPD=,TCPREMOTEIP=Protected,QMAILQUEUE
=/var/qmail/bin/qmail-queue
# Use Qmail-Scanner with SpamAssassin on any mail from the rest of the world
:allow,DENYMAIL=DNSCHECK,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl


Then check 2 things:

1. your pop3 runscript
2. /home/vpopmail/etc/* permissions (like those):
-rw-r--r--  1 root  vchkpw25 Jan 24 15:52 inc_deps
-rw-r--r--  1 root  vchkpw34 Jan 24 15:52 lib_deps
-rw-r--r--  1 vpopmail  vchkpw58 Jan 27 01:48 open-smtp
-rw-r--r--  1 root  vchkpw 0 Jan 27 01:41 open-smtp.lock
-rw-r--r--  1 root  vchkpw   455 Jan 16 15:55 tcp.smtp
-rw-r--r--  1 vpopmail  vchkpw  2414 Jan 27 01:48 tcp.smtp.cdb
-rw-r--r--  1 vpopmail  vchkpw  1107 Jan 16 15:54 vlimits.default

Andrea



[vchkpw] why internet sender can send mail to postmaster@domain ??

2004-01-26 Thread Songrit Srilasak



how can i block all email sending from internet to 
[EMAIL PROTECTED]

Regards,--Songrit 
SrilasakNetwork AdmineGuide(Thailand) Co.,Ltd.02-6700888 µèÍ 
600


---Outgoing mail is certified Virus Free.Checked by AVG 
anti-virus system (http://www.grisoft.com).Version: 6.0.555 / 
Virus Database: 347 - Release Date: 23/12/2546