.qmail

2000-03-13 Thread Ismal Hisham Darus



Let say i received email from [EMAIL PROTECTED] and cc to [EMAIL PROTECTED] 
 
can i forward back the email to [EMAIL PROTECTED] only ? what shall i put inside 
my .qmail ?
 
thanks.


Blocking unqualified remote senders ?

2000-03-13 Thread torben fjerdingstad

How do I block unqualified remote senders?
I know an empty return-path (<>)should be allowed.  :-(

I use qmail-1.03 with rblsmtpd + qmail-1.03-mfcheck.3.patch.

I get bounces like this in my postmaster maildir:

Return-Path: 
Received: (qmail 58006 invoked from network); 10 Mar 2000 14:42:36 -
Received: from cr944640-a.brntfd1.on.wave.home.com (HELO
 mailer1.wealthnet2000.com) (24.112.103.150)
  by mail.net.uni-c.dk with SMTP; 10 Mar 2000 14:42:36 -
From:  
To: <[EMAIL PROTECTED]>
Date: Fri, 10 Mar 2000 05:22:18
Message-Id: <[EMAIL PROTECTED]>
Subject: EARN $100,000 PER YEAR SENDING E-MAIL

My host, mail.net.uni-c.dk is a low precedence MX for free.net
which has a smarter mail host:

<[EMAIL PROTECTED]>:
Connected to 193.233.0.65 but sender was rejected.
Remote host said: 551 Unauthorised attempt to send mail as ' WealthNet2000 '
 from host ' mail.net.uni-c.dk '

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C  

Tlf./Phone   +45 35 87 89 41Mail:  UNI-C
Fax. +45 35 87 89 90   Bygning 304
E-mail: [EMAIL PROTECTED]   DK-2800 Lyngby



qmail Digest 13 Mar 2000 11:00:01 -0000 Issue 939

2000-03-13 Thread qmail-digest-help


qmail Digest 13 Mar 2000 11:00:01 - Issue 939

Topics (messages 38460 through 38468):

Why do I get that many 4.4.3 errors?
38460 by: Gabriel Ambuehl

Mac client
38461 by: David Pratt
38462 by: Magnus Bodin
38463 by: Paul Schinder

patching pine 4.10
38464 by: Eric Lalonde

new rblsmtpd
38465 by: Mate Wierdl

ucspi-tcp 0.86 available
38466 by: D. J. Bernstein

.qmail
38467 by: Ismal Hisham Darus

Blocking unqualified remote senders ?
38468 by: torben fjerdingstad

Administrivia:

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

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

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

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


--



Hello,
I just browsed through my qmail logs and noticed, that I get a lot of
deferrals: CNAME lookups are temporary unavaible (#4.4.3). Does anybody know
how to solve this problem, as qmail just puts all of the mails it couldn't
deliver into the queue and if let it do the queue, it just returns me the
same errors. Is this a problem of the local DNS servers or of the
authoritive ones? Is there a possibility to let qmail just deliver the mail
to the mx records without caring if it's a CNAME or a real address?






Can anyone recommend an email client for Macs that it is qmail compatible? 
I don't appear to be having any success trying to get my mail with Eudora.

Best regards,
David







On Sun, Mar 12, 2000 at 08:03:11PM -, David Pratt wrote:
> 
> Can anyone recommend an email client for Macs that it is qmail compatible? 
> I don't appear to be having any success trying to get my mail with Eudora.

qmail? You mean qmail-pop3d?

ANY POP3 RFC 1939 (http://rfc1939.x42.com/) compliant client works.

If you user strange characters in your password, maybe your client does send
them differently from how it was set.

/magnus

-- 
http://x42.com/




At 8:03 PM + 3/12/00, David Pratt wrote:
>Can anyone recommend an email client for Macs that it is qmail compatible?
>I don't appear to be having any success trying to get my mail with Eudora.

Eudora on a Mac works fine with qmail-pop3d.  (I'm using Eurora on a 
Mac right now, but I've long since switched to courier-imap to 
retrieve mail.)  You're going to have to tell us what's exactly is 
going wrong.  Eudora has a mode to log every byte sent in and out 
during a connection. (In Special->Settings->Logging.)  Turn it on and 
see what's happening.

>Best regards,
>David

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




im not sure how I should patch the pine 4.10 source so that it handles
Maildir delivery. I have downloaded the pine4.10-redhat.patch from
ftp://ftp.vestdata.no/pub/linux/c-client/src-1.0/
but I am not sure how to execute the patch so that it modifies the source
files to handle Maildir delivery.

anyone have any experience with this?





In case you have not seen it: the new rblsmtpd (in the ucspi-tcp
package!) has:

Options:
 * -r base: Use base as an RBL source. An IP address a.b.c.d is
   listed by that source if d.c.b.a.base has a TXT
   record. rblsmtpd
   uses the contents of the TXT record as an error message for the
   client.
 * -a base: Use base as an anti-RBL source. An IP address a.b.c.d
 is
   anti-listed by that source if d.c.b.a.base has an A record. In
   this case rblsmtpd does not block mail.

   You may supply any number of -r and -a options. rblsmtpd tries each
   source in turn until it finds one that lists or anti-lists
   $TCPREMOTEIP.

(Sorry for polluting).

Mate




A new version of ucspi-tcp, including a new version of rblsmtpd, is
available through

   http://cr.yp.to/ucspi-tcp/install.html

There are a huge number of internal improvements and some external
improvements. See

   http://cr.yp.to/ucspi-tcp/upgrade.html

for upgrade notes.

---Dan






Let say i received email from [EMAIL PROTECTED] and cc to [EMAIL PROTECTED] 
 
can i forward back the email to [EMAIL PROTECTED] only ? what shall i put inside 
my .qmail ?
 
thanks.



How do I block unqualified remote senders?
I know an empty return-path (<>)should be allowed.  :-(

I use qmail-1.03 with rblsmtpd + qmail-1.03-mfcheck.3.patch.

I get bounces like this in my postmaster maildir:

Return-Path: 
Received: (qmail 58006 invoked from network); 10 Mar 2000 14:42:36 -
Received: from cr944640-a.brntfd1.on.wave.home.com (HELO
 mailer1.wealthnet2000.com) (24.112.103.150)
  by mail.net.uni-c.dk with SMTP; 10 Mar 2000 14:42:36 -
From:  
To: <[EMAIL PROTECTED]>
Date: Fri, 10 Mar 2000 05:22:18
Message-Id: <[EMAIL PROTECTED]>
Subject: EARN $100,000 PER YEAR SENDING E-MAIL

My host, mail.net.uni-c.dk is a low precedence MX for free.net
which has a smarter mail host:

<[EMAIL PROTECTED]>:
Connected to 193.233.0.65 but s

IMAP Server

2000-03-13 Thread Gary Barnden

Hello All

I've noticed that a few IMAP servers exist, in anyones opinion, which one 
is the best?

Any reasons why would also be appreciated.

Kind Regards

Gary Barnden



Re: IMAP Server

2000-03-13 Thread Anand Buddhdev

On Tue, Mar 14, 2000 at 12:02:26AM +1100, Gary Barnden wrote:

> Hello All
> 
> I've noticed that a few IMAP servers exist, in anyones opinion, which one 
> is the best?

courier-imap is small, fast, has flexible auth mechanisms, and more
importantly, is designed for Maildirs. I like it.

-- 
See complete headers for more info



Re: virtualdomains: couple issues

2000-03-13 Thread Grier Ellis



For your problems 1) and 2) below:

1) You can forward goonda.org accounts anywhere you want - create .qmail files
   in ~vpopmail/domains/goonda.org of the form .qmail-userid

2) You have to use [EMAIL PROTECTED] (or userid%goonda.org) as the POP user, unless 
you 
   set up goonda.org as your default domain, like this (from vpopmail's FAQ, question 
#0):
 
  rm ~vpopmail/users
  ln -s ~vpopmail/domains/goonda.org ~vpopmail/users

As to your other questions:

   - vchkpw logs to syslog (only!?), which can be a real PITA 

   - I don't know sendmail, and don't want to know sendmail!

grier

anindya wrote:
> 
> Hi folks,
> 
> I know what I am trying to do is straightforward, but
> I have failed to find any documentation that explains this clearly.
> Here is my setup:
> 
> qmail 1.03
> vpopmail 3.4.11
> FreeBSD 3.4
> 
> The host's actual name is mail.goonda.org, and I have virtual
> domain goonda.net. I have a single IP available i.e. I cannot do
> IP-based virtual domains. I want to have mail.goonda.net point
> to the same IP address and have people POP mail off the
> box using [EMAIL PROTECTED] format. I have DNS setup, the
> MX records are pointing at the right place. You can send email
> to [EMAIL PROTECTED], and it gets delivered correctly, I
> see it sitting there under the new/ dir in
> vpopmail/goonda.net/anindya/Maildir.
> 
> I have been having 2
> problems:
> 
> 1) I used vadddomain to create the goonda.net entry in users/assign:
> 
>+goonda.net-:goonda.net:1008:1003:/var/vpopmail/domains/goonda.net:-::
> 
>Does this now mean that I can ONLY do pop3 for goonda.net? I'd like
>to setup a couple accounts @goonda.net to simply forward elsewhere.
>Where do I need to stick the .qmail-* files to do this? Or is
>there some other way to do this?
> 
> 2) Second problem, I can't authenticate to the POP3 server for some
>reason:
> 
> sh-2.03# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> USER [EMAIL PROTECTED]
> +OK
> PASS masubev5
> -ERR authorization failed
> 
> bash-2.03# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> USER anindya%goonda.net
> +OK
> PASS masubev5
> -ERR authorization failed
> 
> My startup lines are as follows:
> 
> echo "starting qmail..."
> /bin/csh -cf '/var/qmail/rc &'
> # smtp
> /usr/local/bin/tcpserver -v -u 1002 -g 1001 0 smtp /var/qmail/bin/qmail-smtpd \
> 2>&1 | /var/qmail/bin/splogger smtpd 3 &
> # pop3
> /usr/local/bin/tcpserver -u 1002 -g 1001 0 pop3 \
> /var/qmail/bin/qmail-popup mail.goonda.org \
> /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
> 2>&1 | /var/qmail/bin/splogger pop3 3  &
> 
> And I don't seem to find anything in the logs indicating a POP3 login
> failure! Where are these logs?
> 
> My other concern is how do I go about rewriting outgoing email addresses
> ala sendmail's genericstable?
> 
> Any suggestions or flames would be welcome.
> 
> THanks!
> 
> --Anindya



