Re: Install went fine, but won't work

2001-01-26 Thread Vincent Schonau

Miles Scruggs writes:

  Sorry if this is a repeat to the list but I just subscribed

 The install went just find but I have a problem

 1.)  I can't seem to to set the enviroment variable to allow me to have
 certain hosts relay.  Below is the contents of my tcp.smtp 
 
 127.0.0.1:allow,RELAYCLIENT=""
 192.168.1.:allow,RELAYCLIENT=""

This allows anything in the 192.168.1.* subnet to relay through your host. 

 192.:allow,RELAYCLIENT=""

This allows anything in the 192.* net to relay through your host. I'm sure 
you do not mean that. 

 65.193.90.:allow,RELAYCLIENT=""

And I have a feeling yo do not mean this, either (all hosts in 65.193.90.*? 
Do you trust them all to relay through you?) 

 :allow 
 
 Then I ran the

 tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp 
 
 And here is my tcpserver startup line which is in
 /var/qmail/supervise/qmail-smtp/run 
 
 exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -v -p -x
 /etc/tcp.smtp.cdb -u 1003 -g 102 0 smtp rblsmtpd 
 /var/qmail/bin/qmail-smtpd 21

You're only using rbl.maps.vix.com for rblsmtpd (since you don't supply any 
options). 

 I have restarted smtpd just to make sure the changes took, I don't know if
 this is nessary or if they are on the fly.

You do not need to restart tcpserver to activate changes to 
/etc/tcp.smtp.cdb. 

However, you're not telling us what the problem is; from which IP you're 
connecting to the smtpd, or what the error message was, or what the logs 
say. 

Can you connect to port 25 on that machine? Can you send mail to a user 
local to that machine (via smtp)? 

Vince.



Re: supervise fatal errors

2001-01-26 Thread Michael Maier

Just go into the affected Directories and delete those lock Files manually.
Because UFS Solaris is a bit laggy in I/O this Problem occurs when you
stop and start your qmail Programs too fast!
--
Michael Maier / http://www.shell-provider.net

Fish Flowers wrote:

 I've gotten qmail to compile, and my init scripts set up, but when I run
 "qmail start", I get the following:

 Starting qmail: svscan
 .
 supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary
 failure
 supervise: fatal: unable to acquire log/supervise/lock: temporary
 failure
 supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary
 failure
 supervise: fatal: unable to acquire log/supervise/lock: temporary failure

 The supervise fatal errors repeat every couple of seconds.

 This is a SunOS 5.7 box, running qmail-1.03. Any thoughts?

 Fish.




Re: Problem with qmail and SMTP port w/ Debian Linux.

2001-01-26 Thread pape

On Thu, Jan 25, 2001 at 03:26:39PM -0800, John Bowen wrote:
 
   Hi,
 
   Having a problem, here's my story: I did a clean install of Debian Potato
 Linux on a P100 machine, I did NOT install exim [selected option 5/do not
 configure mail] when doing the install.  I followed the Life With Qmail
 document to the letter, installing qmail 1.03, the daemontools, and
 ucspi-tcp.  I also installed the POP3 module that came with qmail.  The 4
 qmail- processes are running and locally everything seems to work okay
 [verified with a ps and a qmail-inject to myself from an echo on the command
 line].
 
   Now, I can send mail from my machine to other local accounts and external
 domains just fine.  I can check POP3 remotely just fine.  However my big
 problem is that I'm not receiving outside mail sent to my domain.  I
 verified DNS is setup correctly and goes to the correct IP address.  The
 bounce message I'm getting is:
 
  [EMAIL PROTECTED]... Deferred: Connection refused by
  mail.birthmachine.com.

The tcpserver running qmail-smtpd has not been started, check with
svstat /var/qmail/supervise/qmail-smtpd
if You exactly follow lwq.

You may consider using the not debian compliant var-qmail package I provide:
http://innominate.org/~pape/Debian/qmail.html

Regards, Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



tcpserver can't find smtp port, formerly can't connect to smtp

2001-01-26 Thread Curtis Collicutt

Hi,

When booting, this message gets sent to the console:

tcpserver: fatal: unable to figure out port number for
/var/qmail/bin/qmail-smtpd

Anyone know how to fix this? Or how to better diagnose
the problem?

Here is the command I use to start qmail-smtpd with
tcpserver:

# start qmtpd with tcpserver
/usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -u
2850 -g 32750 smtp /var/qmail/bin/qmail-smtpd 

and the tcp.smtp rules look like:

127.0.0.1:allow,RELAYCLIENT=""

Thanks for any help.
Curtis.



__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Re: tcpserver can't find smtp port, formerly can't connect to smtp

2001-01-26 Thread pape

On Fri, Jan 26, 2001 at 01:16:53AM -0800, Curtis Collicutt wrote:
 Hi,
 
 When booting, this message gets sent to the console:
 
 tcpserver: fatal: unable to figure out port number for
 /var/qmail/bin/qmail-smtpd
 
 Here is the command I use to start qmail-smtpd with
 tcpserver:
 
 # start qmtpd with tcpserver
 /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -u
 2850 -g 32750 smtp /var/qmail/bin/qmail-smtpd 

Your are missing one argument to tcpserver, the host, use
 /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -u
 2850 -g 32750 0 smtp /var/qmail/bin/qmail-smtpd 
  ^^^

Regards, Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



rewriting outgoing remote mail

2001-01-26 Thread Michel Boucey

Hi !

I have installed an intranet qmail server on, say, foo.org ; and I want,
for all the mail which is send to an Internet domain, for all the outgoing
mail from the foo.org intranet domain, to rewrite the sender address from
the intranet domain foo.org to the Internet domain foo.fr . Is it possible
with the new qmail-inject from mess822 to rewrite the sender's domain name
for the outgoing intranet mail to a valid Internet domain name ?

Thanks for help ...

Cordialement,

Michel Boucey   Administrateur Systme
 Socit Norm@net +33 2 31 27 13 45 





is there a filter to scan message header and reject accordingly

2001-01-26 Thread Brian Longwe



Is there a filter that I can use to scan incoming  outgoing message headers
and reject messages based on pre-defined criteria (text string)?

I want to deal with the W32/Hybris virus

Thanks,

Brian




Re: is there a filter to scan message header and reject accordingly

2001-01-26 Thread Alex Kramarov








  Brian Longwe [EMAIL PROTECTED] wrote
  
  Is there a filter that I can use to scan incoming  outgoing 
  message headersand reject messages based on pre-defined criteria 
  (text string)?
  Use qmail-scanner, and next time you shouldvisit qmail.org 
  before asking these questions !





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



Re: rewriting outgoing remote mail

2001-01-26 Thread Alex Kramarov








  Michel Boucey [EMAIL PROTECTED] wrote :
  
  I have installed an intranet qmail server on, say, foo.org ; and 
  I want,for all the mail which is send to an Internet domain, for 
  all the outgoingmail from the foo.org intranet domain, to rewrite 
  the sender address fromthe intranet domain foo.org to the Internet 
  domain foo.fr . Is it possiblewith the new qmail-inject from 
  mess822 to rewrite the sender's domain namefor the outgoing 
  intranet mail to a valid Internet domain name ?
  
  I have asked this question here two weeks ago and no one answered, so 
  I ended up modifying qmail-scanner to rewrite the messages.





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



RE: is there a filter to scan message header and reject accordingly

2001-01-26 Thread Brian Longwe



You've assumed that I haven't 
already been there...I have...I've already looked at qmail-scanner and I'm 
afraid that the overhead will be too much on my system. I don't want a 
full-fledged virus-guard, is there something more lightweight that can do regex 
filtering on the subject line?

  -Original Message-From: Alex Kramarov 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, January 26, 2001 1:32 
  PMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: 
  Re: is there a filter to scan message header and reject 
  accordingly
  


  
Brian Longwe [EMAIL PROTECTED] wrote

Is there a filter that I can use to scan incoming  
outgoing message headersand reject messages based on pre-defined 
criteria (text string)?
Use qmail-scanner, and next time you shouldvisit qmail.org 
before asking these questions !

  

  
  



  __IncrediMail - Email has finally 
  evolved - Click 
Here


qmail Digest 26 Jan 2001 11:00:00 -0000 Issue 1256

2001-01-26 Thread qmail-digest-help


qmail Digest 26 Jan 2001 11:00:00 - Issue 1256

Topics (messages 55911 through 56057):

Re: Why so few qmail-remote processes
55911 by: Jacques Frip' WERNERT
55926 by: Markus Stumpf
55935 by: Jacques Frip' WERNERT
55942 by: Markus Stumpf

Things I have noted
55912 by: Rod... Whitworth
55930 by: Markus Stumpf
56012 by: Rod... Whitworth
56044 by: James R Grinter

bcc sucks
55913 by: Matthew Patterson
55915 by: Alex Pennace
55917 by: OK 2 NET - André Paulsberg
55922 by: Alex Pennace
55929 by: Matthew Patterson
56002 by: Brian Reichert

Re: unsubscribe [EMAIL PROTECTED]
55914 by: Noah Sematimba

qmailadmin
55916 by: info

qmail-pop3d broken LAST command
55918 by: Eng. Ramy M. Hassan
55923 by: Michael Maier
55948 by: Charles Cazabon

can't receive mails via telnet on port 25
55919 by: Thomas König
55920 by: Thomas König
55921 by: Thomas König
55925 by: Alex Pennace
55927 by: Thomas König

Is it safe to recompile and install qmail after patching.
55924 by: Eng. Ramy M. Hassan
55931 by: Markus Stumpf
55934 by: Matthew Patterson
55938 by: Peter van Dijk

Re: A lot of Temporary_error_on_maildir_delivery
55928 by: Markus Stumpf
55933 by: Kaj-Michael Lang
55946 by: Charles Cazabon

Re: rblsmtpd
55932 by: Chris Johnson
55998 by: Martin Randall
56017 by: Peter van Dijk
56018 by: Ian Lance Taylor

Re: Cron root@ns1 run-parts --report /etc/cron.daily
55936 by: root
55939 by: Matthew Patterson
55940 by: Chris Johnson
55941 by: Henning Brauer
55943 by: Greg Owen

Strange messages in log
55937 by: Marcus Korte
55944 by: pape.innominate.com
55945 by: Brett Randall

How to set routing in qmail?
55947 by: Michail A.Baikov
55949 by: Peter van Dijk

