Don't send

2001-11-28 Thread root

Hi all,

 my system is Caldera eServer 2.3, 2.4.12+grsecurity,
I use these packages:

qmail-1.03
ucspi-tcp-0.88
daemontools-0.70
autoresponder-1.14.0
procmail-3.21
qmailadmin-1.0
sqwebmail-3.2.0
vopomail5.0
amavis0.21
fast forward0.51
dot forward-0.71
maildrop1.3.5
tnef-1.1.1
sophos antivurus

I have installed the qmail mta server many many time, but now with these

pachages the server don't send nothing message.
I have only virtualdomains create with vpopmail.

I have only one general procedure for set the mta server.

I would liketto know if there is a bug in the vpopmail5, because I don't

understand where is the problem.

 vpopmail procedure install:

 ./configure --enable-roaming-users=y
 make
 make install-strip

Thanking in advance and sorry for my english.

Giuliano.







creating new domains problem

2001-11-28 Thread o k

i've installed 

1.qmail-1.03

2.vpopmail-5.0

3.mysql-3.23.40

the problem is when i create a domain using vpopmail:

vadddomain domain-name(x) [postmaster password]

it returns :
the domain does not exist

when i check in the mysql database i find a table with the same name of the
domain that i have created (x) 

when i try to open this table

mysql says that it's empty

what do you think is the problem

thank you


Cannot read this message in arabic?
Join the EGYPTIAN mail community @ http://www.masrawy.com



virus scan features prices ?

2001-11-28 Thread Toph Kemmann

Could anyone please share his experience which is the best and
cheapest commercial virus scanner addon for qmail-scanner for about
100 domains (one IP) ?

Trend's Virus scanner
Sophos's sweep virus scanner 
H+BEDV's antivir scanner 
Kaspersky's AVPLinux scanner 
MacAfee's (NAI's) virus scanner 
F-Secure Anti-Virus scanner 
InocuLAN Anti-Virus scanner 
...
???

-- 
Best regards,
 Toph  mailto:[EMAIL PROTECTED]





vchkpw@inter7.com

2001-11-28 Thread miwabear




