[vchkpw] vpopmail virus scanning - but per domain

2003-08-01 Thread Kosztik Istvan
hi!

I know, may it asked many times :)))

I would like to do virus scanning per virtual domain. is there any solution of this?


Üdv,
Kosztik




[vchkpw] vpop 5.2.1 core dumps

2003-08-01 Thread Tim Hasson
Hi,

I am running vpopmail-5.2.1 + seekable patch, with qmail and maildrop to 
filter messages marked as spam by Spamassassin to a spam folder). The system 
is FreeBSD-4.8.

Now i had two servers setup exactly the same as described above, one works 
perfect, and the second one bombed out (See Below)..
I was using .qmail and mailfilter in user's home directories to enable 
invoking spam assassin and moving spam message per user (SA prefs in SQL also).
Everything was working fine on both servers up to this point.
Then I removed the .qmail files that I created in those two users directories, 
and i created .qmail-default in the domain directory - example.com/ - to 
enable spam domain-wide (which I had used the same script I used before for a 
long time)
Mail delivers fine to the first server, but the second one freaks out.

qmail-send/current log shows:
@40003f29d8c003dab79c delivery 1: deferral: Segmentation_fault_
(core_dumped)/
@40003f29d8c003dd43f4 status: local 0/10 remote 0/20
[..]
@40003f29d8c82784d04c delivery 4: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@40003f29d8c8278754d4 status: local 1/10 remote 0/20
@40003f29d8c912ea81a4 delivery 3: deferral: Segmentation_fault_
(core_dumped)/

syslog shows:
Jul 31 14:29:42 coda2 /kernel: pid 53178 (vdelivermail), uid 500: exited on 
signal 11 (core dumped)
Jul 31 14:36:13 coda2 /kernel: pid 53421 (vdelivermail), uid 500: exited on 
signal 11 (core dumped)
Jul 31 14:36:13 coda2 /kernel: pid 53423 (vdelivermail), uid 500: exited on 
signal 11 (core dumped)
Jul 31 19:58:52 coda2 /kernel: pid 77655 (vdelivermail), uid 500: exited on 
signal 11 (core dumped)
Jul 31 20:00:32 coda2 /kernel: pid 77721 (vdelivermail), uid 500: exited on 
signal 11 (core dumped)


For the users that were to have mail delivered in their mailbox, instead i 
find a vdelivermail.core in their directory. If I reset .qmail-default to 
vdelivermail, the mail in the queue will be delivered.

# cat .qmail-default
| /usr/local/bin/maildrop ~vpopmail/domains/example.com/mailfilter


# cat mailfilter
import EXT
import HOST
VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
SUBIMAP=/home/vpopmail/bin/subimapspam.sh
`test -d $VHOME/Maildir`
if ( $RETURNCODE == 1 )
{
   echo Sorry, no mailbox here by that name. (#5.1.1)
   EXITCODE=100
   exit
}
if ( $SIZE  262144 )
{
xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED]
if (/^X-Spam-Flag: *YES/)
{
`test -d $VHOME/Maildir/.BulkMail`
if( $RETURNCODE == 1 )
{
`/usr/bin/maildirmake -f BulkMail 
$VHOME/Maildir/`
`$SUBIMAP $VHOME`
}
to $VHOME/Maildir/.BulkMail/
exit
}
else
{
to $VPOP
exit
}
}
else
{
to $VPOP
exit
}


Any help would be greatly appreciated..
Thanks,
Tim



[vchkpw] ETRN / serialmail-AUTOTURN with vpopmail - How to ?

2003-08-01 Thread Devendra Singh
Hi !

I have Installed qmail 1.03+vpopmail 5.3.20+mysql with SMTP-AUTH patch with 
several Virtual Domains. I have also Installed serialmail.

But, How do I invoke the serialmail for one domain.

The AUTOTURN documentation says to put the line:

+autoturn-:qmaild:7770:2108:/var/qmail/autoturn:-::

into the file /var/qmail/users/assign and asks to run qmail-pw2u

but I already have following into the file /var/qmail/users/assign

+del3.intermesh.net-:del3.intermesh.net:89:89:/home/vpopmail/domains/del3.intermesh.net:-::
+del4.intermesh.net-:del4.intermesh.net:89:89:/home/vpopmail/domains/del4.intermesh.net:-::
.
How do I make the serialmail functional for the del4.intermesh.net 
(remember that I also have functional SMTP-AUTH Patch) ?

My existing /var/qmail/supervise/qmail-smtpd/run is as below

#!/bin/sh
# when QMAILQUEUE is set, all mail will be sent to the nominated script
echo 'Starting qmail-smtpd...'
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGUID=`id -g vpopmail`
# softlimit needs to be set at something large such as 1500
# to allow virusscanning software to run successfully
exec /usr/local/bin/softlimit -m 1500 \
/usr/local/bin/tcpserver -H -l0\
-v -x /etc/tcp.smtp.cdb \
  -c 512 -R -u $VPOPMAILUID -g $VPOPMAILGUID 0 smtp \
/usr/local/bin/rblsmtpd -b -C \
  -r 'relays.ordb.org:Your message was rejected because the mail server 
