RE: Mail marked as read??

2000-09-07 Thread M.B.

isn't that what the "cur" directory is used for?


> -Original Message-
> From: Jerry Lynde [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Mail marked as read??
> 
> 
> At 11:33 AM 9/7/2000, Jerry Lynde wrote:
> >Hello all,
> >
> > I have a quick feature question. Our old mail server (an NT 
> > based, web administered thinger) had the capability to mark 
> mail as read 
> > if it had been accessed via POP, but not deleted. Does 
> anyone know if 
> > qmail can do this? If so, where in TFM can I find docs to R? :o)
> >
> >Thanks,
> >
> >Jerry Lynde
> >System Administrator
> >Due Diligence Inc.
> >http://www.diligence.com
> >[EMAIL PROTECTED]
> >Phone: (406) 728-0001 x232
> >Fax: (406) 728-0006
> >
> 
>  Anybody know the answer to my question?
> 
> I scoured Google, Life with qmail, the FAQTS, the qmail FAQ, 
> etc...  am I 
> out of luck? or is there a way? I don't need a cookbook, just 
> a pointer :o)





bouncing old mail

2000-09-07 Thread M.B.

We have lots of old mail sitting in users' mailboxes and rather
than just purge it after a certain time, it has been requested that
I bounce it back to the sender.

I know how to get individual mail from maildirs to qmail-inject,
but how can I get them to go back to the sender as a bounce?

Thanks for any guidance.

mike.




effectiveness of DUL

2000-08-24 Thread M.B.

Occasionally someone will ask how well the DUL or RBL
works and some people throw out:
DUL caught 105 items
RBL caught 33 items

Just how do you determine how many it caught?
Do these denies get logged to tcpserver's log??
(when tcpserver is of course run w/ -v option)

Thanks,
mike.

___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



RE: yahoo down?

2000-08-18 Thread M.B.

I've noticed it the last few days, also.
At times they are 75% of the stuff in our queues!

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.

> -Original Message-
> From: Ben Beuchler [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 18, 2000 6:50 PM
> To: qmail list
> Subject: yahoo down?
> 
> 
> Is it just my imagination or am I seeing a larger than normal 
> number of
> yahoo.com messages building up in my remote queue?
> 
> I've tried a few telnet sessions to port 25 on mx7.mail.yahoo.com and
> sometimes it gets through and sometimes it doesn't...
> 
> Annoyed,
> Ben
> 


_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



RE: Queue Time

2000-08-17 Thread M.B.

why not just run 2 instances  of qmail. one w/ a queuelifetime of a few
days or a week and one with a lifetime of a few hours.  if it has to go
out and can't it'll end up bouncing out of the queue quickly.  it'll be
queued often in that short amount of time as desired.

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.


___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



RE: qmail and IP addresses.....

2000-08-16 Thread M.B.

> > On Wed, 16 Aug 2000, Sean C Truman wrote:
> >
> > > replace the
> > > /usr/local/bin/tcpserver -v 0 smtp /var/qmail/bin/qmail-smtpd
> > > with something like this
> > > /usr/local/bin/tcpserver -v 199.111.111.111 smtp
> /var/qmail/bin/qmail-smtpd

could I then change this to the following?

/usr/local/bin/tcpserver -v 199.111.111.111 smtp /var/qmail/bin/qmail-smtpd
for one instance of qmail and
/usr/local/bin/tcpserver -v 199.111.111.112 smtp /var/qmail2/bin/qmail-smtpd
for a second instance on the same server running w/ 2 IPs?
(assuming i have a load balancer sending mail to both IPs)

currently i'm using the load balancer to redirect port 25 traffic to another
port
for the second instance.  that causes some logistics headaches that it
appears
the above might fix if doable.

Thanks for any insight.
mike.


NetZero Free Internet Access and Email_
Download Now http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___



dul checkout before implementation

2000-08-15 Thread M.B.

I'm thinking of adding DUL and/or RBL on our inbound mail
servers.  Before I emplement I've been asked by higherups
to monitor how much email is being held up as spam on a
lighter use server.  

Is there a simple way to do this?
Or should I just put in a quick hack to qmail-smtpd.c to log 
whenever the RBLSMTPD variable is set from tcpserver
indicating it has found mail from a suspect IP.

Thanks,
mike.


_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



Re: Relaying stopped. How to remove SPAMMER status?

2000-08-15 Thread M.B.

> -Original Message-
> From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]]
> 
> Fascinating.  qmail is relay-proof by default, so you almost have to
> purposefully mess up, unless doing something really dumb like
> allowing percent hack or something, to allow it to relay.  Then,
> having messed up and knew it, you let it be a "rampant spam relay" for
> a month?  I hope I'm not reading that correctly--perhaps it 
> was rampant
> for a month and you just happened to not notice and only did *today*.