§Q¥Îºô¸ô¡A¤­¤ÀÄÁÁÈ¿ú¡A¤£¥Î¦¨¥»¡A¤£´º®ð¦Û±Ï¤§¹D 
==±z¥i¥H¦hÁȤ@¨Ç¬ü°ê¤Hªº¿ú!!¸Õ¤@¤U¤Ï¥¿¨S·l¥¢=[[¥ý¬Ý³o¸Ì===]] 
¦Ñ¥~³oºØIdea¯u±Ð¤H§éªA,¤£¹L¦b¥xÆW¥i¯à¨S³o­Ó¥«³õ,¥L­n§Aªº 
¯u¹ê¦a§}©m¦W¤~¦³¥Î,§A¤]­n¨Ï¥Î¯u¹ê¦a§}©m¦W¤~¥i¦¬¨ì¦^õXª÷, 
(¦¹Á|½T«O¸ê®Æªº¥¿½T©Ê)¥L¦A±N¦¹¯u¹ê¦a§}¤ñ¦¬Áʧ󰪪º»ù®æÂà½æ 
(°ê¥~³q«H¶lÁʫܲ±¦æ©Ò¥H»Ý­n¦W³æ),¨ä¹ê¥LÁÙ¬O¦³ÁÈ¿úªº,¦ý¹ï§A 
¦Ó¨¥­Ë¬OµL¥é(³»¦h¦h¦¬¤@¨Ç¼s§i«H,²¦³º§Ú­Ì¤£¦b¬ü°ê¥»¤g,©Ò¥H¤£ 
ÁÈ¥Õ¤£ÁÈ!§Ú¤w¸g¦¬¨ì¿ú¤F(ÁÙ¨S¦¬¨ì¼s§i«H) 
,´«§A¸Õ¬Ý¬Ý!¤£¹L­n¶X¦­¦]¤£¾å±o¥L­þ®É·|­Ë³¬[[=ÅéÅç¤À¨É]] ¥»¤H©ñ°²´Á©ñ±o¹ê¦bµL²á¡A°£¤F¤WºôÁÙ¬O¤Wºô¡I¦bºô¤Wº©´å¹Lµ{¤¤¡A 
§Úµo²{¤F¤@­Ó°ÝÃD¡A¬°¤°»ò¦U­Óºô¯¸³£¯àÅý§AÁȨì«Ü¦h¿ú©O¡H ´N¾aµÛ¤@«Ê E-mailÂI´X¦^¼s§i¤]³£¯àÁȨì¿ú?Ãø¥H¸m«H¡A 
¤Ñ¤U­þ¦³¥Õ¦Yªº¤ÈÀ\¡H¦ý¬O¹ê¦b¬OµL²á°Ú¡A¤Ï¥¿¶¢µÛ¤]¬O¶¢?¡A §ä¤F¤@­Ó¤£­n¨­¥÷¡A¤£­n·|­û¡A¥u­n¦³­Ó¦a§}¡A¸¹½X´N¯à¥Ó½Ð¨ìªººô¯¸¡A 
¥Ó½Ð¦¨¤F·|­û¡K¡K¡]¤£¹L·Q¤@·Q,ÁȤ£¨ì¤]¤£·|¦YÁ«^o^¡^ µ¥¤F¤@­Ó¤ë¡A¨â­Ó¤ë¡K¤°»ò¶×´Ú³æ¡H³s¼v¤l³£¨S¦³¡I ¦A·Q..¡A 
µL©Ò¿×¤F¡K¡K¤Ï¥¿¤]¨S¦Y¨ìÁ«¡K ^^ ´N·í¬O°­°g¤ß¬¤@¦^§a! ¥i¤@ª½¨ì¤F²Ä3­Ó¤ë¡K¡K ¬ðµM¡K¡K¶×´Ú¨ì¤F¡H¡I ¤£¬Ý¤£ª¾¹D¡A 
¤@¬ÝÀ~¤@¸õ¡I 9¦Ê¦h¬üª÷¡H¹³°µ¹Ú¤@¼Ë¡K¡K¶R¤F¤@¨Ç¤@ª½·Q¶RªºªFªF¡K¡K °ª¿³¤§¾l¡A¤S¶}©l¤F§Úªº«Å¶Ç¡I«Å¶Ç¶V¦h¡AÁȪº¶V¦h? ^o^ 
ªGµM¡A ¤£¨ì¤@­Ó¤ë¡A¤S­¸¨Ó¤F¤@±i³æ¤l¡I 1¤d3¦Ê¦h¬üª÷¡K¡K ¯u¬OÃø¥H¥H¸m«H¡I 
¤S¹L¤F¤@­Ó¤ë¤W¤É¨ì¤F2¤d4¦Ê¦h¬üª÷¡K¡K¦p¤µ¡A¤£¥Î¤W¯Z¤]¦³¿úªá¤F¡A ¤£¹LÁÙ¬O·í¥´¹s¤u§a.¯u¬O©Ç«v©Ç«v¡I §A¤£«H¡H¨º¤]¨S¿ìªk¡I 
¥u¥i±¤³o¥Õªáªáªº»È¤l¹Æ¡K¡K¤£¹L¡A¥j¤H¤ª¡G¡§¹ç¥i«H¨ä¦³¡A¤£¥i«H¨äµL¡¨°Ú¡K¡K ¤Ï¥¿¤]¤£¦YÁ« ¡A´N·íºÆ¤@¦^¬Ý¬Ý¹À¡K¡K ¬Û«H§Ú¡A¨S¿ùªº¡I 
¥[¤J¤èªk«Ü²³æªº®@*** http://www.MintMail.com/?m=1293679 
¶i¤J¤W­±ºô¯¸¡]ÂIÀ»¤£¦¨¡A½Æ»s,¶K¤W¦a§}¡^¥´¶}ºô­¶¡AÂI¿ï¥k¤W¤è click here ¬¡°Ê¹Ï¼Ð¡A©ÎÂIÄx¦â FREE Sign-up page 
¦r¼Ë¤]¥i¡I µM«á¡A¸òµÛ´£¥Ü¡A¤@¨B¤@¨B¿é¤J«H®§´Nok¤F¡C ­È±o°ª¿³ªº¬O¥¦¯à¿ë§O¤¤¤å«H®§¡A¦Ó¯à100%¥[¤J¡I 
¤U­±¬O§Ú¬°¤F¤è«K¤j®aªº¥[¤J¸Ô²Ó»¡©ú¥[¤J¹Lµ{¤¤ªº¨BÆJ - First name*: ¦W¦r¡]¨Ò¡G¤pµØ ¡^ - Last Name*: ©m ¡]¨Ò¡GªL 
¡^ - Company Name: ¥i¤£¶ñ - Street Address*:®a®x¦í§}¡G ¡]¤@©w­n¶ñ¼g¡A¤£µM¦¬¤£¨ì¶×´Ú³æ?¡I¡^ 
¨Ò¡Gxx¸ôxx¬qxx¸¹ - City*: «°¥«¦W (¨Ò¡GHsinchu ­^¤å¶ñ¼g ) - State*: ¥i¤£¶ñ Zip*: ¡] 
¶ñ500¡^ - Country*: °ê®a¡] ¿ï Taiwan¡^ - Phone*: ¹q¸Ü¸¹½X ¡] °ê®a¥N½X886 + 
¥h±¼°Ï¦ì¸¹«e0ªº¸¹½X?¡^ ¨Ò¡G03-1234567 ¡÷ 886-3-1234567¡^ - Fax: ¥i¤£¶ñ - E-mail*: 
¹q¤l«H½c¡]©Ò¦³ªº¥æ¬y³£³q¹L«H½c¡A©Ò¥H°È¥²¶ñ¼g¥¿½T¡^ Confirm E-mail*: ¦A¦¸¿é¤J«H½c¦a§} * - Year 
of birth*: ¥X¥Í¦~¤ë¤é ¨Ò¡G1970¡B1980 Gender*: ©Ê§O Male¡]¨k¡^, Female ¡]¤k¡^ - 
Password*: ±K½X¡]6¦ì¥H¤W¡^** - Confirm Password: 
½T©w±K½X¡]¥²¶·©M¤W­±¬Û¦P¡^** -how do you want to receive commissions that you 
earn? ¥H¤°»ò§Î¦¡±µ¦¬Â§«~¡Hgift certificates(double$$) ¦UºØ§«~ *cash ²{ª÷ 
¦p­n§«~¯à¦¬¨ìÂù­¿»ù®æªºªF¦è¡A ¦ý³£¬O¤@¨Ç­^¤åª©ªº®ÑÄy¡BºÏ¤ù¡B¥úºÐµ¥µ¥¹ï©ó¥xÆW¤H¨ÓÁ¿¡AÁÙ¬O²{ª÷¤ñ¸û¦Xºâ¨Ç ¿ï cash - do 
you want to be notified when your referrals sing up? ¥[¤J·|­û¦¨¥\®É³qª¾§A?¡H¿ï yes - 
MintMail.com ? ¿ï¦Û¤vªº·R¦n©Î¿³½ì ¡]³Ì¦h¥i¿ï10ºØ¡^ Submit 
ÂI¿ï¥¦¿Ã¹õ¤W´N·|¥X²{ thank you ªº¦r¼Ë¦P®É§AªºID ¡]¥Î¤¤¤å¦W¦r¡^©M±K½X¤]·|¥X²{¦b«Ì¹õ¤W,°O¦í¦í¥¦¡A¥[¤J§¹¦¨¡A ¤@¤Áok¤F¡I®¥³ß ^o^ 
µM«á¡A5¤ÀÄÁ¤§«á§A·|¦¬¨ì¤@«ÊÅwªï«H ³o¼Ë´N¶}©l·Ç³Æ¦¬¬üª÷¤F^^ok °O±o¥[¤J·|­û«á¡A«ö¥ªÃ䪺members log in¡AµM«á¿é¤J§AªºID©M±K½X ´N¥i¬Ý¨ì 
Your Referral Link to recruit new MintMail members is:http://www.MintMail.com/?m=1293679 
¥u­n·ÓµÛ³o­Óºô§}±Hµ¹ªB¤Í­Ì ¡AÅý¥L­Ì¨ì³oºô¯¸¡A§A´N·|¦³¿ú®³¡A´N³o»ò²³æ(ª`·N:½Ð±N1293679§ï¬°§AªºID¸¹½X)¡C ±b¸¹µn¤J«áªºµe­±: Members 
you have personally referred to date:359 Åã¥Ü¤U½uªº¼Æ¥Ø Members referred by 
your Referrals:1423 Åã¥Ü¤U¤U½uªº¼Æ¥Ø Emails you have personally read*:231 x 
05 = $11.5 ¦Û¤w¦¬¨ìªºmail 
¤@«Ê0.05¬ü¤¸---Emails 
read* by your Referrals:1568 x .03 = $47.04 ¤U½u¦¬¨ìªºmail 
¤@«Ê0.03¬ü¤¸ 
Emails read* by your Referrals Referrals:33951 x .02 = $679.02¤U¤U½u¦¬¨ìªºmail 
¤@«Ê0.02¬ü¤¸- 
TOTAL (CASH - Month) $737.56 Á`­p¦h¤Ö 
³o¼Ë´N¨â¸U¦h¤¸ªº¦¬¤J¡A¦Ó¥B¤£·|°±¤î¡A¦hÁÈÂI¬ü°ê¤Hªº¿ú§a!!

Re: virus scan features prices ?

2001-11-28 Thread Rick Macdougall

Hi,

I use trophie, which uses Trends .so and ptn file.
http://www.vanja.com/tools/trophie/

Regards,

Rick

- Original Message -
From: Toph Kemmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 4:58 AM
Subject: virus scan features  prices ?


Could anyone please share his experience which is the best and
cheapest commercial virus scanner addon for qmail-scanner for about
100 domains (one IP) ?

Trend's Virus scanner
Sophos's sweep virus scanner
H+BEDV's antivir scanner
Kaspersky's AVPLinux scanner
MacAfee's (NAI's) virus scanner
F-Secure Anti-Virus scanner
InocuLAN Anti-Virus scanner
...
???

--
Best regards,
 Toph  mailto:[EMAIL PROTECTED]







RE: virus scan features prices ?

2001-11-28 Thread Dallas Engelken


 -Original Message-
 From: Rick Macdougall [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 28, 2001 8:24 AM
 To: Toph Kemmann; [EMAIL PROTECTED]
 Subject: Re: virus scan features  prices ?


 Hi,

 I use trophie, which uses Trends .so and ptn file.
 http://www.vanja.com/tools/trophie/

 Regards,

 Rick


And I would recommend sophie.
http://www.vanja.com/tools/sophie/
It works with sophos virus scanner.

This can be done at no cost, by going to
http://www.sophos.com/downloads/products/unix.html
and downloading the software after requesting your username and password.
just make sure you put single user / home user for evaluation
purposes.

This will let you get your foot in the door without having to dish out $400
for a commercial scanner.  I'm not sure if any other companies do something
similar?

Dallas




Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Photocon

I too am having the same problem, and in looking at the permissions I see 
that open-smtp in ~/vpopmail/etc/ is owned by root and is a 0 byte file ( I 
suspect because its owned by root). In addition, lastauth in each pop 
users' directory is also owned by root. Chowning these doesn't make a 
difference, as they revert back to root (along with any open-smtp.tmp 
file). What's going on?

At 11:32 AM 11/28/01 -0600, you wrote:

On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote:

open-smtp does not update, even with vpopmail-5.0
Roaming users dont seem to work. What should I check? Where should I look?
I tested by using fetchmail from my office network from behind a firewall.
  Please help,
   Thanks,

What are the permissions on open-smtp?  Is it editable by the user that 
your pop server runs as?  Also, did you compile vpopmail with 
roamin-users?  If so, is your tcp.smtp file in an unusual place?

Regards,

Bill Shupp


--Photocon
Conrad Hunziker III
www.nightskyent.com




Re: qmail-pop3d alternative needed ASAP.

2001-11-28 Thread Ken Jones

I saw this once with an ISP. 
They traced it down to some networking router configurations.
I never found out the details tho.

Ken 

On Wed, 2001-11-28 at 12:08, Steve Fulton wrote:
 Hi all,
 
I need an alternative POP daemon to use that's compatiable with 
 Vpopmail.  This is urgent, so I'd appreciate any feedback on your 
 experiences with what is available..
 
FYI, I'm having 2 clients with severe POP problems -- basically their 
 POP sessions drop mid way thru downloading mail.  Unfortunately its not at 
 one message or one type of message.  It seems to be very random.  If anyone 
 has experienced this problem, I'd also appreciate some feedback.
 
   -- Steve.
 
 





QMAILQUEUE

2001-11-28 Thread Dallas Engelken

I am having a problem with qmail-scanner, maybe someone has an idea here.
I have installed everything and did ../contrib/test_installation.sh -doit
and those tests passed just fine.  I can also do this.

# QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
# echo to:root | /var/qmail/bin/qmail-inject

And then I receive a message with the appropriate headers.
X-Qmail-Scanner: 1.01 (Clean. Processed in 1.54129 secs)


However..

When I try and add this QMAILQUEUE variable to my smtp supervise script, and
then try and send a message through it, here are the results..

--
[root@localhost qmail-smtpd]# telnet localhost 2525
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 localhost ESMTP
mail from: root
250 ok
rcpt to: root
250 ok
data
354 go ahead
.
451 qq temporary problem (#4.3.0)
--

I added just the two lines to my supervise script.

--
#!/bin/sh

QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
export QMAILQUEUE

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD
\
-u $QMAILDUID -g $NOFILESGID 0 qmail /var/qmail/bin/qmail-smtpd
21
--





Re: qmail-pop3d alternative needed ASAP.

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 12:22 PM, Steve Fulton wrote:

 At 13:12 28/11/2001, Bill Shupp wrote:

 I don't know about the problems you're having.. but you can try Sam's 
 pop server.

   Thanks Bill, I wasn't aware the Sam's POP server was installed with 
 the IMAP package (I didn't want to install a new MTA, lol).  As for 
 your maildirquota patch, where can I find it?  www.shupp.org?  Yup, 
 there it is .. thanks.

FYI: I'm not running my maildirquota patch or Sam's pop server in 
production yet, just for the record.  Still testing, making some 
changes, etc.  You might want to do the same before jumping into 
it...  ; )

Also, that maildirquota patch does NOT have the vgetent (cdb) and 
vmoduser fixes that I posted to the list last week for vpopmail 5.0.  
I'm planning to post a 2.5 version of the maildirquota patch that will 
have them in there, maybe later today or tomorrow.

Regards,

Bill




Re: QMAILQUEUE

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 12:34 PM, Dallas Engelken wrote:

 I am having a problem with qmail-scanner, maybe someone has an idea 
 here.
 I have installed everything and did ../contrib/test_installation.sh 
 -doit
 and those tests passed just fine.  I can also do this.

 # QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
 # echo to:root | /var/qmail/bin/qmail-inject

 And then I receive a message with the appropriate headers.
 X-Qmail-Scanner: 1.01 (Clean. Processed in 1.54129 secs)


 However..

 When I try and add this QMAILQUEUE variable to my smtp supervise 
 script, and
 then try and send a message through it, here are the results..

 --
 [root@localhost qmail-smtpd]# telnet localhost 2525
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 220 localhost ESMTP
 mail from: root
 250 ok
 rcpt to: root
 250 ok
 data
 354 go ahead
 .
 451 qq temporary problem (#4.3.0)
 --

 I added just the two lines to my supervise script.

 --
 #!/bin/sh

 QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
 export QMAILQUEUE

 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 
 $MAXSMTPD
 \
 -u $QMAILDUID -g $NOFILESGID 0 qmail 
 /var/qmail/bin/qmail-smtpd
 21
 --

Try increasing your softlimit or not using softlimit.  I couldn't get it 
set correctly, so I stopped using softlimit.  But I didn't try that 
hard, either.  ; )

-Bill




RE: QMAILQUEUE

2001-11-28 Thread Dallas Engelken

 
 Try increasing your softlimit or not using softlimit.  I couldn't get it 
 set correctly, so I stopped using softlimit.  But I didn't try that 
 hard, either.  ; )
 
 -Bill

Bingo.. thanks Bill.
Dallas 



RE: QMAILQUEUE

2001-11-28 Thread Tren Blackburn

A softlimit of 500 or 600 is usually enough.  it also depends on
what virus scanner you're using as well.  the more scanners, the higher the
limit.  Mine is around 800 because I use two scanners.

Tren.

 -Original Message-
 From: Bill Shupp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 28, 2001 11:38 AM
 To: [EMAIL PROTECTED]
 Subject: Re: QMAILQUEUE


 On Wednesday, November 28, 2001, at 12:34 PM, Dallas Engelken wrote:

  I am having a problem with qmail-scanner, maybe someone has an idea
  here.
  I have installed everything and did ../contrib/test_installation.sh
  -doit
  and those tests passed just fine.  I can also do this.
 
  # QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
  # echo to:root | /var/qmail/bin/qmail-inject
 
  And then I receive a message with the appropriate headers.
  X-Qmail-Scanner: 1.01 (Clean. Processed in 1.54129 secs)
 
 
  However..
 
  When I try and add this QMAILQUEUE variable to my smtp supervise
  script, and
  then try and send a message through it, here are the results..
 
  --
  [root@localhost qmail-smtpd]# telnet localhost 2525
  Trying 127.0.0.1...
  Connected to localhost.localdomain.
  Escape character is '^]'.
  220 localhost ESMTP
  mail from: root
  250 ok
  rcpt to: root
  250 ok
  data
  354 go ahead
  .
  451 qq temporary problem (#4.3.0)
  --
 
  I added just the two lines to my supervise script.
 
  --
  #!/bin/sh
 
  QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
  export QMAILQUEUE
 
  QMAILDUID=`id -u qmaild`
  NOFILESGID=`id -g qmaild`
  MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 
  exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c
  $MAXSMTPD
  \
  -u $QMAILDUID -g $NOFILESGID 0 qmail
  /var/qmail/bin/qmail-smtpd
  21
  --

 Try increasing your softlimit or not using softlimit.  I couldn't get it
 set correctly, so I stopped using softlimit.  But I didn't try that
 hard, either.  ; )

 -Bill






Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 12:51 PM, [EMAIL PROTECTED] wrote:

 On Wed, Nov 28, 2001 at 12:06:14PM -0600, Bill Shupp wrote:
 Should be /home/vpopmail/etc/tcp.smtp

   Sorry, it actually is.. forgot the etc/
 -Phil Carinhas

Well, I'm not sure what the problem is.  If you run all your domains 
under vpopmail/vchkpw, I recommend running your pop server as that user 
(and couriertcpd if you run imap with roaming users).  And just keep 
open-smtp, tcp.smtp and tcp.smtp.cdb in ~vpopmail/etc, and make sure all 
those files are owned by vpopmail.vchkpw.  Should be as simple as that.

Cheers,

Bill




more Qmailqueue and virus scan stuff

2001-11-28 Thread Trey Nolen

Recently I posted a question about getting qmailqueue to send mail through a
virus scanner and a spam scanner.  I found a patch that will do just that,
so I thought I'd share it here since there has been a lot of virus talk
lately.

I am running Sophos Sweep. They have a pretty good deal for ISPs. I think
for us it worked out to about $.20 per month.  We are more than willing to
pay that for the extra service. The auto updates work well. The spam scanner
I am using is SpamAssassin found at spamassassin.taint.org. It is very
agressive, and we have had a few legitimate emails get blocked, but it is
VERY effective on spam.  Since Procmail doesn't seem to work well with
Vpopmail, we decided to use QMAILQUEUE to run everything through the
scanners.  This works, but does have the disadvantage that filters are not
customizable per user.  Here is the patch we used to get it to run the two
scanners...it was written by a guy named Kobe Lenjou and posted to the
Spamassassin list. Maybe it will be useful to some of you.

Trey


*** qmail-scanner-1.01/qmail-scanner-queue.template Thu Sep  6 23:12:20
2001
--- qmail-scanner-1.01-pattched/qmail-scanner-queue.template_with_spam  Wed
Nov 21 15:58:32 2001
***
*** 155,160 
--- 155,168 
  my $uudecode_binary='UUDECODE_BINARY';
  my $uudecode_pipe='UUDECODE_PIPE';

+ #Kobe SpamAssasin Hack - if $spamcheck is 1 then spamcheck is done
+ my $spamcheck = 1; #Enabled
+ #my $spamcheck = 0; #Disabled
+ my $spamc='/var/qmail/tools/spamc -f ';
+ #These strings will be regexpd against the recieps var
+ my $spam_rec = 'EMAIL: PROTECTED, EMAIL: PROTECTED,
publinet.be,moerman.co
m';
+ #End of part 1 of 2 of the SpamAssasin hack
+
  #my
($uvscan_binary,$sweep_binary=$iscan_binary=$hbedv_binary=$avpdaemon_binar
y)=';
  #my ($avp_binary=$fsecure_binary=$inocucmd_binary)=';

***
*** 325,331 
  email_quarantine_report;
} else {
  qmail_smtpd_check;
!
qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new/$file_id
);
}
alarm 0;
  };