you use is configured to allow OPEN RELAY - More detailed information 
regarding this problem is available from 
http://www.ordb.org/lookup/?%IP%http://www.ordb.org/lookup/?%IP% - Please 
forward this error through to your email server support staff for easy 
resolution.' \
  -r 'inputs.relays.osirusoft.com:Your message was rejected because the 
mail server you use is either configured to allow OPEN RELAY - More 
information regarding this problems is available at
http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=%IP%http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=%IP% 
- Please forward this error to your email server support staff for 
resolution.' \
  -r 'proxies.relays.monkeys.com:Your message was rejected because the 
message was sent from an OPEN PROXY - More information regarding this 
problems is available 
at 
http://www.monkeys.com/upl/listed-ip-0.cgi?ip=%IP%http://www.monkeys.com/upl/listed-ip-0.cgi?ip=%IP% 
- Please forward this error to your email server support staff for 
resolution.' \
/var/qmail/bin/qmail-smtpd del3.intermesh.net /home/vpopmail/bin/vchkpw 
/bin/true 

I am posting this to the list with lot of head scratching, in anticipation.

Thanks in advance !

__
 Devendra Singh
 IndiaMART InterMESH Limited
 B-1, Sector 8, Noida, UP - 201301, India
 Voice : +91-120-2543945, 2543946, 2543947
 Fax: +91-120-2543943
 Mobile: +91-9818342483
 http://www.indiamart.com
 http://www.indiangiftsportal.com
  __ 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 27/05/03


Re: [vchkpw] ETRN / serialmail-AUTOTURN with vpopmail - How to ?

2003-08-01 Thread Evren Yurtesen
you shouldnt have a domain in vpopmail when you use serialmail...
so you can delete the lines.
qmail will queue all the email which come to a domain into the
autoturn directory you give to it, the client should have a static ip
address which will connect to qmail-smtp, when the client connects,
serialmail knows this client from the autoturn directory and will push all
the emails from that clients autoturn directory to the client. etc.
This approach has the drawback of queing mails for users which do not
exist.

Evren

On Fri, 1 Aug 2003, Devendra Singh wrote:

 Hi !
 
 I have Installed qmail 1.03+vpopmail 5.3.20+mysql with SMTP-AUTH patch with 
 several Virtual Domains. I have also Installed serialmail.
 
 But, How do I invoke the serialmail for one domain.
 
 The AUTOTURN documentation says to put the line:
 
  +autoturn-:qmaild:7770:2108:/var/qmail/autoturn:-::
 
 into the file /var/qmail/users/assign and asks to run qmail-pw2u
 
 but I already have following into the file /var/qmail/users/assign
 
 +del3.intermesh.net-:del3.intermesh.net:89:89:/home/vpopmail/domains/del3.intermesh.net:-::
 +del4.intermesh.net-:del4.intermesh.net:89:89:/home/vpopmail/domains/del4.intermesh.net:-::
 .
 
 How do I make the serialmail functional for the del4.intermesh.net 
 (remember that I also have functional SMTP-AUTH Patch) ?
 
 My existing /var/qmail/supervise/qmail-smtpd/run is as below
 
 
 #!/bin/sh
 # when QMAILQUEUE is set, all mail will be sent to the nominated script
 echo 'Starting qmail-smtpd...'
 QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE
 
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 
 VPOPMAILUID=`id -u vpopmail`
 VPOPMAILGUID=`id -g vpopmail`
 
 # softlimit needs to be set at something large such as 1500
 # to allow virusscanning software to run successfully
 
 exec /usr/local/bin/softlimit -m 1500 \
 /usr/local/bin/tcpserver -H -l0\
 -v -x /etc/tcp.smtp.cdb \
-c 512 -R -u $VPOPMAILUID -g $VPOPMAILGUID 0 smtp \
 /usr/local/bin/rblsmtpd -b -C \
-r 'relays.ordb.org:Your message was rejected because the mail server 
 you use is configured to allow OPEN RELAY - More detailed information 
 regarding this problem is available from 
 http://www.ordb.org/lookup/?%IP%http://www.ordb.org/lookup/?%IP% - Please 
 forward this error through to your email server support staff for easy 
 resolution.' \
-r 'inputs.relays.osirusoft.com:Your message was rejected because the 
 mail server you use is either configured to allow OPEN RELAY - More 
 information regarding this problems is available at
 http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=%IP%http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=%IP%
  
 - Please forward this error to your email server support staff for 
 resolution.' \
-r 'proxies.relays.monkeys.com:Your message was rejected because the 
 message was sent from an OPEN PROXY - More information regarding this 
 problems is available 
 at 
 http://www.monkeys.com/upl/listed-ip-0.cgi?ip=%IP%http://www.monkeys.com/upl/listed-ip-0.cgi?ip=%IP%
  
 - Please forward this error to your email server support staff for 
 resolution.' \
 /var/qmail/bin/qmail-smtpd del3.intermesh.net /home/vpopmail/bin/vchkpw 
 /bin/true 
 
 I am posting this to the list with lot of head scratching, in anticipation.
 
 Thanks in advance !
 
 
 __
   Devendra Singh
   IndiaMART InterMESH Limited
   B-1, Sector 8, Noida, UP - 201301, India
   Voice : +91-120-2543945, 2543946, 2543947
   Fax: +91-120-2543943
   Mobile: +91-9818342483
   http://www.indiamart.com
   http://www.indiangiftsportal.com