Archive out bound mail.

2000-03-13 Thread JB

Is there someway to keep/archive a copy of all out-going mail? 



Re: Archive out bound mail.

2000-03-13 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13 Mar 00, at 8:19, JB wrote:

> Is there someway to keep/archive a copy of all out-going mail? 

You've read the FAQ, haven't you? In case you missed FAQ #8.2, 
read the FAQ again. (FAQ is a part of qmail source distribution.)


-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0ISlMwP8g7qbw/EQKz3wCggmuwu3gyUVThptAYJIcKkbzUhVQAnimm
yxTS8BbPsRFi8rvAdYo9wXUL
=2L4/
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Redundant email system delivery synchronization question

2000-03-13 Thread Bruce Guenter

Greetings.

I've been trying to plan out a hypothetical redundant email system,
where email loss cannot occur if any single computer fails anywhere in
the delivery or mailbox access process, and duplicated email is
minimized.

In this system, email is initially stamped with a unique ID and
delivered to two or more qmail queues.  I know how to deliver local
email without causing duplicates (under normal conditions).  How would I
deliver remote email without duplicating it?  That is, how could I
synchronize the remote delivery of two qmail queues?

I suppose one option is to build a new qmail-remote front end that does
the synchronization before and after executing the real qmail-remote
program.  This seems like somewhat of a hack, though.  Can anybody else
think of a better solution?