No transport provider was available for delivery to this recipient
55950 by: john roberts
55951 by: Markus Stumpf
55953 by: Charles Cazabon
55955 by: john roberts
55957 by: Alex Kramarov
55958 by: Markus Stumpf
55959 by: Markus Stumpf
55976 by: Jon Sharp

Re: No transport provider was available for delivery to this rec
55952 by: Frank Tegtmeyer
55960 by: Frank Tegtmeyer

Re: qmail-pop3d and fetchmail
55954 by: Kris Kelley
55956 by: Peter van Dijk
55963 by: Markus Stumpf
55972 by: Peter van Dijk

qmail compile error
55961 by: Fish Flowers
55967 by: Peter van Dijk

quotas
55962 by: fred
55966 by: fred

qmail+virtualdomain
55964 by: Massimiliano Santarelli
55970 by: Frank Tegtmeyer
55973 by: Markus Stumpf
55977 by: Peter van Dijk
55995 by: Massimiliano Santarelli
56016 by: Peter van Dijk
56021 by: Frank Tegtmeyer

ORBS
55965 by: Marcilio Jorgensen Cassella
55971 by: Chris Johnson
55975 by: Markus Stumpf
55978 by: Peter van Dijk
55989 by: Peter van Dijk

relay controls
55968 by: Dan Egli
55979 by: Chris Johnson
55980 by: Dan Egli
55981 by: Peter van Dijk
55985 by: Chris Johnson
55986 by: Markus Stumpf
55997 by: Charles Cazabon
56003 by: Mark Delany
56004 by: Peter van Dijk
56005 by: Markus Stumpf
56006 by: Charles Cazabon
56008 by: paul.anastrophe.com

Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)
55969 by: Patrick Bihan-Faou
55982 by: Markus Stumpf
55983 by: Greg Owen
55984 by: Dave Sill
55987 by: paul.anastrophe.com
55988 by: Peter van Dijk
55992 by: Patrick Bihan-Faou
55999 by: Patrick Bihan-Faou
56001 by: Markus Stumpf
56013 by: paul.anastrophe.com
56014 by: Mark Delany
56015 by: Greg Owen
56019 by: Charles Cazabon
56023 by: Scott Gifford
56025 by: D. J. Bernstein
56026 by: Virginia Chism
56028 by: Patrick Bihan-Faou
56032 by: Scott Gifford
56033 by: Patrick Bihan-Faou
56034 by: Markus Stumpf
56036 by: Pavel Kankovsky
56037 by: Dan Peterson
56038 by: Pavel Kankovsky

how to stop smtp  there's no sendmail
55974 by: rocael.usa.net
55991 by: Peter van Dijk
55993 by: Markus Stumpf
55996 by: pape.innominate.com
56000 by: Charles Cazabon

Re: in qmail
55990 by: Jeff Krintila
56009 by: Matthew Patterson
56010 by: Tim Hunter
56011 by: Peter van Dijk
56020 by: Charles Cazabon
56022 by: Frank Tegtmeyer

Sqwebmail Documentation
55994 by: Alex Le Fevre

SMTP Time issues
56007 by: Corey 

Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or127.0.0.1)

2001-01-26 Thread Vince Vielhaber

On Fri, 26 Jan 2001, Pavel Kankovsky wrote:

 On Thu, 25 Jan 2001, Dan Peterson wrote:

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys/netinet/tcp_usrreq.c
  Revision 1.20; dated Feb 28 1998.

 Hmm...hmm...right. Ok, I missed it. It did not occur to me 0.0.0.0 is a
 broadcast address in Canada. :)

 Anyway, qmail 1.00 was released on February 20, 1997. Was there any
 handling for 0.0.0.0 in qmail 1.00?

Now that's lame.  That statement would only have relevance if 1.00 was a
current release and it's not even close.  Drop it already.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: qmail+virtualdomain

2001-01-26 Thread Henning Brauer

On Thu, Jan 25, 2001 at 06:05:48PM +0100, Massimiliano Santarelli wrote:
 modifying the  locals/rcpthost files ,

 and in virtualdomain file (newvirtualdomain:newuser).
 ^
 How can i solve this problem and split different users with different
 virtualdomain??

Maybe in just using the right filenames... you missed the last s each.
virtualdomains and rctphosts are right.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: qmail+virtualdomain

2001-01-26 Thread Massimiliano Santarelli

On Thu, 25 Jan 2001, you wrote:
 Your virtualdomain is not called 'virtualdomain' so stop lying about
 that.
 
 Show us the contents of your configfiles, especially locals and
 virtualdomains, please.
 
 Greetz, Peter.

Well , now i put  "avatar.yi.org:alias-avatar" into virtualdomains file, 
and made a: touch ~alias/.qmail-avatar-pluto
Into my locals file i've: cikosub.yi.org
but if i send a mail to [EMAIL PROTECTED] and [EMAIL PROTECTED]
it seems there's no difference between the two domains for the same user.

thanks 
Massimiliano



Fw: RE: is there a filter to scan message header and reject accordingly

2001-01-26 Thread Alex Kramarov








  
  Brian Longwe [EMAIL PROTECTED] wrote
  
  Is there a filter that I can use to scan incoming  
  outgoing message headersand reject messages based on 
  pre-defined criteria (text string)?
  You've assumed that I 
  haven't already been there...I have...I've already looked at qmail-scanner 
  and I'm afraid that the overhead will be too much on my system. I 
  don't want a full-fledged virus-guard, is there something more 
  lightweight that can do regex filtering on the subject 
  line?
  
  
  You don't have to use the scanning features of qmail-scanner; you can 
  disable the scanner features just by commenting out some calls to the 
  scanning functions. hell, you can write you own 20-30 lines of perl script 
  based on qmail-scanner, all you have to do is to read the message from 
  pipe 1 and the envelope from pipe 2, rewrite them and reinject into 
  qmail-queue, all of the code is there ...





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



Re: ORBS

2001-01-26 Thread Piotr Kasztelowicz

On Thu, 25 Jan 2001, Marcilio Jorgensen Cassella wrote:

   How to fix it, please ?

does support your server open relay throu smtp?

