qmail Digest 14 Jun 1999 10:00:00 -0000 Issue 671

1999-06-14 Thread qmail-digest-help


qmail Digest 14 Jun 1999 10:00:00 - Issue 671

Topics (messages 26572 through 26580):

user.name problem
26572 by: "Johan Van Gompel" [EMAIL PROTECTED]
26576 by: Robbie Walker [EMAIL PROTECTED]

TIP: use procmail to bounce SPAM
26573 by: [EMAIL PROTECTED]

Checking SENDER domain
26574 by: "Dimitri S." [EMAIL PROTECTED]

Qmail as selective relay.
26575 by: "Dimitri S." [EMAIL PROTECTED]
26577 by: Robbie Walker [EMAIL PROTECTED]

Unable to resolve sender
26578 by: Neil Aggarwal [EMAIL PROTECTED]

Messages reinjected to this mailing list
26579 by: Russell Nelson [EMAIL PROTECTED]

Homeworkers Needed!
26580 by: [EMAIL PROTECTED]

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



Niemi [EMAIL PROTECTED] wrote:

 I got a working domain, but the owners of it would like to use
 user.name formatted e-mail's. That seem's not to work, what
 to do?

Yoda: Using dots in ~alias/.qmail-files makes a qmail master not. Reading
/var/qmail/doc/FAQ will.
Obi-wan: Use the Colon Niemi, use the Colon.
Johan: .qmail-user:name instead of .qmail-user.name should do the trick.

--
Johan Van Gompel



You must have been REAL happy when The Phantom Menace was
released, huh? [grin]

At 07:43 AM 6/13/99 , you wrote:
Niemi [EMAIL PROTECTED] wrote:

 I got a working domain, but the owners of it would like to
use
 user.name formatted e-mail's. That seem's not to work,
what
 to do?

Yoda: Using dots in ~alias/.qmail-files makes a qmail master
not. Reading
/var/qmail/doc/FAQ will.
Obi-wan: Use the Colon Niemi, use the Colon.
Johan: .qmail-user:name instead of .qmail-user.name should do
the trick.

--
Johan Van Gompel



--
NovaMetrix Development 
Robbie Walker, head muckety-muck
and programmer

P.O. Box 635 or
910-653-4006
106-B S. Main
St800-773-5647
Tabor City, NC 28463910-653-2052
FAX








 multipart/signed; boundary=SUOF0GtieIMvvwua; micalg=pgp-md5;protocol="application/pgp-signature": Unrecognized 



Hi

Is there a way with qmail, like as new sendmail, to check if the FROM
domain adress of the sender is existing, like :

HELO test
220 Mail ESMTP Club-Internet
250 front7.grolier.fr Hello d074.paris-204.cybercable.fr [212.198.204.74],
pleas
ed to meet you
MAIL FROM: [EMAIL PROTECTED]
501 [EMAIL PROTECTED] Sender domain must exist

Thank you !


   -- Dimitri [EMAIL PROTECTED]




Hi !

I would like my qmail server to be a selective relay, so I went on :

http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html

but the link :

===
First, using your favourite ftp client, download from
ftp://koobera.math.uic.edu/pub/software/ the ucspi-tcp-0.80.tar.gz package
(in binary mode - Netscape may have
problems downloading - try holding down the shift key).
===

is invalid. How to get this software or package in order to allow selective
relaying ?

Thank you !



   -- Dimitri [EMAIL PROTECTED]




Note: sorry if the last post was off-topic and HTML... I had a stroke or
something! [grin]

You can find the homepage (and the current link for ucspi-tcp) here
http://koobera.math.uic.edu/www/ucspi-tcp.html

The rest of Dan's software can be found at this page...
http://koobera.math.uic.edu/www/software.html

At 06:51 PM 6/13/99 , you wrote:
Hi !

I would like my qmail server to be a selective relay, so I went on :

http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html

but the link :

===
First, using your favourite ftp client, download from
ftp://koobera.math.uic.edu/pub/software/ the ucspi-tcp-0.80.tar.gz package
(in binary mode - Netscape may have
problems downloading - try holding down the shift key).
===

is invalid. How to get this software or package in order to allow selective
relaying ?

Thank you !



   -- Dimitri [EMAIL PROTECTED]


- --
NovaMetrix Development 
Robbie Walker, head muckety-muck
and programmer

P.O. Box 635 or910-653-4006
106-B S. Main St800-773-5647
Tabor City, NC 28463910-653-2052 FAX





-BEGIN PGP SIGNATURE-
Version: PGP for Personal Privacy 5.5.2

iQA/AwUBN2Q6vTrJV5JQYcnnEQJ3MwCeMPXQgbz66LEPF15DZa0PSTr9WQ0AmwYJ
tHGqiz4rhDbtpFcOyDwSrB0v
=kvc2
-END PGP SIGNATURE-





Hello:

I just got this message from qmail and I cant quite figure out what
it means or how to prevent it.  I checked the FAQ and archives of this
group to no avail.

As far as I can tell, the mail server from alanwatts.com did not 
like that my mail server is neil86.august.net and my email address
is JAMMConsulting.com.

Any ideas?

Thanks,
Neil.

Here is the error message I received from qmail:
-
Hi. 

Re: Unable to resolve sender

1999-06-14 Thread Harald Hanche-Olsen

+ Neil Aggarwal [EMAIL PROTECTED]:

| I just got this message from qmail and I cant quite figure out what
| it means or how to prevent it.  I checked the FAQ and archives of
| this group to no avail.

It's not really a qmail problem, which is why it won't be in a qmail
FAQ.

| Here is the error message I received from qmail:
| -
| Hi. This is the qmail-send program at neil86.august.net.
| 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]:
| Connected to 204.247.247.54 but sender was rejected.
| Remote host said: 553 [EMAIL PROTECTED]... Unable to resolve
| sender neil@JAMMConsulting.com from neil86.august.net

What it means: In the war on spam, many sites have started rejecting
mail from nonexistent domains.  Clearly, 204.247.247.54 thought at the
time that JAMMConsulting.com is such a domain.  Perhaps they
misconfigured their mailer daemon to treat a temporary error as
permanent, giving a 5xx error instead of a 4xx one.  Or perhaps your
ISP managed to lose your domain registration for a while.

What you can do: Not much, if the problem is at the receiving end.
You might want to look over your DNS setup to make sure it is correct.
It looks OK to me, but I am no expert.  

- Harald



stralloc

1999-06-14 Thread Van Liedekerke Franky

Hi,

maybe this is a stupid question, but my C knowledge is not that big, so I'm
asking it anyways:
There are a lot of stralloc calls in qmail, does this memory never needs to
be freed again? 

Franky



Re: stralloc

1999-06-14 Thread Harald Hanche-Olsen

+ Van Liedekerke Franky [EMAIL PROTECTED]:

| maybe this is a stupid question, but my C knowledge is not that big,
| so I'm asking it anyways:
| There are a lot of stralloc calls in qmail, does this memory never
| needs to be freed again?

