block smtp server/user

2001-07-27 Thread alexus

can i block certain smtp server?

and/or

can i block certain user?

thank you





Re: Someone please BAN Spammers

2001-07-27 Thread Jeff Palmer

  Can someone please BAN those annoying spam, and dumb Exchange
  Scanmailprograms ?
 
  This is getting unacceptable! - The list is unusable.

 Certainly not.  Get a better mail client.


Hey Drew,  Just out of sheer wonder..How is a mail client going to
stop the mails from coming in?  Granted a few well placed filters would be
a good start..  but the fact remains the emails still come in.

Wouldn't a statement like use filters  be better than get a better mail
client  Seems to me the mail client is doing the job it was designed to
do.  The person GOT the mails,  and then was able to SEND mail to the list
complaining about the mail he/she got.  Sounds like the MUA did it's job.
A filter is what he/she needs to rid themselves of the spammage.


my .02 cents.  (who ever said a zero has no value?)

Jeff Palmer
[EMAIL PROTECTED]




Re: help setting up virus scanner

2001-07-27 Thread Frank Tegtmeyer

  2001-07-26 11:30:28.819170500 /usr/bin/suidperl: error while loading
  shared libraries: libc.so.6: cannot load shared object file: Cannot
  allocate memory
 
 ldd `which suidperl`

Wrong. He has to raise his softlimit parameter in the qmail-smtpd run
script. The error message is clear about that.

Regards, Frank



Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Robin S. Socha

On Thu, Jul 26, 2001 at 09:54:53PM -0400, Steve Reed wrote:
 I think it would be very considerate of the list members if 
 whoever runs this mailing list would PLEASE wake up and ban the 
 living daylights out of Wilson and his barrage of viruses.  

What for? Wilson isn't the problem. The problem is that we're not in
92 anymore. What I'd like to see is a sublist that drops anything that
isn't ASCII only and also everything that is sent with Windos MUAs.
For the fun of it, I just killed everything that said Outlook
(Express), Eudora, Pegasus and Webmail for the last month. Trust me,
the list suddenly became good.

Dear [EMAIL PROTECTED], could we have a sublist? I'm sure a lot of
people would host it. I would. Prettyplease?



modify/hide HELO ip from client?

2001-07-27 Thread Phil. C.

Hi,

I'd like to modify the received: header to hide the client IP.  From
the list archive I've found out how to do the following:

207.194.aaa.aaa:allow,RELAYCLIENT=,TCPREMOTEHOST=myqmail-host.com,
TCPREMOTEIP=64.157.bbb.bbb

which works great, but, I can't seem to change the 'HELO
207.194.aaa.aaa' part of the received: header.  Nor can I modify the
client (thebat) to use a false HELO IP.  So the header looks like this:

Received: from myqmail-host.com (HELO 207.194.aaa.aaa)
(64.157.bbb.bbb) by 0 with SMTP;

where 207.194.aaa.aaa is my real client IP.  I want the email to look
like it's coming from my qmail server IP and not my workstation IP.
Is there any way to modify the HELO part of the header?  Something like
HELO=64.157.bbb.bbb would be ideal, but...

Thanks,
Phil.





Qmail API pointer.

2001-07-27 Thread MANOJ KUMAR RANA

Hi all,

I am looking for some pointer to Qmail API and related documentation. 

Any help will be highly appriciated.

thanks and regards,
Manoj Kumar Rana.




Re: unable to opendir mess

2001-07-27 Thread alexus



that's because you manually delete some of messages 
that were in queue..

don't worry 'bout it.. it'll go away within next 
few days...


  - Original Message - 
  From: 
  vincent 
  To: [EMAIL PROTECTED] 
  Sent: Friday, July 27, 2001 12:56 
AM
  Subject: unable to opendir mess
  
  Hi
  my qmail have been running well for a long 
time,
  but recently,when i check the maillog,error 
  occurs:
  Jul 27 12:21:57 webserver qmail: 996265317.412854 alert: 
  unable to opendir mess/5, sleeping...Jul 27 12:22:07 webserver qmail: 
  996265327.422859 alert: unable to opendir mess/5, sleeping...
  the qmail can not deliver mail out,all mails are in 
  /var/qmail/queue/mess.what's wrong with 
that?


Re: qmail mailing list -- Suggestions

2001-07-27 Thread Will Yardley

On Thu, Jul 26, 2001 at 08:53:15PM -0400, Jeff Palmer wrote:
 Maybe we should make this list moderated?  I for one would volunteer to
 help moderate the list.
 
 Second idea   Maybe the list maintainer should implement qmail-scanner  or
 some other virus scanner in the list,   so that infected mails couldn't
 get into the list,  eliminating a million VIRUS FOUND! replies back to
 the list.

Well simply restricting posting to list members and disallowing attachments
would solve both problems.  I haven't used EZMLM, but this is _very_ easy to
do with mailman and most other list management software I've seen.

from what i've heard this should be trival to implement on ezmlm as well.
does this list have an administrator at all?

w



Re: modify/hide HELO ip from client?

2001-07-27 Thread Phil. C.