I will post a summary of my planned system on my web page once I've
gotten it all figured out.
-- 
Bruce Guenter <[EMAIL PROTECTED]>   http://em.ca/~bruceg/



2nd qmail-server

2000-03-13 Thread Jan Stifter

hi all,
i have a qmail-server, which handles mails for a small company. i
would like to setup a second mail-server, with an MX record with lower
priority as the first one, so that if the first fails, the second one
will receive the mails. after the first one is alife again, the second
one should deliver him the received mails.

how could i implement the second server? any comments, RTFM's are
welcome.

jan



Re: Spam, orbs, maps

2000-03-13 Thread Jon Rust

You'll want to look at maildrop. There may be a way to do this with 
your .qmail files alone, but I haven't seen it.

Maildrop's at

   http://www.flounder.net/~mrsam/maildrop/

It replaces qmail's own delivery agent and allows filtering of the 
message before delivery. The filtering language is pretty 
straightforward..

jon

At 12:48 PM -0400 3/11/00, [EMAIL PROTECTED] wrote:
>Is there a patch or a script that can be used
>to filter by per user ?



Re: 2nd qmail-server

2000-03-13 Thread petervd

On Mon, Mar 13, 2000 at 06:47:41PM +0100, Jan Stifter wrote:
> hi all,
> i have a qmail-server, which handles mails for a small company. i
> would like to setup a second mail-server, with an MX record with lower
> priority as the first one, so that if the first fails, the second one
> will receive the mails. after the first one is alife again, the second
> one should deliver him the received mails.

Put it in DNS as you describe here. Put nothing in control/locals,
and put all domains you want to fallback for in control/rcpthosts.

Done.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: 2nd qmail-server

2000-03-13 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13 Mar 00, at 18:47, Jan Stifter wrote:

> hi all,
> i have a qmail-server, which handles mails for a small company. i
> would like to setup a second mail-server, with an MX record with lower
> priority as the first one, so that if the first fails, the second one
> will receive the mails. after the first one is alife again, the second
> one should deliver him the received mails.
> 
> how could i implement the second server? any comments, RTFM's are
> welcome.

Put the domain(s) you're secondary for into rcpthosts. Do NOT put 
them in locals or virtualdomains.

Don't forget that lower number at MX is higher priority.

That's all.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0ce1MwP8g7qbw/EQKzMQCgxu97fJ+F4wUaK8iOJCK3PYsweGAAn1qw
TFZXbHbzMo/lGqzozrFeYXTM
=cYXM
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



ALRM signal and the queue

2000-03-13 Thread clifford thurber

Hello,
I am running qmail under tcp server with the following command line:

tcpserver -R -x/etc/tcp.smtp.cdb -c400 -uUID -gGID 0 smtp
/var/qmail/bin/qmail-smtpd

User have been complaining about not recieving their mail. When I run
'qmail-qread | wc -l' 
I can see there are 440 messages in the queue. Some of them are five days
old.  I have sent
the qmail-send program an ALRM signal(kill -14.) a handfule of times over
the morning and the 
size of the queue seems to be the same. How can I process the queue since
the ALRM signal doesn't 
seem to be working? How can I track down the cause of this problem. Thanks
again in advance.

Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134



RE: 2nd qmail-server

2000-03-13 Thread Stephen Bosch


Hello:

This problem is interesting, and I have a question.

> > hi all,
> > i have a qmail-server, which handles mails for a small company. i
> > would like to setup a second mail-server, with an MX record with lower
> > priority as the first one, so that if the first fails, the second one
> > will receive the mails. after the first one is alife again, the second
> > one should deliver him the received mails.
> >
> > how could i implement the second server? any comments, RTFM's are
> > welcome.
>
> Put the domain(s) you're secondary for into rcpthosts. Do NOT put
> them in locals or virtualdomains.
>
> Don't forget that lower number at MX is higher priority.