--- 333,364 
  email_quarantine_report;
} else {
  qmail_smtpd_check;
! #Mail passed all virus check, now do a spam check
! if ($spamcheck == 1) {
! my @spamusers = split(',',$spam_rec);
! my $spam_var;
! my $spam_flag = 0;
! foreach $spam_var (@spamusers) {
! $spam_var =~ s/ //mgi;
! debug(Spamuser: -.$spam_var.-);
! my $spamaddr = ($recips =~ /.*($spam_var).*/mi);
! debug(Find?: $spamaddr);
! if ($spamaddr == 1) {
! $spam_flag = 1;
! last;
! }
! }
! debug(Recieps: $recips);
! if ($spam_flag == 1) {
! debug(Now checking message for spam);
! debug(Executing: $spamc 
$scandir/$wmaildir/new/$file_id 
$scandir/$wmaildir/tmp/$file_id);
! system ($spamc  $scandir/$wmaildir/new/$file_id 
$scandir/$
wmaildir/tmp/$file_id);
! rename
($scandir/$wmaildir/tmp/$file_id,$scandir/$wmaildir/
new/$file_id);
! } else {
! debug(Message NOT scanned for spam);
! }
!  }
!
qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new/$file_id
 )
;
}
alarm 0;
  };






Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread pac

 On Wednesday, November 28, 2001, at 12:02 PM, [EMAIL PROTECTED] wrote:
 
  On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote:
  On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote:
 
  open-smtp does not update, even with vpopmail-5.0
  Roaming users dont seem to work. What should I check? Where should I
  look?
 
  What are the permissions on open-smtp?
   -rw-rw-rw-   1 vpopmail vchkpw  0 Nov 28 11:40 open-smtp
  Is it editable by the user that your pop server runs as?