Most of the time, it's freed by the most efficient algorithm
imaginable: _exit.  Thanks to qmail's highly modular structure, most
qmail programs don't live long enough for the concept of memory leaks
to even apply.  If you look in the long-running programs, though, you
will probably find that strings are not allocated frivolously.  I have
never bothered to look carefully, but neither have I seen any signs of
the long-running daemons bloating with time.

- Harald



Re: stralloc

1999-06-14 Thread Andre Oppermann

Van Liedekerke Franky wrote:
 
 Hi,
 
 maybe this is a stupid question, but my C knowledge is not that big, so I'm
 asking it anyways:
 There are a lot of stralloc calls in qmail, does this memory never needs to
 be freed again?

Most of the time not because most programs live only for one delivery
(eg. qmail-lspawn, qmail-rspawn, qmail-local, qmail-smtpd... etc.), so
memory will be freed anyway on the exit of the program.

It matters only in long living daemons like qmail-send.

-- 
Andre



Re: SMTP Connections

1999-06-14 Thread Dave Sill

Thomas Balle [EMAIL PROTECTED] wrote:

The strange thing is that they dont deliver any mail when they connect, 
they merely connect repeatedly, up to several times a minute, and when that 
happens from 5 different servers at a time it does tie up rather many 
connections.

I smell a bare-LF problem.

Well anyway I dont have a clue why they do so, I have exchanged mail with 
regularly before, and now they connect fine to my relay server, thus I get 
the deliveries that way.

Sniff port 25 to/from your server during one of these exchanges. See
exactly what's going on. If you can't do that, try using recordio from 
ucspi-tcp to record the SMTP dialogue.

-Dave



Re: virtual domain user .qmail-default question

1999-06-14 Thread Dave Sill

Basit Shehram [EMAIL PROTECTED] wrote:

auxilium42.com:basit-auxilium42.com
auxilium42.net:basit-auxilium42.net
auxilium42.org:basit-auxilium42.org

now, the problem is, in teh ~basit directory, i have a
.qmail-auxilium42.com-info file, and a .qmail-auxilium42.net-info and .org
file.

qmail replaces .'s in extension addresses with :'s. Rename your .qmail 
files like:

.qmail-auxilium42:net-inf

See:

http://Web.InfoAve.Net/~dsill/lwq.html#dots-in-extensions

-Dave



Re: virtual domain user .qmail-default question

1999-06-14 Thread Basit Shehram

let me ask you this, then why does .qmail-auxilium42.com-info and
.qmail-auxilium42.com-help work? the problem is that
.qmail-auxilium42.com-default does not work

but i'll give it a shot!

/basit


On Mon, 14 Jun 1999, Dave Sill wrote:

 Basit Shehram [EMAIL PROTECTED] wrote:
 
 auxilium42.com:basit-auxilium42.com
 auxilium42.net:basit-auxilium42.net
 auxilium42.org:basit-auxilium42.org
 
 now, the problem is, in teh ~basit directory, i have a
 .qmail-auxilium42.com-info file, and a .qmail-auxilium42.net-info and .org
 file.
 
 qmail replaces .'s in extension addresses with :'s. Rename your .qmail 
 files like:
 
 .qmail-auxilium42:net-inf
 
 See:
 
 http://Web.InfoAve.Net/~dsill/lwq.html#dots-in-extensions
 
 -Dave
 



Re: virtual domain user .qmail-default question

1999-06-14 Thread Dave Sill

Basit Shehram [EMAIL PROTECTED] wrote:

let me ask you this, then why does .qmail-auxilium42.com-info and
.qmail-auxilium42.com-help work? the problem is that
.qmail-auxilium42.com-default does not work

I don't think any of them really worked. The dot-qmail man page clear
states:

   WARNING: For security, qmail-local replaces  any  dots  in
   ext  with  colons  before checking .qmail-ext.

-Dave



$ to do this? Re: Concept: 'infinate' POP3 accounts per pop3 user.

1999-06-14 Thread Paul Gregg

Seeing as nobody has offered to do this free ;) 

I'd be interested to hear is anyone out there is interested in developing
this project for me.  It doesn't seem like a difficult task - security of the
resultant qmail-pop3d is also important.

I can swing $200-$300 for this.

Please email me if you are interested.

Regards,

Paul.