Piotr
---
Piotr Kasztelowicz [EMAIL PROTECTED]
[http://www.am.torun.pl/~pekasz]




qmail license

2001-01-26 Thread Clemens Hermann

Hi,

this might seem like a stupid question but I really *did* bother quite a
while with the subject before asking here. Someone else asked me what
exactly the qmail license ist about. So I was looking for "the license".
I searched LWQ and google but everything I found is a statement about
limitaions for qmail-distributors and DJB's opinion about licenses.
Well, This does no have something to do with the qmail license, does it?
Is there a statement anywhere on the aouthors website that grants the
right to use qmail for any purpose as long as you just do not
redistribute it? Is there a statement that qmail can be used free of
charge? I did not fint a hint in "Running qmail" either (but there I
might have overseen it).

thanks for any explanation

/ch



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-26 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 10:18:11PM -, D. J. Bernstein wrote:
 Patrick Bihan-Faou writes:
  If you don't count that as a bug in qmail, then I don't know what is a
  bug...
 
 In fact, it's not a bug; it's a portability problem. If you were using
 OpenBSD, you'd see outgoing connections to 0.0.0.0 rejected with EINVAL.

Even BSD/OS, under which qmail including 1.03 was developed, 0.0.0.0
is the localhost. It is so on every other OS. You are describing
something that OpenBSD does different from the rest of the world.

Greetz, Peter.



amavirus

2001-01-26 Thread Dale Herring

Got a basic out of the box qmail install.  Invoked via rc.local using
tcpserver.  I compiled the amavis and installed.  did my links as directed
qmail-local  /usr/sbin/scanmails yadda yadda yadda
Before I put the links in place qmail works great.  
Using Maildir 
As soon as I put the links in place I get this crap.


Jan 26 06:36:24 mail qmail: 980512584.520058 info msg 489162: bytes 727
from [EMAIL PROTECTED] qp 6559 uid 101
Jan 26 06:36:24 mail qmail: 980512584.567272 starting delivery 3: msg
489162 to local [EMAIL PROTECTED]
Jan 26 06:36:24 mail qmail: 980512584.567352 status: local 1/10 remote 0/20
Jan 26 06:36:24 mail qmail-local[6569]: execution started
Jan 26 06:36:25 mail modprobe: Note: /etc/conf.modules is more recent than
/lib/modules/2.2.15-4mdksmp/modules.dep
Jan 26 06:36:25 mail modprobe: modprobe: Can't locate module binfmt-0064
Jan 26 06:36:25 mail  modprobe: Note: /etc/conf.modules is more recent than
/lib/modules/2.2.15-4mdksmp/modules.dep
Jan 26 06:36:25 mail modprobe: modprobe: Can't locate module binfmt-0064
Jan 26 06:36:25 mail qmail-local[6635]: terminating
Jan 26 06:36:25 mail qmail: 980512585.364156 delivery 3: success:
fgrep:_conflicting_matchers_specified/procmail:_Unrecognised_options:_"-"/Us
age:_procmail_[-vptoY]_[-f_fromwhom]_[parameter=value_|_rcfile]_.../___Or:_p
rocmail_[-toY]_[-f_fromwhom]_[-a_argument]_-d_recipient_.../___Or:_procmail_
[-ptY]_[-f_fromwhom]_-m_[parameter=value]_..._rcfile_[arg]_.../Processing_co
ntinued/procmail:_Couldn't_read_"/home/dale/dale"/bin/qmail-local:_/var/log/
qmail-local/logfile:_Permission_denied/

Okay I can handle the modules 2.2.15-4mdksmp  and the etc/conf.modules.
not a problem there
what is binfmt-0064 and what program installs it?
and why am I getting the rest of this message.
Mail dont get delivered btw.. just kind of sits in limbo someplace.



hint for MDaemon users

2001-01-26 Thread Peter van Dijk

MDaemon has an option very similar to fetchmail's 'qvirtual' option
(for stripping prefixes off Delivered-To lines). It's in the
'DomainPOP Mail Collection' config box, tab 'Processing'. Bottom box
named 'Address Processing'. Tick first box ('Strip Text From Left')
and enter text to be stripped in the textbox.

Some of your customers may be interested in this. I now hacked my
forward-wrapper to fix up DTLINE without the prefix, because some of
our customers have severely broken mailers.

Greetz, Peter.



smtproutes

2001-01-26 Thread Steve Woolley

I am planning to use smtproutes to route email from a qmail server
to an internal Microsoft Exchange 5.5 server. 
If the Exchange server goes down for a period of time, will the
qmail server cache (for lack of a better word) the routed emails
locally until the Exchange server comes back up? or will the
qmail server bounce the email back (after a given amount of time)?

Steve Woolley
[EMAIL PROTECTED]




Re: Qmail and GFS

2001-01-26 Thread James R Grinter

[EMAIL PROTECTED] writes:
 I'd like to get a bit of advice on this one. I know that NFS
 is a big no-no when using qmail due to the way it handles the
 queue. I also know that qmail may have trouble with certain
 journaling filesystems (for example, reiserfs) because qmail 
 assumes that link() and unlink() are syncronous operations
 (according to the reiserfs FAQ).

I knew I'd seen the requirements explicitly mentioned somewhere. Then
I had occasion to build qmail from scratch the other day and found it:

  % cat conf-qmail
  /var/qmail

  This is the qmail home directory. It must be a local directory, not
  shared among machines. This is where qmail queues all mail messages. 

  The queue (except for bounce message contents) is crashproof, if the
  filesystem guarantees that single-byte writes are atomic and that
  directory operations are synchronous. These guarantees are provided by
  fixed-block filesystems such as UFS and by journaling filesystems. Under
  Linux, make sure that all mail-handling filesystems are mounted with
  synchronous metadata.

ie. semantics that local Unix filesystems are supposed to conform to
(but which Reiserfs apparently doesn't).

Does GFS? That's the question.. 

James.



Re: smtproutes

2001-01-26 Thread Peter van Dijk

On Fri, Jan 26, 2001 at 08:31:49AM -0500, Steve Woolley wrote:
 I am planning to use smtproutes to route email from a qmail server
 to an internal Microsoft Exchange 5.5 server. 
 If the Exchange server goes down for a period of time, will the
 qmail server cache (for lack of a better word) the routed emails
 locally until the Exchange server comes back up? or will the
 qmail server bounce the email back (after a given amount of time)?

It will keep retrying for upto a week (with growing intervals). After
that week, it will bounce the mail.

Read up on queuelifetime in man qmail-send to see how to increase that
period even more.

Greetz, Peter.



Re: qmail+virtualdomain

2001-01-26 Thread Markus Stumpf

On Fri, Jan 26, 2001 at 12:05:18PM +0100, Massimiliano Santarelli wrote:
 Well , now i put  "avatar.yi.org:alias-avatar" into virtualdomains file, 
 and made a: touch ~alias/.qmail-avatar-pluto
 Into my locals file i've: cikosub.yi.org
 but if i send a mail to [EMAIL PROTECTED] and [EMAIL PROTECTED]
 it seems there's no difference between the two domains for the same user.

Did you   kill -HUP pidof(qmail-send)

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research  Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: bcc sucks

2001-01-26 Thread Alex Pennace

On Thu, Jan 25, 2001 at 06:27:12AM -0600, Matthew Patterson wrote:
 On Thu, 25 Jan 2001, Alex Pennace wrote:
 Sure it is. The recipient address for that local delivery is stored in
 the environment variable RECIPIENT. Additionally if instructions for
 the delivery are in a .qmail-...-default file the part of the address
 covered by the -default wildcard is in the environment variable
 DEFAULT. See man qmail-command.
 
 Sounds like just what I needed. The man page doesn't specify it the enviornment
 variables are set locally to the program or are globally set, I assume local to
 the program, but I want to make absolutely sure

They are set up in the environment prior to the execution of any
program lines.



Re: Qmail and GFS

2001-01-26 Thread Charles Cazabon

James R Grinter [EMAIL PROTECTED] wrote:
 
 ie. semantics that local Unix filesystems are supposed to conform to
 (but which Reiserfs apparently doesn't).

I believe there's a small patch to qmail somewhere on the ReiserFS site
which makes qmail as safe on that filesystem as on ext2 with synchronous
metadata.

A page with various tips:
http://www.jedi.claranet.fr/qmail-tuning.html

The actual qmail patch for ReiserFS:
http://www.jedi.claranet.fr/qmail-link-sync.patch

Russell, I don't think this is on qmail.org.  Care to add it?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: The joy of Qmail

2001-01-26 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 The other big gotcha is that qmail binaries have the uids of the qmail users
 hard coded in them.

Bruce Guenter has a very useful patch to qmail which makes it take its various
UIDs and GIDs from the ownership of a set of files in /var/qmail/owners -- so
if you want to reassign UIDs by searching through the filesystem and
piping the results to chmod scripts, qmail will continue to work just
fine, providing of course that you stop qmail before doing this, and re-start
it after.

The patch is included in his SRPM.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail license

2001-01-26 Thread Charles Cazabon

Clemens Hermann [EMAIL PROTECTED] wrote:
 
 this might seem like a stupid question but I really *did* bother quite a
 while with the subject before asking here.

Except that this has been discussed to death many times in the past on the
list.  Look through the qmail list archives; you'll find everything you
need there.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Re: Qmail and GFS

2001-01-26 Thread Alex Kramarov








  
  
  ---Original Message---
  
  
  Charles Cazabon 
  [EMAIL PROTECTED] wrote
  
  I believe there's a small patch to qmail somewhere on the ReiserFS 
  sitewhich makes qmail as safe on that filesystem as on ext2 with 
  synchronousmetadata.
  The patch info says : 
  Qmail was designed for BSD-like filesystems. And it is unreliable under 
  Linux because it assumes that link() is a synchronous operation. This is 
  not the case with EXT2 and ReiserFS. So you have to apply this patch to avoid losing messages due 
  system crashes
  
  Is this really true, about EXT2 being unreliable as well ?
  





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



Re: Re: Qmail and GFS

2001-01-26 Thread Charles Cazabon

Alex Kramarov [EMAIL PROTECTED] wrote:
 
 I believe there's a small patch to qmail somewhere on the ReiserFS site
 which makes qmail as safe on that filesystem as on ext2 with synchronous
 metadata.

 The patch info says : 
 Qmail was designed for BSD-like filesystems. And it is unreliable under Linux
 because it assumes that link() is a synchronous operation. This is not the
 case with EXT2 and ReiserFS. So you have to apply this patch to avoid losing
 messages due system crashes
 
 Is this really true, about EXT2 being unreliable as well ?

Not necessarily.  ext2 doesn't sync the metadata of a file when the file is
synced; instead, it is synced when the directory it is in is synced.

So for safety, you either have to mount the filesystem with synchonous
metadata (as I said above), or have your program sync the directory of a file
after syncing the file.  Bruce Guenter's SRPM of qmail includes a patch 
which does the directory sync, so you don't have to mount the filesystem
with synchronous metadata for safety.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmailadmin

2001-01-26 Thread Sumith Ail



Sure..

Read the INSTALL file that came with 
Qmailadmin

-Sumith

  - Original Message - 
  From: 
  info 
  To: qmail 
  Sent: Friday, January 26, 2001 1:42 
  AM
  Subject: qmailadmin
  
  Hello!!!
  is there a way to set max number of account for 
  each different domain name?
  
  Thanks
  


Re: Re: Qmail and GFS

2001-01-26 Thread Peter van Dijk

On Fri, Jan 26, 2001 at 04:44:55PM +0200, Alex Kramarov wrote:
[snip]
 Is this really true, about EXT2 being unreliable as well ?

Yes.

Greetz, Peter.



qmail - how bundle mails?

2001-01-26 Thread Thomas König

Hi,

how does i reach, so that qmail will send mail to different users
in the same domain as bundle?
e.g. [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
with one connection, so that only one mail must be send over the net
with the information to the smtp server, that this mail is for more
user.

the background is:
I've a mailing list server, and we pay for traffic.
On the server ist installed qmail, vpopmail and ezmlm.

any ideas?

tom



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-26 Thread Scott Gifford

Markus Stumpf [EMAIL PROTECTED] writes:

 On Thu, Jan 25, 2001 at 06:32:47PM -0500, Scott Gifford wrote:
  Markus Stumpf [EMAIL PROTECTED] writes:
   If AOL or hotmail would decide to change their MX records to your mailserver
   this will for sure also cause you problems.
  
  No it won't.  qmail will give an error that the MX records points back
  to itself, and bounce the message.
 
 I don't think that any mailserver out there will be able to handle
 the load if AOL or Hotmail will change the MX record to point at that
 system (without prior notice).
 This would be a DOS just like the 0.0.0.0 is.

  Oh, I see.  Yes, that's  correct.  There are all kinds of DOS
attacks against any public Internet service.  The ones to worry about
are the ones that let a single user with a slow Internet connection
deny service to a large number of people.  The ones that require being
singled out for destruction by large ISPs, there's nothing that can
really be done about.

-ScottG.



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-26 Thread Scott Gifford

"D. J. Bernstein" [EMAIL PROTECTED] writes:

 Patrick Bihan-Faou writes:
  If you don't count that as a bug in qmail, then I don't know what is a
  bug...
 
 In fact, it's not a bug; it's a portability problem. If you were using
 OpenBSD, you'd see outgoing connections to 0.0.0.0 rejected with EINVAL.

  Although the proposed fix, adding 0.0.0.0 to ipme, doesn't pose any
kind of compatibility problem.

-ScottG.




RE: Install went fine, but won't work

2001-01-26 Thread Miles Scruggs



   Sorry if this is a repeat to the list but I just subscribed

  The install went just find but I have a problem

  1.)  I can't seem to to set the enviroment variable to allow me to have
  certain hosts relay.  Below is the contents of my tcp.smtp
 
  127.0.0.1:allow,RELAYCLIENT=""
  192.168.1.:allow,RELAYCLIENT=""

 This allows anything in the 192.168.1.* subnet to relay through
 your host.

  192.:allow,RELAYCLIENT=""

Isn't 192.* a non routable Class A that will not route on the net?  ( I use
it internally)



 This allows anything in the 192.* net to relay through your host.
 I'm sure
 you do not mean that.

  65.193.90.:allow,RELAYCLIENT=""

I own most of this class C.  How can I specify a range  ie
65.193.90.129-200?



 And I have a feeling yo do not mean this, either (all hosts in
 65.193.90.*?
 Do you trust them all to relay through you?)

  :allow
 
  Then I ran the

  tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
 
  And here is my tcpserver startup line which is in
  /var/qmail/supervise/qmail-smtp/run
 
  exec /usr/local/bin/softlimit -m 200
 /usr/local/bin/tcpserver -v -p -x
  /etc/tcp.smtp.cdb -u 1003 -g 102 0 smtp rblsmtpd
  /var/qmail/bin/qmail-smtpd 21

 You're only using rbl.maps.vix.com for rblsmtpd (since you don't
 supply any
 options).

Where can I find out more about these options?


 You do not need to restart tcpserver to activate changes to
 /etc/tcp.smtp.cdb.
K thanks


 However, you're not telling us what the problem is; from which IP you're
 connecting to the smtpd, or what the error message was, or what the logs
 say.

When I try to relay mail to a remote host I get the error message
"sorry that domain isn't in my list of allowed hosts in the rcpthosts file"
This is when I try to relay from 192.168.1.147


 Can you connect to port 25 on that machine? Can you send mail to a user
 local to that machine (via smtp)?

I have have the host in rcpthosts it will even relay it remotely


Miles




SMTP Time woes

2001-01-26 Thread Corey Jarvis

To anyone,
Return-Path: [EMAIL PROTECTED]
Received: from lance.sapcanada.org ([EMAIL PROTECTED]
[205.240.222.67])
by mail.travel-net.com (8.9.3/8.9.3) with SMTP id LAA02916
for [EMAIL PROTECTED]; Fri, 26 Jan 2001 11:09:59 -0500
Received: (qmail 5414 invoked by uid 1031); 26 Jan 2001 16:15:52 -
### This message was sent at 11:32am , any ideas
Date: 26 Jan 2001 16:15:52 -
###
Message-ID: [EMAIL PROTECTED]
From: "Corey Jarvis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

I have checked all the time configurations and they are all set.
Any ideas




Re: Install went fine, but won't work

2001-01-26 Thread Chris Garrigues

 From:  "Miles Scruggs" [EMAIL PROTECTED]
 Date:  Fri, 26 Jan 2001 10:07:46 -0600

 
 
Sorry if this is a repeat to the list but I just subscribed
 
   The install went just find but I have a problem
 
   1.)  I can't seem to to set the enviroment variable to allow me to have
   certain hosts relay.  Below is the contents of my tcp.smtp
  
   127.0.0.1:allow,RELAYCLIENT=""
   192.168.1.:allow,RELAYCLIENT=""
 
  This allows anything in the 192.168.1.* subnet to relay through
  your host.
 
   192.:allow,RELAYCLIENT=""
 
 Isn't 192.* a non routable Class A that will not route on the net?  ( I use
 it internally)