Apparently yes.
  Also, did you compile vpopmail with roamin-users?
Yes
  If so, is your tcp.smtp file in an unusual place?
 Typo:
its in /home/vpopmail/etc/tcp.smtp:
 Should be /home/vpopmail/etc/tcp.smtp
 it is..

 Also, what do I do with all the lock files in  /home/vpopmail/etc/ ?
ex:
...
open-smtp.tmp.4624
open-smtp.tmp.4626
open-smtp.tmp.4628


-Phil Carinhas
--
 ..
 | Dr. Philip A. Carinhas   | [EMAIL PROTECTED]  |
 | Fortuitous Technologies Inc. | http://fortuitous.com   |
 | Linux Consulting  Training  | Tel : 1-512-467-2154|
 `'



RE: more Qmailqueue and virus scan stuff

2001-11-28 Thread Dallas Engelken

 This works, but does have the disadvantage that filters are not
 customizable per user.  Here is the patch we used to get it to run the two
 scanners...it was written by a guy named Kobe Lenjou and posted to the
 Spamassassin list. Maybe it will be useful to some of you.

 Trey

Can you not run your virus detection via QMAILQUEUE and then have option
spam filtering that pipes through the users .qmail file?




Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Ken Jones

On Wed, 2001-11-28 at 13:03, [EMAIL PROTECTED] wrote:
  On Wednesday, November 28, 2001, at 12:02 PM, [EMAIL PROTECTED] wrote:
  
   On Wed, Nov 28, 2001 at 11:32:49AM -0600, Bill Shupp wrote:
   On Wednesday, November 28, 2001, at 11:22 AM, [EMAIL PROTECTED] wrote:
  
   open-smtp does not update, even with vpopmail-5.0
   Roaming users dont seem to work. What should I check? Where should I
   look?
  
   What are the permissions on open-smtp?
-rw-rw-rw-   1 vpopmail vchkpw  0 Nov 28 11:40 open-smtp
   Is it editable by the user that your pop server runs as?
 Apparently yes.
   Also, did you compile vpopmail with roamin-users?
 Yes
   If so, is your tcp.smtp file in an unusual place?
  Typo:
 its in /home/vpopmail/etc/tcp.smtp:
  Should be /home/vpopmail/etc/tcp.smtp
  it is..
 
  Also, what do I do with all the lock files in  /home/vpopmail/etc/ ?
 ex:
 ...
 open-smtp.tmp.4624
 open-smtp.tmp.4626
 open-smtp.tmp.4628

I've seen that in older 4.10 and 4.9 version of vpopmail.
We traced it down to tcprules not completing correctly and
hence not removing the temporary file. 

Ken




Re: qmail-pop3d alternative needed ASAP.

2001-11-28 Thread Philip Wall



On 28 Nov 01, at 13:55, Steve Fulton wrote:

 At 13:34 28/11/2001, Ken Jones wrote:
 
 I saw this once with an ISP.
 They traced it down to some networking router configurations.
 I never found out the details tho.
 
That was my initial thought to, and the clients do use a proxy to dial 
 into us  pick up their e-mail.  But after a lot of work, I do not believe 
 that's the issue here.  I've got a theory, but I won't speculate publicly 
 until I'm positive.  Oh, I don't believe its related to Vpopmail ;)
 

I've had this happen with a few dialup clients before using fetchmail. 
Their ISPs routers where overloaded and dropping packets and tcp 
streams randomly. It was only usually noticable on large 
downloads, say over 100k.
The fix was to wait for off peak hours to relax the load on the 
routers but in the mean time it was possible to switch them to 
IMAP retrieval with fetchmail and tell it to only fetch mail of a 
certain size or smaller.

Phil Wall



Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 01:03 PM, [EMAIL PROTECTED] wrote:

  Also, what do I do with all the lock files in  /home/vpopmail/etc/ ?
 ex:
 ...
 open-smtp.tmp.4624
 open-smtp.tmp.4626
 open-smtp.tmp.4628

Delete them.  THIS is related to your problem.  I found the same thing 
with courier-imap and vchkpw were both trying to update the open-smtp 
file using different permissions.

-Bill




Re: more Qmailqueue and virus scan stuff

2001-11-28 Thread Trey Nolen

Yes, but when you have 1000's of users, that is a LOT of .qmail files to
update. Also, changes made in qmailadmin will blow away the part of the
.qmail files that pipes it through the spam filter.  This was basically the
only way that I could find to run a system wide virus and spam filter.

Trey

- Original Message -
From: Dallas Engelken [EMAIL PROTECTED]
To: Trey Nolen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 1:03 PM
Subject: RE: more Qmailqueue and virus scan stuff


  This works, but does have the disadvantage that filters are not
  customizable per user.  Here is the patch we used to get it to run the
two
  scanners...it was written by a guy named Kobe Lenjou and posted to the
  Spamassassin list. Maybe it will be useful to some of you.
 
  Trey

 Can you not run your virus detection via QMAILQUEUE and then have option
 spam filtering that pipes through the users .qmail file?






RE: more Qmailqueue and virus scan stuff

2001-11-28 Thread Dallas Engelken

 -Original Message-
 From: Tren Blackburn [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 28, 2001 1:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: more Qmailqueue and virus scan stuff


 Just as an FYI, I am using this patch on all my mail servers now and it's
 working fantastically.  You do have to do some modifications as his patch
 was made for the bleeding edge version of spamassassin, plus you have to
 update the paths and stuff.  Just beware of that, but once all that is
 worked out, it's a great patch, and I'm very happy with it

 Regards,

 Tren.


Is it possible to make SQWebmail utilize the QMAILQUEUE to do virus/spam
scanning on web based email?




Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Ken Jones

On Wed, 2001-11-28 at 13:24, [EMAIL PROTECTED] wrote:
   
Also, what do I do with all the lock files in  /home/vpopmail/etc/ ?
   ex:
   ...
   open-smtp.tmp.4624
   open-smtp.tmp.4626
   open-smtp.tmp.4628
  
  I've seen that in older 4.10 and 4.9 version of vpopmail.
  We traced it down to tcprules not completing correctly and
  hence not removing the temporary file. 
 
   Well, you have seen most of my setup. Any ideas on what to check, and
 what is going wrong? Do i need to replace tcpserver and friends? What?

Sounds like Bill had the answer. 
It's probably a permission issue.




Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread pac

On Wed, Nov 28, 2001 at 01:14:40PM -0600, Bill Shupp wrote:
 On Wednesday, November 28, 2001, at 01:03 PM, [EMAIL PROTECTED] wrote:
 
   Also, what do I do with all the lock files in  /home/vpopmail/etc/ ?
  ex:
  ...
  open-smtp.tmp.4624
  open-smtp.tmp.4626
  open-smtp.tmp.4628
 
 Delete them.  THIS is related to your problem.  I found the same thing 
 with courier-imap and vchkpw were both trying to update the open-smtp 
 file using different permissions.
 
 -Bill

 Here is part of pstree output: See anything fishy?

  |-svscanboot) /command/svscanboot 
  |   |-readproctitle) service errors: ...
  |   `-svscan) /service 
  |   |-supervise) qmail-smtpd 
  |   |   `-tcpserver) -v -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -u 5
02 -g 501 0 smtp /var/qmail/bin/qmail-smtpd 
  |   |-supervise) log 
  |   |   `-multilog) t /var/log/qmail/qmail-smtpd 
  |   |-supervise) qmail-send 
  |   |   `-qmail-send) 
  |   |   |-qmail-clean) 
  |   |   |-qmail-lspawn) ./Maildir/ 
  |   |   `-qmail-rspawn) 
  |   `-supervise) log 
  |   `-multilog) t /var/log/qmail/qmail-send 
  |-syslogd) -m 0 
  `-xinetd) -reuse 
  `-xinetd) -reuse 