In article 7jhl3c$lvp$[EMAIL PROTECTED] you wrote:
 In article [EMAIL PROTECTED] you wrote:
 Paul Gregg writes:

 Assume this setup is running perfectly (ok, I have 4,000 users using it).
 
 Essentially I'm thinking of enabling the user to login via POP3 as
 '[EMAIL PROTECTED]' with their normal password. (I've written the
 checkpasswd so it's easy to authenticate ok).
 
 What methodology could be used so that if they login with a specific
 email address as a POP3 user then they only "see" email which is destined
 for that user. but if they logged in without a user@ part then they would get
 everything.

 You'll need a custom POP3 server for that.  When the POP3 server
 initializes and scans the Maildir for messages, it should ignore messages
 that do not have a Delivered-To: address for the login user.

 Maildir-based POP3 servers are childishly simple, and you should be able to
 write one up, or modify an existing one, in no time at all.

 Ok, I figured out how best to code this up.

 Essentially, one needs to patch get_list() in qmail-pop3d.c

 get_list calls maildir_scan() (in maildir.c) to return a list of filenames,
 which get_list() then parses through to build a list of files/emails
 which are in the Maildir.

 This routine needs to also add the Delivered-To: checks that are in
 serialsmtp.c from the serialmail package.
 Simply we could call checkpasswd qmail-pop3d Maildir  and checkpasswd could
 exec  @ARGV, but add user@host to the args (so qmail-pop3d could read it).

 The check would need to find the Delivered-To: (first one) line
 and do a search in the string for /user@host/  (the login pop3 id).
 (checkpasswd could munge it whatever way you wanted to cover for user%host
 if you had to).

 Anyone feel up to the task?  I'm afraid my C coding skills leave much to
 be desired - never got time to learn :(



Mailbox Quota

1999-06-14 Thread Anonymous

Hi,

I am using vchkpw, my email directories are as follows:

/home/vpop/domains/blah.org/ , /home/vpop/domains/abc.com

Recently, there is a need to set a 5mb quota to all mailboxes in my
system. Using Paul Gregg's mailquotacheck script, I tried to accomplish
the task. It didn't work; running the script in
/home/vpop/domains/abc.com/.qmail-default will limit the abc.com up to
5mb of space for all emails together.

How can I set the quota for each individual mailbox? I wish to use a
single UID/GID for my email system only. Please advice.

Thanks,
Kelvin Koh
[EMAIL PROTECTED]
 -- 0 1 - just my 2 bits. --





RE: $ to do this? Re: Concept: 'infinate' POP3 accounts per pop3 user.

1999-06-14 Thread Dave Kitabjian


I missed the beginning of this thread, so pardon this if it's moot.

But I couldn't help noticing that someone wants to use 
'[EMAIL PROTECTED]' as POP authentication ids.

I tried to do this and ran into a serious problem: Netscape Mail chokes on 
the "@". It assumes you mistakenly entered your email address when you 
really meant to put your POP id. So it converts it to, in your example, 
'[EMAIL PROTECTED]', chopping off the '@theirname.domain.com' part.

So we chose to avoid the "@". If my C skills were more proficient or I had 
more time, I'd still keep it as "@" internally but hack checkpassword so 
that Netscape users only could use an alternate character, such as "%" 
(thanks, Paul).

Dave

...
  Essentially I'm thinking of enabling the user to login via POP3 as
  '[EMAIL PROTECTED]' with their normal password. (I've written 
the
  checkpasswd so it's easy to authenticate ok).
...



Qmail, retrieveing POP3 and delivering

1999-06-14 Thread Anonymous

Hey all!

Hey I finally have qmail set up, and it was much easier the 100th or so
time:-)  Seriously, this was about the third attempt (relatively new to
Linux) and things finally started to show some improvement.  It's critical
to read the doc's and if you don't understand re-read..

Anyway I have a couple of questions.  I am connected to my ISP
(Speedchoice) via Ethernet. Does anyone know if I can monitor port 25 (SMTP)
for mail.  My schooling on this involves reading the net3 how-to, so go easy
on me.  I would think that if I have a "permanent" connection to my ISP that
I should be able to monitor my host name (Static IP) and that should be it?
If I sound really **un-edu-ma-cated**  feel free to tell me what my wrong
line of thinking involves.

Steven M. Klass
Physical Design Engineer

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph:  602-940-6200 ext. 18
Fax: 602-940-4255

[EMAIL PROTECTED]
http://www.andigilog.com/


-BEGIN GEEK CODE BLOCK-
Version: 3.12   www.geekcode.com
GE d- s:+ a- C+++ UL P L+$ E W+(++) N+
?O !K w++(---) O- M- V-- PS++ PE+(PE++)
Y+ PGP t 5--(---) X R- tv- b+++
DI++ D++ G e+++ h-- r+++ y++**
-END GEEK CODE BLOCK-




Re: Mailbox Quota

1999-06-14 Thread Marlon Anthony Abao

from  mailquotacheck.sh :
snip
...
# Get the users 'home' directory - where there .qmail file is
dir="$HOME"
...
/snip

make sure 'dir' somehow points to the actual user directory
and 
snip
...
# What is the maildir's current disk usage
du=`$du -sk $dir/Maildir | $awk {'print $1'}`
...
/snip

notice the addition of '/Maildir' after the '$dir'.  this will only check
the Maildir directory below the actual home directory.

(sorry don't know about vchkpwd)

-marlon




At 09:26 PM 6/14/99 -0400, Kelvin Koh wrote:
Hi,

I am using vchkpw, my email directories are as follows:

/home/vpop/domains/blah.org/ , /home/vpop/domains/abc.com

Recently, there is a need to set a 5mb quota to all mailboxes in my
system. Using Paul Gregg's mailquotacheck script, I tried to accomplish
the task. It didn't work; running the script in
/home/vpop/domains/abc.com/.qmail-default will limit the abc.com up to
5mb of space for all emails together.

How can I set the quota for each individual mailbox? I wish to use a
single UID/GID for my email system only. Please advice.

Thanks,
Kelvin Koh
[EMAIL PROTECTED]
 -- 0 1 - just my 2 bits. --








Re: Qmail, retrieveing POP3 and delivering

1999-06-14 Thread Steven Klass


- Original Message -
From: Dave Sill [EMAIL PROTECTED]
To: PLUG [EMAIL PROTECTED]; Qmail Mailing List
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 14, 1999 7:16 AM
Subject: Re: Qmail, retrieveing POP3 and delivering


: "Steven Klass" [EMAIL PROTECTED] wrote:
: 
: Hey I finally have qmail set up, and it was much easier the 100th or
so
: time:-)  Seriously, this was about the third attempt (relatively new to
: Linux) and things finally started to show some improvement.  It's
critical
: to read the doc's and if you don't understand re-read..
:
: That's good advice, the re-read part.
:
: Anyway I have a couple of questions.  I am connected to my ISP
: (Speedchoice) via Ethernet. Does anyone know if I can monitor port 25
(SMTP)
: for mail.  My schooling on this involves reading the net3 how-to, so go
easy
: on me.  I would think that if I have a "permanent" connection to my ISP
that
: I should be able to monitor my host name (Static IP) and that should
: be it?
:
: If:
:
: 1. you have a static IP address (you do), and
: 2. there is no MX record for your system pointing to your ISP's
:mail hub (I can't tell), and

Please help me out on this one, what is an MX record..  I thought you might
lead me to this, would you mind explaining this a little bit or pointing me
to the faq.


: 3. you have qmail-smtpd configured properly on your system via
:inetd or tcpserver, (part of the normal qmail installation
:process) then:
:
: You should be able to receive mail on your system directly via SMTP.
:
: -Dave
:



Re: Qmail, retrieveing POP3 and delivering

1999-06-14 Thread Dave Sill

"Steven Klass" [EMAIL PROTECTED] wrote:

Please help me out on this one, what is an MX record..  I thought you might
lead me to this, would you mind explaining this a little bit or pointing me
to the faq.

It's a nameserver record that points to the mail exchanger for a given
domain. RFC 974 (see
http://Web.InfoAve.Net/~dsill/lwq.html#more-information) has the
details.

Basically, when host A sends a message to host B, it looks in the DNS
for an MX record pointing to host B's mail exchanger. If it doesn't
find one, it tries to send directly to host B.

Here's how you can look up a host's MX:

de5@sws5$ nslookup
Default Server:  x10ns.ens.ornl.gov
Address:  128.219.200.249

 set type=mx
 speedchoice.com
Server:  x10ns.ens.ornl.gov
Address:  128.219.200.249

Non-authoritative answer:
speedchoice.com preference = 10, mail exchanger = mail01.detroit.speedchoice.com
speedchoice.com preference = 10, mail exchanger = mail.phoenix.speedchoice.com

Authoritative answers can be found from:
speedchoice.com nameserver = ns1.detroit.speedchoice.com
speedchoice.com nameserver = ns2.detroit.speedchoice.com
mail01.detroit.speedchoice.com  internet address = 24.221.95.31
mail.phoenix.speedchoice.cominternet address = 24.221.30.31
ns1.detroit.speedchoice.com internet address = 207.238.183.71
ns2.detroit.speedchoice.com internet address = 24.221.95.3


This says that a message addressed to [EMAIL PROTECTED] should be
sent to either mail01.detroit.speedchoice.com or
mail.phoenix.speedchoice.com. Since they both have the same preference 
(10), either can be used.

Your system could be configured as an SMTP server, but if it has an MX 
record pointing elsewhere, no remote systems will ever try to send it
mail, it'll go to the host identified in the MX record.

-Dave



Holiday messaging: preventing loops?

1999-06-14 Thread Dave Kitabjian


I developed a script to support holiday messages. It appears to work very 
nicely with one important exception (that I expected): if a person on 
holiday sends a message to another person on holiday, they get an infinite 
loop of holiday notifications to each other (thank God for quota 
enforcement!)

Anyway, below is the guts of my script, which is pretty basic. So my 
question to y'all is, what logic do other "holiday" algorithms employ to 
prevent such looping? Could I make a more judicial choice of environment 
variables to use for the sender and recipient? (I went to some length in 
research to configure things so that a holiday message could be properly 
"replied" to, but perhaps disabling this is inevitable?)

Thanks in advance!

Dave

-
#!/bin/sh
#
# holiday.sh
#
# Dave Kitabjian, 6/11/99
#   [EMAIL PROTECTED]
#
# This script should be entered into a user's .qmail file as |holiday.sh
# It depends on the SENDER environment variable, provided by qmail-local;
#   HOME and HOST are also used.
# It permits delivery and replies with a message found in .holiday
#

# Should be able to use $USER @ $HOST, but we using a single-uid
# configuration of Qmail. HOST is okay, but USER must be pulled from
# home directory:
# (We don't use $LOCAL since we don't know where the username ends and
#  the domain begins without hacking $HOME)
QMAILUSER=`basename $HOME`   # used by qmail-inject to set "From:" header
QMAILHOST=$HOST  # used by qmail-inject to set "From:" header
export QMAILUSER
export QMAILHOST

qmail-inject $SENDER "$HOME/.holiday"

exit 0
-



Re: Q: qmail + IMAP

1999-06-14 Thread Dave Teske

Here's my 2cent's

It depends on which mail box mode your using.

-Mailbox mode - then the patched UW IMap server works fine

-Maildir mode - The UW Imap server dosne't work well with maildirs, 
particularly copying messages from the main Maildir to subfolders does not 
work. I recently switched to Cyrus Imap server and it works real nice for 
me (haven't had any problems yet), but it is a pain having to create both a 
user in both qmail and cyrus.

Hope this helps
--Dave


At 10:52 AM 6/14/99 , Christian Wiese wrote:
hi folks,

i've installed qmail with pop3 support without any dificults.
now I wanted to setup an IMAP server, but where should I start.
I've followed several discussions about Qmail  IMAP.
What IMAP server should I use and what additional software do I need to
add IMAP support to my Qmail server ?
Is there a "QMAIL-IMAP-HOWTO" ?

Thank you very much

best regards

christian



Re: Holiday messaging: preventing loops?

1999-06-14 Thread Anand Buddhdev

On Mon, Jun 14, 1999 at 10:48:47AM -0400, Dave Kitabjian wrote:

Your script has two big failings. It is not checking to see who the sender
is, and it is not setting the return path of the vacation message to null,
ie. .

Your user on holiday may receive bounces - they will have the SENDER
variable set to null. You cannot reply to such a message. Similarly, your
vacation messages must be sent out with a null sender, like this:

qmail-inject -f '' $SENDER "$HOME/.holiday"

Doing these basic checks will at least make sure you don't start a series
of loops. Also, it is advisable for vacation scripts to check for a header
called "precedence:" in the message, and if it is present, and has the value
of "junk", "bulk" or "list" to NOT send vacation replies to these messages,
because the list owner will get them and it is irritating. There is also
the possibility of automatic unsubscription with some lists.

Anyway, why go to all this hassle. There are ready programs to do exactly
this for you - unix systems come built in with a vacation message, and
there's one available on www.qmail.org if you don't like the built-in
vacation program.

 I developed a script to support holiday messages. It appears to work very 
 nicely with one important exception (that I expected): if a person on 
 holiday sends a message to another person on holiday, they get an infinite 
 loop of holiday notifications to each other (thank God for quota 
 enforcement!)
 
 Anyway, below is the guts of my script, which is pretty basic. So my 
 question to y'all is, what logic do other "holiday" algorithms employ to 
 prevent such looping? Could I make a more judicial choice of environment 
 variables to use for the sender and recipient? (I went to some length in 
 research to configure things so that a holiday message could be properly 
 "replied" to, but perhaps disabling this is inevitable?)
 
 Thanks in advance!
 
 Dave
 
 -
 #!/bin/sh
 #
 # holiday.sh
 #
 # Dave Kitabjian, 6/11/99
 #   [EMAIL PROTECTED]
 #
 # This script should be entered into a user's .qmail file as |holiday.sh
 # It depends on the SENDER environment variable, provided by qmail-local;
 #   HOME and HOST are also used.
 # It permits delivery and replies with a message found in .holiday
 #
 
 # Should be able to use $USER @ $HOST, but we using a single-uid
 # configuration of Qmail. HOST is okay, but USER must be pulled from
 # home directory:
 # (We don't use $LOCAL since we don't know where the username ends and
 #  the domain begins without hacking $HOME)
 QMAILUSER=`basename $HOME`   # used by qmail-inject to set "From:" header
 QMAILHOST=$HOST  # used by qmail-inject to set "From:" header
 export QMAILUSER
 export QMAILHOST
 
 qmail-inject $SENDER "$HOME/.holiday"
 
 exit 0
 -

-- 
System Administrator
See complete headers for address, homepage and phone numbers



Re: Holiday messaging: preventing loops?

1999-06-14 Thread Dave Sill

"[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote:

I developed a script to support holiday messages. It appears to work very 
nicely with one important exception (that I expected): if a person on 
holiday sends a message to another person on holiday, they get an infinite 
loop of holiday notifications to each other (thank God for quota 
enforcement!)

That's not really a loop, which is when a single message travels a
curcular path, it's a ping-pong (or circle jerk, to use a cruder
term), which is when two autoresponders respond to each other.

Anyway, below is the guts of my script, which is pretty basic. So my 
question to y'all is, what logic do other "holiday" algorithms employ to 
prevent such looping?

They keep track of which addresses they've responded to, and only send
one per vacation, one per day, one per hour, etc. They also look for
"Precedence: bulk", don't reply to MAILER_DAEMON amd postmaster,
etc. Basically, this is a tricky job, and it's best left to the
experts.

Peter Samuel has written a nice vacation program for qmail. From the
man page:

AUTHOR
  Peter Samuel, Uniq Professional Services
  [EMAIL PROTECTED]

AVAILABILITY
  The latest version of vacation for qmail should always be available from
  ftp://ftp.uniq.com.au/pub/tools

-Dave



List manager! Off topic... Sorry!

1999-06-14 Thread Anonymous

Sorry to waste the bandwidth, but I need to know if the QMAIL list is set 
up to do digests.  My mail-server is getting mad at me. :)

Thanks,
Geordon



RE: Q: qmail + IMAP

1999-06-14 Thread Dave Teske


At 11:25 AM 6/14/99 , you wrote:

Humph.

I'm about to have a co-worker patch a the qmail-imap server to support
virtual POP/IMAP users for each virtual domains using Maildirs, while still
allow the UNIX users to pick up their mail from the /var/spool/mail mbox
files. I need IMAP support, so I can't start from qmail-pop3d, but I'm
planning to start from the UW server in David Summers' qmail-imap Linux RPM
which is based on Mattias Larsson's patch to add maildir to the imap server.
(all mentioned at qmail.org) I'm looking at the qmail-imap-4.5.BETA version
of this RPM which is at:
  ftp://summersoft.fay.ar.us/pub/qmail

That's the server I was running too. The basic problem is that the UW 
server can't handle transferring messages to different types of mail boxes. 
So if I have an "Inbox" that is in Maildir format and I create sub-folders 
(which are created in Mailbox format) the server won't let you copy stuff 
from the "inbox" to your sub-folders. If you check the archives this was 
discussed sometime in the last 3-4 weeks (look for messages in the thread 
"getting maildir + imap working").

--Dave

You say that this software has problems with Maildirs? If so, I would help
if you could give me some descriptions of the problems that you've been
experiencing. If there is stuff that needs to be fixed, I could have this
guy go over the maildir support source code with a fine tooth comb to get
any problems out. I took a brief skim over the patch and it didn't look too
daunting.


  - David Harris
Principal Engineer, DRH Internet Services




Re: Q: qmail + IMAP

1999-06-14 Thread Christian Wiese

Hi Dave.

thank you for your quick response ...

Dave Teske wrote:

 Here's my 2cent's

 It depends on which mail box mode your using.


Sorry, I use the Maildir format.


 -Mailbox mode - then the patched UW IMap server works fine

 -Maildir mode - The UW Imap server dosne't work well with maildirs,
 particularly copying messages from the main Maildir to subfolders does not
 work. I recently switched to Cyrus Imap server and it works real nice for
 me (haven't had any problems yet), but it is a pain having to create both a
 user in both qmail and cyrus.

Do you have a HOWTO for the Cyrus Imap configuration steps with qmail, or do
you know some websites, where I can get additional informations.

thank you very much

christian



RE: Q: qmail + IMAP

1999-06-14 Thread David Harris


Dave Teske [mailto:[EMAIL PROTECTED]] wrote:
 That's the server I was running too. The basic problem is that the UW
 server can't handle transferring messages to different types of mail
boxes.
 So if I have an "Inbox" that is in Maildir format and I create sub-folders
 (which are created in Mailbox format) the server won't let you copy stuff
 from the "inbox" to your sub-folders. If you check the archives this was
 discussed sometime in the last 3-4 weeks (look for messages in the thread
 "getting maildir + imap working").

 --Dave

Okay, I just looked back and read that thread (along with a few other
threads about the same issue), and I think I now understand the root of the
problem: sub-folders are created in Mbox format, so when the INBOX is in
Maildir format, moving messages from the INBOX to other folders is not
supported because of an inadequacy in the Maildir driver. Is this on target?

From what I read, it almost looks like the problem has been fixed by "Todd
at NM Technet". He said:

From: Todd at NM Technet [EMAIL PROTECTED]
Date: Fri, 04 Jun 1999 11:16:57 -0600
Subject: Re: Getting Maildir + IMAP working
[snip]
 the result:  the maildir driver for the UW imap server is very
 rudimentary.  it works extremely well for inboxes, but not well for any
 other folders.  i have patched it a bit to handle creating new maildirs
 correclty and copying between the inbox and other folders, but it doesn't
 handle other folders very elegantly yet.
[snip]

If all the folders are kept in Maildir format (which I rather prefer) then
the function of moving messages between folders of different formats is not
required. Right? However, he says that this "doesn't handle other folders
very elegantly yet". What does this mean? That creation and usage of these
additional Maildir folders is messy? Or that he does not like being
restricted to just using Maildir folders?

(Kind of weird to be asking you what he meant... so that's why I cc'ed this
message to him.)

Todd: Could you post a copy of this patch to the list or send it to me?

This seems like a good solution - to only use Maildir folders. If Todd's
patch is kind of messy, perhaps I could take another hack at implementing
the same thing.

 - David Harris
   Principal Engineer, DRH Internet Services


-Original Message-
From:   Dave Teske [mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 14, 1999 11:57 AM
To: qmail-list
Subject:RE: Q: qmail + IMAP


At 11:25 AM 6/14/99 , you wrote:

Humph.

I'm about to have a co-worker patch a the qmail-imap server to support
virtual POP/IMAP users for each virtual domains using Maildirs, while still
allow the UNIX users to pick up their mail from the /var/spool/mail mbox
files. I need IMAP support, so I can't start from qmail-pop3d, but I'm
planning to start from the UW server in David Summers' qmail-imap Linux RPM
which is based on Mattias Larsson's patch to add maildir to the imap
server.
(all mentioned at qmail.org) I'm looking at the qmail-imap-4.5.BETA version
of this RPM which is at:
  ftp://summersoft.fay.ar.us/pub/qmail

That's the server I was running too. The basic problem is that the UW
server can't handle transferring messages to different types of mail boxes.
So if I have an "Inbox" that is in Maildir format and I create sub-folders
(which are created in Mailbox format) the server won't let you copy stuff
from the "inbox" to your sub-folders. If you check the archives this was
discussed sometime in the last 3-4 weeks (look for messages in the thread
"getting maildir + imap working").

--Dave

You say that this software has problems with Maildirs? If so, I would help
if you could give me some descriptions of the problems that you've been
experiencing. If there is stuff that needs to be fixed, I could have this
guy go over the maildir support source code with a fine tooth comb to get
any problems out. I took a brief skim over the patch and it didn't look too
daunting.


  - David Harris
Principal Engineer, DRH Internet Services




Re: Holiday messaging: preventing loops?

1999-06-14 Thread Kai MacTane

Text written by Anand Buddhdev at 06:16 PM 6/14/99 +0300:

Anyway, why go to all this hassle. There are ready programs to do exactly
this for you - unix systems come built in with a vacation message, and
there's one available on www.qmail.org if you don't like the built-in
vacation program.

While I think it's a good thing that you mentioned the preexisting software
to Mr. Kitabjian, I'd like to point out that writing software, even
software that's already been written, is an important part of learning to
program. It's possible that's what he's doing.

Or, to put it another way, re-inventing the wheel is a waste of time for
normal people -- but not for people who are learning to be wheelwrights. :)

-
 Kai MacTane
 System Administrator
  Online Partners.com, Inc.
-
From the Jargon File: (v4.0.0, 25 Jul 1996)

block transfer computations /n./ 

[from the television series "Dr. Who"] Computations so fiendishly
subtle and complex that they could not be performed by machines. Used
to refer to any task that should be expressible as an algorithm in
theory, but isn't. 



rblsmtpd patched for multiple lookups

1999-06-14 Thread Anonymous


Since I didn't see any in the mailing list archives, here are some diffs
to patch rblsmtpd to support multiple RBL's.  Caveat is that I've only
been using these for speed testing different RBL schemes, but it does seem
to work as intended.  You can test it with something like...

$ TCPREMOTEIP=127.0.0.2 ./rblsmtpd -rdul.map.vix.com -rrbl.maps.vix.com /bin/id

diff -c -r rblsmtpd-0.70/rblsmtpd.c rblsmtpd-0.70-local//rblsmtpd.c
*** rblsmtpd-0.70/rblsmtpd.cTue Aug 25 08:58:22 1998
--- rblsmtpd-0.70-local//rblsmtpd.c Mon Jun 14 10:26:15 1999
***
*** 10,15 
--- 10,17 
  #include "ip.h"
  #include "env.h"
  
+ #define MAX_RBL_DOMAINS 8
+ 
  #define FATAL "rblsmtpd: fatal: "
  void die_sys() { _exit(111); }
  
***
*** 109,114 
--- 111,119 
  char **argv;
  {
int opt;
+   int rblcnt = 0;
+   int i;
+   char * rbldoms[MAX_RBL_DOMAINS];
  
while ((opt = getopt(argc,argv,"t:r:Rb")) != opteof)
  switch(opt) {
***
*** 115,121 
case 't': scan_uint(optarg,timeout); break;
case 'R': flagrblsafe = 1; break;
case 'b': flagbounce = 1; break;
!   case 'r': rbldomain = optarg; break;
default: usage();
  }
argv += optind;
--- 120,126 
case 't': scan_uint(optarg,timeout); break;
case 'R': flagrblsafe = 1; break;
case 'b': flagbounce = 1; break;
!   case 'r': if (rblcnt  MAX_RBL_DOMAINS) rbldoms[rblcnt++] = optarg; break;
default: usage();
  }
argv += optind;
***
*** 122,128 
if (!*argv) usage();
  
res_init();
!   check();
execvp(*argv,argv);
strerr_die4sys(111,FATAL,"unable to run ",*argv,": ");
  }
--- 127,140 
if (!*argv) usage();
  
res_init();
!   if (rblcnt == 0) {
!   check();
!   } else {
!   for (i=0; irblcnt; i++) {
!   rbldomain = rbldoms[i];
!   check();
!   }
!   }
execvp(*argv,argv);
strerr_die4sys(111,FATAL,"unable to run ",*argv,": ");
  }

-- 
Aaron Nabil



Re: List manager! Off topic... Sorry!

1999-06-14 Thread Fred Lindberg

On Mon, 14 Jun 1999 10:51:24 -0500, Geordon VanTassle wrote:

Sorry to waste the bandwidth, but I need to know if the QMAIL list is set 
up to do digests.  My mail-server is getting mad at me. :)

No - but I have a sublist that sends out a daily (at 1100 UTC) digest.
To subscribe, mail [EMAIL PROTECTED]

If you ever need to unsubscribe, mail the address in the
"List-Unsubscribe" header of the digest (it contains your subscription
address, so it will always work).


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)