__ 
 




Re: [vchkpw] vpop 5.2.1 core dumps

2003-08-01 Thread Tim Hasson
[..continued..]

Problem fixed. rewrote the whole thing from scratch. noticed afterwards that i 
was checking for X-Spam-Flag instead of X-Spam-Status, ugh.
Also, maildirmake is in /usr/local not /usr

but would any of these two reasons cause vdelivermail to coredump?
Is that a possible security flaw?

Tim

Quoting Tim Hasson [EMAIL PROTECTED]:

 Hi,
 
 I am running vpopmail-5.2.1 + seekable patch, with qmail and maildrop to 
 filter messages marked as spam by Spamassassin to a spam folder). The system
 
 is FreeBSD-4.8.
 
 Now i had two servers setup exactly the same as described above, one works 
 perfect, and the second one bombed out (See Below)..
 I was using .qmail and mailfilter in user's home directories to enable 
 invoking spam assassin and moving spam message per user (SA prefs in SQL
 also).
 Everything was working fine on both servers up to this point.
 Then I removed the .qmail files that I created in those two users
 directories, 
 and i created .qmail-default in the domain directory - example.com/ - to 
 enable spam domain-wide (which I had used the same script I used before for a
 
 long time)
 Mail delivers fine to the first server, but the second one freaks out.
 
 qmail-send/current log shows:
 @40003f29d8c003dab79c delivery 1: deferral: Segmentation_fault_
 (core_dumped)/
 @40003f29d8c003dd43f4 status: local 0/10 remote 0/20
 [..]
 @40003f29d8c82784d04c delivery 4: deferral: 
 Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
 @40003f29d8c8278754d4 status: local 1/10 remote 0/20
 @40003f29d8c912ea81a4 delivery 3: deferral: Segmentation_fault_
 (core_dumped)/
 
 syslog shows:
 Jul 31 14:29:42 coda2 /kernel: pid 53178 (vdelivermail), uid 500: exited on 
 signal 11 (core dumped)
 Jul 31 14:36:13 coda2 /kernel: pid 53421 (vdelivermail), uid 500: exited on 
 signal 11 (core dumped)
 Jul 31 14:36:13 coda2 /kernel: pid 53423 (vdelivermail), uid 500: exited on 
 signal 11 (core dumped)
 Jul 31 19:58:52 coda2 /kernel: pid 77655 (vdelivermail), uid 500: exited on 
 signal 11 (core dumped)
 Jul 31 20:00:32 coda2 /kernel: pid 77721 (vdelivermail), uid 500: exited on 
 signal 11 (core dumped)
 
 
 For the users that were to have mail delivered in their mailbox, instead i 
 find a vdelivermail.core in their directory. If I reset .qmail-default to 
 vdelivermail, the mail in the queue will be delivered.
 
 # cat .qmail-default
 | /usr/local/bin/maildrop ~vpopmail/domains/example.com/mailfilter
 
 
 # cat mailfilter
 import EXT
 import HOST
 VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
 SUBIMAP=/home/vpopmail/bin/subimapspam.sh
 `test -d $VHOME/Maildir`
 if ( $RETURNCODE == 1 )
 {
echo Sorry, no mailbox here by that name. (#5.1.1)
EXITCODE=100
exit
 }
 if ( $SIZE  262144 )
 {
 xfilter /usr/local/bin/spamc -f -u [EMAIL PROTECTED]
 if (/^X-Spam-Flag: *YES/)
 {
 `test -d $VHOME/Maildir/.BulkMail`
 if( $RETURNCODE == 1 )
 {
 `/usr/bin/maildirmake -f BulkMail 
 $VHOME/Maildir/`
 `$SUBIMAP $VHOME`
 }
 to $VHOME/Maildir/.BulkMail/
 exit
 }
 else
 {
 to $VPOP
 exit
 }
 }
 else
 {
 to $VPOP
 exit
 }
 
 
 Any help would be greatly appreciated..
 Thanks,
 Tim
 

 





[vchkpw] New Domain - old users

2003-08-01 Thread Gonzo
Hello,


I have a new Domain, so I Want to move my existing users from
olddomain.com to newdomain.com.

Is there an easy way?

Gonzo




Re: [vchkpw] New Domain - old users

2003-08-01 Thread Jeff Hedlund
Gonzo,

Gonzo wrote:
I have a new Domain, so I Want to move my existing users from
olddomain.com to newdomain.com.
Is there an easy way?
If you are keeping your olddomain.com, the simplest way would be to 
simply create a domain alias of newdomain.com for olddomain.com 
(vaddaliasdomain)

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



[vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Thomas Lojmann Jorgensen
Hello,

When someone is sending a mail to a user that dosen't exist on my
domain, it send a mail return to tell the sender that the user dosen't
exist.
That is fine, but when the reply adress in the senders mail isen't a
valdi e-mail then the postmaster recive a mail from the
mailer-deamon at the domain, etc.:

START
Hi. This is the qmail-send program at mydomain.com
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
208.45.133.107 does not like recipient.
Remote host said: 550 [EMAIL PROTECTED]: User unknown in local recipient table
Giving up on 208.45.133.107.
/END

I'm tiret of this mails, isen't it possible to disabl this function
or something???

Have a nice weekend :)


Kind Regards,
Thomas




Re: [vchkpw] vpopmail virus scanning - but per domain

2003-08-01 Thread John Simpson
On Friday, Aug 1, 2003, at 02:40 US/Eastern, Kosztik Istvan wrote:

I would like to do virus scanning per virtual domain. is there any 
solution of this?
i've never heard of doing it only for certain domains, i would 
imagine if you're going to do it, that you would want to do it for all 
email. that's like setting up a border checkpoint but only inspecting 
blue cars.

why would you want to do virus scans for only certain domains?

if the answer involves using virus scanning as a premium service, i 
think you're going the wrong way with it. if you have the capability to 
do virus scanning, do it for all mail- and make a lot of noise about 
the fact that you're doing it and doing it for free. this way your 
network is protected (except for users who access other mail servers 
directly) and you get a lot of free publicity- users will tell their 
friends i use triak.hu for email, they do virus scans for free.

at my last employer i set up qmail-scanner as an experiment, a week 
before the melissa virus was released and caused so much trouble on 
the internet. our mail servers were busier than normal for a few weeks, 
but the mail servers were dropping messages with viruses and the users 
loved it. they loved it so much they started talking us up to their 
friends, and over the next month we saw almost three times as many new 
signups.

if you still insist on doing the virus scanning for only certain 
domains, check http://www.qmail.org/ and look there for information. 
your question is close to being off-topic for this mailing list.

---
| John Simpson - KG4ZOW - Programmer at Large |
| [EMAIL PROTECTED]http://www.jms1.net/ |
---



RE: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Shane Chrisp
You can do either or both of the following.

Apply the checkuser patch. There is a modified one to work with vpopmail at
http://www.shupp.org/ I have it working on 5.3.20 with mysql and it works
a treat.

And/Or

echo doublebounce /var/qmail/control/doublebounceto
echo '#' /var/qmail/alias/.qmail-doublebounce

The second one is a good idea anyway if you have a high volume server cause
it sends the doublebounce's to null.

Shane

  -Original Message-
  From: Thomas Lojmann Jorgensen [mailto:[EMAIL PROTECTED] 
  Sent: Friday, 1 August 2003 11:34 PM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] I'm tiret of bounce mail that is bounced...!
  
  
  Hello,
  
  When someone is sending a mail to a user that dosen't exist on my
  domain, it send a mail return to tell the sender that the 
  user dosen't
  exist.
  That is fine, but when the reply adress in the senders mail isen't a
  valdi e-mail then the postmaster recive a mail from the
  mailer-deamon at the domain, etc.:
  
  START
  Hi. This is the qmail-send program at mydomain.com
  I tried to deliver a bounce message to this address, but the 
  bounce bounced!
  
  [EMAIL PROTECTED]:
  208.45.133.107 does not like recipient.
  Remote host said: 550 [EMAIL PROTECTED]: User unknown in 
  local recipient table
  Giving up on 208.45.133.107.
  /END
  
  I'm tiret of this mails, isen't it possible to disabl this function
  or something???
  
  Have a nice weekend :)
  
  
  Kind Regards,
  Thomas
  
  
  
  