That's all fine for receiving e-mails when the primary is down -- but what
if the server is running, say, IMAP, and users want to retrieve their mail?
What if the secondary receives a bunch of mail and then the primary comes
back up? Will users still be able to see the mail that the secondary server
received? DNS will point them to the primary, but the mail is still sitting
on the secondary.

If there's something I've missed here I'd be happy if someone pointed it
out.

Cheers,

Stephen Bosch



help with rblsmtpd

2000-03-13 Thread Brandon Dudley

> 
> I just need another pair of eyes (or a dozen parirs) to tell me why the 
> following startup files wouldn't work:
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> exec /usr/local/bin/softlimit -m 200 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 5\
> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd -b -r rbl
   >.ma
> ps.vix.com -r dul.maps.vix.com -r relays.radparker.com -r rss.maps.vix.com \
> /var/qmail/bin/qmail-smtpd 2>&1
> 
> I just upgraded my copies of ucspi and daemontools to the latest versions and
> removed my old startup file in favor of the LWQ startfile. Everything worked
> until I tried to integrate rblsmtpd into the mix. Using the above caused smtp
   >d
> to not respond:
> 
> brandon@dudman [9:59am] /home/brandon 4060> telnet discontent.com 25
> Trying 216.100.35.70...
> Connected to discontent.com.
> Escape character is '^]'.
> Connection closed by foreign host.
> 
> although a ps auxww showed what looked like a working smtpd:
> 
> qmaild   26262  0.0  0.5  1260  520 pts/0S10:05   0:00 /usr/local/bin
   >/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 5 -u 16 -g 52 0 smtp 
> /var/qmail/bin/rblsmtpd -b -r rbl.maps.vix.com -r dul.maps.vix.com -r relays.
   >radparker.com -r rss.maps.vix.com /var/qmail/bin/qmail-smtpd 
> 
> Any suggestions?
> 
> Brandon



RE: 2nd qmail-server

2000-03-13 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13 Mar 00, at 11:08, Stephen Bosch wrote:
> That's all fine for receiving e-mails when the primary is down -- but
> what if the server is running, say, IMAP, and users want to retrieve
> their mail?

Until the mail gets delivered to the primary, the users see nothing.

> What if the secondary receives a bunch of mail and then
> the primary comes back up? Will users still be able to see the mail
> that the secondary server received?

After some while, yes. It may take some period for the secondary 
to realize that the primary is up and running. You may speed it up 
by running qmail-tcpok and ALRMing qmail-send on the secondary.

> DNS will point them to the
> primary, but the mail is still sitting on the secondary.

Exactly.


If you think about secondary to be a full mail server (with mailboxes 
and all that) which takes over also POP3 and IMAP during 
outages, it's not trivial to do (and usually not worth the effort; a 
redundant cluster or inteligent switch is better then).

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0iI1MwP8g7qbw/EQKEqQCg9z96+/owia4lE9A1bemWXbaKRW8AoMCJ
fIrxrcp3lLiN9/GpccZTxWMD
=mlED
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



RE: 2nd qmail-server

2000-03-13 Thread Stephen Bosch



> -Original Message-
> From: Petr Novotny [mailto:[EMAIL PROTECTED]]
> Sent: March 13, 2000 11:15
> To: [EMAIL PROTECTED]
> Subject: RE: 2nd qmail-server
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 13 Mar 00, at 11:08, Stephen Bosch wrote:
> > That's all fine for receiving e-mails when the primary is down -- but
> > what if the server is running, say, IMAP, and users want to retrieve
> > their mail?
>
> Until the mail gets delivered to the primary, the users see nothing.

Ah haaa... *penny drops*

> > What if the secondary receives a bunch of mail and then
> > the primary comes back up? Will users still be able to see the mail
> > that the secondary server received?
>
> After some while, yes. It may take some period for the secondary
> to realize that the primary is up and running. You may speed it up
> by running qmail-tcpok and ALRMing qmail-send on the secondary.

Okay -- what you're saying is that the secondary will pass on the mail to
the primary once it's back up?

*sound of gears grinding*

We put the primary in the rcpthosts of the secondary so that the secondary
will accept mail addressed to the primary, but we don't put it in
control/locals because we want to prevent the secondary from attempting to
deliver locally (which wouldn't work because we don't have users configured
locally, nor a delivery agent like POP3 or IMAP).

All right -- what's the mechanism by which this received mail is passed on
to the primary when it becomes operational again? Does this mail sit parked
in a mail queue? Which queue?

Always learning,

Stephen Bosch



RE: 2nd qmail-server

2000-03-13 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13 Mar 00, at 11:22, Stephen Bosch wrote:
> Okay -- what you're saying is that the secondary will pass on the mail
> to the primary once it's back up?

Exactly.

> We put the primary in the rcpthosts of the secondary so that the
> secondary will accept mail addressed to the primary, but we don't put
> it in control/locals because we want to prevent the secondary from
> attempting to deliver locally (which wouldn't work because we don't
> have users configured locally, nor a delivery agent like POP3 or
> IMAP).

Yes.

> All right -- what's the mechanism by which this received mail is
> passed on to the primary when it becomes operational again? Does this
> mail sit parked in a mail queue? Which queue?