RE: Q: qmail + IMAP

1999-06-14 Thread Dave Teske

At 12:50 PM 6/14/99 , David Harris wrote:

Okay, I just looked back and read that thread (along with a few other
threads about the same issue), and I think I now understand the root of the
problem: sub-folders are created in Mbox format, so when the INBOX is in
Maildir format, moving messages from the INBOX to other folders is not
supported because of an inadequacy in the Maildir driver. Is this on target?

Yes that's they way I understand it.


 From what I read, it almost looks like the problem has been fixed by "Todd
at NM Technet". He said:

I haven't tried or looked at the patch in question so I'll let Todd respond 
to the rest of this

  - David Harris
Principal Engineer, DRH Internet Services

--Dave



RE: Q: qmail + IMAP

1999-06-14 Thread Todd at NM Technet

howdy,

sorry to disappoint, but i don't have any patches to distribute on this.
most of the fixes were the result of extremely unscientific 'mucking' that
i would probably not want to distribute (for example, at one point i
deleted the mbox driver from the source tree entirely to get the Maildir
used, even though the Maildir driver was specified as higher precedence).

even in the 'fixed' state, the behavior is still sub-optimal (each Maildir
shows up as both a folder and a folder of folders in all of the clients
i've tried--some special exclusions of 'new', 'cur', and 'tmp' would need
to be written to change this behavior.

as far as i can tell, this issue simply wont get fixed properly until mark
crispin (of UW) decides he can stop hating DJB long enough to formally
incorporate the Maildir driver (i really dispise technical decisions made
on personality grounds).  

so, in short:  no patches here.  just ill-conceived hacking that mostly
works but would be trouble for anyone else.

sorry,


todd underwood
[EMAIL PROTECTED]

On Mon, 14 Jun 1999, Dave Teske wrote:

 Date: Mon, 14 Jun 1999 14:21:56 -0400
 From: Dave Teske [EMAIL PROTECTED]
 To: David Harris [EMAIL PROTECTED], qmail-list [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Q: qmail + IMAP
 
 At 12:50 PM 6/14/99 , David Harris wrote:
 
 Okay, I just looked back and read that thread (along with a few other
 threads about the same issue), and I think I now understand the root of the
 problem: sub-folders are created in Mbox format, so when the INBOX is in
 Maildir format, moving messages from the INBOX to other folders is not
 supported because of an inadequacy in the Maildir driver. Is this on target?
 
 Yes that's they way I understand it.
 
 
  From what I read, it almost looks like the problem has been fixed by "Todd
 at NM Technet". He said:
 
 I haven't tried or looked at the patch in question so I'll let Todd respond 
 to the rest of this
 
   - David Harris
 Principal Engineer, DRH Internet Services
 
 --Dave
 
 



Re: Blocking ExploreZip

1999-06-14 Thread Greg Owen {gowen}



On Mon, 14 Jun 1999, Mark Drummond wrote:
 There is much interest here in the idea of blocking email carrying
 ExploreZip so we don't have to rely on end-user intelligence(?!) to
 prevent an infestation. I realise that sticking filters into the pipe
 like this is not necessarily as good idea but nonetheless ...

I spent 5 minutes last friday looking at using 'condredirect' to
bounce anything with the string 'Till then, blah blah blah' into an admin
mailbox.  It silently didn't work.  I didn't care enough to look too
deeply into it at the time, but if we're going to be discussing fixes, I'd
love to hear the right way to use condredirect...

gowen



Re: Q: qmail + IMAP

1999-06-14 Thread Anonymous

At 12:43 PM 6/14/99 , Christian Wiese wrote:
Hi Dave.

Do you have a HOWTO for the Cyrus Imap configuration steps with qmail, or do
you know some websites, where I can get additional informations.

Not that I know of, but the docs for setting up the Cyrus server got me 
through that part. Just remember when you create a user their "name" is 
something like "users.Myname". As for setting up qmail to work with it the 
archives contain several solutions. I only have a few users so I just added 
the following to each users .qmail: | /usr/bin/qmail/preline -f 
/usr/cyrus/bin/deliver -e -a "$USER" "$USER"

thank you very much

christian

One note of caution if you need to move messages in your existing Maildir 
to the Cyrus mailboxes be careful with re-injecting the messages. I got a 
whole bunch of people pissed at me when I accidentally sent the messages 
back to this list.

--Dave




RE: Q: qmail + IMAP

1999-06-14 Thread David Harris


Todd at NM Technet [mailto:[EMAIL PROTECTED]] wrote:
 howdy,

 sorry to disappoint, but i don't have any patches to distribute on this.
 most of the fixes were the result of extremely unscientific 'mucking' that
 i would probably not want to distribute (for example, at one point i
 deleted the mbox driver from the source tree entirely to get the Maildir
 used, even though the Maildir driver was specified as higher precedence).

 even in the 'fixed' state, the behavior is still sub-optimal (each Maildir
 shows up as both a folder and a folder of folders in all of the clients
 i've tried--some special exclusions of 'new', 'cur', and 'tmp' would need
 to be written to change this behavior.

Okay. You don't have a fully working patch yet. Nooo problem. I have way too
much experience patching systems that I didn't fully understand. :-) I'd
still appreciate getting my hands on you work, as it would give me a
starting point. I understand that you don't want to release it as a "patch"
because it's really now just a "hack". But perhaps you could release it with
a proviso that this is not a real solution to the problem? And if not to the
list, could you send me a copy so I can try to develop a real production
patch? I'd appreciate it.

 as far as i can tell, this issue simply wont get fixed properly until mark
 crispin (of UW) decides he can stop hating DJB long enough to formally
 incorporate the Maildir driver (i really dispise technical decisions made
 on personality grounds).

Oh, I didn't know. That's sad.

 so, in short:  no patches here.  just ill-conceived hacking that mostly
 works but would be trouble for anyone else.

 sorry,


 todd underwood
 [EMAIL PROTECTED]

Thanks,

 - David Harris
   Principal Engineer, DRH Internet Services




Re: Blocking ExploreZip

1999-06-14 Thread Dave Sill

Greg Owen {gowen} [EMAIL PROTECTED] wrote:

On Mon, 14 Jun 1999, Mark Drummond wrote:
 There is much interest here in the idea of blocking email carrying
 ExploreZip so we don't have to rely on end-user intelligence(?!) to
 prevent an infestation. I realise that sticking filters into the pipe
 like this is not necessarily as good idea but nonetheless ...

   I spent 5 minutes last friday looking at using 'condredirect' to
bounce anything with the string 'Till then, blah blah blah' into an admin
mailbox.  It silently didn't work.  I didn't care enough to look too
deeply into it at the time, but if we're going to be discussing fixes, I'd
love to hear the right way to use condredirect...

Dan posted a similar "fix" for melissa, though he didn't use
condredirect or mess822:

]From: "D. J. Bernstein" [EMAIL PROTECTED]
]To: [EMAIL PROTECTED]
]Subject: Re: Melissa Virus
]Date: 29 Mar 1999 22:03:55 -
]
][EMAIL PROTECTED] writes:
] The sendmail "fix" is silly.  It's 4 lines (or something), and all it does
] is search for a string in the subject line.  That "fix" is more
] likely to bounce good mail than it is to catch the virus.
]
]Indeed. Legitimate messages do occasionally contain the same ``Important
]Message From'' subject line that the Melissa worm produces. If, however,
]someone does want this ``fix'' for qmail, here's a sample one-liner to
]put before ./Mailbox in /var/qmail/rc or in the POP-toaster .qmail file:
]
]   | bouncesaying VIRUS awk '/^Subject: I am a virus/{exit 0}/^$/{exit 1}END{exit 1}'
]
]To test, put this line into ~you/.qmail-melissa and send some messages
]to you-melissa. If you have Microsoft users with their own .qmail files,
]they can decide for themselves whether to add this to .qmail. 
]
]---Dan