-Phil Carinhas
--
 ..
 | Dr. Philip A. Carinhas   | [EMAIL PROTECTED]  |
 | Fortuitous Technologies Inc. | http://fortuitous.com   |
 | Linux Consulting  Training  | Tel : 1-512-467-2154|
 `'



Re: VIrus info

2001-11-28 Thread Bill Shupp


On Wednesday, November 28, 2001, at 01:32 PM, duncan wrote:

 whoops, intended to post to list, not just tren.

 Trey Nolen wrote:
 
  Recently I posted a question about getting qmailqueue to send mail
  through a
  virus scanner and a spam scanner.  I found a patch that will do just
  that,so I thought I'd share it here since there has been a lot of
  virus talklately.

 Anyone care to write a mini-howto on getting the spam and/or virus
  scanners in with vpopmail?

qmail-scanner is at the MTA level, so it's not vpopmail specific.  The 
documentation on http://qmail-scanner.sourceforge.net is very clear, and 
I don't think a howto is necessary.

Regards,

Bill




Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread pac

open-smtp.tmp.4624
open-smtp.tmp.4626
open-smtp.tmp.4628
   
   I've seen that in older 4.10 and 4.9 version of vpopmail.
   We traced it down to tcprules not completing correctly and
   hence not removing the temporary file. 
  
Well, you have seen most of my setup. Any ideas on what to check, and
  what is going wrong? Do i need to replace tcpserver and friends? What?
 
 Sounds like Bill had the answer. 
 It's probably a permission issue.

 Well, Im lost. Here is perms on the differnt folders in /home/vpopmail:

/home/vpopmail]: d
total 5
drwxr-xr-x   2 vpopmail vchkpw515 Nov 28 09:33 bin
drwxr-xr-x   4 vpopmail vchkpw 83 Oct  5 11:30 doc
drwx--  20 vpopmail vchkpw981 Nov 27 17:14 domains
drwxr-xr-x   2 vpopmail vchkpw160 Nov 28 13:41 etc
drwxr-xr-x   2 vpopmail vchkpw141 Oct  5 11:30 include
drwx--   2 vpopmail vchkpw 64 Oct  5 11:30 lib
drwx--   2 vpopmail vchkpw 35 Oct  5 12:01 tmp
drwx--   2 vpopmail vchkpw 64 Oct  5 12:20 users

/home/vpopmail/etc]: d
total 16
-rw-r--r--   1 vpopmail vchkpw 25 Nov 28 09:32 inc_deps
-rw-r--r--   1 vpopmail vchkpw 32 Nov 28 09:32 lib_deps
-rw-rw-rw-   1 vpopmail vchkpw  0 Nov 28 13:40 open-smtp
-rw-r--r--   1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp
-rw-r--r--   1 vpopmail vchkpw   2142 Nov 28 13:40 tcp.smtp.cdb

-Phil Carinhas
--
 ..
 | Dr. Philip A. Carinhas   | [EMAIL PROTECTED]  |
 | Fortuitous Technologies Inc. | http://fortuitous.com   |
 | Linux Consulting  Training  | Tel : 1-512-467-2154|
 `'



Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 01:46 PM, [EMAIL PROTECTED] wrote:

  Well, Im lost. Here is perms on the differnt folders in /home/vpopmail:

 /home/vpopmail/etc]: d
 total 16
 -rw-r--r--   1 vpopmail vchkpw 25 Nov 28 09:32 inc_deps
 -rw-r--r--   1 vpopmail vchkpw 32 Nov 28 09:32 lib_deps
 -rw-rw-rw-   1 vpopmail vchkpw  0 Nov 28 13:40 open-smtp
 -rw-r--r--   1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp
 -rw-r--r--   1 vpopmail vchkpw   2142 Nov 28 13:40 tcp.smtp.cdb