Not true at all.  192 is where class C addresses start.  Once upon a time, 
they were all in 192.

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: rewriting outgoing remote mail

2001-01-26 Thread Michel Boucey


and does it work ?

is it just something like s/\@foo.org/\@foo.fr/ at the right place to do
or is it very much more complicated ?

Cordialement,

Michel Boucey   Administrateur Systme
 Socit Norm@net +33 2 31 27 13 45 


On Fri, 26 Jan 2001, Alex Kramarov wrote:

 Michel Boucey [EMAIL PROTECTED] wrote :
 
 I have installed an intranet qmail server on, say, foo.org ; and I want,
 for all the mail which is send to an Internet domain, for all the outgoing
 mail from the foo.org intranet domain, to rewrite the sender address from
 the intranet domain foo.org to the Internet domain foo.fr . Is it possible
 with the new qmail-inject from mess822 to rewrite the sender's domain name
 for the outgoing intranet mail to a valid Internet domain name ?
 
 I have asked this question here two weeks ago and no one answered, so I ended up 
modifying qmail-scanner to rewrite the messages.




qmail-inject not working?

2001-01-26 Thread Fish Flowers

Well, now I have supervise, svscan, and apparently qmail up and running:

bash-2.03# ps -ef |grep qmail
  qmailq  8711  8704  1 10:11:47 pts/20:00 qmail-clean
  qmaill  8710  8703  1 10:11:47 pts/20:00 /usr/local/bin/multilog t
/var/lo
g/qmail/smtpd
  qmailr  8708  8704  1 10:11:47 pts/20:00 qmail-rspawn
  qmails  8704  8700  2 10:11:46 pts/20:00 qmail-send
root  8715  8125  0 10:11:50 pts/20:00 grep qmail
root  8702  8699  1 10:11:46 pts/20:00 supervise qmail-smtpd
  qmaill  8705  8704  0   0:00 defunct
root  8700  8699  0 10:11:46 pts/20:00 supervise qmail-send
  qmaill  8707  8701  1 10:11:47 pts/20:00 /usr/local/bin/multilog t
/var/lo
g/qmail
root  8706  8704  1 10:11:47 pts/20:00 qmail-lspawn |preline
procmail
bash-2.03#

And yet when I try and use qmail-inject to test the delivery, nothing
happens -- no error messages, no syslogs, no mail. Very strange.

Furrfu. Any ideas? Thanks --

Fish.




Wildcards in badmailfrom?

2001-01-26 Thread Andy Bradford

Hey all,
I have a really annoying spammer on my hands and just wonder if it is 
possible to use wildcards in badmailfrom?  Originally I added

[EMAIL PROTECTED]

to badmailfrom and that blocked it for about a month.  Then he got 
halfway smart and changed his sender address to 

[EMAIL PROTECTED]

for which I added 

@tpts6.seed.net.tw

to badmailfrom.  This however, only worked for a few minutes as he is 
apparently starting to create random names for mail hosts.  Here is a 
list that I have collected so far

@tpts4.seed.net.tw
@mx.seed.net.tw
@ara.seed.net.tw
@tpts6.seed.net.tw
@sky.seed.net.tw
@iris.seed.net.tw
@giga.net.tw
@party.seed.net.tw
@ksmail.seed.net.tw
@saturn.seed.net.tw
@tpts7.seed.net.tw

Now, my question is, would it be possible to block as in

@*.seed.net.tw

Thanks.  I guess I could always try it to see what it does but I would 
rather know before hand---the man page doesn't mention anything about 
wildcards.

Andy




Re: Re: rewriting outgoing remote mail

2001-01-26 Thread Alex Kramarov








  
  Yes, it's as simple as that (only you have to put it in two places - 
  the read loop of the message and the envelope header). Right now I am in 
  process of rewriting the qmail-scanner script to do only, and only that, 
  withoutANYTHING related to virus scanning.
  
  ---Original Message---
  
  
  From: Michel Boucey 
  [EMAIL PROTECTED]
  Date: Friday, January 26, 
  2001 06:26:19 PM
  To: Alex Kramarov 
  [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: rewriting 
  outgoing remote mail
  and does it work ?is it just something like 
  s/\@foo.org/\@foo.fr/ at the right place to door is it very much more 
  complicated ?





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



Re: qmail - how bundle mails?

2001-01-26 Thread Charles Cazabon

Thomas Knig [EMAIL PROTECTED] wrote:
 
 how does i reach, so that qmail will send mail to different users
 in the same domain as bundle?
 e.g. [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 with one connection, so that only one mail must be send over the net
 with the information to the smtp server, that this mail is for more
 user.

You don't.  qmail was designed not to do this.  You could do major surgery
on the source, or use another MTA.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: RE: is there a filter to scan message header and reject accordingly

2001-01-26 Thread Brian Longwe



If I knew how to write perl I 
probably wouldn't be askingthanks for the tip anyway

  -Original Message-From: Alex Kramarov 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, January 26, 2001 2:22 
  PMTo: Qmail listSubject: Fw: RE: is there a filter to 
  scan message header and reject accordingly
  


  

Brian Longwe [EMAIL PROTECTED] wrote

Is there a filter that I can use to scan incoming  
outgoing message headersand reject messages based on 
pre-defined criteria (text string)?
You've assumed that 
I haven't already been there...I have...I've already looked at 
qmail-scanner and I'm afraid that the overhead will be too much on 
my system. I don't want a full-fledged virus-guard, is there 
something more lightweight that can do regex filtering on the 
subject line?


You don't have to use the scanning features of qmail-scanner; you 
can disable the scanner features just by commenting out some calls to 
the scanning functions. hell, you can write you own 20-30 lines of perl 
script based on qmail-scanner, all you have to do is to read the message 
from pipe 1 and the envelope from pipe 2, rewrite them and reinject into 
qmail-queue, all of the code is there ...

  

  
  



  __IncrediMail - Email has finally 
  evolved - Click 
Here


Re: Install went fine, but won't work

2001-01-26 Thread Charles Cazabon

Miles Scruggs [EMAIL PROTECTED] wrote:
 
   65.193.90.:allow,RELAYCLIENT=""
 
 I own most of this class C.  How can I specify a range  ie
 65.193.90.129-200?

If your subnet doesn't split on an octet boundary, list all the IPs
individually.  It all gets compiled into an efficient CDB anyway.
You only have to do this once; a four-line shellscript would make it
quick work.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail-inject not working?

2001-01-26 Thread Charles Cazabon

Fish Flowers [EMAIL PROTECTED] wrote:
 
 And yet when I try and use qmail-inject to test the delivery, nothing
 happens -- no error messages, no syslogs, no mail. Very strange.

qmail _always_ logs.  You're just looking in the wrong logfiles.  Look again,
based on your setup.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Wildcards in badmailfrom?

2001-01-26 Thread Charles Cazabon

Andy Bradford [EMAIL PROTECTED] wrote:
 I have a really annoying spammer on my hands and just wonder if it is 
 possible to use wildcards in badmailfrom?

Someone posted a patch to do this some time ago.  You could search the
qmail list archives for it, or look at qmail.org for a pointer.  I think
it was called 'badrcptpatterns' or something similar.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: SMTP Time woes

2001-01-26 Thread Moutsos Georgios

 Received: from lance.sapcanada.org ([EMAIL PROTECTED]
 [205.240.222.67])
 by mail.travel-net.com (8.9.3/8.9.3) with SMTP id LAA02916
 for [EMAIL PROTECTED]; Fri, 26 Jan 2001 11:09:59 -0500

-0500 the timezone.


 Received: (qmail 5414 invoked by uid 1031); 26 Jan 2001 16:15:52 -

The time was normalized to - timezone.
which means plus five hours.

J.





Re: Install went fine, but won't work

2001-01-26 Thread Greg White

Miles Scruggs wrote:
SNIP
 
   192.:allow,RELAYCLIENT=""
 
 Isn't 192.* a non routable Class A that will not route on the net?  ( I use
 it internally)
 
 
  This allows anything in the 192.* net to relay through your host.
  I'm sure
  you do not mean that.
 
SNIP

pedantic
Please read up on IPv4 classes. Classes are not determined by the size
of 
the network address. 192.x.x.x is a class B address. 63.x.x.x (that you
mentioned in a part I snipped) is a class A address. They may hand these
out in /24 sizes, but the class remains the same. Also, non-routable is
a misnomer. Nothing prevents misconfigured routers from routing the
true private networks (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16)
to anywhere in the world, and many routers do.
/pedantic

Now that that's over, no, 192.0.0.0/8 is _not_ a private network. To
prove this to yourself, traceroute f.root-servers.net, or just do 
a 'dig' (or dnsqr ) on it:

;; ADDITIONAL SECTION:
a.root-servers.net. 5w6d16h IN A198.41.0.4
f.root-servers.net. 5w6d16h IN A192.5.5.241
j.root-servers.net. 5w6d16h IN A198.41.0.10
k.root-servers.net. 5w6d16h IN A193.0.14.129


HTH,

GW



RE: Install went fine, but won't work

2001-01-26 Thread Miles Scruggs


 Miles Scruggs [EMAIL PROTECTED] wrote:
  
65.193.90.:allow,RELAYCLIENT=""
 
  I own most of this class C.  How can I specify a range  ie
  65.193.90.129-200?

 If your subnet doesn't split on an octet boundary, list all the IPs
 individually.  It all gets compiled into an efficient CDB anyway.
 You only have to do this once; a four-line shellscript would make it
 quick work.

Ok all understood, but that doesn't solve the main problem.  I'm trying to
relay from one of the host that are under that relay umbrella and it won't
let me.  For some reason it looks like the variable isn't being set.

btw what is a good class address scheme that I can use for internal use and
won't route on the internet.  I think 10.* is one are there any others.

Miles




Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or127.0.0.1)