-Dave



Re: stralloc

1999-06-14 Thread Fred Lindberg

On Mon, 14 Jun 1999 14:20:02 +0200, Van Liedekerke Franky wrote:

There are a lot of stralloc calls in qmail, does this memory never needs to
be freed again? 

All strallocs are either global or static in subroutines. Look at
alloc.c/alloc_re.c. They allocate new memory only if needed and if a
string grows, the old memory is freed. Thus, at most you end up with
memory allocated for each "stralloc" that corresponds to the largest
string it has held. There are no leaks.

As mentioned in other posts, the memory is freed when the program
exits.

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)




Re: Qmail as selective relay.

1999-06-14 Thread Dimitri S.

At 19:11 13/06/99 -0400, Robbie Walker wrote:
Note: sorry if the last post was off-topic and HTML... I had a stroke or
something! [grin]

You can find the homepage (and the current link for ucspi-tcp) here
http://koobera.math.uic.edu/www/ucspi-tcp.html

The rest of Dan's software can be found at this page...
http://koobera.math.uic.edu/www/software.html


Hi

Alert!: Unable to connect to remote host.


lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$


   -- Dimitri [EMAIL PROTECTED]



Re: Qmail as selective relay.

1999-06-14 Thread Dave Sill

"Dimitri S." [EMAIL PROTECTED] wrote:

Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$