or perhaps he didn't understand the relay control stuff w/ tcpserver
and didn't have rcpthosts in place or some such.  there have been
plenty of people who have innocently not understood that process 
and removed the file.  i would not call it a purposeful breaking of 
qmail.  and if you don't know that the percent hack stuff removal is
"dumb", you may do it not knowing any better.  inexperienced is not
dumb.

knowing something was broken and not doing anything about it
until blacklisted is a different story altogether.

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.



_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



Re: impossible to do?

2000-08-09 Thread M.B.

This works perfectly.  Thanks again for your help.
Time to re-read the qmail tutorial manual.  :)

mike.

> -Original Message-
> From: Russell Nelson [mailto:[EMAIL PROTECTED]]> 
> 
> M.B. writes:
>  > I wrote the list last week about a script I found in the archives
>  > which will bounce email if a certain subject is found.  I would
>  > like instead to deliver this mail to an alternative email address
>  > at the same domain.  Is this a doable thing?  I don't mind if
>  > it also delivers to the original mailbox, I just need to 
> get another
>  > copy someplace else.
> 
> |condredirect [EMAIL PROTECTED] grep "fuck"
> ./Maildir/


___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



impossible to do?

2000-08-07 Thread M.B.

I wrote the list last week about a script I found in the archives
which will bounce email if a certain subject is found.  I would
like instead to deliver this mail to an alternative email address
at the same domain.  Is this a doable thing?  I don't mind if
it also delivers to the original mailbox, I just need to get another
copy someplace else.

Thanks,

mike.



_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



filter by subject and deliver elsewhere

2000-08-04 Thread M.B.

http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/06/msg00284.html

The above link sends one to a script that filters based on subject.

It bounces the mail.  I, however, wish to instead forward this
email to an alternative Maildir.  How might I do that?

mike.


___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



freeBSD4.0/NFS/EMC

2000-07-26 Thread M.B.

This was so well written by one of our network engineers and covers
all the questions I need answers for that I just lifted it and am forwarding
to the list for comment/help.  I'll just add one additonal error that we
see.
These pop in and out when lots of mail is coming in (usually in alphabetical
order, so in this case, the "b" partition is getting lots of hits on it in a
short
amount of time)

Jul 26 12:23:31 nc4 /kernel: nfs server dm7_1.wlv:/b: is alive again
Jul 26 12:23:54 nc4 /kernel: nfs server dm7_1.wlv:/b: not responding
Jul 26 12:23:54 nc4 /kernel: nfs server dm7_1.wlv:/b: is alive again
Jul 26 12:24:07 nc4 /kernel: nfs server dm7_1.wlv:/b: not responding
Jul 26 12:24:08 nc4 /kernel: nfs server dm7_1.wlv:/b: not responding
Jul 26 12:24:08 nc4 /kernel: nfs server dm7_1.wlv:/b: is alive again
Jul 26 12:24:08 nc4 /kernel: nfs server dm7_1.wlv:/b: is alive again

following is the text of Keith's questions...