[vchkpw] MySQL entry and files on te local file system?

2003-08-01 Thread Thomas Lojmann Jorgensen
Hello,

I use Vpopmail vith MySQL support.
If I delete a entry in the tabel named vpopmail, then the user can't
login, I know.
But will it automatic delete the
/home/vpopmail/domains/domain.com/user-dir ???

I use it with a script to create e-mails with, on a domain (something
like vqregister) - and when a user delete his/her account I will let
the script delete the user/dir also (but I wount give apache rights to
the folder!)

Can anyone help me?

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




Re: [vchkpw] vpopmail virus scanning - but per domain

2003-08-01 Thread Ken Jones
On Friday 01 August 2003 01:40, Kosztik Istvan wrote:
 hi!

 I know, may it asked many times :)))

 I would like to do virus scanning per virtual domain. is there any solution
 of this?

Our efilter program does this but it's a commercial product.
You can enable/disable virus scanning per domain.

Ken Jones
inter7.com



Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Jeff Hedlund


Dave Richardson - Lists wrote:
I run Courier1.7/Vpopmail5.2.1/Squirrel1.4.11(?)/Qmail (blah blah).
Recently I've had messages get lost/deleted when I try to move them to 
another folder.  If I use Mozilla, I'd drag-and-drop.  If I use 
Squirrel, I'd mark and move-to-folder.

Some messages move OK, others get lost.  The lost ones don't go to 
Trash, they just disappear.  No errors, nothing in the logs.