s/http/ftp/

-Dave



Re: Qmail as selective relay.

1999-06-14 Thread Russell Nelson

Dimitri S. writes:
  lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
  [zyrtex@kali zyrtex]$

http://www.qmail.org/koobera/www/ucspi-tcp.html will also work.

-- 
-russ nelson [EMAIL PROTECTED]  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | child.



Re: Qmail as selective relay.

1999-06-14 Thread Dimitri S.

At 15:16 14/06/99 -0400, Dave Sill wrote:
"Dimitri S." [EMAIL PROTECTED] wrote:

Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$

s/http/ftp/

You and Vince are right. Thank you, and I hope the ucspi-tcp-0.84.tar.gz
version will run the same way as the ucspi-tcp-0.84.tar.gz because the doc
on http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html is for
ucspi-tcp-0.80.tar.gz... or any doc for installing the 84 ?

Bye, thank you !


   -- Dimitri [EMAIL PROTECTED]



Re: Blocking ExploreZip

1999-06-14 Thread Anonymous

Please excuse my stundedness but here is my /var/qmail/rc:

#!/bin/sh

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

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start | bouncesaying VIRUS awk '/^Subject: hello/{exit 0}/^$/{exit
1}END{exit 0}' \
./Maildir/ splogger qmail

I know there is an error in here, but what. Should there really be a
pipe in there? If so, how does qmail-start see the ./Maildir/ ?