This looks ok.  When you run clearopensmtp, does tcp.smtp.cdb get 
updated?  And what user is your pop server running as?

-Bill




RE: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Tren Blackburn

First recommendation from me would be drop xinetd and install tcpserver.

Regards,

Tren.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 28, 2001 1:10 PM
 To: Bill Shupp
 Cc: [EMAIL PROTECTED]
 Subject: Re: Roaming Users not working. open-smtp not updated.
 
 
   -rw-r--r--   1 vpopmail vchkpw 62 Nov 27 18:19 tcp.smtp
   -rw-r--r--   1 vpopmail vchkpw   2142 Nov 28 13:40 tcp.smtp.cdb
  
  This looks ok.  When you run clearopensmtp, does tcp.smtp.cdb get 
  updated?  And what user is your pop server running as?
 
  Yes, clearopensmtp updates tcp.smtp.cdb and open-smtp. 
 But open-smtp is always empty.
 
 Pop is running via xinetd a user vpopmail:
 
 cat /etc/xinetd.d/pop-3 
 # Converted by inetdconvert
 service pop-3
 {
 disable = no
 socket_type = stream
 protocol= tcp
 wait= no
 user= vpopmail
 server  = /var/qmail/bin/qmail-popup
 server_args = mail.merilex.net 
 /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
 }
 
  I am getting some errors in the logs:
  
 tail  /var/log/messages :
 Nov 28 13:44:06 mail xinetd[5136]: Bad line received from 
 identity server at 66.25.128.203: 62412 , 110 : ERROR : UNKNOWN-ERROR
 Nov 28 14:05:04 mail xinetd[5185]: Bad line received from 
 identity server at 66.25.128.203: 62415 , 110 : ERROR : UNKNOWN-ERROR
 
  Thanks again,
 
 -Phil Carinhas
 --
  ..
  | Dr. Philip A. Carinhas   | [EMAIL PROTECTED]  |
  | Fortuitous Technologies Inc. | http://fortuitous.com   |
  | Linux Consulting  Training  | Tel : 1-512-467-2154|
  `'
 



Re: more Qmailqueue and virus scan stuff

2001-11-28 Thread Trey Nolen


Yeah, that works. We are using it. Just make your sendit.sh look like this:


QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE
exec /usr/sbin/qmail-inject -f $1


Trey


- Original Message -
From: Bill Shupp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 1:29 PM
Subject: Re: more Qmailqueue and virus scan stuff


 On Wednesday, November 28, 2001, at 01:24 PM, Dallas Engelken wrote:
 
  Is it possible to make SQWebmail utilize the QMAILQUEUE to do virus/spam
  scanning on web based email?
 

 I think you can edit sendit.sh to set that variable.. haven't done it
 myself, but that's what I recall...

 Regards,

 Bill






RE: more Qmailqueue and virus scan stuff

2001-11-28 Thread Dallas Engelken

Tren, can you send me that patch.. I dont really want to edit the line wraps
on the one below.


 -Original Message-
 From: Tren Blackburn [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 28, 2001 1:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: more Qmailqueue and virus scan stuff


 Just as an FYI, I am using this patch on all my mail servers now and it's
 working fantastically.  You do have to do some modifications as his patch
 was made for the bleeding edge version of spamassassin, plus you have to
 update the paths and stuff.  Just beware of that, but once all that is
 worked out, it's a great patch, and I'm very happy with it

 Regards,

 Tren.

  -Original Message-
  From: Trey Nolen [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, November 28, 2001 11:56 AM
  To: [EMAIL PROTECTED]
  Subject: more Qmailqueue and virus scan stuff
 
 
  Recently I posted a question about getting qmailqueue to send
  mail through a
  virus scanner and a spam scanner.  I found a patch that will do
 just that,
  so I thought I'd share it here since there has been a lot of virus talk
  lately.
 
  I am running Sophos Sweep. They have a pretty good deal for
 ISPs. I think
  for us it worked out to about $.20 per month.  We are more than
 willing to
  pay that for the extra service. The auto updates work well. The
  spam scanner
  I am using is SpamAssassin found at spamassassin.taint.org. It is very
  agressive, and we have had a few legitimate emails get blocked,
 but it is
  VERY effective on spam.  Since Procmail doesn't seem to work well with
  Vpopmail, we decided to use QMAILQUEUE to run everything through the
  scanners.  This works, but does have the disadvantage that
 filters are not
  customizable per user.  Here is the patch we used to get it to
 run the two
  scanners...it was written by a guy named Kobe Lenjou and posted to the
  Spamassassin list. Maybe it will be useful to some of you.
 
  Trey
 
 
  *** qmail-scanner-1.01/qmail-scanner-queue.template Thu Sep
  6 23:12:20
  2001
  ---
  qmail-scanner-1.01-pattched/qmail-scanner-queue.template_with_spam  Wed
  Nov 21 15:58:32 2001
  ***
  *** 155,160 
  --- 155,168 
my $uudecode_binary='UUDECODE_BINARY';
my $uudecode_pipe='UUDECODE_PIPE';
 
  + #Kobe SpamAssasin Hack - if $spamcheck is 1 then spamcheck is done
  + my $spamcheck = 1; #Enabled
  + #my $spamcheck = 0; #Disabled
  + my $spamc='/var/qmail/tools/spamc -f ';
  + #These strings will be regexpd against the recieps var
  + my $spam_rec = 'EMAIL: PROTECTED, EMAIL: PROTECTED,
  publinet.be,moerman.co
  m';
  + #End of part 1 of 2 of the SpamAssasin hack
  +
#my
 
 ($uvscan_binary,$sweep_binary=$iscan_binary=$hbedv_binary=$avpdaemon_binar
  y)=';
#my ($avp_binary=$fsecure_binary=$inocucmd_binary)=';
 
  ***
  *** 325,331 
email_quarantine_report;
  } else {
qmail_smtpd_check;
  !
  qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new
  /$file_id
  );
  }
  alarm 0;
};
  --- 333,364 
email_quarantine_report;
  } else {
qmail_smtpd_check;
  ! #Mail passed all virus check, now do a spam check
  ! if ($spamcheck == 1) {
  ! my @spamusers = split(',',$spam_rec);
  ! my $spam_var;
  ! my $spam_flag = 0;
  ! foreach $spam_var (@spamusers) {
  ! $spam_var =~ s/ //mgi;
  ! debug(Spamuser: -.$spam_var.-);
  ! my $spamaddr = ($recips =~ /.*($spam_var).*/mi);
  ! debug(Find?: $spamaddr);
  ! if ($spamaddr == 1) {
  ! $spam_flag = 1;
  ! last;
  ! }
  ! }
  ! debug(Recieps: $recips);
  ! if ($spam_flag == 1) {
  ! debug(Now checking message for spam);
  ! debug(Executing: $spamc 
  $scandir/$wmaildir/new/$file_id 
  $scandir/$wmaildir/tmp/$file_id);
  ! system ($spamc  $scandir/$wmaildir/new/$file_id 
  $scandir/$
  wmaildir/tmp/$file_id);
  ! rename
  ($scandir/$wmaildir/tmp/$file_id,$scandir/$wmaildir/
  new/$file_id);
  ! } else {
  ! debug(Message NOT scanned for spam);
  ! }
  !  }
  !
  qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new
  /$file_id
   )
  ;
  }
  alarm 0;
};
 
 
 
 





Q-Mail Log

2001-11-28 Thread Mike Rogers

Quick more general Q-Mail question:
I at one point had the e-mail log (all e-mail gets delivered to a
mailbox) going on a few of my servers.  We had to remove it a while ago when
some of these became multiuser, but some domains still like that.  Is there
any sort of script or patch that would log only certail domains- OR is there
anything that will log to maybe 'log'@each domain which it is associated
with or something along those lines?

Thanks!
--
Mike




~vpopmail/etc

2001-11-28 Thread Mate Wierdl

I see that ./configure already uses ~vpopmail/etc by putting two
files, inc_deps and lib_deps there.  Are these files necessary for the
proper functioning of vpopmail later or they are needed only during
the build?

The problem I am trying to solve is: I am trying to make an rpm, but
with as little impact on the build host as possible.  In particular,
while I add the vpopmail user, but tried not to create ~vpopmail.  But
then ./configure complains about the nonexistence of ~vpopmail/etc.
  
Can I just ignore this warning of ./configure, and then have inc_deps
and lib_deps created on the install host?

Thx,

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



RE: qmail-pop3d alternative needed ASAP.

2001-11-28 Thread Daniel Kafka

We run a service for approx 2000 clients, most of clients are fetching mails thru POP 
via standard modem connections. When downloading a huge amount of mails (mostly with 
big attachemens), randomly a POP session freeze. Repeated POP session for the same 
account freeze at the same position (for example at 14th mail from 25), while the 
first 13 mails are repeatedly downloaded. The only way to solve the problem is to 
clean up the mailbox and delete first 14 messages, there it works fine.

The problem shouldn't be somewhere in vpopmail (the same think happened with 
vpopmail-3.4), now we're using 5.0 with any other problem. 

Is there a nice replacment form qmail-pop3d?

Thanx, daniel kafka


 I saw this once with an ISP. 
 They traced it down to some networking router configurations.
 I never found out the details tho.
 
 Ken 
 
 On Wed, 2001-11-28 at 12:08, Steve Fulton wrote:
  Hi all,
  
 I need an alternative POP daemon to use that's compatiable with 
  Vpopmail.  This is urgent, so I'd appreciate any feedback on your 
  experiences with what is available..
  
 FYI, I'm having 2 clients with severe POP problems -- 
 basically their 
  POP sessions drop mid way thru downloading mail.  Unfortunately 
 its not at 
  one message or one type of message.  It seems to be very 
 random.  If anyone 
  has experienced this problem, I'd also appreciate some feedback.
  
  -- Steve.
  
  
 
 
 
 ---
 Pchoz zprva neobsahuje viry.
 Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz).
 Verze: 6.0.298 / Virov bze: 161 - datum vydn: 13.11.2001
 
---
Odchoz zprva neobsahuje viry.
Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz).
Verze: 6.0.298 / Virov bze: 161 - datum vydn: 13.11.2001




Anyone know who made this hosting automation script?

2001-11-28 Thread K a z


Hello,

About a year ago I stumbled across a site while looking
for alternatives to the Homefree webhosting script. This
site had a suite of scripts/tools to automate a hosting company,
they had support for vpopmail  sqwebmail built in among other
things. But I cant for the life of me remember their url or
name.

I _think_ it had hyper something or star something in the domain
but not sure. I really would like to see what this company has going
these days (if anything).

If anyone has a clue to what I'm babbling about here PLEASE let me know :)

Thanks!


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




patch to preauthvchkpw.c for open_smtp

2001-11-28 Thread Joel Michael

Hi,

This patch allows open_smtp for pop3, and also checks if NO_RELAY is set
for both pop3 and imap.  This is useful if you rely on open_smtp to
allow users to relay and if you use courier for both pop3 instead of
qmail-pop3d, and imap.  I have tested this here and it is in production,
working as expected.  I don't know if I've used diff properly with the
file names, but if it does Strange Things or if you know what I should
have done, please tell me :-)

Cheers!

--- preauthvchkpw.c Mon Sep 17 00:49:10 2001
+++ preauthvchkpw.c.new Sun Nov  4 22:29:45 2001
@@ -92,8 +92,23 @@
return(-1);
} else {
 #ifdef HAVE_OPEN_SMTP_RELAY
-   /* open the relay to imap users */
-   open_smtp_relay();
+   /* open the relay to imap users only if NO_RELAY is not
set */
+   if ( ! ( pw-pw_gid  NO_RELAY ) ) {
+   open_smtp_relay();
+   }
+#endif
+   }
+   }
+
+   if ( strcmp(pop3, service) == 0 ) {
+   if ( pw-pw_gid  NO_POP ) {
+   return(-1);
+   } else {
+#ifdef HAVE_OPEN_SMTP_RELAY
+   /* open the relay to pop3 users only if NO_RELAY is not
set */
+   if ( ! ( pw-pw_gid  NO_RELAY ) ) {
+   open_smtp_relay();
+   }
 #endif
}
}


-- 
Joel Michael
Systems Administrator
Worldhosting.org Pty. Ltd.

Ph: +61 7 3367 3555
Fax: +61 7 3367 3544
Mobile: +61 408 336 728




Re: Bug in vdelivermail [vpopmail 5.0]

2001-11-28 Thread Yavuz Aydin

Quoting Ken:

 There is no bug in vpopmail 5.0.

Well Ken, it appears to be there. This is my third attempt to report this bug.
This time, it seems that I'm not the only one with this problem.

 I just tested it and it works fine.
 more .qmail-default
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/test.com/postmaster

*cut*

 Successful delivery

The problem is as follows:
Whenever you add a domain with vadddomain -u user domain then it won't get
delivered. I have had this problem on 2 different servers, 1 being upgraded and
1 fresh install of the final version of vpopmail 5.0.

The problem as described earlier (delivering to the catch-all account) does
*NOT* occur when the domain is added with vadddomain domain, only if you use
the -u flag.

Can you reproduce this error or not? Do you have tested it with a domain that is
added with the -u flag?

 If you don't have a user account in /home/user/domains/domain.com/user
 then of course it will not be able to deliver it.

 Ken Jones

Best Regards,

Yavuz Aydin
[EMAIL PROTECTED]



Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Mate Wierdl

On Wed, Nov 28, 2001 at 04:07:39PM -0600, Bill Shupp wrote:
 On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote:
 
  tcp.smtp is used only by tcpserver.
 
 For smtp, it's read only.  The pop server is the one that actually edits 
 open-smtp and runs tcprules.

Somehow I assumed that the poster started qmail-smtpd also from
xinetd.  Why would you start pop under xinetd and smtpd under
tcpserver?

 
  I think it is not clear from the
  docs, but it seems roaming users can be used only if you run pop under
  tcpserver or equivalent (like courier's tcp server).
 
 If I had time, I'd do some testing, as this would be useful to know for 
 sure.  I tend to think it's more of a permissions issue rather than a 
 daemon issue...
 

What I wrote was completely idiotic.

 Doesn't  vchkpw do a setuid/setgid before editing these files?  I don't 
 recall...  Seems like it wouldn't be an issue if this were the case.
 

So suppose I start the pop server under tcpserver using the script you
posted in your previous message.  This means tcpserver is run as the
vpopmail user.  How will then vpopmail be able to create, say,
/etc/tcp.smtp.cdb?  Afterall in most places /etc is not writable by
the vpopmail user.  Where is the suid root prog that does the writing?

Mate



Re: Roaming Users not working. open-smtp not updated.

2001-11-28 Thread Mate Wierdl

On Wed, Nov 28, 2001 at 09:39:53PM -0600, Mate Wierdl wrote:
  On Wednesday, November 28, 2001, at 03:54 PM, Mate Wierdl wrote:
  I think it is not clear from the
  docs, but it seems roaming users can be used only if you run pop under
  tcpserver or equivalent (like courier's tcp server).

 What I wrote was completely idiotic.

Because I meant to say if you run qmail-smtpd under tcpserver or
equivalent (like courier's tcp server).

Mate



roaming users

2001-11-28 Thread Mate Wierdl

Suppose my tcprules file for smtpd is in a directory writable only to
root and I want roaming users.  Do not I have to run a tcpserver-like
program that launches imapd or popd as root?

Thx

Mate

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Re: Bug in vdelivermail: FIXED

2001-11-28 Thread Bill Shupp

I think I have this fixed.  usernotfound() was not properly detecting 
the catch-all argument to vdelivermail for domains not under 
VPOPMAILDIR *only* when it was a path, so it never appended /Maildir to 
the user's directory path.  Thus, writing the temp file would fail and 
the message bounced.

I wrapped this fix into a general patch of 4 bug fixes for vpopmail 5.0:

1. vegetent() fix (cdb module)
- 'vmoduser [flags] domain'  would corrupt the vpasswd file
2. vmoduser fix (all modules)
- wouldn't set the passwd field when running on entire domain
3. re-added .over-quota.msg support to vdelivermail
4. usernotfound() bug described above

I also re-added the user not found but will deliver to path message 
so you'll see it in the logs.  : )

Please help test this patch if you can.  To apply:

cd vpopmail-5.0
lynx --source http://shupp.org/patches/5.0-shupp-1.patch.gz | patch -p0
./configure options
make ; make install

And for anyone using the maildirquota patch, I'll try and post an 
updated version with all these fixes tomorrow.

Cheers,

Bill Shupp




Re: roaming users

2001-11-28 Thread Bill Shupp

On Wednesday, November 28, 2001, at 10:15 PM, Mate Wierdl wrote:

 Suppose my tcprules file for smtpd is in a directory writable only to
 root and I want roaming users.  Do not I have to run a tcpserver-like
 program that launches imapd or popd as root?

Right.  But you don't have to run them as root unless you are delivering 
to multiple /etc/passwd users.  If you only deliver do vpopmail users, 
put open-smtp and tcp.smtp in ~vpopmail/etc and keep them owned by 
vpopmail.vchkpw, and all will be well.

Regards,

Bill Shupp




doc bug

2001-11-28 Thread Mate Wierdl

In doc/doc_html/vpopmail.html, I see

--enable-relay-clear-minutes=360 expire time for roaming users after pop
  authentication.

  If  --enable-roamin-users=y  is  set  then this option sets how
  long clearopensmtp should keep IP's in the list. The default is
  3 hours.

IMO, 3 hours is 180 minutes not 360.  

But my confidence is completely shaken when I read, in
doc/man_html/clearopensmtp.html

The default is 360 minutes or 3 hours.

Finally, in the FAQ I see

clearopenstmp will ask for a lock, clear out any roaming IP's 
whos timestamps are over 1 hour old since last pop authentication.


./configure does seem to set this value to 180.

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



bombmail

2001-11-28 Thread IWKW

hi all,

i need help

i'm using qmail with rblsmtpd(ucspi-tcpd)
someone was sent bombmail to my server and qmail can't reject that 
mail

how to set my vpopmail or qmail to automatic reject bombmail??

thanks
paijo