I've got a theory that most the mail that gets lost on a move is either 
HTML or has 1+ attachments of any size.  The problem doesn't seem to 
affect all folders of a mailbox/account, but it does seem to be a sticky 
problem - once a folder goes bad, it stays bad.  Not all users exhibit 
this problem.

Disk seems ok, etc... looking for debug ideas.
Very strange problem!  I wonder what the permissions look like on the 
bad folders..., any idea?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



Re: [vchkpw] MySQL entry and files on te local file system?

2003-08-01 Thread Ajai Khattri
Thomas Lojmann Jorgensen wrote:

I use Vpopmail vith MySQL support.
If I delete a entry in the tabel named vpopmail, then the user can't
login, I know.
But will it automatic delete the
/home/vpopmail/domains/domain.com/user-dir ???
I use it with a script to create e-mails with, on a domain (something
like vqregister) - and when a user delete his/her account I will let
the script delete the user/dir also (but I wount give apache rights to
the folder!)
Why don't you use vdeluser in your script?

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread marrandy
On Friday 01 August 2003 11:34 am, Thomas Lojmann Jorgensen wrote:

 
 START
 Hi. This is the qmail-send program at mydomain.com
 I tried to deliver a bounce message to this address, but the bounce bounced!
 
 [EMAIL PROTECTED]:
 208.45.133.107 does not like recipient.
 Remote host said: 550 [EMAIL PROTECTED]: User unknown in local recipient 
table
 Giving up on 208.45.133.107.
 /END
 
 I'm tiret of this mails, isen't it possible to disabl this function
 or something???


Yes, but better still, join up at  http://www.trustic.com

You can then forward those double bounces as attachments to the address they 
give you and volia, you add to the anti-spam listing.

Also, set your qmail-smtp run file like this :-

exec /usr/local/bin/tcpserver 0 smtp rblsmtpd \
-b -c -r sbl.spamhaus.org \
-b -c -r relays.ordb.org \
-b -c -r QUERYADDRESS \
qmail-smtpd 21

Replace QUERYADDRESS with your trustic assigned one.

hup qmail and off you go.


 Have a nice weekend :)
 
 
 Kind Regards,
 Thomas


and you Thomas.

Regards...Martin
-- 
The brain is a wonderful organ; it starts working the moment you get up
in the morning, and does not stop until you get to school.




Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Dave Richardson - Lists
The offending user is der
drwx--3 vpopmail vchkpw   4096 May 30 07:44 der
cd der; ls -l
drwx--   28 vpopmail vchkpw   4096 Jul 25 11:14 Maildir
cd Maildir; ls -l
-rw-r--r--1 vpopmail vchkpw264 Jul 25 11:14 
courierimapsubscribed
-rw-r--r--1 vpopmail vchkpw   3955 Aug  1 14:40 courierimapuiddb
drwx--2 vpopmail vchkpw  12288 Aug  1 14:49 cur
-rw---1 vpopmail vchkpw   4498 Aug  1 14:49 maildirsize
drwx--2 vpopmail vchkpw   8192 Aug  1 14:32 new
drwx--2 vpopmail vchkpw   4096 Aug  1 14:52 tmp

cd cur; ls -l
[99 messages, last several shown]
-rw---1 vpopmail vchkpw 163847 Jul 31 13:25 
1059675921.19351.penguin.example.com,S=163777:2,S
-rw---1 vpopmail vchkpw   2530 Jul 31 17:09 
1059689347.25043.penguin.example.com,S=2461:2,S
-rw---1 vpopmail vchkpw   3110 Jul 31 21:23 
1059704582.5611.penguin.surfinbox.com,S=3036:2,S
-rw---1 vpopmail vchkpw   2537 Aug  1 13:51 
1059763864.10523.penguin.example.com,S=2459:2,S
-rw---1 vpopmail vchkpw   3252 Aug  1 14:18 
1059765516.11705.penguin.example.com,S=3183:2,S
-rw---1 vpopmail vchkpw   1706 Aug  1 14:26 
1059765977.11975.penguin.example.com,S=1637:2,S
-rw---1 vpopmail vchkpw   3413 Aug  1 14:26 
1059766016.11998.penguin.example.com,S=3347:2,RS

Did that help more info needed





Jeff Hedlund wrote:



Dave Richardson - Lists wrote:

I run Courier1.7/Vpopmail5.2.1/Squirrel1.4.11(?)/Qmail (blah blah).
Recently I've had messages get lost/deleted when I try to move them 
to another folder.  If I use Mozilla, I'd drag-and-drop.  If I use 
Squirrel, I'd mark and move-to-folder.

Some messages move OK, others get lost.  The lost ones don't go to 
Trash, they just disappear.  No errors, nothing in the logs.

I've got a theory that most the mail that gets lost on a move is 
either HTML or has 1+ attachments of any size.  The problem doesn't 
seem to affect all folders of a mailbox/account, but it does seem to 
be a sticky problem - once a folder goes bad, it stays bad.  Not 
all users exhibit this problem.

Disk seems ok, etc... looking for debug ideas.


Very strange problem!  I wonder what the permissions look like on the 
bad folders..., any idea?

Jeff






Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Jeff Hedlund