-- 
___
Mark E DrummondRoyal Military College of Canada
[EMAIL PROTECTED]Computing Services
Linux Uber Allesperl || die

   ...there are two types of command interfaces in the world of
computing: good interfaces and user interfaces.
   - Dan Bernstein, Author of qmail

PGP Fingerprint = 503D A72D AF41 2AD1 D433 C514 98D9 9A39 B25A 2405



Re: Qmail, retrieveing POP3 and delivering

1999-06-14 Thread Anonymous

See Comments below

: It's a nameserver record that points to the mail exchanger for a given
: domain. RFC 974 (see
: http://Web.InfoAve.Net/~dsill/lwq.html#more-information) has the
: details.

Thank you for the RFC link.

: Non-authoritative answer:
: speedchoice.com preference = 10, mail exchanger =
mail01.detroit.speedchoice.com
: speedchoice.com preference = 10, mail exchanger =
mail.phoenix.speedchoice.com
:
: Authoritative answers can be found from:
: speedchoice.com nameserver = ns1.detroit.speedchoice.com
: speedchoice.com nameserver = ns2.detroit.speedchoice.com
: mail01.detroit.speedchoice.com  internet address = 24.221.95.31
: mail.phoenix.speedchoice.cominternet address = 24.221.30.31
: ns1.detroit.speedchoice.com internet address = 207.238.183.71
: ns2.detroit.speedchoice.com internet address = 24.221.95.3
: 
:
: This says that a message addressed to [EMAIL PROTECTED] should be
: sent to either mail01.detroit.speedchoice.com or
: mail.phoenix.speedchoice.com. Since they both have the same preference
: (10), either can be used.

: Your system could be configured as an SMTP server, but if it has an MX
: record pointing elsewhere, no remote systems will ever try to send it
: mail, it'll go to the host identified in the MX record.

In light of what you said and the reading that I just did, please verify the
following is true.  Unless my ISP (speedchoice.com) changes _thier_ MX
tables, I cannot do this.  If I wanted to this thier MX tables would somehow
(??)  have to change.  This brings me to DNS, and if I wanted to run a DNS
server, then I should be able to do it?  Sorry if I sound really wacked, I
am trying to not jsut configure this, but to really understand it too.
Thanks so much.

Steven


:
: -Dave
:





Alias virtual domains

1999-06-14 Thread Anonymous


Hi there,

I have just set up my server as a virtual domains. It works great. The
only problem is the alias system. It doesn't work anymore.

I hardly found any doc about that. Any pointer or help are welcome.

In my virtualdomains file:
myserver.domain1.com:domain1-com


What format to use for using the ~alias system?
I tried to add in virtualdomains:

myserver.domain1.com:domain1-com
myserver.domain1.com:alias-user

But it doesn't work.

Thanks!







Re: Holiday messaging: preventing loops?

1999-06-14 Thread Giles Lean


On Mon, 14 Jun 1999 10:48:47 -0400  Dave Kitabjian wrote:

 I developed a script to support holiday messages. It appears to work very 
 nicely with one important exception (that I expected): if a person on 
 holiday sends a message to another person on holiday, they get an infinite 
 loop of holiday notifications to each other (thank God for quota 
 enforcement!)

You might find http://www.pobox.com/~djb/proto/mailloops.txt
interesting reading, and there is at least one vacation style program
linked off the qmail.org page, plus, of course, vacation. :-)