I am wondering if anyone is running FreeBSD 4.0-RELEASE in an NFS-heavy
environment and is noticing performance issues with NFS, or has any tips
on how to tune NFS in the kernel. There are currently 6 identical servers
that we are running FreeBSD on, though they were installed at different
times so some servers are running FreeBSD 3.2-RELEASE, one FreeBSD
3.3-RELEASE, and one FreeBSD 4.0-RELEASE. The machine that is running
FreeBSD 4.0-RELEASE is noticably slower then the other boxes, and thus
handles a lesser amount of email, even though they all have the same
hardware configuration: Dual PIII 600Mhz, 512mb ram, 9.1gb IBM LVD SCSI
system disk, two Intel 100BaseT NICs (it's a server motherboard, so one of
them is integrated). I have 5 more servers that are setup with FreeBSD
4.0 that I want to put into place, but need to figure out what could be
going on to cause this decrease in performance. These boxes are all
running qmail.

The machines are NFS mounting the mail spool directories off of an EMC
Celerra on a dedicated NIC. The other interface is connected to the
outside world where the servers are load balanced behind an Alteon Ace.

Sometimes just a 'df' will take 10-15 seconds to run unless given the -n
switch so it does not try to get new state information.

It's not the backend Celerra since the FreeBSD 3.2 and 3.3 boxes are
running fine, and we have a number of Sun servers attached to the Celerra
as well, with no problems to report. A message that pops up in the
messages file every once and awhile is:

Jul 21 14:17:03 host /kernel: got bad cookie vp 0xdcc3d840 bp 0xcd03f6a0
Jul 21 14:17:03 host /kernel: got bad cookie vp 0xdcc3d840 bp 0xcd03f6a0
Jul 21 14:17:05 host /kernel: got bad cookie vp 0xdcc3d840 bp 0xcd040600
Jul 21 14:17:05 host /kernel: got bad cookie vp 0xdcc3d840 bp 0xcd040600
Jul 21 14:17:07 host /kernel: got bad cookie vp 0xdcc3d840 bp 0xcd040890

But, I am not sure what this error message means. I included it because it
*might* have something to do with the problem, and wanted to include
everything I had hoping that someone might have seen this problem before.

My kernel configuration is pretty basic. I enable SMP, disable
I386,486,586 support in the kernel, turn maxusers up to 256, disable USB
support, and recompile the kernel. Nothing fancy on any of the boxes. It
is what someone had configured one of ther boxes, and I just kept it the
same across the board.

qmail is accepting the mail and writing it to the queue, but it never gets
a chance to delivery the email to the NFS-mounted mail spool directories.
For instance, we received couple thousand email messages for usernames
that started with 'b', and these messages piled up on the FreeBSD 4.0
servers, but were delivered immediatly on all of the other machines.
Access to the other partitions mounted off of the same datamover (part of
the Celerra, basically an NFS server) was fine.

Does anyone have any tips or ideas they can pass on to me? I am lost on
what it could be.

Thanks,

--
Keith McCallion
[EMAIL PROTECTED]






_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



Re: How to requeue messages?

2000-07-26 Thread M.B.

#!/bin/sh

cd usermaildir/Maildir;
ls new > filelist;

exec < filelist

while read line
   do
   echo $line; 

 /var/qmail/bin/qmail-inject -a [EMAIL PROTECTED]  < new/$line;

  done; 


mike
[EMAIL PROTECTED]

> The new location is on another (non-qmail) server.  Basically 
> this user is
> wanting her currently delivered email to be send to the other email
> address (the one I put in her .qmail).  I'm not sure if it's called
> requeuing or what but basically I want qmail to re-process 
> the delivered
> mail according to the new .qmail file. Albert Hopkins
> Sr. Systems Specialist
>Dynacare Inc.
>[EMAIL PROTECTED]




_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



RE: more forced queueing

2000-07-21 Thread M.B.

I had a similar question a while back to which Russell was 
kind enough to suggest a fix: 

   to queue all *inbound mail* just modify qmail-getpw to _exit(111).  

What I did to it was check if an indicator file is present in 
/var/qmail/control and exit(111) and the email message
goes to the queue.

[EMAIL PROTECTED]  