Dave Richardson - Lists wrote:
Did that help more info needed
How about the offending mail folder?  What are it's perms? (and the dirs 
inside it)?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Ajai Khattri
marrandy wrote:

Yes, but better still, join up at  http://www.trustic.com

You can then forward those double bounces as attachments to the address they 
give you and volia, you add to the anti-spam listing.

Also, set your qmail-smtp run file like this :-

exec /usr/local/bin/tcpserver 0 smtp rblsmtpd \
   -b -c -r sbl.spamhaus.org \
   -b -c -r relays.ordb.org \
   -b -c -r QUERYADDRESS \
   qmail-smtpd 21
Replace QUERYADDRESS with your trustic assigned one.

I just signed up with Trustic last week and your idea of sending 
doublebounces to Trustic automatically is brilliant!

Thanks,

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Dave Richardson - Lists
an offending folder is INBOX.consulting
pwd = der/Maildir
cd .consulting; ls -l
-rw-r--r--1 vpopmail vchkpw609 Jul 29 14:51 courierimapuiddb
drwx--2 vpopmail vchkpw   4096 Jul 29 07:27 cur
-rwx--1 vpopmail vchkpw  0 Jul 18 14:49 maildirfolder
drwx--2 vpopmail vchkpw   4096 Jul 18 14:49 new
drwx--2 vpopmail vchkpw   4096 Jul 29 14:51 tmp
ls -l new
total 0
ls -l tmp
total 0
ls -l cur
-rw-r--r--1 vpopmail vchkpw   1436 Jul 18 14:35 
1058557796.M109269P14433V0302I0053812F_8.penguin.example.com,S=1436:2,S
-rw-r--r--1 vpopmail vchkpw   2023 Jul 17 10:37 
1058557805.M99846P14433V0302I00538130_11.penguin.example.com,S=2023:2,RS
-rw-r--r--1 vpopmail vchkpw   3296 Jul 18 14:47 
1058557959.M590179P14433V0302I0053812D_12.penguin.example.com,S=3296:2,S
-rw-r--r--1 vpopmail vchkpw   2135 Jul 18 15:56 
1058562075.M937013P14433V0302I0053812E_16.penguin.example.com,S=2135:2,S
-rw-r--r--1 vpopmail vchkpw   3969 Jul 18 15:56 
1058562075.M937379P14433V0302I00538132_17.penguin.example.com,S=3969:2,S
-rw-r--r--1 vpopmail vchkpw   4258 Jul 28 13:37 
1059430929.M573029P30452V0302I00538135_3.penguin.example.com,S=4258:2,RS
-rw-r--r--1 vpopmail vchkpw   5247 Jul 28 19:37 
1059481652.M339393P26685V0302I00538136_3.penguin.example.com,S=5247:2,S

More???



Jeff Hedlund wrote:



Dave Richardson - Lists wrote:

Did that help more info needed


How about the offending mail folder?  What are it's perms? (and the 
dirs inside it)?

Jeff






Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread marrandy
On Friday 01 August 2003 04:04 pm, Ajai Khattri wrote:

 I just signed up with Trustic last week and your idea of sending 
 doublebounces to Trustic automatically is brilliant!
 
 Thanks,
 
 -- 
 Aj.
 Systems Administrator / Developer


I don't send them automatically, I'm dubious of automatic reporting and like 
to verify there is nothing unusual that will trip up trustics parser.

I give them the quick once over, then do fwd as attach.  I have my trustic 
address in my address book and as soon as I type the first character, it 
appears, hit enter and send.

Bob's your uncle.

A lot quicker than finding the offending IP, doing a lookup, finding the 
provider, then a abuse report etc.

My experience from the smtp log so far is that for every 10 spamhaus denies, I 
get 8 trustic denies and 1 ordb.

I have now removed my badmailfrom and tcp.smtp(allow,RBLSMTPD=-banned for 
spamming   rules) as they are too fixed and ridgid whereas spamhaus, ordb 
and trustic are flexible, continuously updated, and people can get out if 
they fix their systems/procedures/TOS.

Fair is fair.

Natural justice, or due process as the yanks say.

I expect trustic to get better as more people provide spam mails.

Regards...Martin
-- 
If happiness is in your destiny, you need not be in a hurry.
-- Chinese proverb




[vchkpw] S

2003-08-01 Thread Andrew Simon
I just installed vpopmail everything seems to be working well. I can receive
mail. However when I try to send mail I get the following message:

Your server has unexpectedly terminated the connection. Possible causes for
'xxx.xxx.com', Server: 'xxx.xxx.com', Protocol: SMTP, Port: 25, Secure(SSL)

I am sure its a simple configuration problem but I can't find it. I have
check my tcpserver setting, made sure that I configured for roaming users,
etc and followed the directions but I still get this.  Any help would be
appreciated.


Andrew




[vchkpw] Error: Domain does not exist

2003-08-01 Thread Gonzo
Hello,

following problem:

orion:/var/vpopmail/bin# ./vadddomain test.de testpass
Error: Domain does not exist
orion:/var/vpopmail/bin# ./vdeldomain test.de
Error: Domain does not exist
orion:/var/vpopmail/bin# ls -lh ../domains/
total 4.0k
drwx--2 vpopmail vchkpw   4.0k Aug  1 22:08 test.de