Ciao,

Giles




Selective Delivery

1999-06-14 Thread Anonymous


Hello,

I am in the process of setting up a mail server
with qmail and UW Imap for use in an environment
where not all of the users are allowed access to
external email.  Evryone gets internal, but not
everyone is allowed to mail outside the company. 
Is there a method of setting this up all on one
machine?

thanks

caleb

---
Caleb Rutan  |  [EMAIL PROTECTED]  |  Office phone:(313)566-2371
Manager, Information Systems - First of Michigan

Better tried by twelve than carried by six.
-- Jeff Cooper
-



binmail

1999-06-14 Thread Anonymous

The file REMOVE.binmail says that I should NOT remove binmail if I installed
QMAIL to use binmail. That sounds like sage advice.

The problem is that I don't KNOW wether I installed QMAIL to use binmail or
not. I have no recollection of that but is that the default?

I followed all the instructions including the recommendation to use Maildirs
(which meant I had to change a number of the steps in the rest of the
install since the doc is written assuming you ignore that particular
recommendation).

So I just don't know if binmail should be removed or not.

I can't recieve mail from a remote site but I don't know if having binmail
still active is the cause of the problem.

Alex (bright but dyslexic) Miller



NFS Mounts

1999-06-14 Thread Anonymous

I'm curious about which parts of Qmail should not be mounted via NFS.

I am using Maildir
I am using multiple mail servers to work on the same data behind a serveriron.

Can the multiple servers share a queue directory?
What about the entire /var/qmail direcotory?

Thanks for any advice.

Richard



Re: NFS Mounts

1999-06-14 Thread Anonymous

/var/qmail/queue CANNOT be shared.  /var/qmail/bin can only be shared
between identical machines (including the 7 qmail users and groups).  The
rest may be shared.  The user home directories may be shared as well.

On Mon, 14 Jun 1999, Richard Roderick wrote:

 I'm curious about which parts of Qmail should not be mounted via NFS.
 
 I am using Maildir
 I am using multiple mail servers to work on the same data behind a serveriron.
 
 Can the multiple servers share a queue directory?
 What about the entire /var/qmail direcotory?
 
 Thanks for any advice.
 
 Richard
 
 

-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax



Official license

1999-06-14 Thread Anonymous

Hi all,

I'm looking for an official license for QMail.  I can't
seem to find it on the qmail.org web site, or in the
qmail tarball.  Any pointers?

-- Keith
[EMAIL PROTECTED]




Re: Official license

1999-06-14 Thread Anonymous

On 15 Jun, Russell Nelson wrote:
 [EMAIL PROTECTED] writes:
   Hi all,
   
   I'm looking for an official license for QMail.  I can't
   seem to find it on the qmail.org web site, or in the
   qmail tarball.  Any pointers?

 http://pobox.com/~djb/qmail/dist.html

That actually wasn't what I was looking for; I wanted a user
license, not a distributor's license.  However, I think I've
found what I want: Dan's philosophy statement, at

http://pobox.com/~djb/softwarelaw.html

It basically says that qmail is yours to do with as you
wish, as long as you don't redistribute with your changes
as the same product.  I don't know how legally binding
his stand is, but it's good enough for me.

-- Keith
[EMAIL PROTECTED]




tool for verifying addresses

1999-06-14 Thread Anonymous

I'm finding that the larger and more complex my qmail setup becomes, the
more difficult it is for me to trace the path an address follows through
the qmail system. With sendmail/exim, there is the -bt command line option,
which tells us whether the address will be treated as local or remote, and
if remote, what MXs will be looked at, and if local, whether it will be
delivered to a maildir, mbox or pipe, without actually delivering a
message.

I realise that qmail is modular, and so there's no easy way to determine
what really happens. I was thinking of writing a small perl script to
"emulate" the decisions made by qmail-send, qmail-lspawn and qmail-rspawn,
and print the results to tell me where an address ends up. I'm particularly
interested in finding out what happens to a local address, ie. was it
looked up in users/cdb, or /etc/passwd, or did it end up in
~alias/.qmail-default, etc.

Has anyone already written such a tool, or can anyone give me any better
ideas on how I can proceed with this?

-- 
Anand



Competition to qmail ...again

1999-06-14 Thread Anonymous

Hi,
I have to do some testing on qmail so that i can kill the
competition like exchange and lotus notes...
I have to implement qmail for multiple domains and send mail meant
for the internet to an ISP  WE are on a lease line...
I need to check how fast it is so that and show the same.
The PROBLEM that i face is that when qmail is trying to send a mail to
the internet through the relay server of my ISP , from the local machine
.. the queue of the mail being sent remains for as long as 3 min.
I need to flush the mails immediately so that the overall throughput
can be faster...
Please can you suggest a solution to flush these mails immediately.
The DNS setting does not work as i am able to ping the server
immediately so the name seems to get resolved pretty quickly,when it is
sending it looks for bandwidth which is not available(i presume).
Isn't there a place where one can specify the time out and retry time ??
The problem seems to be in flushing mails immediately to the ISP server
.

Thanks in advance
Amit