NetZero
Mail/Sys/Network Admin

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 21, 2000 8:20 AM
> To: [EMAIL PROTECTED]
> Subject: more forced queueing
> 
> Ok, I have been digging and digging, but to no avail as of 
> yet.  How can I force qmail to arbitrarily queue /all/ 
> outgoing mail and deliver nothing until I "flip the switch" 
> back, so to speak.  Also, on the original subject, is there 
> perhaps a way to make qmail retry sending messages rejected 
> by the next server in line several times a la deferred mail?
> 
> Thanks
> 
> Mike Culbertson
> 


_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



tcpserver and dns

2000-07-11 Thread M.B.

from the tcpserver man pages...

-llocalname
  Do not look up the local host name; use  localname  for
  TCPLOCALHOST.

Does this mean that it queries our DNS server for the local
host's name during inbound mail delivery?

If so, an-l`hostname`would probably be quicker and
lighten load on the DNS server, right?

Mike.

___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



qmail book coming?

2000-07-06 Thread M.B.

http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D962246891/sr%3D1-2/0
02-4056617-0867210

anyone notice the above?

mike.

___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



RE: Qmail and ColdFusion Problem (off topic?)

2000-07-06 Thread M.B.

> -Original Message-
> From: James Moore [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 06, 2000 8:28 AM
> Subject: Qmail and ColdFusion Problem (off topic?)
> 
> I have coldfusion 4.51 on Windows NT with Apache.  The Mail tag in 
> coldfusion is pointing at my qmail smtp server.  It seems that qmail 
> is rejecting mail from the coldfusion application server because it 
> does not have line feeds in the email.  Has anyone heard of this 
> problem?  I have not been able to find anything on allaire's web site.
> 
We have Oracle servers sending reports that do (did) the same thing.
If nobody can change the formatting of the message, try changing the
tcpserver line of your outbound smtp server(s) to include fixcr (from the 
tcpserver tarball). After I did that, the DBA came and asked if something
changed because he all of a sudden started getting his reports.

/usr/local/bin/tcpserver -c 550 -x /etc/security/tcprules/rules.cdb \
-u 25414 -g 104 0 smtp sh -c 'fixcr | /var/qmail/bin/qmail-smtpd' &

Mike.


NetZero Free Internet Access and Email_
Download Now http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___



RE: no more splogger

2000-07-05 Thread M.B.

> M.B. wrote:
>exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir/ /usr/local/bin/multilog t s100 
> /var/log/qmail
> >qmail
> >
> >unfortunately the above does no logging for me...
> 
> Get rid of the trailing qmail.  It was an argument to 
> splogger to tell it
> what program name to use.

Bingo. THANKS!  what i now have is:

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ multilog t s500 /export/home/qmaillogs

(since /var's permissions didn't look inviting)

now how might i pipe this thru tai64nlocal to get some readable
(by me) time stamps in there?

mike.





NetZero Free Internet Access and Email_
Download Now http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___



RE: no more splogger

2000-07-05 Thread M.B.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ /usr/local/bin/multilog t s100 /var/log/qmail
qmail

unfortunately the above does no logging for me...
nor if i put some quotes in...

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ '/usr/local/bin/multilog t s100 /var/log/qmail'
qmail

permissions:

dev10# ls -ld /var/log/qmail
drwxr-xr-x   2 qmaill   nofiles  512 Jul  5 16:40 /var/log/qmail

and sliding the setuidgid qmaill before multilog didn't do any logging
either.
:(

> To the original poster: Yes, that will work as you want it
> to, assuming that
> you have created a /var/log/qmail directory with the
> appropriate permissions
> (it should be owned, or at least readable, writable, and
> searchable, by
> qmaill).
>


_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



no more splogger

2000-07-05 Thread M.B.

I want to move away from splogger w/o
making the full jump (yet) to supervise
and other daemontools...

here is my qmail rc file:

mail1.wlv# more /var/qmail/rc
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

ulimit -n 1024

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail


should i be able to replace splogger w/ a multilog entry? say like:
'multilog t s100 /var/log/qmail' instead of the splogger above?
would this then write files into /var/log/qmail?

thanks,
  mike.




_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html