Sorry to cause unnecessary list traffic, but I just discovered how to
do what I was asking below.  Thanks again to the qmail list archive
(FYI http://www-archive.ornl.gov:8000/ ).  All I did was edit the
receive.c file and changed:

  if (helo) {
qmail_puts(qqt, (HELO );
safeput(qqt,helo);
qmail_puts(qqt,));
  }

to:

   if (helo) {
 qmail_puts(qqt, (HELO myqmail-host.com));
   }

and recompiled.  This was described in the following email:
http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/05/msg00231.html

Thanks,
Phil.


Thursday, July 26, 2001, 10:54:45 PM, you wrote:

 Hi,

 I'd like to modify the received: header to hide the client IP.  From
 the list archive I've found out how to do the following:

 207.194.aaa.aaa:allow,RELAYCLIENT=,TCPREMOTEHOST=myqmail-host.com,
 TCPREMOTEIP=64.157.bbb.bbb

 which works great, but, I can't seem to change the 'HELO
 207.194.aaa.aaa' part of the received: header.  Nor can I modify the
 client (thebat) to use a false HELO IP.  So the header looks like this:

 Received: from myqmail-host.com (HELO 207.194.aaa.aaa)
 (64.157.bbb.bbb) by 0 with SMTP;

 where 207.194.aaa.aaa is my real client IP.  I want the email to look
 like it's coming from my qmail server IP and not my workstation IP.
 Is there any way to modify the HELO part of the header?  Something like
 HELO=64.157.bbb.bbb would be ideal, but...

 Thanks,
 Phil.





Still... any idea on how to filter outgoing mail?

2001-07-27 Thread eth0


Hi everyone!

I've installed qmail which is a relay for the internal network; now I need a 
way to filter all outgoing messages 
based on the sender's IP. Ideally I should be able to divert all messages sent from 
one ws to a given mail account no 
matter what de original destination was; the ability to make a BCC to a certain mail 
account of all messages sent form 
that ws will do too... 

Anybody with a hint? Can it be done with Qmail or am I hunting a ghost? Thanks 
in advance for your help.


ETH 





New ways for email DoS

2001-07-27 Thread Stathakopoulos Giorgos


Hello,

Yesterday, I came up to a strange situation:
I was receiving thousands of bounces to 
a lot of different usernames@mydomain.
Since mydomain is in my rcpthosts/locals file, I was accepting these
messages. But a lot of different usernames didn't exist so these
messages were going to postmaster.
My mailserver had a lot of traffic, its logfiles were very large and the
mailbox of postmaster become unreadable.

Is there any way to prevent my mail servers from these types of attack?

Thanks for your time,
George Stathakopoulos




Re: Someone please BAN Spammers

2001-07-27 Thread Lars Hansson

On Thu, Jul 26, 2001 at 07:47:49PM +0200, Philipp Lopaur wrote:
 This is getting unacceptable! - The list is unusable.

Oh come on, it's annoying but not to the point of making the list unusable.

-- 
Lars Hansson  Technical Consultant/System Administrator
UNET, Inc.Makati City, Philippines
e-mail: [EMAIL PROTECTED]




Re: Someone please BAN Spammers

2001-07-27 Thread Jon Booth

Yeah filters etc are all good but the traffic is till hitting your server.


On Fri, 27 Jul 2001, Jeff Palmer wrote:

   Can someone please BAN those annoying spam, and dumb Exchange
   Scanmailprograms ?
  
   This is getting unacceptable! - The list is unusable.
 
  Certainly not.  Get a better mail client.
 
 
 Hey Drew,  Just out of sheer wonder..How is a mail client going to
 stop the mails from coming in?  Granted a few well placed filters would be
 a good start..  but the fact remains the emails still come in.
 
 Wouldn't a statement like use filters  be better than get a better mail
 client  Seems to me the mail client is doing the job it was designed to
 do.  The person GOT the mails,  and then was able to SEND mail to the list
 complaining about the mail he/she got.  Sounds like the MUA did it's job.
 A filter is what he/she needs to rid themselves of the spammage.
 
 
 my .02 cents.  (who ever said a zero has no value?)
 
 Jeff Palmer
 [EMAIL PROTECTED]
 




Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Jon Booth

Wilson most definitely is the problem
How can it be still sending virii for over 24 hours?

Wilson is a goon

On Fri, 27 Jul 2001, Robin S. Socha wrote:

 On Thu, Jul 26, 2001 at 09:54:53PM -0400, Steve Reed wrote:
  I think it would be very considerate of the list members if 
  whoever runs this mailing list would PLEASE wake up and ban the 
  living daylights out of Wilson and his barrage of viruses.  
 
 What for? Wilson isn't the problem. The problem is that we're not in
 92 anymore. What I'd like to see is a sublist that drops anything that
 isn't ASCII only and also everything that is sent with Windos MUAs.
 For the fun of it, I just killed everything that said Outlook
 (Express), Eudora, Pegasus and Webmail for the last month. Trust me,
 the list suddenly became good.
 
 Dear [EMAIL PROTECTED], could we have a sublist? I'm sure a lot of
 people would host it. I would. Prettyplease?
 




Re: block smtp server/user

2001-07-27 Thread Magnus Bodin

On Fri, Jul 27, 2001 at 01:24:51AM -0400, alexus wrote:

 can i block certain smtp server?
 
 and/or
 
 can i block certain user?

It certainly helps if you read the documentation. 
Then I think you could do it too. 

Start at http://www.qmail.org/

/magnus



move vpopmail user account to a new qmail server

2001-07-27 Thread vincent



hi,all
i have a problem
cd /home/vpopmail/
tar czf domains.tgz domains
then,i copy domains.tgz to new qmail server
and
cd /home/vpopmail
tar zxvf domains.tgz

after i do all above
i use outlook express to pop mail from new qmail server,it 
always ask password autherization,i think i input the right password,what's the 
reason,can someone point me in the right direction?



Re: stunnel

2001-07-27 Thread Andrea Cerrito

This is my run script.

exec /usr/bin/env - PATH=/var/qmail/bin:$PATH \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l hostname ip port \
/usr/local/stunnel/sbin/stunnel -p /var/qmail/control/spop3.pem -N spop3 \
-f -l /var/qmail/bin/qmail-popup /var/qmail/bin/qmail-popup hostname \
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21

-p pemfile
-N wrapper name (spop3 = secure pop3)
-f don't fork
-l command to run

Working perfectly. The only problem I encountered was solved by using a
double qmail-popup after -l switch ('-l /var/qmail/bin/qmail-popup
/var/qmail/bin/qmail-popup').
Don't remember why, but I think stunnel can't work with either pop3 or smtp
as a redirector.

Hope it helps.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372




Re: Someone please BAN Spammers

2001-07-27 Thread John P

From: Lars Hansson [EMAIL PROTECTED]
 Oh come on, it's annoying but not to the point of making the list
unusable.

Well, there were over 20 e-mails from 'Wilson' yesterday - approx 200k each.
4mb in one day is not much if you are on a fast net connection, but if you
are on dialup access it represents a little too much for one mailing list
(especially if you can't unsubscribe in time!). Plus all the pointless
e-mails from misconfigured servers, and the fact that lots of people may
have unsubscribed because of it, it just ruins the list for everyone.

Regards,
John







slow SMTP...cjk

2001-07-27 Thread Constantine Koulis

Hello
I have a qmail,courier-imap,vmailmgr email server and works fine.My small 
problem is that when i send an email it takes around 20 second for the SMTP 
to send the email.Anybody knows why?I install the qmail from the LWQ 
document and so i install the smtp program that it is mentioned over 
there...
Sincerely

Tks  Best Regards
Koulis Constantine.
Bucharest Romania
Business Phone :+4-093979131


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




Converted

2001-07-27 Thread Jon Reynolds

Hello list, my name is Jon and I am a new convert to qmail and just wanted
to introduce myself. I hope to get up to speed and be able to contribute to
this list soon.

Jon Reynolds




Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Robin S. Socha

On Fri, Jul 27, 2001 at 05:58:02PM +1000, Jon Booth wrote:
 On Fri, 27 Jul 2001, Robin S. Socha wrote:
  On Thu, Jul 26, 2001 at 09:54:53PM -0400, Steve Reed wrote:

   I think it would be very considerate of the list members if
   whoever runs this mailing list would PLEASE wake up and ban the
   living daylights out of Wilson and his barrage of viruses.  
  
  What for? Wilson isn't the problem. The problem is that we're not
  in 92 anymore. What I'd like to see is a sublist that drops
  anything that isn't ASCII only and also everything that is sent
  with Windos MUAs.

 Wilson most definitely is the problem

Wilson isn't the problem. Windows is. Outlook is. 

 How can it be still sending virii for over 24 hours?

Because the list owner seems not to take responsibility for losers.
While that in itself is an honourable approach, it causes grief and
anguish for the people not using Windows on this list.

 Wilson is a goon

Wilson is a Windows user. That is the problem. Unless you can prove
beyond reasonable doubt how one could re-create the software using
$UNIX. And can we now please let this thread die?



VIRUS FOUND: FLUXO_ENDIVIDAMENTO

2001-07-27 Thread Nicolas DEFFAYET \(NDSoftware\)

Panda Antivirus has found the following viruses in the message:
Sent by:Wilson
Address:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:FLUXO_ENDIVIDAMENTO
Date:   27/07/2001  00:41:46

VIRUS DETECTED ON THIS MESSAGE !!!


File: FLUXO_EN.lnk
Virus: W32/Sircam   Renamed

http://www.pandasoftware.com


 winmail.dat


VIRUS FOUND: CD242

2001-07-27 Thread Nicolas DEFFAYET \(NDSoftware\)

Panda Antivirus has found the following viruses in the message:
Sent by:Wilson
Address:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:CD242
Date:   27/07/2001  02:30:17

VIRUS DETECTED ON THIS MESSAGE !!!


File: ATT00039.dat
Virus: W32/Sircam   Renamed

http://www.pandasoftware.com


 winmail.dat


VIRUS FOUND: Fluxo_SRamos_Julho

2001-07-27 Thread Nicolas DEFFAYET \(NDSoftware\)

Panda Antivirus has found the following viruses in the message:
Sent by:Wilson
Address:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:Fluxo_SRamos_Julho
Date:   27/07/2001  00:15:32

VIRUS DETECTED ON THIS MESSAGE !!!


File: ATT00013.dat
Virus: W32/Sircam   Renamed

http://www.pandasoftware.com


 winmail.dat


Re: pop3d

2001-07-27 Thread Chris Johnson

On Fri, Jul 27, 2001 at 02:18:34PM +1000, Vivian Doherty wrote:
 exec tcpserver -v -R -H -l -c $concurrency \
  ^^
-l needs an argument. See http://cr.yp.to/ucspi-tcp/tcpserver.html.

Chris

 PGP signature


Re: slow SMTP...cjk

2001-07-27 Thread Martin Kong

Continue reading the LWQ (hint: section G.10)

Constantine Koulis wrote:
 
 Hello
 I have a qmail,courier-imap,vmailmgr email server and works fine.My small
 problem is that when i send an email it takes around 20 second for the SMTP
 to send the email.Anybody knows why?I install the qmail from the LWQ
 document and so i install the smtp program that it is mentioned over
 there...
 Sincerely
 
 Tks  Best Regards
 Koulis Constantine.
 Bucharest Romania
 Business Phone :+4-093979131
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



Re: slow SMTP...cjk

2001-07-27 Thread Chris Johnson

On Fri, Jul 27, 2001 at 11:58:26AM +0300, Constantine Koulis wrote:
 I have a qmail,courier-imap,vmailmgr email server and works fine.My small 
 problem is that when i send an email it takes around 20 second for the SMTP 
 to send the email.Anybody knows why?I install the qmail from the LWQ 
 document and so i install the smtp program that it is mentioned over 
 there...

Check the mailing list archives. This is by far the most frequently asked
question on this list, and it's been answered many, many times.

Chris

 PGP signature


Regarding Qmail-scanner

2001-07-27 Thread s.sunil


Dear Friend
First let me introduce my self i am sunil from india and 
i am working as a trainee linux server administrator 
I am working on suse 7.1 
I installed qmail-1.3 with vpopmail and sqwebmail sucessfullyt
their are not 200 virtual domains on the mail server
i also installed the qmail-scanner(0.96) it instlled the 
sucessfully 
but it works only with my domains meance which are hosted
on my server if i send one mail with virus throgh sqwebmail
to one of my domain it is working qmail-scanner give it report 
perfectly but if somebody send mail from yahoo.com or any
other it will unable to scan it will allow the virus
So where is the problem can you help to solve this or can 
you give some urls from there i can get solution for this problem
thanku very much

Warm Regards,
Sunil Sharma
Drushti Info-Networks Private Limited
214 Surya Plaza, LBS Road
Navi Peth
Pune - 411030.
Phone : 9120 4007546
Email : [EMAIL PROTECTED]
http://www.dinpl.com



slow SMTP...cjk

2001-07-27 Thread Constantine Koulis

Hello
My stmp is slow when i send email.it takes around 20 sec to procced.I read 
the LWQ g.10 section but nothing i could do.I am sending the 
/qmail-smtpd/run file if somebody could correct it...
Sincerely


#!/bin/sh
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 smtp /var/qmail/bin/qmail-smtpd 21
Tks  Best Regards
Koulis Constantine.
Bucharest Romania
Business Phone :+4-093979131


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




RELAYCLIENT

2001-07-27 Thread Michele Schiavo

Who i can set up qmail to accept e-mail from a secific client?
I have RedHat 7.0 and qmail.
I try to use the file /etc/hosts.allow for insert the list of my client who 
can send e-mail but it don't work.
I try to change the /etc/xinet.d/smtp in line server and server argument to 
change tcp-env in tcpd and meke the file /etc/tcp.xxx. 

Have you any solution? 

michele Schiavo



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Uwe Ohse

On Fri, Jul 27, 2001 at 05:17:02AM -0500, Robin S. Socha wrote:
 
 Wilson isn't the problem. Windows is. Outlook is. 

I wish to add 
* virii scanners
  they produced three times to number of emails than wilson did.
* lusers
  talking about nuisances, rather than ignoring and killfiling
  them.

Kind regards, Uwe



Re: Selective relaying problem

2001-07-27 Thread Michele Schiavo

Help me i use Xinetd and I'm not to be able to set RELAY client. 

 Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:
 
 I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
 selective relaying to work. I *have* read FAQ 5.4 and scoured the
 web archives for people with similar problems but I still can't get
 a resolution.
 
 How are you starting qmail-smtpd? (ie the tcpserver line). 
 
 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...
 -- 
 There is no reason anyone in the right state of mind will want a
 computer in their home. 
 
 - Ken Olson, President of Digital Equipment Corp, 1977
 



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Sean Chittenden

Robin, despite your flamy attitude and huge levels of
intolerance, for the first time in recorded history, I think you have a
valid point and I think I actually agree with you.  Wilson's no more at 
fault than a poor hotmail user that gets nailed with a cross site 
scripting virus: what's the user to do?

At the same time, the user should be faulted for using crappy
software when better alternatives are out there (though not quite as
feature complete, but let's not start that here). -sc

   What for? Wilson isn't the problem. The problem is that we're not
   in 92 anymore. What I'd like to see is a sublist that drops
   anything that isn't ASCII only and also everything that is sent
   with Windos MUAs.
 
  Wilson most definitely is the problem
 
 Wilson isn't the problem. Windows is. Outlook is. 
 
  How can it be still sending virii for over 24 hours?
 
 Because the list owner seems not to take responsibility for losers.
 While that in itself is an honourable approach, it causes grief and
 anguish for the people not using Windows on this list.
 
  Wilson is a goon
 
 Wilson is a Windows user. That is the problem. Unless you can prove
 beyond reasonable doubt how one could re-create the software using
 $UNIX. And can we now please let this thread die?

-- 
Sean Chittenden



ezmlm

2001-07-27 Thread Mike Maxwell

i am having problems getting ezmlm to deliver messages. it installs
fine, sets up the list okay, and then return the error 'no mailbox
found'. the alises seems to be fine, we have  alot of other aliases and
they all deliver to where they are supposed to. i am trying to set it up
on our primary domain, so that should not be the problem. any
thoughts???

--
Mike Maxwell
System Manager--Green Mountain Access
[EMAIL PROTECTED]
802.496.8542





Backslash in message body infront of ' and

2001-07-27 Thread Saeed Sarvi

Greets all,

I moved my queue directory since /var didn't have enough room. I
created a symlink to the new directory and download queue-fix and ran
it and it said queue-fix finished I have ran into a problem
though, when I send email Hi, How're you? to my own account on
another server, it will show the message as Hi, How\'re you?. This
did not happen before I moved the queue directory. So far I have
noticed it doing that for ' and . Anyone know how this can be fixed?
Thank you in advance.




Re: New ways for email DoS

2001-07-27 Thread Dave Sill

Stathakopoulos Giorgos [EMAIL PROTECTED] wrote:

Yesterday, I came up to a strange situation:
I was receiving thousands of bounces to 
a lot of different usernames@mydomain.
Since mydomain is in my rcpthosts/locals file, I was accepting these
messages. But a lot of different usernames didn't exist so these
messages were going to postmaster.
My mailserver had a lot of traffic, its logfiles were very large and the
mailbox of postmaster become unreadable.

Is there any way to prevent my mail servers from these types of attack?

No.

-Dave



Re: RELAYCLIENT

2001-07-27 Thread Clemens Hermann

Am 27.07.2001 um 14:35:17 schrieb Michele Schiavo:

Hi Michele,

 Who i can set up qmail to accept e-mail from a secific client?

depends on how you have setup qmail.

 I have RedHat 7.0 and qmail.
 I try to use the file /etc/hosts.allow for insert the list of my client

you can specify a group of hosts in /etc/hosts.allow and do not have to
list each single machine.
 
 can send e-mail but it don't work.

/etc/hosts.allow has nothing to do with qmail relaying. It's probably a
good idea not to list any host without knowing why.

 I try to change the /etc/xinet.d/smtp 

it is not recommended to use inet.d with qmail. You should use tcpserver
instead.

 in line server and server argument to 
 change tcp-env in tcpd and meke the file /etc/tcp.xxx. 

this is not for inet.d but for tcpserver. If you switch to tcpserver you
should:

a) create an /etc/tcp.smtp (or similar) and
b) build the /etc/tcp.smtp.cdb from this file

detailled information can be found on
www.palomine.net/qmail/selectiverelay.html

Good luck

/ch

-- 
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.



Re: RELAYCLIENT

2001-07-27 Thread Magnus Bodin

On Fri, Jul 27, 2001 at 02:35:17PM +, Michele Schiavo wrote:

 Who i can set up qmail to accept e-mail from a secific client?
 I have RedHat 7.0 and qmail.
 I try to use the file /etc/hosts.allow for insert the list of my client who 
 can send e-mail but it don't work.
 I try to change the /etc/xinet.d/smtp in line server and server argument to 
 change tcp-env in tcpd and meke the file /etc/tcp.xxx. 
 
 Have you any solution? 

Yes. Don't use the hosts.allow/xinet-stuff for that. 

Read

http://www.lifewithqmail.org/

and use daemontools like everybody else.

/magnus

ps. have a nice weekend. Let's hope we get a little fewer virus-alerts next
weeks. It's even more annoying than the seasonly vacation-mailer-bounces to
From: instead of Return-path:.




Re: Selective relaying problem

2001-07-27 Thread Adrian Ho

On Fri, Jul 27, 2001 at 02:54:49PM +, Michele Schiavo wrote:
 Help me i use Xinetd and I'm not to be able to set RELAY client. 

I don't use xinetd myself, but man xinetd.conf says you're wrong.
(Hint: Search for the env attribute.)

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



Re: RELAYCLIENT

2001-07-27 Thread Jason Kawaja

http://www.lifewithqmail.org/
http://www.qmail.org/
http://cr.yp.to/qmail.html

take off the bib.

On Fri, 27 Jul 2001, Michele Schiavo wrote:

 Who i can set up qmail to accept e-mail from a secific client?

/* Regards,
   Jason Kawaja, UF-ECE Sys Admin */






Re: dns for qmail only??

2001-07-27 Thread Jeff_D_Sweeten

You avoid a second machine for internal/external DNS bu using BIND 9.1.x which
supports multiply view.

Jeff Sweeten
Sr. Internet Engineer
Aon
200 E Randolph
Chicago, Il 60601





Kourosh Ghassemieh [EMAIL PROTECTED] on 07/26/2001 02:21:43 PM

To:   Gary MacKay [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:(bcc: Jeff D Sweeten/ASC/US/AON)

Subject:  Re: dns for qmail only??




You need to run a separate DNS server for internal queries, that's how I
have my DNS set up.  We use a separate DNS server for the internal
addresses and we don't have any problems.  qmail ignores /etc/hosts,
it needs a DNS server.

At 12:22 PM 7/26/2001 -0400, you wrote:
bind-9.1.0-10

Ricardo SIGNES wrote:
 
  In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay
 wrote:
   I moved qmail off of a 'do it all' box to it's own box. It's running
   great. My problem is that the old machine is still the DNS for my
   domain. When it sends status messages to me, it, I'm guessing, checks
   DNS and gets the public IP of the new box, can't connect to it from
   behind the firewall (both boxes are 192. ), so it sends it to the
   secondary MX record, which is my old ISP. I then get it via getmail cron
   job, but I'd like for it to deliver internally. I've changed the
   /etc/hosts to point to the 192. address, but qmail must not look at
   that. How can I have DNS giving out the public IP for the world, yet
   tell qmail the 192. addr??
 
  What DNS server are you running?
 
  --
  rjbs
 

 Part 1.2Type: application/pgp-signature

-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business









Re: dns for qmail only??

2001-07-27 Thread Gary S MacKay

Thanks Jeff. I'll check into it. For now I was able to solve the problem,
with help from another user, by putting the ip addr of the new qmail server
in the /var/qmail/control/smtproutes file. Now the old machine just dumps
all mail to the new machine and lets it sort it out. Works great!

- Gary

 You avoid a second machine for internal/external DNS bu using BIND
 9.1.x which supports multiply view.

 Jeff Sweeten
 Sr. Internet Engineer
 Aon
 200 E Randolph
 Chicago, Il 60601





 Kourosh Ghassemieh [EMAIL PROTECTED] on 07/26/2001 02:21:43 PM

 To:   Gary MacKay [EMAIL PROTECTED], [EMAIL PROTECTED]
 cc:(bcc: Jeff D Sweeten/ASC/US/AON)

 Subject:  Re: dns for qmail only??




 You need to run a separate DNS server for internal queries, that's how
 I have my DNS set up.  We use a separate DNS server for the internal
 addresses and we don't have any problems.  qmail ignores /etc/hosts, it
 needs a DNS server.

 At 12:22 PM 7/26/2001 -0400, you wrote:
bind-9.1.0-10

Ricardo SIGNES wrote:
 
  In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary
  MacKay
 wrote:
   I moved qmail off of a 'do it all' box to it's own box. It's
   running great. My problem is that the old machine is still the DNS
   for my domain. When it sends status messages to me, it, I'm
   guessing, checks DNS and gets the public IP of the new box, can't
   connect to it from behind the firewall (both boxes are 192. ), so
   it sends it to the secondary MX record, which is my old ISP. I
   then get it via getmail cron job, but I'd like for it to deliver
   internally. I've changed the /etc/hosts to point to the 192.
   address, but qmail must not look at that. How can I have DNS
   giving out the public IP for the world, yet tell qmail the 192.
   addr??
 
  What DNS server are you running?
 
  --
  rjbs
 
-
---
 Part 1.2Type: application/pgp-signature

 -
 
 Kourosh Ghassemieh
 MindWare Information Systems  Technologies
 9255 Sunset Blvd, Penthouse
 West Hollywood CA 90069
 (310) 729-1784
 [EMAIL PROTECTED]

 Networking Solutions for Your Business






R: Selective relaying problem

2001-07-27 Thread Andrea Cerrito

Is there any particular reason to start qmail from xinetd? You will be able
to solve your problem with tcpserver in few minutes.

What kind of selective relaying are you searching for? Static or dynamic?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372

 -Messaggio originale-
 Da: Michele Schiavo [mailto:[EMAIL PROTECTED]]
 Inviato: venerdì 27 luglio 2001 16.55
 A: Brett Randall
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Oggetto: Re: Selective relaying problem


 Help me i use Xinetd and I'm not to be able to set RELAY client.

  Scott == Scott Zielsdorf [EMAIL PROTECTED] writes:
 
  I have just installed qmail 1.03 on a Redhat 7x box.  I cannot get
  selective relaying to work. I *have* read FAQ 5.4 and scoured the
  web archives for people with similar problems but I still can't get
  a resolution.
 
  How are you starting qmail-smtpd? (ie the tcpserver line).
 
  And what instructions did you follow to setup qmail?
  (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
  or the INSTALL doc? If you followed the INSTALL doc, try re-installing
  qmail by following the lifewithqmail doc. In any case, answer the
  first question and we'll see what we can do...
  --
  There is no reason anyone in the right state of mind will want a
  computer in their home.
 
  - Ken Olson, President of Digital Equipment Corp, 1977






Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Dave 'Duke of URL' Weiner

 On Thu, Jul 26, 2001 at 09:54:53PM -0400, Steve Reed wrote:
  I think it would be very considerate of the list members if
  whoever runs this mailing list would PLEASE wake up and ban the
  living daylights out of Wilson and his barrage of viruses.

 What for? Wilson isn't the problem. The problem is that we're not in
 92 anymore. What I'd like to see is a sublist that drops anything that
 isn't ASCII only and also everything that is sent with Windos MUAs.
 For the fun of it, I just killed everything that said Outlook
 (Express), Eudora, Pegasus and Webmail for the last month. Trust me,
 the list suddenly became good.

So Robin, despite the fact that I just finished building a qmail cluster
using 3 Sun 220R's load balanced behind a pair of F5 Networks Big/IP's,
qmail 1.03, vpopmail, courier-imap, sqwebmail, mysql and apache handling
1,000,000 users across 5,400 domains, I should be banned from your sublist
because I choose to use Outlook Express???

Yes, lots of clueless people use Windows and Windows MUA's.  But some of use
also use Windows and Windows MUA's, and *DO* have a clue.  Be carefull about
making sweeping statements.  And before you blast me for using Windows
instead of, say Linux, there are a number of applications that I need to use
on a daily basis to run my business effectively and effeciently, that still
don't have the features I need on Linux.  And yes, I've tried Star Office -
and I'm still having problems installing it on a Mandrake 7.2 box.  I just
upgraded to Mandrake 8, but I haven't tried it there yet.  Trust me - the
day I can get all the features I feel I need without using any MS apps, I'm
there.  But I'm not going to dump MS just to spite MS without having what
*I* consider suitable replacements - not you, or the rest of the rabid
Anti-MS bridgade.


Dave Weiner
CTO, WebMasters, Inc.
800-472-9203
http://www.webmast.com






why the auth is not to work?

2001-07-27 Thread tengteng

hello all:

I use qmail+vpopmail+mysql as my mail server,I have patched qmail-1.03 with 
Eric M. Johnston's patch qmail-auth-20010105.but it doesn't work.it always tell me 
auth failed!
why??I am very thank you for any advice.
/usr/local/bin/tcpserver -c 255 -t 300 -x /etc/tcp.smtp.cdb \
-u 502 -g 501 0 25 /var/qmail/bin/qmail-smtpd \
mail.home.com /home/vpopmail/bin/vchkpw /usr/sbin/true 

/usr/local/bin/tcpserver -c 255 -t 300 0 110 \
/var/qmail/bin/qmail-popup mail.home.com /home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 

BTW:Pop work fine,and if there is not three paramter after qmail-smtpd,the smtp will 
work fine as well.
thanks


best regard
tengteng
[EMAIL PROTECTED]




Re: What replaces /bin/mail?

2001-07-27 Thread KEVIN ZEMBOWER

Thank you, Lukas, for replying. Sorry it's taken me so long to follow up; too
many fires at work.

You're right, deleting /bin/mail is not mentioned in Life with Qmail. Unfortunately,
step 14 in the INSTALL file that comes with qmail-1.03 says, Read REMOVE.binmail. 
and, as expected, REMOVE.binmail tells you remove the permissions and make
sure that 'mail' invokes a useable mailer. This is the step I was having trouble with.

I just went back and re-enabled the permissions on my original /bin/mail program.
I invoked it with mail -v [EMAIL PROTECTED] which usually lets me compose
a message, then watches as it contacts the MTA and sends it. Composing worked
normally, but nothing happened after I typed . and it said EOT. HOWEVER, I 
just checked my mailbox and the message came through. so I guess everything is
working correctly.

Philosophical question: Why is there a difference between the Life with Qmail 
installation
directions and the directions in the INSTALL file? Which should be followed, or is it
obvious, since the Life with Qmail directions worked?

Thanks, again, Lukas, for your help.

-Kevin Zembower

-
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139

 Lukas Beeler [EMAIL PROTECTED] 07/19/01 03:37PM 
At 14:17 19.07.2001 -0400, you wrote:
In trying to complete my first qmail install, I followed the directions in 
REMOVE.binmail. but I'm not sure how to complete step 3: If the binmail 
binary was /bin/mail, make sure that ``mail'' still invokes a usable mailer.

iam not sure what do you want to do.. i followed life with qmail [ 
http://www.lifewithqmail.org ] and it worked fine.. i still have the same 
/bin/mail installed, as it was under sendmail.. an everything works fine

What mail mailer is used with qmail? Do I have to download something, or 
do I just soft link something I already have to /bin/mail?

probably a softlink to qmail-inject ?

Thanks for your help. Hope to join the ranks of successful qmailers soon.

-Kevin Zembower

-
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /





qmail and Redhat 7.1

2001-07-27 Thread Alex Leyva

Hi, im triying to install qmail 1.03 on a Redhat 7.1, when i compile
daemontools i get the following errors:

./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a
cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

I've tried this with 3 different boxes.
I've checked tai64nlocal.c and i cant find anything wrong.
Thanks.




Uh-oh: .qmail file is blank #4.2.1

2001-07-27 Thread Freedom



Hello,

___standard disclaimer___
First let me sayI have read all the posts to 
this list regarding this error...however, they don't seem to answer my 
question. I am sure it is a simple solution...but after pulling my hair 
out for many days, I am still unable to find any answers or make any 
progress. So, any and all help would be appreciated on regarding the 
following problem:
___/standard disclaimer___

I am new to Qmail so I followed the well written 
directions in life with Qmail. However, as I am trying totest the 
install and configuration (latter part of section 2), I get the errors listed 
below. In several of the posts to this mailing list, people have indicated 
that this error is dealing withdefault delivery. I don't have a 
.qmail file (which I understand would be in the users home directory), but I do 
have a defaultdelivery file (the first line is not blank either). Another 
post indicated the rc script could be the issue...but I used the rc script "life 
with qmail"suggested.

Any and all help would be 
appreciated!!!
Thanks in advance,
Kameron

BTW, this is installed on a Redhat 
machine.

__EXCERPT FROM QMAIL 
LOG__
@40003b617b681e75b4e4 status: local 1/10 remote 
0/20@40003b617b681f3cc5d4 delivery 125: deferral: 
Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/


qmail and Redhat 7.1 SOLVED

2001-07-27 Thread Alex Leyva

In Life with qmail i read:
Note: Under some versions of Linux, such as Red Hat 7, you'll probably
receive an error during the make step like:

./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer
without a cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
etc...

To fix this, edit tai64nlocal.c and change the second line from:

#include sys/time.h

to:

#include time.h




Thanks anyway =)




Re: New ways for email DoS

2001-07-27 Thread Chin Fang

Hello George,

As far as I know, there is no really clean way.  However, the following
(implemented in our autoresponder utility for answering user inquiries
 and our newsgroup gateway) approach may work for you:

have a on disk hash table that records the 'user' part of 'user@domain'
and time.  Now, for each delivery, a check is performed to ensure that
'user@domain' doesn't have more than x number of messages in y seconds.
If the limit is exceeded, the sender gets a bounce with warning.

So, basically this is a throttle.  It should give some relief
to your situation.

Regards,

Chin Fang
[EMAIL PROTECTED]


 Hello,
 
 Yesterday, I came up to a strange situation:
 I was receiving thousands of bounces to 
 a lot of different usernames@mydomain.
 Since mydomain is in my rcpthosts/locals file, I was accepting these
 messages. But a lot of different usernames didn't exist so these
 messages were going to postmaster.
 My mailserver had a lot of traffic, its logfiles were very large and the
 mailbox of postmaster become unreadable.
 
 Is there any way to prevent my mail servers from these types of attack?
 
 Thanks for your time,
 George Stathakopoulos
 
 




Re: Sublist

2001-07-27 Thread Robin S. Socha

On Fri, Jul 27, 2001 at 10:31:15AM -0400, Dave 'Duke of URL' Weiner wrote:

 And before you blast me for using Windows instead of, say Linux,
 there are a number of applications that I need to use on a daily
 basis to run my business effectively and effeciently, that still
 don't have the features I need on Linux.

We were talking of MUAs (on a mailing list for an MTA, which
sucks...). mutt and Gnus work under Windows. And just in case you're
wondering why Outlook Express is not the answer but the question (the
answer to which is, of course, hell, no!), here's a box of clues for
you:
http://my.gnus.org/modules.php?op=modloadname=FAQfile=indexmyfaq=yesid_cat=3categories=Why+Gnus%3F#1

Can we bury this thread *now*?



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Jason Kawaja

On Fri, 27 Jul 2001, Dave 'Duke of URL' Weiner wrote:

 I should be banned from your sublist because I choose to use Outlook
 Express???

from a sublist, perhaps.

that would be to follow moderated news group principles, sort of...rules
should be setup for attachments (type/size) and content formatting
(html/etc).

Anti-MS bridgade

may the force be with us...and you.

btw., i'm a vb/win32 programmer convert...its worth leaving, undeniably.

/* Regards,
   Jason Kawaja, UF-ECE Sys Admin */




Re: qmail and Redhat 7.1

2001-07-27 Thread Drew Raines

* Alex Leyva [EMAIL PROTECTED]:

 Hi, im triying to install qmail 1.03 on a Redhat 7.1, when i compile
 daemontools i get the following errors:

[snip]

 I've tried this with 3 different boxes.
 I've checked tai64nlocal.c and i cant find anything wrong.

I can.  You didn't look in the list archives.

-- 
Drew



Re: qmail and Redhat 7.1

2001-07-27 Thread Greg White

On Fri, Jul 27, 2001 at 09:10:47AM -0600, Alex Leyva wrote:
 Hi, im triying to install qmail 1.03 on a Redhat 7.1, when i compile
 daemontools i get the following errors:
 
 ./compile tai64nlocal.c
 tai64nlocal.c: In function `main':
 tai64nlocal.c:54: warning: assignment makes pointer from integer without a
 cast
 tai64nlocal.c:55: dereferencing pointer to incomplete type
 tai64nlocal.c:56: dereferencing pointer to incomplete type
 tai64nlocal.c:57: dereferencing pointer to incomplete type
 tai64nlocal.c:58: dereferencing pointer to incomplete type
 tai64nlocal.c:59: dereferencing pointer to incomplete type
 tai64nlocal.c:60: dereferencing pointer to incomplete type
 make: *** [tai64nlocal.o] Error 1
 
 I've tried this with 3 different boxes.
 I've checked tai64nlocal.c and i cant find anything wrong.
 Thanks.
 

This is in the archives all over the place. glibc-2.3 changed the
location of a time header -- search the archives.

-- 
Greg White



Re: qmail and Redhat 7.1

2001-07-27 Thread Oscar Ricardo Silva

This has been asked and answered many times on the list.

In tai64nlocal.c,

Change
#include sys/time.h
to
#include time.h



Oscar

At 09:10 AM 7/27/2001 -0600, Alex Leyva, you wrote:
Hi, im triying to install qmail 1.03 on a Redhat 7.1, when i compile
daemontools i get the following errors:

./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a
cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

I've tried this with 3 different boxes.
I've checked tai64nlocal.c and i cant find anything wrong.
Thanks.




percenthack

2001-07-27 Thread Van Liedekerke Franky

Hi,

for a specifi application, I would need percenthack to work with qmail-ldap.
I've first send my question to that list but got no answer, maybe somebody
here can point me in the right direction.

I have in my percenthack file (and in control/locals):

testdomain.be

Now when I sent a mail to:

[EMAIL PROTECTED]

I see in the qmail-smtp logs it arrives ok (using LOGLEVEL of 3, which is an
qmail-ldap feature) but in the
qmail logfiles, I see the mail is trying to be delivered to:
[EMAIL PROTECTED] (mark the underscore). Now, can anybody tell
me where that underscore comes from?

Franky




Re: Uh-oh: .qmail file is blank #4.2.1

2001-07-27 Thread Johan Almqvist

standard bashing
Please break your lines so that we don't have to.
/standard bashing

* Freedom [EMAIL PROTECTED] [010727 17:24]:
 I am new to Qmail so I followed the well written directions in life with
 Qmail.  However, as I am trying to test the install and configuration
 (latter part of section 2), I get the errors listed below.  In several of
 the posts to this mailing list, people have indicated that this error is
 dealing with default delivery.  I don't have a .qmail file (which I
 understand would be in the users home directory), but I do have a
 defaultdelivery file (the first line is not blank either).  Another post
 indicated the rc script could be the issue...but I used the rc script
 life with qmail suggested.
 __EXCERPT FROM QMAIL LOG
 @40003b617b681e75b4e4 status: local 1/10 remote 0/20
 @40003b617b681f3cc5d4 delivery 125: deferral: 
Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/

This is way to litte information. We need at least the entire log for one
message with this problem (all lines that concern that message including
all deliveries). I'd also like to see the rc script (possible typo...),
and if the user has no .qmail, the output of
ls -a /var/qmail/alias/
and the contents of the .qmail files there.

Obvioulsy, you haven't followed the list that well, especially regarding
how to report problems...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: Converted

2001-07-27 Thread Dave Sill

[EMAIL PROTECTED] wrote:

Hello list, my name is Jon and I am a new convert to qmail and just wanted
to introduce myself. I hope to get up to speed and be able to contribute to
this list soon.

Welcome, Jon.

-Dave



Robin's observation

2001-07-27 Thread Stephen Bosch


I took Robin's advice and filtered the list for

Outlook
Eudora
Pegasus
Webmail

and the result ABSOLUTELY BLEW ME AWAY.

Holy cow, what a difference.

I recommend this.

-Stephen-



checkhab script

2001-07-27 Thread Tony Campisi

My apologies for using Outlook Express.

From Noel Mistula's checkHAB script
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/03/msg01041.html
# Read about qmail-inject to customize this line.
 /var/qmail/bin/qmail-inject [EMAIL PROTECTED]
[EMAIL PROTECTED]  $tmpfile

Has anyone else used this script, and if so, can you share with me how this
line looks in your configuration?

thanks,






Re: New ways for email DoS

2001-07-27 Thread Charles Cazabon

Stathakopoulos Giorgos [EMAIL PROTECTED] wrote:
 
 Yesterday, I came up to a strange situation:
 I was receiving thousands of bounces to 
 a lot of different usernames@mydomain.

You got joe-jobbed by a spammer.  It's not that strange; happens all the
time.  Because some MXes started insisting on valid envelope sender
addresses, the spammers started forging envelope sender addresses using
valid domains.  Then they started using the alphabet-soup local-parts
because some anti-spam heuristics didn't like hundreds of messages
from the same sender.  So now its a nuisance for everyone.

 Since mydomain is in my rcpthosts/locals file, I was accepting these
 messages. But a lot of different usernames didn't exist so these
 messages were going to postmaster.
 My mailserver had a lot of traffic, its logfiles were very large and the
 mailbox of postmaster become unreadable.
 
 Is there any way to prevent my mail servers from these types of attack?

No -- SMTP isn't designed to prevent this.  As a temporary measure, you
can discard double bounces and file bounces to /dev/null until the storm
abates.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: unable to opendir mess

2001-07-27 Thread Peter van Dijk

On Fri, Jul 27, 2001 at 02:32:23AM -0400, alexus wrote:
 that's because you manually delete some of messages that were in queue..
 
 don't worry 'bout it.. it'll go away within next few days...

No, it won't. He's missing the directory /var/qmail/queue/mess/5. THe
correct procedure is:
- stop qmail and qmail-smtpd and all that
- do 'make setup check' from the source tree
- start qmail again

No messages will get lost in this process.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Uh-oh: .qmail file is blank #4.2.1

2001-07-27 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-


Freedom wrote:


  I don't
have a .qmail file (which I understand would be in the users home
directory),

You didn't provide enough log material to determine the user to which
qmail was trying to deliver.  Have you checked the integrity of
.qmail* files in ~alias?

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc


-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO2GmyL1ZYOtSwT+tAQGD8AgAhmk+A+AtomZObvCfxpvJZ5FEAgGGx9Lx
9SfPL6ubw0KPNMGJkVFBrvGK0ptiantutoblMH++8bZvCrVXGEMUNZuTi8DJHIcr
z/JNYsBfitEl2RttT/Q3yyS8gdkwakTo5e/ysHRJX0Nbjf4xofdyIPpB572v+l01
ZkB1/yUeY3kStR4FtiovC0SyU+c/ETOUSSZ+o3omOmlwVfHM0kUknw1ickA72P6D
6yExg4JrgzvqlznNok/KMXyL3nfMnW20bnWY5n5XLishm5VQRJHYSt89vI7aZKt8
ZnibMDUTISAeVp1i03vGUZ8SUevkfJhwWLQ/zA+ptsuGtyDld3M8sQ==
=Rhnr
-END PGP SIGNATURE-





Re: Converted

2001-07-27 Thread Anton Pirnat

Welcome Jon :)

Anton P.

Am Freitag, 27. Juli 2001 11:24 schrieben Sie:
 Hello list, my name is Jon and I am a new convert to qmail and just wanted
 to introduce myself. I hope to get up to speed and be able to contribute to
 this list soon.

 Jon Reynolds



RE: Selective Relaying Problem

2001-07-27 Thread Scott Zielsdorf

I send this reply back to the responder and forgot to email it to the list.

###
 How are you starting qmail-smtpd? (ie the tcpserver line).

Out of the run file in /service/qmail-smtp. Here is the paste of the file:

#!/bin/sh
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 smtp /var/qmail/bin/qmail-smtpd
21


This is being called from qmailctl inside the case statement svc -u
/service/qmail-smtp.

 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...

The install was done by a highly paid Linux/Qmail Consultant - who is
stumped, which
is cold comfort to me. I have questioned him at length on install procedures
and
he swears to have followed the INSTALL doc to a T. He has been knowledgable
on
other projects and I do have a good amount of faith in him and his work and
while he
does have reason to cover his butt because of his fees, I don't believe he
is.

#

I am faced with the prospect of re-installation which I will do myself this
time - but
I would rather not have to if there was some other solution.

However, on the subject of re-installation, and forgive me because I have
not researched
this in the archives, do I need to de-install qmail before reinstalling or
can I simply overwrite it?

And another newbie type question: I checked out GNUS's homepage. I am a
slave to Outlook. I
would like to break the bonds but, uh, I didn't see anything about a release
for NT Server.
Is there one? How do I get it?

Thanks,

Scott Zielsdorf
Senior Technical Support Consultant
Computer Instruments IVR Solutions Support Group




Re: Robin's observation

2001-07-27 Thread Brook Humphrey

On Friday 27 July 2001 09:53 am, you wrote:
 I took Robin's advice and filtered the list for

 Outlook
 Eudora
 Pegasus
 Webmail

 and the result ABSOLUTELY BLEW ME AWAY.

 Holy cow, what a difference.

 I recommend this.

 -Stephen-
What client do you use and how do you set filters based on clients. I use 
linux but have never tried this type of thing before.



RE: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Virginia Chism

 -Original Message-
 From: John Hogan [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 27, 2001 11:37 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Sublist (Was: Virus-infected listmembers)

 i couldn't agree more... i got over 300 copies of that damned virus, yet
 remain unaffected... why? because 'i'm smarter than the average
 bear, boo boo!'

I'm unaffected as well, but NOT because I am smarter than anybody, I just
manage to pay attention and NEVER download attachments!

I also find it entertaining to watch all the traffic the spammers inspire.
25+ copies of the virus on this list alone, nearly 80 virus reports from 2
broken reporting entities (yes, I kept track just for fun), and maybe 150
email griping about same!  Not to mention the myriad email requests for
information on the best antivirus software to use.


 i use windows because (and only because) i cannot do the interface design
 for end-users of windows without walking in their shoes (and i
 love photoshop!)

I'm in the same boat with all the bookkeeping and office stuff that I have
to deal with constantly on the W machine and the server stuck in the dungeon
in the back office.  I telnet to it often, but find it just easier to use
the MS product close at hand.  And, ditto about photoshop.  It is a winner!







Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Adam McKenna

On Fri, Jul 27, 2001 at 10:31:15AM -0400, Dave 'Duke of URL' Weiner wrote:
 Yes, lots of clueless people use Windows and Windows MUA's.  But some of use
 also use Windows and Windows MUA's, and *DO* have a clue.

No, anyone still using Microsoft products after they have seen the light of
*nix just hasn't gotten it yet.  I was like you for about a year, defending
my outlook-express, because I liked it.  Then I started using mutt and found
out what a *real* MUA can do.

In short, anyone who claims they are a UNIX person and still uses MS
software for their MUA is just a poseur, that's all.  I bet you use pico too.

Don't get me wrong, there are valid uses for 'doze, but reading your mail
isn't one of them.

--Adam
-- 
Adam McKenna [EMAIL PROTECTED]   | Help stop animal abuse at Petco!
http://flounder.net/publickey.html | http://www.mickaboofriends.org
GPG: 17A4 11F7 5E7E C2E7 08AA  |
 38B0 05D0 8BF7 2C6D 110A  |



strip all but plain/text?

2001-07-27 Thread John Conover


Any filters to strip all except plain/text MIME content types?

Thanks,

John

-- 

John ConoverTel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.  Fax. 408.379.9602  http://www.johncon.com/
Campbell, CA 95008  Cel. 408.772.7733  




Re: Selective Relaying Problem

2001-07-27 Thread JT

goto /etc/tcprules.d
edit qmail-smtpd

read 'man tcprules' on how to use tcprules

Once you make the appropiate edits you want to do the following.

from the tcprules.d directory

tcprules qmail-smtpd.cdb qmail-smtpd.tmp qmail-smtpd

If it gives you a command/file not found then tcprules isn't aliased so
execute it like this

/usr/local/bin/tcprules qmail-smtpd.cdb qmail-smtpd.tmp qmail-smtpd

After that restart qmail-smtpd which is gennerally

/etc/rc.d/init.d/qmail-smtpd.init restart

--JT
- Original Message -
From: Scott Zielsdorf [EMAIL PROTECTED]
To: Qmail List [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 11:21 AM
Subject: RE: Selective Relaying Problem


I send this reply back to the responder and forgot to email it to the list.

###
 How are you starting qmail-smtpd? (ie the tcpserver line).

Out of the run file in /service/qmail-smtp. Here is the paste of the file:

#!/bin/sh
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 smtp /var/qmail/bin/qmail-smtpd
21


This is being called from qmailctl inside the case statement svc -u
/service/qmail-smtp.

 And what instructions did you follow to setup qmail?
 (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.)
 or the INSTALL doc? If you followed the INSTALL doc, try re-installing
 qmail by following the lifewithqmail doc. In any case, answer the
 first question and we'll see what we can do...

The install was done by a highly paid Linux/Qmail Consultant - who is
stumped, which
is cold comfort to me. I have questioned him at length on install procedures
and
he swears to have followed the INSTALL doc to a T. He has been knowledgable
on
other projects and I do have a good amount of faith in him and his work and
while he
does have reason to cover his butt because of his fees, I don't believe he
is.

#

I am faced with the prospect of re-installation which I will do myself this
time - but
I would rather not have to if there was some other solution.

However, on the subject of re-installation, and forgive me because I have
not researched
this in the archives, do I need to de-install qmail before reinstalling or
can I simply overwrite it?

And another newbie type question: I checked out GNUS's homepage. I am a
slave to Outlook. I
would like to break the bonds but, uh, I didn't see anything about a release
for NT Server.
Is there one? How do I get it?

Thanks,

Scott Zielsdorf
Senior Technical Support Consultant
Computer Instruments IVR Solutions Support Group






relay question (was: badmailfrom the right way)

2001-07-27 Thread Philipp Lopaur

i know i have asked this before, but got no responses yet,
so i simplify my question a little bit and hope for an answer.

how can i deny mail from outside with envelope
FROM: 123@mydomain
RCPT: 456@mydomain
(in the case 123 and 456 are valid mailboxes)

currently i have tcpserver with RELAYCLIENT and
an entry in badmailfrom: @mydomain

is this optimal?
can qmail end the session after MAIL FROM: ?
(now it does after RCPT TO)

my setup:

INTERNET
|
QMAIL SERVER (2 Interfaces, qmail-1.03 - qmailqueue and spamcontrol patch)
|
PRIVATE NETWORK

i am switching to qmail from sendmail because got sick of 
obscure .cf files. qmail is cleaner in design than sendmail and therefore
easier to understand. - security benefit. 

thanks

btw. topic of the mailinglist is QMAIL right ?

--
Philipp Lopaur





Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread JT

ROFL!!!

I couldn't agree more.. I think it hilarious myself that people want to
blame the MUA when generally it the people and not the particular software
or OS they are using and everyone might think I'm an *ss for saying this but
... If your stupid enough to even download the attachments let alone opening
them without taking _some_kinda_ precautions then they almost deserve to by
infested by any such virus just so they can learn the hard way

Anyways that's my two cents on this whole thing ...  Now I'm gona sit back
and watch the mirad of replies this message will generate.

--JT
- Original Message -
From: Virginia Chism [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 11:32 AM
Subject: RE: Sublist (Was: Virus-infected listmembers)


 -Original Message-
 From: John Hogan [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 27, 2001 11:37 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Sublist (Was: Virus-infected listmembers)

 i couldn't agree more... i got over 300 copies of that damned virus, yet
 remain unaffected... why? because 'i'm smarter than the average
 bear, boo boo!'

I'm unaffected as well, but NOT because I am smarter than anybody, I just
manage to pay attention and NEVER download attachments!

I also find it entertaining to watch all the traffic the spammers inspire.
25+ copies of the virus on this list alone, nearly 80 virus reports from 2
broken reporting entities (yes, I kept track just for fun), and maybe 150
email griping about same!  Not to mention the myriad email requests for
information on the best antivirus software to use.


 i use windows because (and only because) i cannot do the interface design
 for end-users of windows without walking in their shoes (and i
 love photoshop!)

I'm in the same boat with all the bookkeeping and office stuff that I have
to deal with constantly on the W machine and the server stuck in the dungeon
in the back office.  I telnet to it often, but find it just easier to use
the MS product close at hand.  And, ditto about photoshop.  It is a winner!






Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Smithj

Use GIMP :)

(unix or windows based)..

 I'm in the same boat with all the bookkeeping and office stuff that I have
 to deal with constantly on the W machine and the server stuck in the
dungeon
 in the back office.  I telnet to it often, but find it just easier to use
 the MS product close at hand.  And, ditto about photoshop.  It is a
winner!



Jonathan Smith




[OT] Re: Robin's observation

2001-07-27 Thread Jason Kawaja

perhaps (sorta-bash-psuedo-code):

for mail in `ls -1 ~/Maildir/qmail/cur` do
 if (!(grep Outlook $mail)) rm -f $mail
done

i dunno, geesh...

the sublist filter should check for OT in subj ;-)

On Fri, 27 Jul 2001, Brook Humphrey wrote:

 What client do you use and how do you set filters based on clients. I use
 linux but have never tried this type of thing before.


/* Regards,
   Jason Kawaja, UF-ECE Sys Admin */







Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Chris Garrigues

 From:  Virginia Chism [EMAIL PROTECTED]
 Date:  Fri, 27 Jul 2001 13:32:05 -0500

 I also find it entertaining to watch all the traffic the spammers inspire.
 25+ copies of the virus on this list alone, nearly 80 virus reports from 2
 broken reporting entities (yes, I kept track just for fun), and maybe 150
 email griping about same!  Not to mention the myriad email requests for
 information on the best antivirus software to use.

I'm glad someone tracked this.  I'd been kinda curious about the statistics on 
the stuff that I was massively deleting.

Do you also track the number of messages Robin sends telling other people how 
clueless they are and now many messages those people post back defending 
themselves?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Dave 'Duke of URL' Weiner

 On Fri, Jul 27, 2001 at 10:31:15AM -0400, Dave 'Duke of URL' Weiner wrote:
  Yes, lots of clueless people use Windows and Windows MUA's.  But some of
use
  also use Windows and Windows MUA's, and *DO* have a clue.

 No, anyone still using Microsoft products after they have seen the light
of
 *nix just hasn't gotten it yet.  I was like you for about a year,
defending
 my outlook-express, because I liked it.  Then I started using mutt and
found
 out what a *real* MUA can do.

I've used Mutt, Elm, Pico, Pine, KMail and a bunch more.  And I still like
Outlook Express.


 In short, anyone who claims they are a UNIX person and still uses MS
 software for their MUA is just a poseur, that's all.  I bet you use pico
too.

Well, you're entitled to your opinion.  And so am I, and you're being an
asshole :)


 Don't get me wrong, there are valid uses for 'doze, but reading your mail
 isn't one of them.

 --Adam

Dave





Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Jeff Palmer


snip
 In short, anyone who claims they are a UNIX person and still uses MS
 software for their MUA is just a poseur, that's all.  I bet you use pico too.

 Don't get me wrong, there are valid uses for 'doze, but reading your mail
 isn't one of them.
/snip

I have to interject here.
This is a mailing list FOR qmail users ABOUT qmail.

I don't see the relevance of a persons choice of OS, editor, MTA, or
anything else on this list.  (Well,  possibly MTA if you were having a
problem with qmails' pop3 daemon)

Frankly,   WHO CARES if you run linux,unix,windows,OS/2,MS-DOS, or
anything else?  Who cares if you use wordpad,word,pico,vi(m),joe,ee, or
DOS edit?

Who cares if you use pine,mutt,telnet,eudora,outlooke,messenger,mulberry,
or any other MUA?

What you use on your machine in no way affects anyone else on this list as
long as you are intelligent enough to have decent virus scanning utilites
(if your OS is a target for infection) and keep your signatures up to
date.

I won't tell you what OS I use.  I won't tell you the editor, the MUA,
because it in no way affects you unless it's pertinent to a PROBLEM I'm
asking about.  Nor will I tell you my race,creed,color,religion,sex,or
anything else that doesn't matter.

Look at it like this.  Everyone has a choice to use what THEY like.
That is why there are so many (insert program/daemon/utility here)
As long as it does the job well enough for the person using it,  who the
hell is anyone else to judge?

If we were not supposed to have a choice..  EVERYONE would be using
sendmail.   It was and still is the De Facto Standard smtp daemon.
If everyone used the same software,  and had no choice,  qmail, postfix,
exim, Exchange, and all the other MTA's wouldn't exist.

We would all still be using [MS/PC]-DOS on our 8086 processors because
nobody would have the CHOICE to upgrade..  Hell  companies wouldn't have
the CHOICE to research and develop better processors.

The point here is this:
If a member of this list uses XYZ software..  thats fine..  you ALL have
'qmail' in common.  Lets keep the discussions of this list ON-TOPIC
(qmail,  right?) and then we can all get along without this childish My
software is better than your software mentality. We've all been through
first grade.  We ALL know my software is better than your software FOR ME.
And realistically  that is what matters.

Thanks for listening to me rant.

Jeff Palmer
[EMAIL PROTECTED]


P.S.  Don't take the time to flame me,  cuz My daddy can beat up your
daddy.





RE: Robin's observation

2001-07-27 Thread Mike

I strongly suggest filtering out people who don't use qmail too.
Could someone forward my suggestion to Robin please?  Just once
will do it.

-Mike



Re: Possible degenerate case in trigger handling?

2001-07-27 Thread MarkD

  A second and more defensive measure is to issue a non-blocking read on
  the pipe to drain all qmail-queue bytes *prior* to the todo

This is the solution I eventually used. Works like a charm. I've
appended the patch so that it gets into the archives. Variations from
the original post include opening the trigger file just the once as
well as setting it non-blocking at the time it's opened.  I've called
it the trigger-happy patch :


Regards.

*** Makefile.orig   Mon Jun 15 03:53:16 1998
--- MakefileFri Jul 27 11:23:47 2001
***
*** 2114,2120 
./compile token822.c
  
  trigger.o: \
! compile trigger.c select.h open.h trigger.h hasnpbg1.h
./compile trigger.c
  
  triggerpull.o: \
--- 2114,2120 
./compile token822.c
  
  trigger.o: \
! compile trigger.c select.h open.h trigger.h hasnpbg1.h ndelay.h
./compile trigger.c
  
  triggerpull.o: \
*** trigger.orig.c  Mon Jun 15 03:53:16 1998
--- trigger.c   Thu Jul 26 18:02:07 2001
***
*** 1,4 
--- 1,5 
  #include select.h
+ #include ndelay.h
  #include open.h
  #include trigger.h
  #include hasnpbg1.h
***
*** 10,24 
  
  void trigger_set()
  {
!  if (fd != -1)
!close(fd);
! #ifdef HASNAMEDPIPEBUG1
!  if (fdw != -1)
!close(fdw);
! #endif
!  fd = open_read(lock/trigger);
  #ifdef HASNAMEDPIPEBUG1
!  fdw = open_write(lock/trigger);
  #endif
  }
  
--- 11,25 
  
  void trigger_set()
  {
!  if (fd == -1)
!   {
!fd = open_read(lock/trigger);
!if (fd != -1)
!  ndelay_on(fd);
!   }
  #ifdef HASNAMEDPIPEBUG1
!  if (fdw == -1)
!fdw = open_write(lock/trigger);
  #endif
  }
  
***
*** 36,41 
  int trigger_pulled(rfds)
  fd_set *rfds;
  {
!  if (fd != -1) if (FD_ISSET(fd,rfds)) return 1;
   return 0;
  }
--- 37,48 
  int trigger_pulled(rfds)
  fd_set *rfds;
  {
!  char buf[64];
! 
!  if ((fd != -1)  FD_ISSET(fd,rfds))
!   {
!while (read(fd,buf,sizeof(buf)) == sizeof(buf)) ;
!return 1;
!   }
   return 0;
  }



Re: relay question (was: badmailfrom the right way)

2001-07-27 Thread Charles Cazabon

Philipp Lopaur [EMAIL PROTECTED] wrote:
 
 how can i deny mail from outside with envelope
 FROM: 123@mydomain
 RCPT: 456@mydomain
 (in the case 123 and 456 are valid mailboxes)
 
 currently i have tcpserver with RELAYCLIENT and
 an entry in badmailfrom: @mydomain
 
 is this optimal?

No -- qmail will then refuse any envelope senders in your domain.

 can qmail end the session after MAIL FROM: ?

Only with patches you'll find at qmail.org or in the list archives.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

JT wrote:

... If your stupid enough to even download the attachments let alone opening
them without taking _some_kinda_ precautions then they almost deserve to by
infested by any such virus just so they can learn the hard way

Except that the networks whose resources users will clog with this
tough-love approach are not usually their own.  I can agree with you
in the case of garden variety system viruses, but internet worms
affect the innocent, educated, and overworked.

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO2HYMb1ZYOtSwT+tAQGayAf6AuXVZdp1JpfyPGXMC5uFYXjGOeXtcdZo
nOZf2o3Z8/s3Epexu8bFcSSzB1tcKUUwjRZdkaXI4Tt7MTTAkxVIUasTAVZC5Su9
bk6cv35UpYsd72tife6By3gnTJouaf8wxA2JVkIG3yH54e0Y8AFoMMS8h19I0Fst
zYm6m9EtPzk0TNp4RbN92jBH1ZVPEcqGu7Dgk4XlAaZtHJJxleIWQveW/X6RYF+W
WyzXyJ4OL/k/k+TbTPu0EKiwYNSu8gsq1EQNE83nagcHc2ni9HYnlZ4KlSUI92TN
XgHbWbJ+yWENcwGKkBjwJD6VMRibdU7eLEO6ZcwrrTvTcLhEXzeE8w==
=w/oK
-END PGP SIGNATURE-





Checking email content and block it at smtpd level?

2001-07-27 Thread S P Arif Sahari Wibowo

Hi!

Is there any tool / patch that allow me to check contents of email or
other header other than the envelope sender on smtpd level, and reject the
delivery on certain condition? Something like regexp condition - or PCRE
is even better - to check the content while delivered to qmail-smptd?

I know there are filters work using QMAILQUEUE patch, but this work on the
email after it is accepted, means it already take resources, and if cannot
be bounced, may ends up in postmaster mailbox (is it?).

I am thinking something like Wildmat patch, or fake smtpd server like
rblsmtpd, extended to check the whole email against a regexp / PCRE terms.

Any idea? Thanks.

-- 
   S P Arif Sahari Wibowo
  _  _  _  _
 /  // // /  [EMAIL PROTECTED]
_/ /  // _/   http://www.arifsaha.com/




Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread JT

I think it's over a hundred already for this week isn't it?

--JT
- Original Message - 
From: Chris Garrigues [EMAIL PROTECTED]
To: Virginia Chism [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 1:15 PM
Subject: Re: Sublist (Was: Virus-infected listmembers)






Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Adam McKenna

On Fri, Jul 27, 2001 at 04:18:27PM -0400, Dave 'Duke of URL' Weiner wrote:
  In short, anyone who claims they are a UNIX person and still uses MS
  software for their MUA is just a poseur, that's all.  I bet you use pico
 too.
 
 Well, you're entitled to your opinion.  And so am I, and you're being an
 asshole :)

Was I right about pico?

--Adam

-- 
Adam McKenna [EMAIL PROTECTED]   | Help stop animal abuse at Petco!
http://flounder.net/publickey.html | http://www.mickaboofriends.org
GPG: 17A4 11F7 5E7E C2E7 08AA  |
 38B0 05D0 8BF7 2C6D 110A  |



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Choz Sun

It is sad that some punk claiming he is 1337 because of the OS, app or my
gawd, MUA that he uses.

I take magnets, move them around my hard drive and manipulate data that way.
Sometimes when I have a monitor, I type everything in binary. :)

I use OE simply because I manage many many anonymous and not so anonymous
Hotmail accounts (like the one I am typing from).  Free e-mail is so great
none of my personal and spam e-mail does not go to my work or domain e-mail.
Having OE to organize and access all 7 Hotmail accounts in one setting
without cluttering my work and personal e-mail accounts is a little slice of
heaven.

Don't quite seeing pico, mutt, kmail, evolution doing that anytime soon
(doesn't have to be Hotmail but something anonymous).


ChozSun


- Original Message -
From: Dave 'Duke of URL' Weiner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 15.18
Subject: Re: Sublist (Was: Virus-infected listmembers)


  On Fri, Jul 27, 2001 at 10:31:15AM -0400, Dave 'Duke of URL' Weiner
wrote:
   Yes, lots of clueless people use Windows and Windows MUA's.  But some
of
 use
   also use Windows and Windows MUA's, and *DO* have a clue.
 
  No, anyone still using Microsoft products after they have seen the light
 of
  *nix just hasn't gotten it yet.  I was like you for about a year,
 defending
  my outlook-express, because I liked it.  Then I started using mutt and
 found
  out what a *real* MUA can do.

 I've used Mutt, Elm, Pico, Pine, KMail and a bunch more.  And I still like
 Outlook Express.

 
  In short, anyone who claims they are a UNIX person and still uses MS
  software for their MUA is just a poseur, that's all.  I bet you use pico
 too.

 Well, you're entitled to your opinion.  And so am I, and you're being an
 asshole :)

 
  Don't get me wrong, there are valid uses for 'doze, but reading your
mail
  isn't one of them.
 
  --Adam

 Dave






rblsmtpd

2001-07-27 Thread NDSoftware

Hello,

In the first time, i'm sorry for the user who have send many virus alert
message with him antivurus program on my domain (ndsoftware.net).

I use for test rblsmtpd.
When i'm logon on my telnet, i get this:

[xxx@xxx /home]# rblsmtpd: 129.132.2.199 pid 7941: 451 Open relay.
Please see http://orbz.org/?129.132.2.199
rblsmtpd: 129.132.2.199 pid 8799: 451 Open relay. Please see
http://orbz.org/?129.132.2.199

Why this warning aren't in the qmail log ?
How I can do this ? The best is to manage a another log with all
blacklist deny.

It's possible to make a path for rblsmtpd, for what the postmaster can
receipt message in blacklist (for help the admin who have a mail server
blacklisted).

Thanks very much.




Proper way to run multiple qmail-smtpd

2001-07-27 Thread Hubbard, David

Hi all,
can someone tell me what the proper way to
run multiple instances of tcpserver to have
qmail-smtpd listen to multiple IP's?  I realize
that a 0 to tcpserver will cause it to listen
to all addresses but I need to only listen to
a few.  I have a working qmail install on the
box in question based on lifewithqmail and I'm
thinking that just recursively copying the
/var/qmail/supervise/qmail-smtpd directory
qmail-smtpd1, qmail-smtpd2, etc. and editing
the run files to use the correct IP's for
tcpserver would be good enough, just wanted to
check though.  I'd obviously want to adjust my
concurrencies too.

Thanks,

David



Re: Checking email content and block it at smtpd level?

2001-07-27 Thread Charles Cazabon

S P Arif Sahari Wibowo [EMAIL PROTECTED] wrote:
 
 Is there any tool / patch that allow me to check contents of email or
 other header other than the envelope sender on smtpd level, and reject the
 delivery on certain condition? Something like regexp condition - or PCRE
 is even better - to check the content while delivered to qmail-smptd?
 
 I know there are filters work using QMAILQUEUE patch, but this work on the
 email after it is accepted, means it already take resources, and if cannot
 be bounced, may ends up in postmaster mailbox (is it?).

qmail-smtpd calls qmail-queue, so Bruce's QMAILQUEUE patch can work in
this instance, too.  It can reject mail during the initial SMTP
conversation.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread JT

Bow, point taken

--JT
- Original Message -
From: David Talkington [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 2:07 PM
Subject: Re: Sublist (Was: Virus-infected listmembers)


-BEGIN PGP SIGNED MESSAGE-

JT wrote:

... If your stupid enough to even download the attachments let alone
opening
them without taking _some_kinda_ precautions then they almost deserve to by
infested by any such virus just so they can learn the hard way

Except that the networks whose resources users will clog with this
tough-love approach are not usually their own.  I can agree with you
in the case of garden variety system viruses, but internet worms
affect the innocent, educated, and overworked.

- -d

- --
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO2HYMb1ZYOtSwT+tAQGayAf6AuXVZdp1JpfyPGXMC5uFYXjGOeXtcdZo
nOZf2o3Z8/s3Epexu8bFcSSzB1tcKUUwjRZdkaXI4Tt7MTTAkxVIUasTAVZC5Su9
bk6cv35UpYsd72tife6By3gnTJouaf8wxA2JVkIG3yH54e0Y8AFoMMS8h19I0Fst
zYm6m9EtPzk0TNp4RbN92jBH1ZVPEcqGu7Dgk4XlAaZtHJJxleIWQveW/X6RYF+W
WyzXyJ4OL/k/k+TbTPu0EKiwYNSu8gsq1EQNE83nagcHc2ni9HYnlZ4KlSUI92TN
XgHbWbJ+yWENcwGKkBjwJD6VMRibdU7eLEO6ZcwrrTvTcLhEXzeE8w==
=w/oK
-END PGP SIGNATURE-






Virii and scanners

2001-07-27 Thread Mike Hodson

In light of recent events (ahem) I would like the opinion of list
members on what is the better / more tested / more flexible email
scanner.  I plan to use NAI uvscan, as I've used their McAffee products
before, and they seem to do the job decently.  I've already got a cron
script setup to daily download the latest dats and shove them in the
uvscan dir.

Now im considering AMaViS and qmail-scan. Which of these two requires
the least modification to my current setup (stock qmail, no patches,
with vpopmail/ezmlm-idx/qmailadmin) and which one seems to work best
scanning viruses from many different locations?

Thanks in advance.
Mike

-- 
Mike Hodson [EMAIL PROTECTED]




Re: Proper way to run multiple qmail-smtpd

2001-07-27 Thread MarkD

On Fri, Jul 27, 2001 at 06:17:09PM -0400, Hubbard, David allegedly wrote:
 Hi all,
   can someone tell me what the proper way to
 run multiple instances of tcpserver to have
 qmail-smtpd listen to multiple IP's?  I realize
 that a 0 to tcpserver will cause it to listen
 to all addresses but I need to only listen to
 a few.  I have a working qmail install on the
 box in question based on lifewithqmail and I'm
 thinking that just recursively copying the
 /var/qmail/supervise/qmail-smtpd directory
 qmail-smtpd1, qmail-smtpd2, etc. and editing
 the run files to use the correct IP's for
 tcpserver would be good enough, just wanted to
 check though.  I'd obviously want to adjust my
 concurrencies too.

That's pretty much it - just don't forget that you need unique logging
directories too.


Regards.



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread qmail

Sorry but GIMP does not even compare to Photoshop 6 

just my .002 and yes i use both on a daily basis for both digital and print 
solutions. 

Jps 


Smithj writes: 

 Use GIMP :) 
 
 (unix or windows based).. 
 
 I'm in the same boat with all the bookkeeping and office stuff that I have to deal 
with constantly on the W machine and the server stuck in the dungeon in the back 
office.  I telnet to it often, but find it just easier to use the MS product close at 
hand.  And, ditto about photoshop.  It is a
winner!

  
 
 Jonathan Smith 
 
 



Re: rblsmtpd

2001-07-27 Thread Adrian Ho

On Fri, Jul 27, 2001 at 11:50:19PM +0200, NDSoftware wrote:
 [xxx@xxx /home]# rblsmtpd: 129.132.2.199 pid 7941: 451 Open relay.
 Please see http://orbz.org/?129.132.2.199
 rblsmtpd: 129.132.2.199 pid 8799: 451 Open relay. Please see
 http://orbz.org/?129.132.2.199
 
 Why this warning aren't in the qmail log ?

Show us the rblsmtpd startup script (if you're running qmail, probably the
qmail-smtpd startup script).

 It's possible to make a path for rblsmtpd, for what the postmaster can
 receipt message in blacklist (for help the admin who have a mail server
 blacklisted).

That turns rblsmtpd from an IP-level ACL enforcer to a mail proxy, so
it's more like a brand-new program.  You're much better off running a
proper filtering SMTP proxy for this purpose.

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



Re: Sublist (Was: Virus-infected listmembers)

2001-07-27 Thread Adrian Ho

On Sat, Jul 28, 2001 at 12:54:51AM +, qmail wrote:
 Sorry but GIMP does not even compare to Photoshop 6 

A Swiss Army knife does not even compare to a fully-loaded toolbox, but
if your needs can be met by a Swiss Army knife, carrying and maintaining
a fully-loaded toolbox is not the brightest of ideas.

And what does all this have to do with qmail?  IMO, qmail's like a Swiss
Army knife -- it won't handle every task under the sun by itself, but
it's compact, tool-oriented, and surprisingly capable once you understand
its features.

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



about relaymailfrom.patch

2001-07-27 Thread tengteng

Hi:all
I use Chris Johnson's patch relaymailfrom.patch,but it is seemed not to 
work!i 
create a file under /var/qmail/control/ and named relaymailfrom,in this file 
there is only a entry @mydomain.com,but another domain user such as 
(@test.com) can still send mail use my smtpserver,I don't know why!?where 
should  i put relaymailfrom? 
  Could you give some advice? 
  I am very thank you for your any advice.thanks 

best regards 






Mail Forwarding Service

2001-07-27 Thread Philip Mak

Hello,

I am using qmail to run a mail forwarding service. When the mail server
receives a message at [EMAIL PROTECTED], it looks up the alias in a MySQL
database and forwards the message to an e-mail address given in the MySQL
database.

I am accomplishing this by putting in my .qmail-default file for that
domain:

|/home/brc/bin/forward

where /home/brc/bin/forward is a perl script which:

1. connects to the MySQL database
2. looks up the database to determine which address to forward to
3. opens a pipe to /usr/sbin/sendmail (taking care to use exec so
   that special characters aren't interpreted by the shell) to
   deliver the message to the recipient

This seems to be too inefficient though. We have thousands of active
members; since I implemented this script, our machine's load average is up
from 1 or 2 to 10!! Looking at top, I usee the forward process running a
lot (remember it has to be called every time someone @mydomain.com
receives a message).

Does anyone have suggestions on how to make this more efficient? Can I
open a persistent database connection to MySQL somehow? And is there a
better way to pass the message on than opening a pipe to
/usr/sbin/sendmail? Should I rewrite the perl script in C perhaps?