Anyone knows whats going on?

Gonzo




Re: [vchkpw] S

2003-08-01 Thread Evren Yurtesen
did you check tcp.smtpd ? or do you have it at all?

On Fri, 1 Aug 2003, Andrew Simon wrote:

 I just installed vpopmail everything seems to be working well. I can receive
 mail. However when I try to send mail I get the following message:
 
 Your server has unexpectedly terminated the connection. Possible causes for
 'xxx.xxx.com', Server: 'xxx.xxx.com', Protocol: SMTP, Port: 25, Secure(SSL)
 
 I am sure its a simple configuration problem but I can't find it. I have
 check my tcpserver setting, made sure that I configured for roaming users,
 etc and followed the directions but I still get this.  Any help would be
 appreciated.
 
 
 Andrew
 
 
 




Re: [vchkpw] Error: Domain does not exist

2003-08-01 Thread Evren Yurtesen
Perhaps there is some problem with your qmail directory?
normally vadddomain should add the domain to
/var/qmail/control/virtualdomains
/var/qmail/control/rcpthosts
/var/qmail/users/assign
if it doesnt know the correct path?

On Fri, 1 Aug 2003, Gonzo wrote:

 Hello,
 
 following problem:
 
 orion:/var/vpopmail/bin# ./vadddomain test.de testpass
 Error: Domain does not exist
 orion:/var/vpopmail/bin# ./vdeldomain test.de
 Error: Domain does not exist
 orion:/var/vpopmail/bin# ls -lh ../domains/
 total 4.0k
 drwx--2 vpopmail vchkpw   4.0k Aug  1 22:08 test.de
 
 Anyone knows whats going on?
 
 Gonzo
 
 
 




RE: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Henry Ho
Hi Martin,

How do you get qmail to forward as attachments?  This is a great idea,
by the way!  Thanks for the suggestion!

-Henry

-Original Message-
From: marrandy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 01, 2003 12:37 PM
To: Thomas Lojmann Jorgensen; [EMAIL PROTECTED]
Subject: Re: [vchkpw] I'm tiret of bounce mail that is bounced...!


On Friday 01 August 2003 11:34 am, Thomas Lojmann Jorgensen wrote:

 
 START
 Hi. This is the qmail-send program at mydomain.com
 I tried to deliver a bounce message to this address, but the bounce
bounced!
 
 [EMAIL PROTECTED]:
 208.45.133.107 does not like recipient.
 Remote host said: 550 [EMAIL PROTECTED]: User unknown in local
recipient 
table
 Giving up on 208.45.133.107.
 /END
 
 I'm tiret of this mails, isen't it possible to disabl this function
 or something???


Yes, but better still, join up at  http://www.trustic.com

You can then forward those double bounces as attachments to the address
they 
give you and volia, you add to the anti-spam listing.

Also, set your qmail-smtp run file like this :-

exec /usr/local/bin/tcpserver 0 smtp rblsmtpd \
-b -c -r sbl.spamhaus.org \
-b -c -r relays.ordb.org \
-b -c -r QUERYADDRESS \
qmail-smtpd 21

Replace QUERYADDRESS with your trustic assigned one.

hup qmail and off you go.


 Have a nice weekend :)
 
 
 Kind Regards,
 Thomas


and you Thomas.

Regards...Martin
-- 
The brain is a wonderful organ; it starts working the moment you get up
in the morning, and does not stop until you get to school.









Re: [vchkpw] I'm tiret of bounce mail that is bounced...!

2003-08-01 Thread Ajai Khattri
marrandy wrote:

I don't send them automatically, I'm dubious of automatic reporting and like 
to verify there is nothing unusual that will trip up trustics parser.

I give them the quick once over, then do fwd as attach.  I have my trustic 
address in my address book and as soon as I type the first character, it 
appears, hit enter and send.

This is what I already do right now. In fact, I had been saving spam for 
several months now (I intended to use them to train SpamAss), so I used 
mutt to bounce over 5000 of them to Trustic over the weekend :-)

I expect trustic to get better as more people provide spam mails.

Indeed.

Im waiting for the beta to end because one of my servers is marked as 
untrusted but I cannot claim it as that feature is switched off during 
the beta. (It was untrusted because one of our customer's servers was 
compromised and then used to send 50,000 spams through our mail server 
(which treated their mail server as
a trusted relay!).

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Michael Bowe
- Original Message - 
From: Dave Richardson - Lists [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 5:16 AM
Subject: [vchkpw] Losing messages when I move them?


 I run Courier1.7/Vpopmail5.2.1/Squirrel1.4.11(?)/Qmail (blah blah).
 Recently I've had messages get lost/deleted when I try to move them to
 another folder.  If I use Mozilla, I'd drag-and-drop.  If I use
 Squirrel, I'd mark and move-to-folder.

 Some messages move OK, others get lost.  The lost ones don't go to
 Trash, they just disappear.  No errors, nothing in the logs.

Dont know if this is your answer or not... :

I wrote a guide that shows how to build a server made out of
qmail / vpopmail / courier-imap / squirrelmail etc
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

Judging by the amount of feedback email that I get, and by the number
of time I see this url quoted on mailing lists, it seems that quite a lot of
people have used this guide to build mail servers

Up until recently this guide had some notes in the courier-imap section
that talked about the way that the IMAP_EMPTYTRASH function works.
The notes showed how I had modded the maildirpurgetmp.c file so that it
would delete files based on mtime rather than ctime. (For those of you
who arent sure of what I am talking about here, you can read more info
on this subject in the comments of the courier-imap/etc/imapd file)

The mod I used was to change maildir/maildirpurgetmp.c (at around
line 64) from
 stat_buf.st_ctime  current_time - nage)
to
 stat_buf.st_mtime  current_time - nage)