2001-01-26 Thread qmail

On Thu, 25 Jan 2001, Markus Stumpf wrote:

 If AOL or hotmail would decide to change their MX records to your mailserver
 this will for sure also cause you problems.

Actually, Qmail works fine as an incoming MX for Hotmail.com.
mail.hotmail.com, one of Hotmail's incoming mx machines, runs Qmail. [1]

While not quite on the same scale as hotmail/AOL, egroups.com is not
exactly a low-traffice mail server.  egroups has a single incoming mail
exchanger, which runs Qmail.

This is one of the reasons I like Qmail--it can scale up to just about any
level of mail traffic out there.

- Sam

[1] Qmail's fingerprint is that it accepts the
MAIL FROM: [EMAIL PROTECTED] in the SMTP session being shortened
to MAIL [EMAIL PROTECTED]




Re: Wildcards in badmailfrom?

2001-01-26 Thread Andy Bradford

On Fri, 26 Jan 2001 10:40:12 CST, Charles Cazabon wrote:

 Someone posted a patch to do this some time ago.  You could search the
 qmail list archives for it, or look at qmail.org for a pointer.  I think
 it was called 'badrcptpatterns' or something similar.

Yes, thanks to another poster I found the wildmat program/patch that 
will add this into it.  I seached for ``wildcard'' instead of ``regex'' 
on qmail.org which is why I didn't see it the first time...

Andy




Re: amavirus

2001-01-26 Thread Rainer Link

Dale Herring wrote:

 
 Jan 26 06:36:24 mail qmail: 980512584.520058 info msg 489162: bytes 727
 from [EMAIL PROTECTED] qp 6559 uid 101
 Jan 26 06:36:24 mail qmail: 980512584.567272 starting delivery 3: msg
 489162 to local [EMAIL PROTECTED]
 Jan 26 06:36:24 mail qmail: 980512584.567352 status: local 1/10 remote 0/20
 Jan 26 06:36:24 mail qmail-local[6569]: execution started
That's a message from scanmails, so I assume the following stuff is
cause by your anti-virus scanner which is called from scanmails. Which
anti virus product do you use?

 Jan 26 06:36:25 mail modprobe: Note: /etc/conf.modules is more recent than
 /lib/modules/2.2.15-4mdksmp/modules.dep
 Jan 26 06:36:25 mail modprobe: modprobe: Can't locate module binfmt-0064
 Jan 26 06:36:25 mail  modprobe: Note: /etc/conf.modules is more recent than
 /lib/modules/2.2.15-4mdksmp/modules.dep
 Jan 26 06:36:25 mail modprobe: modprobe: Can't locate module binfmt-0064
 Jan 26 06:36:25 mail qmail-local[6635]: terminating
Here terminats scanmails

 Jan 26 06:36:25 mail qmail: 980512585.364156 delivery 3: success:
 fgrep:_conflicting_matchers_specified/procmail:_Unrecognised_options:_"-"/Us
 age:_procmail_[-vptoY]_[-f_fromwhom]_[parameter=value_|_rcfile]_.../___Or:_p
 rocmail_[-toY]_[-f_fromwhom]_[-a_argument]_-d_recipient_.../___Or:_procmail_
 [-ptY]_[-f_fromwhom]_-m_[parameter=value]_..._rcfile_[arg]_.../Processing_co
 ntinued/procmail:_Couldn't_read_"/home/dale/dale"/bin/qmail-local:_/var/log/
 qmail-local/logfile:_Permission_denied/

Why is procmail called here? Which ./configure did you use for AMaViS
0.2.1 ?

best regards,
Rainer Link

-- 
Rainer Link  | Student of Computer Networking
[EMAIL PROTECTED] | University of Applied Sciences, Furtwangen, Germany
rainer.w3.to | http://www.computer-networking.de/



Re: Install went fine, but won't work

2001-01-26 Thread Miles Scruggs

Ok I got it working.  I read another Howto and it said to load the tcp.smtp
with

/usr/local/sbin/qmail cdb

now the other one that I was using was

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp

Which for some reason wasn't working.  In any event now everything works
just like I want it to.  I just have to learn about IPV4 some more.  Anyone
have some good references since I'm not understanding a whole lot about it.

Miles




Re: Re: Re: rewriting outgoing remote mail