The usual /var/qmail/queue on the secondary. The secondary tries 
to deliver the mail from time to time (there's a quadratic backoff 
algorithm - the retries are more frequent at first and then slow 
down), and it keeps a cache of "connection outcomes"; it 
remembers that primary is down.

To clear the cache of "this host times out" information, you run 
qmail-tcpok. To make all the mails retry, you ALRM qmail-send. If 
you do the latter and not the former, qmail will used the cached 
information "primary was down". If you don't do anything, the mails 
from secondary will eventually get delivered too, as the retry 
schedule permits.

More questions?

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0lVFMwP8g7qbw/EQI9WgCeIR0j8bdsE9aXzW8mSDw46ox9UEoAoOHB
6vPvJ20kNVa2CEpJ8q59kF5B
=IeAL
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



inetd.conf and qmail

2000-03-13 Thread clifford thurber

Hello,
Can someone explain the difference between the following startup line in
inetd.conf

smtp   stream  tcp nowait  qmaild /opt/ucspi/bin/tcpserver -R
-x/etc/tcp.sm
tp.cdb -c400 -uUID -g GID 0 smtp /var/qmail/bin/qmail-smtpd

smtpstream  tcp nowait  qmaild  /var/qmail/bin/tcp-env  tcp-env
/var/qma
il/bin/qmail-smtpd

Don't both of these run qmail under tcp server. I hvae looked through the
tcpserver docs
and am a little confused. Anyway thanks

Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134



Re: inetd.conf and qmail

2000-03-13 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13 Mar 00, at 13:30, clifford thurber wrote:

> Hello,
> Can someone explain the difference between the following startup line
> in inetd.conf
> 
> smtp   stream  tcp nowait  qmaild /opt/ucspi/bin/tcpserver -R
> -x/etc/tcp.sm tp.cdb -c400 -uUID -g GID 0 smtp
> /var/qmail/bin/qmail-smtpd
> 
> smtpstream  tcp nowait  qmaild  /var/qmail/bin/tcp-env 
> tcp-env /var/qma il/bin/qmail-smtpd

The difference is that the first one won't run. tcpserver listens on 
port 25 itself. That "command line" (tcpserver -x... qmail-smtpd) is 
meant to be run from startup scripts, not from inetd.conf.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOM0n1FMwP8g7qbw/EQKbSQCfWrFppTXKxBej9p2K1wubU0dGueEAoO1g
NVJRximaWY8kmqEZX7LzMpEw
=gE7d
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Dropping mail?

2000-03-13 Thread smanjourides

I'd like to have certain addresses 'eat' email (ie. just discard it). So, I
setup an account with a ".qmail" file which has one line "|/dev/null".

QMail complains "deferral: /bin/sh_/dev/null:_cannot_execute".

What is the most effecient way to setup QMail to discard email?

- Scott



Re: Dropping mail?

2000-03-13 Thread Mikko Hänninen

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote on Mon, 13 Mar 2000:
> What is the most effecient way to setup QMail to discard email?

A '#' in a .qmail file with nothing else in there.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Never forget: 2 + 2 = 5 for extremely large values of 2.



Re: inetd.conf and qmail

2000-03-13 Thread Uwe Ohse

On Mon, Mar 13, 2000 at 01:30:59PM -0500, clifford thurber wrote:
 
> smtp   stream  tcp nowait  qmaild /opt/ucspi/bin/tcpserver -R
> -x/etc/tcp.sm
> tp.cdb -c400 -uUID -g GID 0 smtp /var/qmail/bin/qmail-smtpd

doesn't work.
tcpserver is an inetd replacement, not an inetd add-on.
And anyway, you would have to give tcpserver an additional argument
(argv[0]).

Simple rules: never mix inetd and tcpserver.

 
> smtpstream  tcp nowait  qmaild  /var/qmail/bin/tcp-env  tcp-env
> /var/qma
> il/bin/qmail-smtpd

works, but not as reliable as if you call:
/opt/ucspi/bin/tcpserver -R -x/etc/tcp.smtp.cdb -c400 -uUID -gGID \
  0 smtp /var/qmail/bin/qmail/bin/qmail-smtpd
from rc.local or a svscan service.

Regards, Uwe



Re: ALRM signal and the queue

2000-03-13 Thread Uwe Ohse

On Mon, Mar 13, 2000 at 12:51:59PM -0500, clifford thurber wrote:

> How can I process the queue since the ALRM signal doesn't seem to 
> be working? 

it works as designed.
Maybe you should call /var/qmail/bin/qmail-tcpok: it's quite likely
that qmails retry backoff mechanism is getting in your way.


> How can I track down the cause of this problem.

see your mail servers log files.
wild guess: the complaining users do run their own smtp servers and
do not have a permanent connection?
guess 2: in case of local users: do you have free hard disc space to
store those mails?

Regards, Uwe



Virtual Domains

2000-03-13 Thread Christopher Tarricone