Now this mod worked as intended without problem up until June 2003,
when I  started receiving emails from people who had built servers according
to my guide, but they were suddenly experiencing mail going missing
after trying to move messages from one folder to another.
Only messages that were more than a few days old seemed to be affected.

After a bit of digging, we found that the problem only happened
with the combination of the mod shown above, and PHP 4.3.x (which
was released around June 2003)
If you run the mod with PHP 4.2.x or earlier, messages would not
go missing on move...

I initially thought it unlikely that a change in PHP version would have
caused this behaviour, but it was certainly repeatable by flipping
the PHP versions on my own mail server between 4.2.x and 4.3.x

I dont know why or how the newer version of PHP would trip
up this mod, but it does seem to be the cause.

Michael.




[vchkpw] vpopmail 5.2.2 bug fixes

2003-08-01 Thread Michael Bowe

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:44 AM
Subject: Re: [vchkpw] troubles with vpopbull: users disappeared


 On Wednesday, July 23, 2003, at 08:26  AM, John Simpson wrote:
  it seems to me that the newer versions of vpopmail should
  automatically add
  this extra : to the end of lines which are missing it, if there was a
  file
  format change from one version to another.

 The current 5.3 series does that, and I'm back-porting some of the
 bugfixes from 5.3 for a 5.2.2 release.  So far, 5.2.2 includes this
 patch, and the missing-backslash fix to mysql.h.  If anyone else knows
 of outstanding problems with 5.2 (that were hopefully fixed in 5.3),
 please let me know.

vpopmail 5.2.2 should include the parse_email function from vpopmail-5.3.5

The updated parse_email function from 5.3.5 fixes the problem that forces
people to configure/compile courier-imap/sqwebmail --without-authdaemon

http://bluedot.net/mail/archive/read.php?f=2i=4707t=4707
http://bluedot.net/mail/archive/read.php?f=2i=4849t=4821
http://sourceforge.net/mailarchive/message.php?msg_id=1821112

Michael.




[vchkpw] QmailAdmin New Look and Feel

2003-08-01 Thread Justin Michael Couto
Hello Everyone,

Due to many requests, I have posted our patched New Look  Feel for
qmailadmin version 1.0.23 source on our website for download.  

Initially I had just the patched files on the site, but I have had an
overwhelming amount of request from people that would like the already
patched version so they wouldn't have to find the 1.0.23 version and
then patch it themselves.

The site has instruction on it.  

I still have the patched files for download as well along with our
squirrelmail them that was also requested by many.

As soon as the project goes to the next version and all of the html is
moved from the sources into a template system, we will upgrade our stuff
to work in the new system.  At that time will fix the multi language
problem with the images.

Thanks all for you support and praise on the new look.  These files can
be downloaded at:

http://www.somnioworld.com/qmailadmin.php

Thank you,

Justin C.



Re: [vchkpw] Losing messages when I move them?

2003-08-01 Thread Tim Hasson
Quoting Dave Richardson - Lists [EMAIL PROTECTED]:

1058557796.M109269P14433V0302I0053812F_8.penguin.example.com,S=143
6:2,S
1058557805.M99846P14433V0302I00538130_11.penguin.example.com,S=202
3:2,RS

[..snip..]

 1059675921.19351.penguin.example.com,S=163777:2,S 
 1059689347.25043.penguin.example.com,S=2461:2,S


Ok, the above says it all (from your last 2 or 3 emails)

You also mentioned you are using Couirer-imap 1.7 which I believe is buggy or 
not backwards compatible!! 
If you look in Courier-imap's changelog, for version 1.7.0 (changes made by Mr 
Sam on 2003-01-14), you will see:
* maildir/maildircreateh.c (maildir_try_create_hostname): Include
microseconds in message filename.

When I migrated one of my servers from a courier-imap 1.6.2 to a courier-imap 
1.7.0, I had the SAME problem that you are currently having. I think the 
problem manifests itself only in older messages with the older style names (I 
could be wrong). Does that problem happen only when you have IMAP_EMPTYTRASH 
enabled?

Anyways, stick with 1.6.1 till Mr Sam, me, or someone else figures out a fix.
Perhaps Mr. Sam could shed more light on the subject. I hope he didn't mind me 
cc'ing him on this, since I wanted to ask him anyhow.

Best Regards,
Tim