Re: how to ignore $HOME/.qmail ?

2000-12-19 Thread Matt Harrington

On Mon, Dec 18, 2000 at 10:22:26AM -0500, Dave Sill wrote:
 
 Did you forget to terminate "assign" with a '.' line?


nope, that was my problem.  thanks for pointing me in the right 
direction.

---Matt




how to ignore $HOME/.qmail ?

2000-12-15 Thread Matt Harrington


i'd like ~joe/.qmail to be ignored by qmail.  i don't want qmail to check 
if ~joe exists at all.  instead, i'd like /var/qmail/alias/.qmail-joe to 
be the only file consulted.

i put this line in /var/qmail/users/assign:


=joe:alias:81:81:/var/qmail/alias:-:joe:


but qmail-newu complains:

msg# /var/qmail/bin/qmail-newu
qmail-newu: fatal: bad format in users/assign


what am i doing wrong?

---Matt




Re: Does qmail really delay a bounce for this long?

2000-12-14 Thread Matt Harrington



re: qmail not notifying you of temporary failures.  the default time to 
sit in the queue is 1 week.  you can run a script from cron to examine the 
queue at regular intervals and send email to those concerned if email 
hasn't been delivered.

search www.qmail.org for Matt Ranney or Brian Wightman.  Both have written 
perl scripts to do this.  I know of a 3rd script which was posted to this 
mailing list, but i don't see it mentioned on qmail.org.  it was something 
like "qmail-deferred-notifier".

---Matt




emulating sendmail's user@host.REDIRECT feature?

2000-12-14 Thread Matt Harrington


with sendmail, if an entry like this:

   joe: [EMAIL PROTECTED]

is in /etc/aliases then any message sent to joe will be bounced back with 
a helpful note about joe's new email address.  this way you don't have to 
forward email to joe's new address for years after they leave.  eventually 
joe's correspondents learn to use joe's new address.  if i only forwarded 
joe's email, his correspondents would have no incentive to use his new 
address and i hate seeing mail to joe in the queue years after his 
departure. 

before i work on a script to do this with qmail i thought i'd ask if 
anyone has done this before.  i'd rather not re-invent the wheel.


---Matt





Re: emulating sendmail's user@host.REDIRECT feature?

2000-12-14 Thread Matt Harrington

On Fri, Dec 15, 2000 at 01:42:26AM -0500, Alex Pennace wrote:
 Use bouncesaying. bouncesaying in a .qmail file causes a QSBMF-style
 bounce to be sent with the supplied string used as the failure
 indication for that recipient.

Great!  that does it.  Any idea how to include a newline in the error
though?

along the lines of...

| bouncesaying '\nMy new address is:\n\[EMAIL PROTECTED]'

---Matt




Re: pine.conf /Pine 4.20 patched/Maildir

2000-12-07 Thread Matt Harrington



You have to edit maildir.c in imap/src/osdep/unix (i think; recalling from 
memory).  There are 3 options as "#define" in the C source.  one of them 
needs to be switched to "#undef" to enable reading from a directory which 
contains "Maildir" in the path.  I don't know why this option is there.

---Matt





Re: Courier

2000-11-11 Thread Matt Harrington

On Fri, Nov 10, 2000 at 01:08:15PM +1300, Jason Haar wrote:
 At the very least give maildrop a go. I was a die-hard procmail user for
 many years, but was beginning to have too many occassions of procmail
 swallowing all the RAM on my workstation to process a large mail message
 (procmail does all processing in RAM).


I agree that maildrop is definitely worth a try.  I find the syntax of the 
filter file much clearer than procmail's, and I imagine my users do as 
well.

Built-in support for Maildirs in maildrop is a big win.  I'm surprised 
that maildrop doesn't have a bigger presence on http://www.qmail.org.

I have also used courier-imap with no problems.  Again, built-in Maildir 
support is great.

---Matt




qmail on Mac OSX?

2000-11-08 Thread Matt Harrington



Has anyone successfully installed qmail on Mac OSX public beta?  i get
this far:

auto-str.c: In function `main':
auto-str.c:15: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a 
/usr/bin/ld: can't use -s with input files containg indirect symbols
(output file must contain at least global symbols, for maximum stripping
use -x)
make: *** [auto-str] Error 1

I can't say that I know what an indirect symbol is.  Any ideas? 

I hear that some people had success with OSX-Server, but I don't see why
OSX (non-server) would be any different with respect to a program like
qmail.

---Matt




advice on moving /var to RAID?

2000-02-16 Thread Matt Harrington



my system: FreeBSD 3.4, qmail, Maildir, daemontools,
tcpserver.

i want to move /var to RAID (software RAID with
FreeBSD's "vinum").  i'd like a sanity check on what i
plan to do:

- bring /var2 online.  /var2 = RAID
- reboot into single user.  don't start qmail  MySQL
since they use /var.
- copy /var to /var2
- edit /etc/fstab to switch /var and /var2
- reboot into multiuser mode

will this result in an intact /var?  is this what
people do when they want a more reliable qmail mail
spool?

---matt


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



flooding a qmail server to test it

2000-02-11 Thread Matt Harrington



old system: irix, sendmail, /bin/mail, pine, qpopper, homedirs on 
flaky NFS disks.

new system: FreeBSD, qmail, maildir, mutt, qmail-pop3d, less flaky 
NFS, qmail-users, quotas.

i lose power about every 6 weeks in this building.  the network is 
flaky.  i want to test qmail by flooding it with incoming mail and 
then unplugging the network, etc.

i can easily flood the server with perl, but i don't know the best 
way to compare the mail sent with the mail received.  any opinions?

i want to tell my users that i tested the new server with 100,000 
emails a day and it never dropped or corrupted a single one.

anyone have scripts for testing qmail?  if not then i'll just write my own.

---matt