Whenever I send e-mails to the following domains I recieve this error...
I used qmailadmin to created the virtual domains so I have them listed
in the virtualdomains file.
> 
> Hi. This is the qmail-send program at tar-valon.pds2k.com.
> 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 24919 invoked from network); 13 Mar 2000 18:03:23 -
> Received: from unknown (HELO 63.89.28.2) (63.89.28.2)
>   by tar-valon.pds2k.com with SMTP; 13 Mar 2000 18:03:23 -
> Message-ID: <[EMAIL PROTECTED]>
> Date: Mon, 13 Mar 2000 13:00:34 +
> From: Christopher Tarricone <[EMAIL PROTECTED]>
> Organization: Progressive Data Systems, Inc
> X-Mailer: Mozilla 3.0Gold (Macintosh; I; PPC)
> MIME-Version: 1.0
> To: [EMAIL PROTECTED]
> Subject: Test
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> This is a test



Re: Dropping mail?

2000-03-13 Thread cmikk


On Mon, 13 Mar 2000 10:54:00 -0800 , [EMAIL PROTECTED] writes:
> I'd like to have certain addresses 'eat' email (ie. just discard it). So, I
> setup an account with a ".qmail" file which has one line "|/dev/null".
> 
> QMail complains "deferral: /bin/sh_/dev/null:_cannot_execute".
> 
> What is the most effecient way to setup QMail to discard email?

Don't use | -- that tries to execute the rest of
the line with "sh -c", which as you see breaks when you
try to execute /dev/null

The quickest way to drop mail is to create a .qmail file with
only an empty comment, i.e. containing only a '#' character.

-- 
Chris Mikkelson  |  Slashdot: because a million lemmings can't
[EMAIL PROTECTED] |  be wrong.



Re: Dropping mail?

2000-03-13 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'd like to have certain addresses 'eat' email (ie. just discard it). So, I
> setup an account with a ".qmail" file which has one line "|/dev/null".
> 
> QMail complains "deferral: /bin/sh_/dev/null:_cannot_execute".

As already noted, a .qmail file containing a single '#' is the most
efficient way...however, you may want to know why the above failed.  You're
trying to pipe to /dev/null; but /dev/null isn't executable.  To be
truly redundant you could use:
|cat >/dev/null

Charles
-- 

Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.




Re: Dropping mail?

2000-03-13 Thread Timothy L. Mayo

Simply place a comment line and only a comment line in the relevant .qmail
file.

On Mon, 13 Mar 2000 [EMAIL PROTECTED] wrote:

> I'd like to have certain addresses 'eat' email (ie. just discard it). So, I
> setup an account with a ".qmail" file which has one line "|/dev/null".
> 
> QMail complains "deferral: /bin/sh_/dev/null:_cannot_execute".
> 
> What is the most effecient way to setup QMail to discard email?
> 
> - Scott
> 
> 

-
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



Re: ucspi-tcp 0.86 available

2000-03-13 Thread Bruce Guenter

On Mon, Mar 13, 2000 at 05:45:42AM -, D. J. Bernstein wrote:
> A new version of ucspi-tcp, including a new version of rblsmtpd, is
> available through
> 
>http://cr.yp.to/ucspi-tcp/install.html

Thank you sir for the improvements in this package.

For RedHat users, I have made a set of RPMs available at:
http://em.ca/~bruceg/rpms/ucspi-tcp/
I have also started a new mailing list to announce and discuss these
RPMs.  To subscribe, send an email to:
[EMAIL PROTECTED]
-- 
Bruce Guenter <[EMAIL PROTECTED]>   http://em.ca/~bruceg/



Re: Spam, orbs, maps

2000-03-13 Thread Peter Schultz

Hi,

I'm just curious about other people's opinions on which
solution is best.  Maildrop seems cool, but it's interesting
to note that it doesn't recieve a mention on qmail's home
page.  Procmail doesn't even support qmail natively (although
it looks like they're working on it) and it's mentioned
twice.

Please excuse my ignorance, I'm just very new to all
of this and would like to know what others have found. 

Sincerely,
Pete...

Jon Rust([EMAIL PROTECTED])@Mon, Mar 13, 2000 at 09:48:31AM -0800:
> You'll want to look at maildrop. There may be a way to do this with 
> your .qmail files alone, but I haven't seen it.
> 
> Maildrop's at
> 
>http://www.flounder.net/~mrsam/maildrop/
> 
> It replaces qmail's own delivery agent and allows filtering of the 
> message before delivery. The filtering language is pretty 
> straightforward..
> 
> jon
> 
> At 12:48 PM -0400 3/11/00, [EMAIL PROTECTED] wrote:
> >Is there a patch or a script that can be used
> >to filter by per user ?
> 



Re: AOL Problem - Looked in archive ....

2000-03-13 Thread Kevin Kling

Still having problem with AOL - my domain is valid - although I have 2
MX records - one points to me the other is a backup at an ISP.

Out of 20 or so messages sent in the last 3 business days none of them
have yet been received by AOL members.

Any suggestions or testing methods ?

They all have the same status as listed below.

Thanks in advance !

Kevin