2001-01-26 Thread Alex Kramarov








  if anyone is still interested in that rewritten and scaled down 
  qmail-scanner, I have got it up and running, and can send it to anyone who 
  is is interested.
  
  ---Original Message---
  
  
  From: Alex Kramarov 
  [EMAIL PROTECTED]
  Date: Friday, January 26, 
  2001 06:35:04 PM
  To: Qmail list 
  [EMAIL PROTECTED]
  Subject: Re: Re: rewriting 
  outgoing remote mail
  
  
  Yes, it's as simple as that (only you have to put it in two places - 
  the read loop of the message and the envelope header). Right now I am in 
  process of rewriting the qmail-scanner script to do only, and only that, 
  withoutANYTHING related to virus scanning.
  
  ---Original Message---
  
  
  From: Michel Boucey 
  [EMAIL PROTECTED]
  Date: Friday, January 26, 
  2001 06:26:19 PM
  To: Alex Kramarov 
  [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: rewriting 
  outgoing remote mail
  and does it work ?is it just something like 
  s/\@foo.org/\@foo.fr/ at the right place to door is it very much more 
  complicated ?
  





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



mail routing?

2001-01-26 Thread Omer Faruk Sen

Hi;

Is it possible to route incoming mails to different
machines for example
if a user name start with a to c abc.foo.org will
handle it or if a user name start with d to g 
defg.foo.org will handle that..
I think it must be possible.And all machines must be
aware of that configuration to handle right email.Of
course there is another problem grows how will end
user
know which machine is right machine to send mail and
RECEIVE(via pop3)

any comments? 

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



failure notice (qmail and ezmlm)

2001-01-26 Thread Ben

Hello all,

I am having difficulty in getting my mailing lists to work.  I believe that
the lists addressed are not even being evaluated by ezmlm, but are being
reject by qmail due to a configuration mistake on my part.

The msg at the end of this email is a forward of the failure notice from
qmail.

Also, I am including my configs and other info below:

"aquinas.pp.asu.edu" is the host's real name, and "hdshc.asu.edu" is an alias
for this host.

All mailing lists are in the form "[EMAIL PROTECTED]" (virtual
domain) -- but seems to get reformatted to "[EMAIL PROTECTED]",
which is annoying but workable; This system used to work until I screwed
something up in the config files :( 

I would greatly appreciate any help on this.  I have been fighting this for a
day now and need to get the lists back up.  

BEGIN FILES:
users/assign---
+hdshc.asu.edu-:hdshc.asu.edu:1002:83:/home/vpopmail/domains/hdshc.asu.edu:-::
+aquinas.pp.asu.edu-:aquinas.pp.asu.edu:1002:83:/home/vpopmail/domains/aquinas.pp.asu.edu:-::
.

control/defaultdomain-
pp.asu.edu

-control/defaulthost--
hdshc.asu.edu

control/locals--
localhost.asu.edu
aquinas.pp.asu.edu

-control/me-
aquinas.pp.asu.edu


--control/plusdomain-
asu.edu


---control/rcpthosts-
localhost.asu.edu
aquinas.pp.asu.edu
hdshc.asu.edu

control/virtualdomains---
aquinas.pp.asu.edu:hdshc.asu.edu

END FILES


I know the problem is probably simple, but I can't see it.  It has deffinately
prompted me to want to learn more about email systems and qmail more
specifically.

Again, any assistance on this would be greatly appreciated.

--
Ben Trussell
Hugh Downs School of Human Communication
[EMAIL PROTECTED]

You can write a small letter to Grandma in the filename.
-- Forbes Burkowski, CS, University of Washington


-- Forwarded message --
Date: Fri, 26 Jan 2001 17:49:41 +
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at aquinas.pp.asu.edu.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 424 invoked from network); 26 Jan 2001 17:49:41 -
Received: from post2.inre.asu.edu (129.219.110.73)
  by aquinas.pp.asu.edu with SMTP; 26 Jan 2001 17:49:41 -
Received: from conversion.post2.inre.asu.edu by asu.edu (PMDF V6.0-24 #47347)
 id [EMAIL PROTECTED] for [EMAIL PROTECTED]; Fri,
 26 Jan 2001 10:38:52 -0700 (MST)
Received: from general2.asu.edu (general2.asu.edu [129.219.10.242])
 by asu.edu (PMDF V6.0-24 #47347) with ESMTP id [EMAIL PROTECTED] for
 [EMAIL PROTECTED]; Fri, 26 Jan 2001 10:38:52 -0700 (MST)
Received: from localhost (localhost [127.0.0.1])
by general2.asu.edu (8.9.3/8.9.3) with ESMTP id KAA00141for
 [EMAIL PROTECTED]; Fri, 26 Jan 2001 10:38:48 -0700 (MST)
Date: Fri, 26 Jan 2001 10:38:48 -0700 (MST)
From: Ben [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII



--
Ben Trussell
Hugh Downs School of Human Communication
[EMAIL PROTECTED]

Dishonor will not trouble me, once I am dead.
-- Euripides






Re: Things I have noted

2001-01-26 Thread qmail

On 26 Jan 2001, James R Grinter wrote:

 On the subject of notifications, it's becoming more of a problem
 because of "similar" domains - you should have typed
 "[EMAIL PROTECTED]" and instead type "[EMAIL PROTECTED]". The
 latter doesn't even accept mail deliveries, so it hangs around in the
 queue for too long.

I have had emails that took literally a month to get delivered.  It was
nice that Qmail kept the message in the queue that long, since the message
would have not been delivered to him if I was using a MTA that gives up
after five days.

The problem with "there is a delay in delivering the message"-type mails
is that the average user never takes the time to read those messages, and
thinks that they mean that the mail has bounced.

- Sam




Problem with sending: access denied

2001-01-26 Thread Emily Witcher

Trying to send to a mailing list on our server, I get this error:

Jan 26 11:12:33 chub qmail: 980532753.765862 delivery 33222: deferral:
Unable_to_open_.qmail/LISTNAME/qmail-default:_access_denied._(#4.3.0)/

.qmail/LISTNAME/q-mail-default is a pointer to
/home/accountname/listname/manager and this file and directory both have RX
permission for user, group, and world. What else could be going on?
Thanks...

Emily Witcher
Crytech Inc.
406-655-0501
[EMAIL PROTECTED]




Re: qmail license

2001-01-26 Thread Clemens Hermann

Am 26.01.2001 um 08:39:04 schrieb Charles Cazabon:

Hi Charles,

  this might seem like a stupid question but I really *did* bother quite a
  while with the subject before asking here.
 
 Except that this has been discussed to death many times in the past on the
 list.  

perhaps it might be an idea to lose some words about this in the
qmail-FAQ or on the website to avoid people (as mine ;-) asking the same
question over and over again.

 Look through the qmail list archives; you'll find everything you
 need there.

I did exactly this and I looked at the archive again for a long time
back. My Problem is this: DJB says as the first words in his statement 
about Software user's rights:

In the United States, once you own a copy of a program..
2 Problems:
a) I am not within the United States and the *much *bigger problem is:
b) When Do I own a copy of a program? If I burn a CD of M$ Windows I own
the CD but this still does not grant the right to me to use the program
on it. The part I need is: Where is said, that if I download qmail from
DJB's website, I *DO OWN* the copy of qmail? 
There are lots of examples where by just having the source of a pice of 
software you do not own this software by any means. You can even receive
the software legally but you are just not allowed to use them e.g. for
commercial purpose.
So: Where is said that I own qmail as soon as I download it? This would
be necessary to apply DJBs statement to any existing situation.

thanks in advance

/ch



Failure notice Headers

2001-01-26 Thread NDSoftware

Hi,
How i can personalise the failure notice and add
X-Complaint-to:[EMAIL PROTECTED] in headers ?

I have a server with a name ndsoftware.net when i make a lookup on ip. How
force qmail to use mail.ndsoftware.net ? And how apply this in headers ?

Thanks

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




Re: Things I have noted

2001-01-26 Thread Markus Stumpf

On Fri, Jan 26, 2001 at 10:13:28AM -0800, [EMAIL PROTECTED] wrote:
 The problem with "there is a delay in delivering the message"-type mails
 is that the average user never takes the time to read those messages, and
 thinks that they mean that the mail has bounced.

No, the problem is that while they may be helpful if sent by a server
under your control (where you can delete the message if you like)
they are a nightmare if sent by remote systems where you have no chance
to control them.
As I said before, if you will get one every hour for a whole week
(and then the message was bounced with a undelivery notice) you will
surely start to hate this "feature".

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research  Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: failure notice (qmail and ezmlm)

2001-01-26 Thread Markus Stumpf

On Fri, Jan 26, 2001 at 11:08:49AM -0700, Ben wrote:
 All mailing lists are in the form "[EMAIL PROTECTED]" (virtual
 domain) -- but seems to get reformatted to "[EMAIL PROTECTED]",

This is because of
hdshc.asu.edu.  IN CNAME aquinas.pp.asu.edu.
hdshc.asu.edu will be rewritten to aquinas.pp.asu.edu by mailservers
as a CNAME says kinda "this host does not exist and is really called
aquinas.pp.asu.edu".

 control/locals--
 localhost.asu.edu
 aquinas.pp.asu.edu
 control/virtualdomains---
 aquinas.pp.asu.edu:hdshc.asu.edu


A host may not be in locals and virtualdomains at the same time
(i.e. it may, but locals takes precedence to virtualdomains).

Another problem might be that if the ezmlm mailinglist is configured
to be [EMAIL PROTECTED] it will not accept beeing called
[EMAIL PROTECTED]

The easiest way to fix your problem is probably to change
hdshc.asu.edu.  IN  CNAME   aquinas.pp.asu.edu.
to
hdshc.asu.edu.  IN  A   129.219.125.101

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research  Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: failure notice (qmail and ezmlm)

2001-01-26 Thread Chris Johnson

On Fri, Jan 26, 2001 at 11:08:49AM -0700, Ben wrote:
 I am having difficulty in getting my mailing lists to work.  I believe that
 the lists addressed are not even being evaluated by ezmlm, but are being
 reject by qmail due to a configuration mistake on my part.
 
 The msg at the end of this email is a forward of the failure notice from
 qmail.
 
 Also, I am including my configs and other info below:
 
 "aquinas.pp.asu.edu" is the host's real name, and "hdshc.asu.edu" is an alias
 for this host.
 
 All mailing lists are in the form "[EMAIL PROTECTED]" (virtual
 domain) -- but seems to get reformatted to "[EMAIL PROTECTED]",
 which is annoying but workable;

Remove the CNAME record and make it an A or an MX record. That's what's causing
the rewriting of the host name.

 BEGIN FILES:
 users/assign---
 +hdshc.asu.edu-:hdshc.asu.edu:1002:83:/home/vpopmail/domains/hdshc.asu.edu:-::
 
+aquinas.pp.asu.edu-:aquinas.pp.asu.edu:1002:83:/home/vpopmail/domains/aquinas.pp.asu.edu:-::
 .
 
 control/defaultdomain-
 pp.asu.edu
 
 -control/defaulthost--
 hdshc.asu.edu
 
 control/locals--
 localhost.asu.edu
 aquinas.pp.asu.edu
 
 -control/me-
 aquinas.pp.asu.edu
 
 
 --control/plusdomain-
 asu.edu
 
 
 ---control/rcpthosts-
 localhost.asu.edu
 aquinas.pp.asu.edu
 hdshc.asu.edu
 
 control/virtualdomains---
 aquinas.pp.asu.edu:hdshc.asu.edu
 
 END FILES
 
 
 I know the problem is probably simple, but I can't see it.  It has deffinately
 prompted me to want to learn more about email systems and qmail more
 specifically.

You have aquinas.pp.asu.edu in both locals and virtualdomains. Having a domain
in both files is always a mistake. To fix your problem, get rid of the CNAME,
and add hdshc.asu.edu to virtualdomains and remove it from locals.

Chris



Re: Re: Qmail and GFS

2001-01-26 Thread Bruce Guenter

On Fri, Jan 26, 2001 at 08:52:01AM -0600, Charles Cazabon wrote:
 So for safety, you either have to mount the filesystem with synchonous
 metadata (as I said above), or have your program sync the directory of a file
 after syncing the file.  Bruce Guenter's SRPM of qmail includes a patch 
 which does the directory sync, so you don't have to mount the filesystem
 with synchronous metadata for safety.

That's actually not a patch.  It's a small object file that replaces the
libc open, link, rename, and unlink routines.  The replacement routines
call the syscall as usual, but after making the call do a fsync on the
directory leading up to the given filename.
-- 
Bruce Guenter [EMAIL PROTECTED]   http://em.ca/~bruceg/

 PGP signature


assign file lost

2001-01-26 Thread maxen





I had my /var/qmail/users/assign file lost.
but i want to recover this file and the relatived cdb file by 
my-self
what can i do?



Re: assign file lost

2001-01-26 Thread Mark Delany

On Sat, Jan 27, 2001 at 04:02:48AM +0800, maxen wrote:
 I had my /var/qmail/users/assign file lost.
 but i want to recover this file and the relatived cdb file by my-self
 what can i do?

Lost? You mean someone deleted them or the disk got trashed, right?

The usual thing is to get it off of your backup. Does this not work
for you?

If you're asking for a magic way to get a file back that has been
deleted/trashed and which you have no backup, then you're out of
luck. This is not a qmail problem though, this is a system management
problem.


Regards.



Re: qmail license

2001-01-26 Thread Dave Sill

Clemens Hermann [EMAIL PROTECTED] wrote:

My Problem is this: DJB says as the first words in his statement 
about Software user's rights:

In the United States, once you own a copy of a program..
2 Problems:
a) I am not within the United States

Good question... I suppose your rights would be determined by your
countries copyright law.

and the *much *bigger problem is:
b) When Do I own a copy of a program?

IANAL, but you own a copy of a program when you possess a legally
obtained copy. You don't have to hold the copyright to the original to 
own a copy.

There are lots of examples where by just having the source of a pice of 
software you do not own this software by any means.

No, but you own the copy.

You can even receive
the software legally but you are just not allowed to use them e.g. for
commercial purpose.

Only when the copyright holder distributes the software under a
license that restricts its use. qmail is not distributed with a
license.

So: Where is said that I own qmail as soon as I download it?

You don't "own qmail", you own a copy of it.

-Dave



Re: can't connect to smtp

2001-01-26 Thread Keary Suska

Have you checked your tcpserver logs to see what it thinks is going on? If
there is no record of your attempt to connect, it means it is not listening
on port 25. Otherwise it may tell you why you are being refused. Just in
case--did you re/compile the rules file? You could also use tcprulescheck to
test the rules file.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Curtis Collicutt [EMAIL PROTECTED]
 Date: Thu, 25 Jan 2001 22:54:52 -0800 (PST)
 To: [EMAIL PROTECTED]
 Subject: can't connect to smtp
 
 Hi,
 
 I'm trying to diagnose the reason why I can't connect
 to port 25 on the localhost. I've tried with #telnet
 localhost 25 and #mconnect and I get:
 
 tcpclient: unable to connect to 127.0.0.1 port 25:
 connection refused
 
 with both.
 
 I've just installed qmail following the howto found at
 http://www.flounder.net/qmail/qmail-howto.html.
 
 $ ps ax | grep qmail
 22825 ??  S   8:39.46 supervise qmail-smtpd
 25256 p0  R+  0:00.00 grep qmail (sh)
 20531 C0- S  10:04.16 supervise qmail-send
 
 Shows that qmail-smtpd is running, but I can't
 connect.
 
 tcpserver rules are:
 127.0.0.1:allow,RELAYCLIENT=""
 :allow
 
 So I should be able to connect, as far as I know.
 
 Anything else I can look at? I'm so stumped.
 
 Thanks for any help.
 Curtis.
 
 
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices.
 http://auctions.yahoo.com/
 




tcpserver unable to figure out port number for smtp

2001-01-26 Thread Fish Flowers

OK, I lied, qmail is logging -- I just wasn't clueful enough to figure out
where. But now I have! (Thanks James and Charles.) But it didn't help.
/var/log/qmail/smtpd/current shows the following:

@40003a71e0a43872189c tcpserver: fatal: unable to figure out port
number for smtp
... repeat ad nauseam

OK, fair enough... how do I open the port? Or point tcpserver to
it? Ack! Lack of unix training coming back to bite me in the butt!

Fish.





Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Kris Kelley

Fish Flowers wrote:
 @40003a71e0a43872189c tcpserver: fatal: unable to figure out port
 number for smtp

 OK, fair enough... how do I open the port? Or point tcpserver to
 it? Ack! Lack of unix training coming back to bite me in the butt!

Looks like you're calling tcpserver with a port argument of "smtp".  You
have two options: either use a port argument of "25" instead (a number
instead of a name), or define a port number for smtp in /etc/services or
similar file.

---Kris Kelley




Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Fish Flowers

On Fri, 26 Jan 2001, Kris Kelley wrote:

 Looks like you're calling tcpserver with a port argument of "smtp".  You
 have two options: either use a port argument of "25" instead (a number
 instead of a name), or define a port number for smtp in /etc/services or
 similar file.

Hmm -- but smtp is assigned a port number (25) in /etc/services...

When and where is tcpserver called? I'll try passing it an explicit port
argument...

Fish.




Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Kris Kelley

Fish Flowers wrote:
 Hmm -- but smtp is assigned a port number (25) in /etc/services...

 When and where is tcpserver called? I'll try passing it an explicit port
 argument...

That depends.  If you followed the "Life with qmail" way of doing things,
tcpserver is called from /var/qmail/supervise/qmail-smtpd/run.  At any rate,
qmail should be fired up during the machine's boot sequence, so the call to
tcpserver, or at least the script it's hiding in, should be somewhere in
your start-up scripts.

---Kris Kelley




local delivery problem

2001-01-26 Thread Jorge Bras

Hi there,

i'm getting this msg at my mail log:

 delivery 13: deferral:
 message_transmission_failed_(451_See_http://pobox.com/~djb/docs/smtplf.html.)/

i have already read it (http://pobox.com/~djb/docs/smtplf.html).

i'm using, fetchmail to retrieve my mail.

could any one help me please.

./bras
--
Jorge Bras
Support Engineer
kpnQwest Portugal
GPG Fingerprint: 9DE5 F4E7 FB38 01CB 9F54  E7EC C6FA 3A8C 2E0E 54EB



Re: local delivery problem

2001-01-26 Thread Charles Cazabon

Jorge Bras [EMAIL PROTECTED] wrote:
 
  delivery 13: deferral:
  message_transmission_failed_(451_See_http://pobox.com/~djb/docs/smtplf.html.)/
 
 i have already read it (http://pobox.com/~djb/docs/smtplf.html).

Which part didn't you understand?  You're injecting mail with bare linefeeds.
That's a no-no.  Don't do it.

 i'm using, fetchmail to retrieve my mail.

Then fetchmail is broken.  Use something else.  I wrote getmail because of
issues like this.  You can find it from the link below, and best of all,
it doesn't even do delivery by SMTP re-injection.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: local delivery problem

2001-01-26 Thread Kris Kelley

Charles Cazabon wrote:
 Which part didn't you understand?  You're injecting mail with bare
linefeeds.
 That's a no-no.  Don't do it.

  i'm using, fetchmail to retrieve my mail.

 Then fetchmail is broken.  Use something else.

I wouldn't say fetchmail is broken.  The bare LFs weren't inserted by
fetchmail, they're being passed on unchanged from the original source.
Alternatively, fetchmail provides an option, forcecr, that will make sure
every line ends with a CRLF.  http://cr.yp.to/docs/smtplf.html covers this.

 I wrote getmail because of
 issues like this.  You can find it from the link below, and best of all,
 it doesn't even do delivery by SMTP re-injection.

I like that feature.  At any rate, fetchmail also offers delivery straight
to an MDA.

---Kris Kelley




stupid question of the year award!

2001-01-26 Thread Virginia Chism

Sorry for being such a dunce.  I have been there many times and just didn't
pay attention to the title.  Please ignore and don't flame . . .(hiding)

  "Life with qmail"

I have seen this mentioned several, times lately.  Where can I find this
document?




RE: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Laurence Brockman

http://www.lifewithqmail.org/

HIH,
Laurence

--
Laurence Brockman
Unix Administrator
Videon Cablesystems Alberta Inc
10450-178 St.
Edmonton, AB
T5S 1S2
[EMAIL PROTECTED]
(780) 486-6527


-Original Message-
From: Virginia Chism [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 3:12 PM
To: QMail Mailing List
Subject: RE: tcpserver unable to figure out port number for smtp



  "Life with qmail"

I have seen this mentioned severa, times lately.  Where can I find this
document?



Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Robin S. Socha

* Virginia Chism [EMAIL PROTECTED] [010126 17:16]:

   "Life with qmail"
 
 I have seen this mentioned severa, times lately.  Where can I find
 this document?

Webmaster, huh? http://www.google.com/search?q=%22life+with+qmail%22



Re: stupid question of the year award!

2001-01-26 Thread qmail

On Fri, 26 Jan 2001, Virginia Chism wrote:

   "Life with qmail"

 I have seen this mentioned several, times lately.  Where can I find this
 document?

http://www.lifewithqmail.org

And, oh, while I am here, I would like to inform everyone that, to
unsubscribe from the list, send email to [EMAIL PROTECTED]
I've mentioned this before, and I will mention this again.


- Sam





Re: stupid question of the year award!

2001-01-26 Thread Jerry Lynde

At 03:16 PM 1/26/2001, you wrote:
Sorry for being such a dunce.  I have been there many times and just didn't
pay attention to the title.  Please ignore and don't flame . . .(hiding)

heh too late... there are some on this list who are simply laying in wait for
an opportunity to flame at any sign of weakness or silly questions... a bit
like jackals in that respect, aren't we, Mr. Socha? ;o)


smartass on a Friday

Jer




qmail config

2001-01-26 Thread NDSoftware

Hi,
Where is the tcpserver config ?
Can you help me tou configure this ?
Thanks



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: qqrbl
Date: Wed, 27 Dec 2000 16:52:06 -0800

Next_Part(Wed_Dec_27_16:52:06_2000_747)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Russ,

Find attached a quick script I hacked up to use with Bruce Guenter's
QMAILQUEUE patch. I have it installed on my system as
/var/qmail/libexec/qqrbl and run it via
':allow,QMAILQUEUE="/var/qmail/libexec/qqrbl"' in my tcpserver config
file.

Uses the Mail::RBL module (note that Mail::RBL thinks it requires a
really recent version of Perl, but if you change the 'our $VERSION'
variable to 'use vars qw($VERSION)' and get rid of the 'use
warnings.pm', it runs just fine under 5.005_03.

Real simple script, basically, it groks the IP's out of every
Received: line and runs them through all three RBL's at mail-abuse.org
(easy enough to edit the script to change that) and adds an 'X-RBL:'
header for every match, making filtering down the line easier.

I considered just using a simple bourne shell script with Bruce's
qmail-qfilter and rblcheck, but this seems more elegant. :)

Please post on qmail.org as you see fit.

Thanks.

j.


Next_Part(Wed_Dec_27_16:52:06_2000_747)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=qqrbl

#!/usr/bin/perl
#
# Id : qqrbl
# Author : Jay Soffian [EMAIL PROTECTED]
# Purpose: Runs IP's found in message Received: lines through rblcheck
#  and notes any positive hits by adding X-RBL: headers.
# History: Dec 27, 2000 - Initial.

use strict;
use Mail::RBL;

sub qqrbl {
  my $qmail_queue = "/var/qmail/bin/qmail-queue";
  my %rbls;
  foreach my $rbl (@_) {
$rbls{$rbl} = new Mail::RBL($rbl);
  }

  # We get our message contents on fd0 from qmail-smtpd or ofmipd.
  open(SMTPEIN, "=0") or fail(54, "dup(fd0) failed (#4.3.0) - $!");

  # Create a pipe so we can wedge ourselves between qmail-smtpd/ofmipd and
  # qmail-queue. We pass fd1 (the message envelope) straight through since
  # we don't care about it for purposes of rblchecks.
  pipe (QQEIN, QQEOUT)  or fail(51, "pipe() failed (#4.3.0) - $!");

  my $qq_pid = fork;
  fail(51, "fork() failed (#4.3.0) - $!") unless defined $qq_pid;

  if ($qq_pid == 0) { # child (exec qmail-queue)
# unset QMAILQUEUE so that we don't get executed again by accident,
# causing an infinite loop.
delete $ENV{QMAILQUEUE};
close QQEOUT; # don't need this half of the pipe
# wedge between stdin and the pipe
open (STDIN, "QQEIN") or fail(54, "dup(pipe) failed (#4.3.0) - $!");
exec $qmail_queue   or fail(51, "exec($qmail_queue) failed
(#4.3.0) - $!");

  } else { # parent
$SIG{'PIPE'} = 'IGNORE';
close QQEIN;# don't need this half of the pipe.

my %ips;
while(SMTPEIN) {
  if (1 .. /^$/) {
map {$ips{$_} = 1} /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g if
/^Received:/;
if (/^$/) {
  foreach my $rbl (sort keys %rbls) {
foreach my $ip (keys %ips) {
  print QQEOUT "X-RBL: $ip is listed by $rbl\n" if
$rbls{$rbl}-check($ip);
}
  }
}
  }
  print QQEOUT $_;  # pass message along to qmail-queue
}

# close everything properly
close SMTPEIN or fail(54,"close(smtp in) failed (#4.3.0) - $!");
close QQEOUT  or fail(53,"close(qq out) failed (#4.3.0) - $!");

# make sure qmail-queue exits okay
waitpid ($qq_pid,0);
my ($status) = ($?  8);
fail($status, "qmail-queue failed ($status). (#4.3.0)") unless $status
== 0;
  }
}
qqrbl(qw(relays.mail-abuse.org
dialups.mail-abuse.org
 blackholes.mail-abuse.org
)
 );
exit 0;

sub fail {
  my ($exitval, $msg) = @_;
  warn $msg,"\n";
  exit($exitval);
}

Next_Part(Wed_Dec_27_16:52:06_2000_747)



Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




qmailconfig

2001-01-26 Thread NDSoftware

Hi,
Where is the tcpserver config ?
Can you help me tou configure this ?
Thanks



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: qqrbl
Date: Wed, 27 Dec 2000 16:52:06 -0800

Next_Part(Wed_Dec_27_16:52:06_2000_747)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Russ,

Find attached a quick script I hacked up to use with Bruce Guenter's
QMAILQUEUE patch. I have it installed on my system as
/var/qmail/libexec/qqrbl and run it via
':allow,QMAILQUEUE="/var/qmail/libexec/qqrbl"' in my tcpserver config
file.

Uses the Mail::RBL module (note that Mail::RBL thinks it requires a
really recent version of Perl, but if you change the 'our $VERSION'
variable to 'use vars qw($VERSION)' and get rid of the 'use
warnings.pm', it runs just fine under 5.005_03.

Real simple script, basically, it groks the IP's out of every
Received: line and runs them through all three RBL's at mail-abuse.org
(easy enough to edit the script to change that) and adds an 'X-RBL:'
header for every match, making filtering down the line easier.

I considered just using a simple bourne shell script with Bruce's
qmail-qfilter and rblcheck, but this seems more elegant. :)

Please post on qmail.org as you see fit.

Thanks.

j.


Next_Part(Wed_Dec_27_16:52:06_2000_747)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=qqrbl

#!/usr/bin/perl
#
# Id : qqrbl
# Author : Jay Soffian [EMAIL PROTECTED]
# Purpose: Runs IP's found in message Received: lines through rblcheck
#  and notes any positive hits by adding X-RBL: headers.
# History: Dec 27, 2000 - Initial.

use strict;
use Mail::RBL;

sub qqrbl {
  my $qmail_queue = "/var/qmail/bin/qmail-queue";
  my %rbls;
  foreach my $rbl (@_) {
$rbls{$rbl} = new Mail::RBL($rbl);
  }

  # We get our message contents on fd0 from qmail-smtpd or ofmipd.
  open(SMTPEIN, "=0") or fail(54, "dup(fd0) failed (#4.3.0) - $!");

  # Create a pipe so we can wedge ourselves between qmail-smtpd/ofmipd and
  # qmail-queue. We pass fd1 (the message envelope) straight through since
  # we don't care about it for purposes of rblchecks.
  pipe (QQEIN, QQEOUT)  or fail(51, "pipe() failed (#4.3.0) - $!");

  my $qq_pid = fork;
  fail(51, "fork() failed (#4.3.0) - $!") unless defined $qq_pid;

  if ($qq_pid == 0) { # child (exec qmail-queue)
# unset QMAILQUEUE so that we don't get executed again by accident,
# causing an infinite loop.
delete $ENV{QMAILQUEUE};
close QQEOUT; # don't need this half of the pipe
# wedge between stdin and the pipe
open (STDIN, "QQEIN") or fail(54, "dup(pipe) failed (#4.3.0) - $!");
exec $qmail_queue   or fail(51, "exec($qmail_queue) failed
(#4.3.0) - $!");

  } else { # parent
$SIG{'PIPE'} = 'IGNORE';
close QQEIN;# don't need this half of the pipe.

my %ips;
while(SMTPEIN) {
  if (1 .. /^$/) {
map {$ips{$_} = 1} /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g if
/^Received:/;
if (/^$/) {
  foreach my $rbl (sort keys %rbls) {
foreach my $ip (keys %ips) {
  print QQEOUT "X-RBL: $ip is listed by $rbl\n" if
$rbls{$rbl}-check($ip);
}
  }
}
  }
  print QQEOUT $_;  # pass message along to qmail-queue
}

# close everything properly
close SMTPEIN or fail(54,"close(smtp in) failed (#4.3.0) - $!");
close QQEOUT  or fail(53,"close(qq out) failed (#4.3.0) - $!");

# make sure qmail-queue exits okay
waitpid ($qq_pid,0);
my ($status) = ($?  8);
fail($status, "qmail-queue failed ($status). (#4.3.0)") unless $status
== 0;
  }
}
qqrbl(qw(relays.mail-abuse.org
dialups.mail-abuse.org
 blackholes.mail-abuse.org
)
 );
exit 0;

sub fail {
  my ($exitval, $msg) = @_;
  warn $msg,"\n";
  exit($exitval);
}

Next_Part(Wed_Dec_27_16:52:06_2000_747)



Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




Re: Using a RAMDISK for /var/qmail/queue thoughts ?

2001-01-26 Thread David L. Nicol

David Dyer-Bennet wrote:

 Um, most reporting measured results from optimizing high-traffic
 qmail-based mail servers have found that disk activity on the queue
 disk is the first limit they hit.


How about, if the first delivery fails, pass it off to a server with
some disks.  Why not pre-process with qmail-remote before queueing?



-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Five seconds of light is a lot of data.




Re: Using a RAMDISK for /var/qmail/queue thoughts ?

2001-01-26 Thread Mark Delany

On Fri, Jan 26, 2001 at 05:46:51PM -0600, David L. Nicol wrote:
 David Dyer-Bennet wrote:
 
  Um, most reporting measured results from optimizing high-traffic
  qmail-based mail servers have found that disk activity on the queue
  disk is the first limit they hit.
 
 
 How about, if the first delivery fails, pass it off to a server with
 some disks.  Why not pre-process with qmail-remote before queueing?

qmail-remote is way too late as most of the I/O load is putting the
mail in the queue, not getting it off.  Besides, the symptom isn't
delivery failure, it's slowness.


Regards.




Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Henning Brauer


On Fri, Jan 26, 2001 at 04:12:03PM -0600, Virginia Chism wrote:
 
   "Life with qmail"
 
 I have seen this mentioned severa, times lately.  Where can I find this
 document?
 
Apart from the fact that the url is mentioned on qmail.org, it is
http://www.lifewithqmail.org 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Using a RAMDISK for /var/qmail/queue thoughts ?

2001-01-26 Thread Mark Delany

On Fri, Jan 26, 2001 at 11:56:54PM +, Mark Delany wrote:
 On Fri, Jan 26, 2001 at 05:46:51PM -0600, David L. Nicol wrote:
  David Dyer-Bennet wrote:
  
   Um, most reporting measured results from optimizing high-traffic
   qmail-based mail servers have found that disk activity on the queue
   disk is the first limit they hit.
  
  
  How about, if the first delivery fails, pass it off to a server with
  some disks.  Why not pre-process with qmail-remote before queueing?
 
 qmail-remote is way too late as most of the I/O load is putting the
 mail in the queue, not getting it off.  Besides, the symptom isn't
 delivery failure, it's slowness.

Actually. I was little hasty on the first point. I now see what you're
getting at. One question is, how far do you let qmail-remote go before
deciding it will work. It it's past the MAIL FROM/RCPT TO part, then
why not complete the delivery rather than incur the double load and
double latency?

If you mean to try and completely do the remote delivery prior to
placing it in the queue, then this is the passthru idea that people
have suggest previously. It potentially has merit with an amount of
added complexity.

One problem is that a busy system, such as a mailing list system may
be at full concurrencyremote for extended periods of time, in which
case, new submissions should not attempt qmail-remote delivery so
you're back to square one.

Another problem is that the mail has to be stored somewhere while
qmail-remote attempts delivery. Well, unless you want the submitting
client to wait - that may create a lot of confusing latency for, eg,
people sitting on a PC using Eudora. If the mail is stored somewhere,
you're starting to get back to a disk queue.

But it's not necessarily a silly idea. I believe that sendmail tries
to do something like this in certain circumstances. A monolithic
design has an advantage in this regard. Doing this is a nice
compartmentalized way with the current qmail wouldn't be a lot of fun.


Regards.



Re: Install went fine, but won't work

2001-01-26 Thread Greg White

Greg White wrote:
SNIP
 
 pedantic
 Please read up on IPv4 classes. Classes are not determined by the size
 of
 the network address. 192.x.x.x is a class B address.
SNIP

Apologies to the OP and to the list for being both pedantic and
incorrect.
s/Class B/Class C/

Note to self -- never post before morning coffee.

GW



conf-spawn

2001-01-26 Thread Paul Jarc

Suppose my concurrencylocal and concurrencyremote will never be
greater than, say, 50.  Is there then any penalty in setting
conf-spawn to 100?  More to the point, is there any reason not to set
conf-spawn to the largest value possible, other than portability?


paul



RE: assign file lost

2001-01-26 Thread maxen

THX, I do recover it.
I means that:

I build a server support abt 100 virtual domains, with vpopmail of course.
last morning, i add another two virtual domains, and somewhat is wrong,
unfortunately lost
that CDB file, but all users' DIR is there and virtual domain also stand
there.
rebuild the ASCII file $PATHqmail/users/assign
and run $qmailbin/qmail-newu
thx Live With qmail
thx Mark Delany  also



Lost? You mean someone deleted them or the disk got trashed, right?


yes, i means that rebuild the CDB file

The usual thing is to get it off of your backup. Does this not work
for you?


net yet, but will be done from today's on


If you're asking for a magic way to get a file back that has been
deleted/trashed and which you have no backup, then you're out of
luck. This is not a qmail problem though, this is a system management
problem.

yep, i am that unfortunately guys

Best Regards Michael Moore




Re: qmailconfig

2001-01-26 Thread qmail


 Hi,
 Where is the tcpserver config ?
 Can you help me tou configure this ?
 Thanks

Look at the documentation for tcpserver, which is part of the ucspi-tcp
package.  http://cr.yp.to has a link to the ucspi-tcp documentation.

- Sam




concurrency patches

2001-01-26 Thread Sumith Ail



HI

I have applied Russ Nelsons Big TO DO Patch and Big 
concurency patch

Is this enough for qmail to handle a large number 
of simultaneous deliveries or I need to specify it in qmail-control

Please explain me as I have just started with 
Qmail.

also i see that Dave Smith of Xoom.com has updated 
the Big-to-do patch... Is the updated one recommended or the original is good 
enough.

Regards
Sumith