(I am quoting my original message for those who missed it)
Kevin Kling wrote:
> 
> Howdy !
> 
> I'm running a standard LWQ install and everything is working except that
> I can't send to AOL - I can send to Yahoo OK.
> 
> I have no patches installed because I looked from the archive that the
> DNS issues had been resolved by AOL.
> 
> The Log shows this for an AOL message send:
> @400038c91e43215e231c new msg 162909
> @400038c91e43215f4044 info msg 162909: bytes 787 from
> <[EMAIL PROTECTED]> qp 15942 uid 501
> @400038c91e43253d785c starting delivery 591: msg 162909 to remote
> [EMAIL PROTECTED]
> @400038c91e43253efb14 status: local 0/10 remote 1/20
> @400038c91e48127f580c delivery 591: success:
> 205.188.157.3_accepted_message./Remote_host_said:_250_OK/
> @400038c91e4812811944 status: local 0/10 remote 0/20
> @400038c91e48128222e4 end msg 162909
> 
> But the message never gets to the recipient.
> 
> No bounces are sent or any other feedback.
> 
> Any suggestions ?
> 
> Thanks !
> Kevin
> 
> This is my config dump:
> qmail home directory: /var/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 120.
> subdirectory split: 23.
> user ids: 500, 501, 502, 0, 503, 504, 505, 506.
> group ids: 500, 501.
> 
> badmailfrom: (Default.) Any MAIL FROM is allowed.
> 
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
> 
> bouncehost: (Default.) Bounce host name is mail.saratoga-springs.org.
> 
> concurrencylocal: (Default.) Local concurrency is 10.
> 
> concurrencyremote: (Default.) Remote concurrency is 20.
> 
> databytes: (Default.) SMTP DATA limit is 0 bytes.
> 
> defaultdomain: Default domain name is saratoga-springs.org.
> 
> defaulthost: (Default.) Default host name is mail.saratoga-springs.org.
> 
> doublebouncehost: (Default.) 2B recipient host:
> mail.saratoga-springs.org.
> 
> doublebounceto: (Default.) 2B recipient user: postmaster.
> 
> envnoathost: (Default.) Presumed domain name is
> mail.saratoga-springs.org.
> 
> helohost: (Default.) SMTP client HELO host name is
> mail.saratoga-springs.org.
> 
> idhost: (Default.) Message-ID host name is mail.saratoga-springs.org.
> 
> localiphost: (Default.) Local IP address becomes
> mail.saratoga-springs.org.
> 
> locals:
> Messages for mail.saratoga-springs.org are delivered locally.
> Messages for saratoga-springs.org are delivered locally.
> Messages for 208.136.11.61 are delivered locally.
> Messages for cm-208-136-11-61.nycap.rr.com are delivered locally.
> 
> me: My name is mail.saratoga-springs.org.
> 
> percenthack: (Default.) The percent hack is not allowed.
> 
> plusdomain: Plus domain name is saratoga-springs.org.
> 
> qmqpservers: (Default.) No QMQP servers.
> 
> queuelifetime: (Default.) Message lifetime in the queue is 604800
> seconds.
> 
> rcpthosts:
> SMTP clients may send messages to recipients at
> mail.saratoga-springs.org.
> SMTP clients may send messages to recipients at saratoga-springs.org.
> SMTP clients may send messages to recipients at 208.136.11.50.
> SMTP clients may send messages to recipients at
> cm-208-136-11-61.nycap.rr.com.
> 
> morercpthosts: (Default.) No effect.
> 
> morercpthosts.cdb: (Default.) No effect.
> 
> smtpgreeting: (Default.) SMTP greeting: 220 mail.saratoga-springs.org.
> 
> smtproutes: (Default.) No artificial SMTP routes.
> 
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
> 
> timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
> 
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
> 
> virtualdomains: (Default.) No virtual domains.
> 
> rcpthosts.real: I have no idea what this file does.
> 
> defaultdelivery: I have no idea what this file does.



RE: AOL Problem - Looked in archive ....

2000-03-13 Thread Tim Hunter

Why not an attempt to contact AOL, everything looks to be in order.
AOL accepts the mail, whatever they do with it from there is their
responsibility not yours.
Apparently not even a feeble attempt to contact AOL has been made, yet this
is one of many post I have seen here, most of which replied AOL accepted the
mail.  This is not a qmail problem as it shows right now.
Possibly an attempt to send mail to postmaster or support @AOL will get you
somewhere.

If a user is bugging you about the problem, show them the log where AOL
accepts the message, have them write an additional complaint to AOL.

Personally I have not heard any complaints from any of my users, but I have
a relatively small user base.

Again, just my .02

-- Tim

-Original Message-
From: Kevin Kling [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 13, 2000 5:30 PM
To: Kevin Kling
Cc: Qmail list
Subject: Re: AOL Problem - Looked in archive 


Still having problem with AOL - my domain is valid - although I have 2
MX records - one points to me the other is a backup at an ISP.

Out of 20 or so messages sent in the last 3 business days none of them
have yet been received by AOL members.

Any suggestions or testing methods ?

They all have the same status as listed below.

Thanks in advance !

Kevin


(I am quoting my original message for those who missed it)
Kevin Kling wrote:
>
> Howdy !
>
> I'm running a standard LWQ install and everything is working except that
> I can't send to AOL - I can send to Yahoo OK.
>
> I have no patches installed because I looked from the archive that the
> DNS issues had been resolved by AOL.
>
> The Log shows this for an AOL message send:
> @400038c91e43215e231c new msg 162909
> @400038c91e43215f4044 info msg 162909: bytes 787 from
> <[EMAIL PROTECTED]> qp 15942 uid 501
> @400038c91e43253d785c starting delivery 591: msg 162909 to remote
> [EMAIL PROTECTED]
> @400038c91e43253efb14 status: local 0/10 remote 1/20
> @400038c91e48127f580c delivery 591: success:
> 205.188.157.3_accepted_message./Remote_host_said:_250_OK/
> @400038c91e4812811944 status: local 0/10 remote 0/20
> @400038c91e48128222e4 end msg 162909
>
> But the message never gets to the recipient.
>
> No bounces are sent or any other feedback.
>
> Any suggestions ?
>
> Thanks !
> Kevin
>
> This is my config dump:
> qmail home directory: /var/qmail.
> user-ext delimiter: -.
> paternalism (in decimal): 2.
> silent concurrency limit: 120.
> subdirectory split: 23.
> user ids: 500, 501, 502, 0, 503, 504, 505, 506.
> group ids: 500, 501.
>
> badmailfrom: (Default.) Any MAIL FROM is allowed.
>
> bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
>
> bouncehost: (Default.) Bounce host name is mail.saratoga-springs.org.
>
> concurrencylocal: (Default.) Local concurrency is 10.
>
> concurrencyremote: (Default.) Remote concurrency is 20.
>
> databytes: (Default.) SMTP DATA limit is 0 bytes.
>
> defaultdomain: Default domain name is saratoga-springs.org.
>
> defaulthost: (Default.) Default host name is mail.saratoga-springs.org.
>
> doublebouncehost: (Default.) 2B recipient host:
> mail.saratoga-springs.org.
>
> doublebounceto: (Default.) 2B recipient user: postmaster.
>
> envnoathost: (Default.) Presumed domain name is
> mail.saratoga-springs.org.
>
> helohost: (Default.) SMTP client HELO host name is
> mail.saratoga-springs.org.
>
> idhost: (Default.) Message-ID host name is mail.saratoga-springs.org.
>
> localiphost: (Default.) Local IP address becomes
> mail.saratoga-springs.org.
>
> locals:
> Messages for mail.saratoga-springs.org are delivered locally.
> Messages for saratoga-springs.org are delivered locally.
> Messages for 208.136.11.61 are delivered locally.
> Messages for cm-208-136-11-61.nycap.rr.com are delivered locally.
>
> me: My name is mail.saratoga-springs.org.
>
> percenthack: (Default.) The percent hack is not allowed.
>
> plusdomain: Plus domain name is saratoga-springs.org.
>
> qmqpservers: (Default.) No QMQP servers.
>
> queuelifetime: (Default.) Message lifetime in the queue is 604800
> seconds.
>
> rcpthosts:
> SMTP clients may send messages to recipients at
> mail.saratoga-springs.org.
> SMTP clients may send messages to recipients at saratoga-springs.org.
> SMTP clients may send messages to recipients at 208.136.11.50.
> SMTP clients may send messages to recipients at
> cm-208-136-11-61.nycap.rr.com.
>
> morercpthosts: (Default.) No effect.
>
> morercpthosts.cdb: (Default.) No effect.
>
> smtpgreeting: (Default.) SMTP greeting: 220 mail.saratoga-springs.org.
>
> smtproutes: (Default.) No artificial SMTP routes.
>
> timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
>
> timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
>
> timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
>
> virtualdomains: (Default.) No virtual domains.
>
> rcpthosts.real: I have no idea what this file does.
>
> defaultdelivery: I have no idea what this file does.



maildir/imap

2000-03-13 Thread Cristopher Daniluk

I'd like to be able to allow our customers the ability to check their mail
via the web while they're on the road and still be able to use POP3 for
normal use. I know there are many implementations out there to make
maildir/imap cooperate, but it seems they all do it differently. Basically,
it is important that if a user leave messages on the server with their POP
account, it doesn't confuse IMAP, and if possible I'd like to avoid creating
separate synchronized imap and maildir folders for the obvious reasons.

Has anyone done this? What did you use to implement it? Also, what would you
recommend be taken into consideration when laying out maildirs and imap
folders?

Thanks in advance!

Cris Daniluk
Digital Services Network, Inc.



Logs accesible via web

2000-03-13 Thread Andrés

Hello.

Now that I have my server more finished I would like to know what do I have
to use to log how many e-mails my system sends, receives, which user uses
more the e-mails...

What program do I have to use for this?
Is it possible to access all this information through a web interface (as
for logs from http servers, ftp servers, news servers...)?

Thanks.



Re: Logs accesible via web

2000-03-13 Thread Eric Lalonde

qmailanalog does a good job of logging what the qmail system does. as for
putting them on the web..you could have a weekly cron job copy the processed
logs to some web accessable directory.
- Original Message -
From: "Andrés" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 13, 2000 5:55 PM
Subject: Logs accesible via web


> Hello.
>
> Now that I have my server more finished I would like to know what do I
have
> to use to log how many e-mails my system sends, receives, which user uses
> more the e-mails...
>
> What program do I have to use for this?
> Is it possible to access all this information through a web interface (as
> for logs from http servers, ftp servers, news servers...)?
>
> Thanks.
>



procmail vs. maildrop

2000-03-13 Thread Peter Schultz

Hi,

I'm just trolling for your opinion on which solution is the best
match with qmail.

Procmail 3.14 is said to be maildir compliant, yet on:
http://www.procmail.org/todo.html
you will find that they're admittedly still not totally up-to-date.

http://www.root.cz/ has a review of the two, unfortunately
I cant read Czech.

Sincerely,
Pete...