Re: question ?

2000-08-01 Thread Robin S. Socha

* Chad Cranston <[EMAIL PROTECTED]> writes:
> 1.  (*) text/plain ( ) text/html
   ^
Turn this off. It only makes your mail 5x as big without adding anything.

> I'm having problems w/ vpasswd the binary file for vpasswd (to change
> the password of a vpopmail user) is located in /home/vpopmail/bin but
> the users are located in /home/vpopmail/domains/foo.com how can i use
> the vpopmail and vadduser ?? 

As described in the documentation residing under /home/vpopmail/doc:
vadduser [email address] [password] [-a] [-q hard quota in bytes]

>  it does not specify any syntax i need to add users and change
> password for vpop users from console.

http://www.inter7.com/qmailadmin/ -> man w3m?
-- 
Robin S. Socha 



RE: <> question

1999-09-19 Thread Greg Owen

> I use qmail and have noticed that the vast majority of spam that comes
> through is from <>
> 
> Is there an a means by which I can reject mail from <> or is there any
> problems associated with this?

There is a problem with doing it:

RFC 821, section 3.6:

 This notification message must be from the server-SMTP at this
 host.  Of course, server-SMTPs should not send notification
 messages about problems with notification messages.  One way to
 prevent loops in error reporting is to specify a null reverse-path
 in the MAIL command of a notification message.  When such a
 message is relayed it is permissible to leave the reverse-path
 null.  A MAIL command with a null reverse-path appears as follows:
   MAIL FROM:<>

In other words, that's the "sender" for most bounces, so if you drop
mail from <> you'll be shutting out bounce messages.  


-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]



Re: <> question

1999-09-19 Thread Claus Färber

sean <[EMAIL PROTECTED]> schrieb/wrote:
> Is there an a means by which I can reject mail from <> or is there any
> problems associated with this?

Delivery failure reports are required by messaging standards to come  
from <>. If you block it you will never know when messages sent by you  
can not be delivered.

-- 
Claus Andre Faerber 
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC



Re: <> question

1999-09-20 Thread Aaron L. Meehan

Quoting sean ([EMAIL PROTECTED]):
> Hello,
> 
> I use qmail and have noticed that the vast majority of spam that comes
> through is from <>

Hmm, that's funny, I've noticed that the vast majority of spam uses
valid, but forged, return addresses.  In my experience, anyway.

> Is there an a means by which I can reject mail from <> or is there any
> problems associated with this?

Others have pointed out why this is a bad thing.. :)

Aaron



Re: Question

1999-10-05 Thread Anand Buddhdev

On Tue, Oct 05, 1999 at 10:29:35AM +0200, Tony Wade wrote:

> Hi all, 
> 
> in an alias .qmail-ticket i have the following
> 
> |/usr/lib/sendmail -f ticket-owner [EMAIL PROTECTED]
> 
> Does Qmail know how to handle this. If not what would i use ? 

As long as /usr/lib/sendmail is a link to /var/qmail/bin/sendmail, that
will be fine.

-- 
See complete headers for more info



Re: Question

1999-10-05 Thread Frank D. Cringle

Tony Wade <[EMAIL PROTECTED]> writes:
> Hi all, 
> 
> in an alias .qmail-ticket i have the following
> 
> |/usr/lib/sendmail -f ticket-owner [EMAIL PROTECTED]
> 
> 
> Does Qmail know how to handle this. If not what would i use ? 

As Anand says, that will work.  However, if all you want to do is
change the envelope sender, do this:

  # echo ??? >~alias/.qmail-ticket-owner
  # echo [EMAIL PROTECTED] >~alias/.qmail-ticket

where ??? is whoever/whatever should handle bounces.  Check out what
"man dot-qmail" has to say about .qmail-ext-owner.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357



Re: Question

1999-10-05 Thread Claus Färber

Tony Wade <[EMAIL PROTECTED]> schrieb/wrote:
> in an alias .qmail-ticket i have the following
> |/usr/lib/sendmail -f ticket-owner [EMAIL PROTECTED]
> Does Qmail know how to handle this. If not what would i use ?

qmail does handle this, but the better solution would be to just create  
.qmail-ticket-owner and put only the new recipient address in .qmail- 
ticket.

-- 
Claus Andre Faerber 
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC



RE: question...

1999-03-15 Thread Stefan Paletta


Donna Phillips wrote/schrieb/scribsit:
> if email is sent to [EMAIL PROTECTED] (which is an actual mail box)
> I need the .qmail file set up to deliver to THAT mailbox as well as
> sending a copy of the message to [EMAIL PROTECTED]

In .qmail-admin:
&[EMAIL PROTECTED]
./Maildir/

Stefan



Re: Question?

1999-01-02 Thread Mate Wierdl

   
   BTW: Think about DJB, I seem to remember seeing many a message
   from him saying NOT to reply to him AND the list - which seems to
   be EXACTLY what you are saying to do

Must have been long ago.  You can try using Mail-Followup-To...
FAQ 1.3

Mate



Re: Question?

1999-01-02 Thread Roger Merchberger

On or about 12:01 AM 1/2/99 -0600, Mate Wierdl was caught in a dark alley
speaking these words:
>   
>   BTW: Think about DJB, I seem to remember seeing many a message
>   from him saying NOT to reply to him AND the list - which seems to
>   be EXACTLY what you are saying to do
>
>Must have been long ago.  You can try using Mail-Followup-To...
>FAQ 1.3

The Dummy in me has already tried that - when I wanted to make sure that
DJB saw one of my posts. DJB wrote some form of duplicate sniffing software
- don't remember the name (it's at work, I'm at home) but it keeps him from
getting duplicates of list postings in his personal mail.

Of course, he saw it and replied accordingly from the list, anyway...

HTH,
Roger "Merch" Merchberger
=
Roger "Merch" Merchberger -- [EMAIL PROTECTED]
SysAdmin - Iceberg Computers
=  Merch's Wild Wisdom of the Moment:  =
for (1..15) { print "Merry Christmas\n"; }
(from perl.1 man page, version 4.)



Re: Question

1999-04-26 Thread Dave Sill

"Julian L.C. Brown" <[EMAIL PROTECTED]> wrote:
>
>I am trying to set up the following on a Virtual Domain System.  I want to
>have multiple domains running off of the same IP Address.  Each domain will
>have all its email forwarded to some off site email address.  I figured
>that I would just create a .qmail-domain-com-default file with the email
>address in it inside the alias directory, but I get an error from QMAIL
>saying that  itcannot find a mail exchanger for that ip address.  Any tips
>on how to do this would be most appreciated

You haven't given enough information for us to provide any nontrivial
help.

  1) What did you do? Specifically, which config files did you modify, 
 and what did you put in them. Don't say "..create a
 .qmail-domain-com-default file with the email address...", say,
 "I did echo [EMAIL PROTECTED]
 >/var/qmail/alias/.qmail-example-com-default". Don't leave 
 anything out; e.g., what, if anything, did you put in
 /var/qmail/control/virtualdomains? Don't "sanitize" your data: if 
 the domain in question is foobar.com, don't call it
 "domain.com". The output of "qmail-showctl" is often useful. It
 often helps to know what OS/hardware/qmail release you're
 running, too.

  2) What did you expect to happen? Describe the details of your test.

  3) What actually happened? The detailed results of the test,
 including log file snippets and copies of messages, including
 headers, if appropriate.

Details, details, details. Usually, overly general requests are
ignored on this list because we don't have the time/desire to coerce
information out of people who don't provide even the basics when
asking a question.

-Dave



Re: question

2000-03-06 Thread petervd

On Mon, Mar 06, 2000 at 03:38:37PM -0700, Joel Dudley wrote:
> What does a text mean when it is referring to dot-qmail processing?  What
> are dot-qmail files and what is in them???  Thanks.

man dot-qmail

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: question

2000-03-06 Thread Stephen Mills

Hi Joel

Refer to the source code for documentation on this

/usr/src/qmail-1.03/INSTALL.alias

Regards,
Stephen

-Original Message-
From: Joel Dudley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 07, 2000 9:39 AM
To: Qmail Mailing List
Subject: question


What does a text mean when it is referring to dot-qmail processing?  What
are dot-qmail files and what is in them???  Thanks.

- Joel



Re: Question.

2000-04-14 Thread Ben Beuchler

On Fri, Apr 14, 2000 at 09:27:48AM +0200, Patrick Fremond wrote:


> Is it possible to have a linux box behind a modem and Qmail an to do this?
> 
> -To use the mail server locally
> -To send email on the internet
> -And to get mails from internet from a second server located on the internet

Yup.  You want DJB's serialmail package, available from the qmail site.

Ben

-- 
"There is no spoon"
-- The Matrix



Re: question

2001-03-21 Thread Kirill Miazine

http://cr.yp.to/qmail/faq/admin.html#copies:

Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h. Recompile qmail. Put 
./msg-log into ~alias/.qmail-log

On Wed, Mar 21, 2001 at 04:55:47PM +0200, Ciprian Iftode wrote:
> Hi,
> Is there any solution to have a copy of all emails that the server
> process, I mean all the emails that users send thru this server, and all the
> emails the server receives, and the emails the server routes?
>I tried with the option recordio of tcpserver who starts qmail-send, but
> I want a human readable and still useful copy of that emails, not some io
> logging; even the attachemnts are fully logged.
> 
> PS: qmail + vpopmai + courier-imap
> 
>Ciprian Iftode,
> 
> Professional Systems Romania
> str. Moara de Foc, nr.35, et.5, Iasi, 6600
> tel/fax: +40-32-219907
> 
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such a case, you should destroy this message and
> kindly notify the sender by reply e-mail.
> 
> 
-- 
Kirill



Re: Question MX ..cjk

2001-07-06 Thread Frank Tegtmeyer

"Constantine Koulis" <[EMAIL PROTECTED]> writes:

> I want my emails to go to my both emails Servers.. for backup reasons
> MX1 and MX2.

Create mx records for both of them. If one of them should be preferred
give it a lower preference than the other.

Regards, Frank



RE: Question MX ..cjk

2001-07-06 Thread Mike Culbertson

> I want my emails to go to my both emails Servers.. for backup reasons
> MX1 and MX2.

You cannot accomplish this with your MX records.
If you add two or more machines as MX records, with the same priority, they 
will be treated like round-robin DNS entries and mail will flow to both 
servers...back and forth between the two, not each mail going to both.  That 
is generally best used when you have mail relays or a similar setup where 
mail does not reside on the machines listed in the MX records.
If one has a higher priority (lower number), it will be preferenced by 
outside mail systems, and will receive the majority of the mail for your 
domain.  No matter what you do, however, there is no DNS entry that will 
cause an outside machine to send a message to more than one server instead of 
just one.

Best bet for you most likely is to set up some kind of auto-forward system 
where each machine will send a copy to the other whenever it receives a mail. 
This may be a little tricky to do, but I would imagine it is possible.  Or 
even better, maybe just use cron to automatically tar up the maildirs, or 
some other backup strategy.

Mike Culbertson



Re: Question MX ..cjk

2001-07-06 Thread Will Yardley

you should make sure that one server is configured to be a backup. 
there's no way to make email go to BOTH machines; if you set them to
equal weights, they will (in theory) each get about half the mail.  you
shouldn't do this unless you know what you are doing.  you could also
setup one as a backup mail exchanger.

for most purposes, it's better to use one MX record and one mail
machine.  most other mail machines will keep trying if your machine is
down; whereas if the backup machine is misconfigured (which is easy to
do) it will deliver to there; however if the backup machine isn't
configured right, it will deliver it there instead of queuing it and
delivering it to the preferred machine.

basically keep it simple unless you really, really need a backup mail
exchanger.
doing anything involving keeping redundant copies of mail or load
balancing is pretty complex to do...
i would suggest just using one machine and backup regularly.

w
Constantine Koulis wrote:
> 
> Hello.
> I want my emails to go to my both emails Servers.. for backup reasons
> MX1 and MX2.
> 
> How i do that...
> 
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



Re: question about uninstall

2000-09-13 Thread Ben Beuchler

On Wed, Sep 13, 2000 at 06:02:31PM -0400, shawn p . duffy wrote:

> I was thinking of uninstalling and reinstalling qmail so I could get even more
> familiar with it. If get rid of /var/qmail and edit the boot scripts I should
> be OK right? oh... also the /services dir and all of the qmail users and
> groups...

That should be fine...  Although there really isn't much reason to do
that.  You can install right over the top of an existing install without
any problems.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: question about uninstall

2000-09-13 Thread Nathan J. Mehl

In the immortal words of shawn p . duffy ([EMAIL PROTECTED]):
> Hey...
> I was thinking of uninstalling and reinstalling qmail so I could get even more
> familiar with it. If get rid of /var/qmail and edit the boot scripts I should
> be OK right? oh... also the /services dir and all of the qmail users and
> groups...
> 
> would that work OK?

You shouldn't have to remove the entire services dir -- just the
entries for qmail-smtpd and qmail-send should do the trick.

Watch out for qmail's "sendmail" wrapper, which might still be lying
around in /usr/lib or /usr/sbin.

-n

<[EMAIL PROTECTED]>
Toward the end of my career in porn, I reached a point where what I saw every 
day didn't affect me anymore. Not because I was desensitized or had lost my 
compassion -- I think it was actually the opposite. I began to see just the 
people, without judgment, without trying to make any sense out of it. I 
stopped thinking the actors had to be damaged to do what they did. They were 
having sex for a living, instead of working in a bank.  The bank thing 
probably takes it's own kind of toll. I wouldn't know.   (--Barbara Nitke)




Re: Question about tcpserver!

2000-09-24 Thread Johan Almqvist

On Sun, Sep 24, 2000 at 11:27:01PM +0800, Mark Lo wrote:
> Hi,
> I would like to know what is tcpserver 0 means ?

That depends on where you see that 0.

0 for port means use any free port
0 for address means bind to all addresses
0 elsewhere means other stuff (but I presume it was one of the above
you were looking for...)

-Johan
-- 
Johan Almqvist



Re: question on AUTOTURN

1999-08-04 Thread Markus Stumpf

On Tue, Aug 03, 1999 at 08:52:56AM +0800, Goh Sek Chye wrote:
> Lets say one of my existing ISDN customer has the following MX records:
> 
> customer.com IN MX 10 mx1.customer.com(customer mail server)
> customer.com IN MX 20 mx2.customer.com(customer mail server)
> customer.com IN MX 30 mail.big.isp( our AUTOTURN server)
> 
> How can I configure mails for this customer's domain "customer.com" to be
> stored in one single directory and when mx1.customer.com. or
> mx2.customer.com. makes a SMTP connection to our AUTOTURN server, mails in
> that directory will be pushed out to whichever server that is making the
> SMTP connection?

Set up excactly like described in the AUTOTURN file of serialmail.
In steps 6) and 7) replace the IP address (1.2.3.4) with the ip address
of   mx1.customer.com

Then do the following:
# cd /var/qmail/autoturn
# ln -s  
This creates a symbolic link, so both "IP addresses" share the same
directory.

That should do the trick.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development| mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| a mouse to delete files
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  |



Re: question on AUTOTURN

1999-08-04 Thread Goh Sek Chye


Hi!  Thanks for your suggestion.

I have a question though:

in the startup script:

/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 1003 -g 1002 0 smtp \
/bin/sh -c ' /var/qmail/bin/qmail-smtpd
 cd /var/qmail/autoturn
 exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
 /usr/local/bin/maildirsmtp $TCPREMOTEIP \
^
 autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN

 ' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

maildirsmtp is the engine that is pushing out the mails.

But from maildirsmtp man pages:
--
NAME
   maildirsmtp - send a maildir through SMTP

SYNOPSIS
   maildirsmtp dir prefix host helohost

DESCRIPTION
maildirsmtp scans a maildir, dir, and sends each message to host through
SMTP.  It removes prefix from the begin- ning of each envelope recipient
address.  It ignores any message whose recipient address does not begin
with pre-fix.
-

I believe the prefix here refers to  autoturn-$TCPREMOTEIP- which is the
IP address of the mail server that is making the ETRN/SMTP connection.

If you look at a sample message in the autoturn directory:

***
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
  ^
Received: (qmail 557 invoked from network); 30 Jul 1999 03:12:21 -
Received: from singapura.singnet.com.sg (165.21.10.10)
  by tsunami.singnet.com.sg with SMTP; 30 Jul 1999 03:12:21 -
Received: from localhost (sekchye@localhost) by singapura.singnet.com.sg
(8.8.5/
8.7.2) with ESMTP id TAA13056 for <[EMAIL PROTECTED]>; Fri,
30 Jul 
1999 19:10:58 +0800 (SST)
Date: Fri, 30 Jul 1999 19:10:58 +0800 (SST)
From: Goh Sek Chye <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test AUTOTURN 1
Message-ID:
<[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
***



It occurs to me that maildirsmtp will not deliver messages that does not
match the IP address of the mail server (mx1 or mx2) that is making the
SMTP or ETRN connection to the AUTOTURN server, even though the mails for
both server are in the same directory.

This would means that if the customer wants to retrieve all his mails,
both mx1 and mx2 must make the ETRN/SMTP connection (but of course not at
the same time)

What I would like here is to push out all the mails to the customer when
either mx1 or mx2 do the ETRN/SMTP connection.  That way, if mx1 is down,
mx2 can still get all the mails.


Appreciate any suggestions and help.

Thanks.



On Wed, 4 Aug 1999, Markus Stumpf wrote:

#On Tue, Aug 03, 1999 at 08:52:56AM +0800, Goh Sek Chye wrote:
#> Lets say one of my existing ISDN customer has the following MX records:
#> 
#> customer.com IN MX 10 mx1.customer.com   (customer mail server)
#> customer.com IN MX 20 mx2.customer.com   (customer mail server)
#> customer.com IN MX 30 mail.big.isp   ( our AUTOTURN server)
#> 
#> How can I configure mails for this customer's domain "customer.com" to be
#> stored in one single directory and when mx1.customer.com. or
#> mx2.customer.com. makes a SMTP connection to our AUTOTURN server, mails in
#> that directory will be pushed out to whichever server that is making the
#> SMTP connection?
#
#Set up excactly like described in the AUTOTURN file of serialmail.
#In steps 6) and 7) replace the IP address (1.2.3.4) with the ip address
#of   mx1.customer.com
#
#Then do the following:
## cd /var/qmail/autoturn
## ln -s  
#This creates a symbolic link, so both "IP addresses" share the same
#directory.
#
#That should do the trick.
#
#   \Maex
#
#-- 
#SpaceNet GmbH |   http://www.Space.Net/   | Yeah, yo mama dresses
#Research & Development| mailto:[EMAIL PROTECTED] | you funny and you need
#Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| a mouse to delete files
#D-80807 Muenchen  |  Fax: +49 (89) 32356-299  |
#




Re: question on AUTOTURN

1999-08-04 Thread

In order to invoke maildirsmtp, you have to know the host, the
prefix, and the dir. The AUTOTURN file describes a method in which
all these things are obtained from $TCPREMOTEIP.  You can do it any
other way.

For your case, I would do it this way.  In virtualdomains:
  virt.dom:autoturn-username
In /etc/tcp.smtp.cdb:
  1.2.3.4:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
  9.8.7.6:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
(These are the 2 mail servers for your dialup client)
In the startup script:
  tcpserver -x /etc/tcp.smtp.cdb ... \
  sh -c 'qmail-smtpd
  [ -z "$DIR" -o -z "$MXS" ] && exit 0
  cd /var/qmail/autoturn
  for mx in $MXS; do
setlock -nx ./$DIR/seriallock \
  maildirsmtp ./$DIR/ autoturn-$DIR- $mx AutoTURN && exit 0
  done
  '

-harold



Re: question on AUTOTURN

1999-08-05 Thread Goh Sek Chye


Hi!  Thanks for your advise!  I will try it out!  

This solution looks promising! :)

I should have read more docs on tcpserver ...


On 5 Aug 1999 [EMAIL PROTECTED] wrote:

#In order to invoke maildirsmtp, you have to know the host, the
#prefix, and the dir. The AUTOTURN file describes a method in which
#all these things are obtained from $TCPREMOTEIP.  You can do it any
#other way.
#
#For your case, I would do it this way.  In virtualdomains:
#  virt.dom:autoturn-username
#In /etc/tcp.smtp.cdb:
#  1.2.3.4:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#  9.8.7.6:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#(These are the 2 mail servers for your dialup client)
#In the startup script:
#  tcpserver -x /etc/tcp.smtp.cdb ... \
#  sh -c 'qmail-smtpd
#  [ -z "$DIR" -o -z "$MXS" ] && exit 0
#  cd /var/qmail/autoturn
#  for mx in $MXS; do
#setlock -nx ./$DIR/seriallock \
#  maildirsmtp ./$DIR/ autoturn-$DIR- $mx AutoTURN && exit 0
#  done
#  '
#
#-harold
#




Re: question about procmail

1999-03-07 Thread Adam D. McKenna

From: <[EMAIL PROTECTED]>

:have a look at the vckkpwd and chkpoppwd packages on qmail.
:
:i would not vote for procmail on a 1+ system because the
:produced load would be way too high.

Does anyone else have an opinion on this?

:better produce these hashes via .qmail-files which is much quicker.

Can anyone provide an example of how to do this?

Put the .qmail files in ~alias?  With /var/mail/u/username as the file to
deliver to?

Also, wouldn't this require making the /var/mail heirarchy world-writeable?

As a secondary question, what would be involved in making binmail deliver to a
hashed spool?  Does anyone know where I can get binmail source?

--Adam





Re: question about procmail

1999-03-07 Thread Adam D. McKenna

From: Sam <[EMAIL PROTECTED]>

:Well, procmail does have an unfortunate tendency to load every message
:into memory, including something with a 5 megabyte attachment.

OK, so I guess the real question is whether moving to a hashed mail spool on a
12000 user box will make more of a speed difference than using procmail as the
MDA.

--Adam





Re: question about procmail

1999-03-07 Thread Adam D. McKenna

Err..  that was worded wrong..  What I meant to say was that the real question
is whether using a hashed mail spool will make a big enough difference that
procmail will be worth using.

:OK, so I guess the real question is whether moving to a hashed mail spool on
a
:12000 user box will make more of a speed difference than using procmail as
the
:MDA.
:
:--Adam
:
:
:
:




RE: Question, and contributions.

1998-12-30 Thread Stefan Paletta


Mike Meyer wrote/schrieb/scribsit:
> Can I configure the error message sent in reply to bad email?

Two ways:
 o edit the qmail source
 o make an apropriate .qmail-default with "|bouncesaying "Try ...(#5.1.1)"
   in it

Stefan



Re: Question, and contributions.

1998-12-30 Thread Rask Ingemann Lambertsen

On 31-Dec-98 01:29:07, Mike Meyer wrote something about "Question, and 
contributions.". I just couldn't help replying to it, thus:

   Hi Mike.

> Can I configure the error message sent in reply to bad email? I'd like to
> add the suggestion that people try [EMAIL PROTECTED] if [EMAIL PROTECTED]
> doesn't exist?

$ cat ~alias/.qmail-default
| echo "Ain't no such mailbox in this neck of the woods. (#5.1.1)"; exit 100

   Edit .qmail-default to suit your needs.

Regards,

/¯¯T¯\
| Rask Ingemann Lambertsen | [EMAIL PROTECTED] |
| Registered Phase5 developer  | WWW: http://www.gbar.dtu.dk/~c948374/   |
| A4000, 775 kkeys/s (RC5-64)  | "ThrustMe" on XPilot and EFnet IRC  |
|   Which is worse: Ignorance or apathy?   Who knows...  Who cares...|



Re: Question, and contributions

1999-01-02 Thread Mike Meyer

Well, I finally got around to trying this, and discovered a minor
problem. To wit:

bash-2.02# cat .qmail-default
| fastforward -d /etc/aliases.cdb

I.e. - I'm already *using* .qmail-default.

For those interested, the workaround is the "-p" option to
fastforward, which causes it to pass the message on to the rest of the
.qmail-default file for processing. I added the |bouncesaying
afterwards, and it works like a charm.

Thanx,
 Date: 31 Dec 98 01:52:06 +0100
> From: Rask Ingemann Lambertsen <[EMAIL PROTECTED]>
> To: Qmail mailing list <[EMAIL PROTECTED]>
> Subject: Re: Question, and contributions.
> 
> On 31-Dec-98 01:29:07, Mike Meyer wrote something about "Question, and 
>contributions.". I just couldn't help replying to it, thus:
> 
>Hi Mike.
> 
> > Can I configure the error message sent in reply to bad email? I'd like to
> > add the suggestion that people try [EMAIL PROTECTED] if [EMAIL PROTECTED]
> > doesn't exist?
> 
> $ cat ~alias/.qmail-default
> | echo "Ain't no such mailbox in this neck of the woods. (#5.1.1)"; exit 100
> 
>Edit .qmail-default to suit your needs.
> 
> Regards,
> 
> /¯¯T¯\
> | Rask Ingemann Lambertsen | [EMAIL PROTECTED] |
> | Registered Phase5 developer  | WWW: http://www.gbar.dtu.dk/~c948374/   |
> | A4000, 775 kkeys/s (RC5-64)  | "ThrustMe" on XPilot and EFnet IRC  |
> |   Which is worse: Ignorance or apathy?   Who knows...  Who cares...|
> 
> 




Re: Question about cyclog

1999-12-03 Thread Dave Sill

"Steve Kapinos" <[EMAIL PROTECTED]> wrote:

>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I need
>to put around the @ so I can actually enter the file name?

This is really a shell question, not a qmail question, but something
like:

pico \@0944228362
pico "@0944228362"
pico '@0944228362'
pico *0944228362

should do the trick.

If you're using bash, you can add:

shopt -u hostcomplete

to your .bashrc to make "@" a non-metacharacter.

-Dave



RE: Question about cyclog

1999-12-03 Thread Steve Kapinos

I found my problem was I wasn't including quotes on both sides of the @ and
still allow easy command completion in the shell.

Best method I found was

pico '@'  which lets me still use command completion.

Thanks to the list for the help.  yes I know its shell basics.. but how many
other times do I come across with filenames that start with metacharacters?
=)

-Steve

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 03, 1999 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Question about cyclog


"Steve Kapinos" <[EMAIL PROTECTED]> wrote:

>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I
need
>to put around the @ so I can actually enter the file name?

This is really a shell question, not a qmail question, but something
like:

pico \@0944228362
pico "@0944228362"
pico '@0944228362'
pico *0944228362

should do the trick.

If you're using bash, you can add:

shopt -u hostcomplete

to your .bashrc to make "@" a non-metacharacter.

-Dave



Re: question about tcpclient

1999-12-10 Thread martin

Serban,

Two dashes like that indicate "this is the end of option parsing", and
any subsequent data is treated as arguments.  In some shells (with some
commands) "-" is interpreted as , so in order to disambiguate,
the "--" are used...

Is tcpclient functioning as you would expect?

-Martin


$ man bash

   - A  single  - signals the end of options and dis-
 ables further option processing.  Any  arguments
 after  the  - are treated as filenames and argu-
 ments.  An argument of -- is  equivalent  to  an
 argument of -.



On 10 Dec, Serban Udrea wrote:
  : On Thu, Dec 09, 1999 at 01:59:13PM -0600, [EMAIL PROTECTED] wrote:
  : > Serban,
  : > 
  : > I'd ask the listbut, if you don't get a good response from the list,
  : > please feel free to ask me directly, and I'll try to respond promptly...
  : > 
  : > -Martin
  : < Here we are at the end of your message >
  : 
  : Hello,
  : 
  : And thanks Martin for answering to my question.
  : 
  : My first problem is about the examples given for the use of tcpclient. Lets
  : take who@ (the others are more or less similar):
  : 
  : #!/bin/sh
  : # WARNING: This file was auto-generated. Do not edit!
  : /usr/local/bin/tcpclient -RHl0 -- "${1-0}" 11 \
  : sh -c 'exec /usr/local/bin/delcr <&6' | cat -v
  : 
  : After reading the man page for tcpclient, I think attentively, I couldn't
  : figure out at all what are the `--' standing for. So I would be very happy if
  : someone could explain me the `--'.
  : 
  : Please note that I'm a beginner in programming and also that I introduced the
  : `\' just in this mail to break the long line in the who@ script (although this
  : should be harmless also in the script)
  : 
  : Best regards,
  : 
  : Serban
  : 

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]



Re: Question about forwarding

2000-01-07 Thread Mikko Hänninen

Joel Epstein <[EMAIL PROTECTED]> wrote on Fri, 07 Jan 2000:
> So, I created a /var/qmail/alias/.qmail-listname file.

~alias/.qmail-listname controls delivery to
[EMAIL PROTECTED]  Depending on which address you have
subscribed to the mailing list, that may or may not be the right
place.

> now, if my
> username is jim, how do I get the file to deliver to
> /export/home/jim/mail/listname?

The usual method is to create the file ~jim/.qmail-listname,
which contains the line:
/export/home/jim/mail/listname

This file controls delivery to the address
[EMAIL PROTECTED]


If you want to use the address [EMAIL PROTECTED], you
need to put a forward in there, eg.
&jim-listname
And then set ~jim/.qmail-listname as detailed above.


Hope this helps,
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 /
Mental backup in progress -- *please do not disturb!*



Re: question about checkpoppass

2000-10-01 Thread Alexander Pennace

On Sun, Oct 01, 2000 at 10:27:55PM -0400, Bassoon wrote:
> Question ... I use checkpoppass to check users passwd's ... But how do I add
> an account to qmail that isn't system wide

1. Please don't send HTML mail with attached graphics.

2. Look into vpopmail or vmailmgr. Links to those and other useful
qmail things are at http://www.qmail.org/top.html


 PGP signature


Re: question about ezmlm

2001-04-26 Thread Henning Brauer

On Thu, Apr 26, 2001 at 09:18:28AM +, [EMAIL PROTECTED] wrote:
> root@omega:/usr/local/ezmlm-0.53# make
> ./compile ezmlm-make.c
> ezmlm-make.c: In function `main':
> ezmlm-make.c:135: warning: return type of `main' is not `int'
> ./compile auto-str.c
> auto-str.c: In function `main':
> auto-str.c:15: warning: return type of `main' is not `int' 

> I think I shouldn't edit it one by one, but what caused the error message? 

This is no error, just a warning. ignore it.

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

Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: question about ezmlm

2001-04-26 Thread Markus Stumpf

On Thu, Apr 26, 2001 at 09:18:28AM +, [EMAIL PROTECTED] wrote:
> if there is someone who ever tried ezmlm.
> I tried to compile it, but failed. It said: 

Correct, YOU failed not the compiler :-))

> auto-str.c: In function `main':
> auto-str.c:15: warning: return type of `main' is not `int' 
> 
> I think I shouldn't edit it one by one, but what caused the error message? 

Read it again. It says "warning" and not "error".
You can simply ignore it.

\Maex

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



Re: question about autoresponder varient

2001-07-10 Thread Foo Ji-Haw

I implement autoresponder via procmail (with formail). With procmail, you
can customise your autoresponder (based on the sender, for example).

- Original Message -
From: "Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 11 July, 2001 8:49 AM
Subject: question about autoresponder varient


>
> I would like to implement a feature that sends a brief email to another
> email address when mail arrives for a user.  I think it can be handled
> from the .qmail file but I was hoping someone could give me some pointers.
>
> Thanks,
>
> Steve
>
>



Re: question about autoresponder varient

2001-07-10 Thread Arjen van Drie

On Tue, Jul 10, 2001 at 08:49:08PM -0400, Steve wrote:
>
>I would like to implement a feature that sends a brief email to another
>email address when mail arrives for a user.  I think it can be handled
>from the .qmail file but I was hoping someone could give me some pointers.

I'm using

http://untroubled.org/qmail-autoresponder/

and I' happy :)


If the other email address is a static one it won't help you though.
then |piping to a script from a .qmail file would be more your thing
to do.


-- 

Grtz, 

Arjen.




Re: [Question about qmail-ldap]

2000-07-30 Thread Chris, the Young One

On Sun, Jul 30, 2000 at 12:42:47PM -0500, Ronny Haryanto wrote:
! The list's posting address is [EMAIL PROTECTED]
! Please use the mailing list to ask questions.

Wow, isn't it nice to know that I wasn't the only one who received
that message. :-) I'll bet that the sender of that message harvested
the sender addresses off this list...

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: [Question about qmail-ldap]

2000-07-30 Thread markd

On Mon, Jul 31, 2000 at 05:48:00AM +1200, Chris, the Young One wrote:
> On Sun, Jul 30, 2000 at 12:42:47PM -0500, Ronny Haryanto wrote:
> ! The list's posting address is [EMAIL PROTECTED]
> ! Please use the mailing list to ask questions.
> 
> Wow, isn't it nice to know that I wasn't the only one who received
> that message. :-) I'll bet that the sender of that message harvested
> the sender addresses off this list...

I got it twice, aint I the lucky one?


Regards.



Re: question about qmail pop3d

2000-08-15 Thread Sean C Truman

Make sure you are running pop3d as root. since your putting email in the
users home directories pop3d need to have access to all of them.

Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 15, 2000 8:54 PM
Subject: question about qmail pop3d


> sir I installed qmail on my machine. Now I can send and receive email
normally.
> I can see email stay in ~$HOME/Maildir/new/ directory and I even can read
it by mutt -f Maildir command.But there are some wrong when I wnat to access
new message through pop3d.
>
> I start qmail-popup by tcpserver as follow:( I setup one qmail-pop3d
directory on /service/ and put the run srcript on the directory content as
follow)
>
> #!/bin/sh
> exec /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup
ns.ab.com /var/qmail/bin/splogger pop3d &
>
> after I start up pop3d , netstat -l shows:
> [root@ns lix]# netstat -l
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
> tcp0  0 *:pop3  *:* LISTEN
>
> but when I access email by outlook,it said authoriation failure.
> so I telnet localhosts 110 :
>
> [root@ns lix]# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.plagh.com.cn.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user lix
> +OK
> pass mlix1819
> -ERR authorization failed
> Connection closed by foreign host.
>
> when I access new message,I tail -f /var/log/maillog it shows:
> Aug 16 08:34:54 ns pop3d: 966386094.395216 tcpserver: status: 0/40
> Aug 16 08:38:02 ns pop3d: 966386282.682302 tcpserver: status: 1/40
> Aug 16 08:38:02 ns pop3d: 966386282.701181 tcpserver: pid 4320 from
127.0.0.1
> Aug 16 08:38:02 ns pop3d: 966386282.704392 tcpserver: ok 4320
localhost:127.0.07
> Aug 16 08:38:27 ns pop3d: 966386307.488338 tcpserver: end 4320 status 256
> Aug 16 08:38:27 ns pop3d: 966386307.488727 tcpserver: status: 0/40
>
> What's wrong? I use redhat6.2 with shadow password.
> can u help me?
>
>best regards
> -
> »¶Ó­Ê¹Óñ±¾©µç±¨¾ÖµÄÃâ·Ñµç×ÓÓʼþϵͳ!
>  http://btamail.net.cn  or http://mail.bta.net.cn
> ¿Í·þÖÐÐĵ绰£º223 £¨Ãâ·Ñ£©
> ¿ì½Ý169ÉÏÍø,µç»°:169,Óû§Ãû:169,¿ÚÁî:169.




Re: question about qmail pop3d

2000-08-15 Thread Chris Johnson

On Wed, Aug 16, 2000 at 08:53:03AM +0800, [EMAIL PROTECTED] wrote:
> I can see email stay in ~$HOME/Maildir/new/ directory and I even can read it
> by mutt -f Maildir command.But there are some wrong when I wnat to access new
> message through pop3d.
> 
> I start qmail-popup by tcpserver as follow:( I setup one qmail-pop3d
> directory on /service/ and put the run srcript on the directory content as
> follow)
> 
> #!/bin/sh
> exec /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup ns.ab.com 
>/var/qmail/bin/splogger pop3d &

This should read:

exec /usr/local/bin/tcpserver -vR 0 pop-3 \
/var/qmail/bin/qmail-popup ns.ab.com /bin/checkpassword /var/qmail/bin/qmail-pop3d

qmail-popup needs to exec checkpassword, not splogger. If you don't have
checkpassword (it's not installed with qmail), you can get it from
http://cr.yp.to. And checkpassword invokes qmail-pop3d.

Also, if you're running this with svscan/supervise, don't put it in the
background (remove the '&').

Chris



Re: question around qmail-users

1999-08-16 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> I got the following question:
> 
> $ cat locals
> nemtsov.ru
> rosmol.ru
> vgsn.glasnet.ru
> 
> I've address [EMAIL PROTECTED] that I wanna redirect to another address.
> Well, if I'll use /var/qmail/users/assign, then the question is "how to
> specify a string for exactly one domain of 3 in locals.?" I mean that
> string
> =info:nemtsov:554:562:/home/nemtsov:::
> will match all domains in locals, but I need only one domain - nemtsov.ru.
> As I see in man qmail-send I can't do this w/ virtualdomains , since it
> applies only if domain is not listed in locals.

You have to do that from .qmail file of info user - I hope it doesn't 
bring you security riscs. You basically test HOST, HOST2, HOST3 
etc. variables for your predefined strings. It would then contain 
something like
|condredirect another_address [ $HOST -e nemtsov.ru ]
./Maildir/

(I hope I got that fine; please test before using.)

man qmail-command
man condredirect

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

iQA/AwUBN7fjzlMwP8g7qbw/EQJksACcDrlHQq2tzX6EYaBIp65smSWeC+IAnjV8
XDBTvIxN6vKLcf2Io/KuuwDD
=g/21
-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: Question regarding - in aliases.

1999-04-07 Thread Greg Moeller

> -BEGIN PGP SIGNED MESSAGE-
> 
> On Wed, 7 Apr 1999, Greg Moeller wrote:
> 
> > How do I get the system to notice the alias?  As it is, all we get are
> > bounces from the mailing system saying the user isn't found. 
> 
>   Check your /var/qmail/rc first.  It should be something like:
> 
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '|dot-forward .forward
> |preline -f /usr/lib/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
> splogger qmail
Ok, this one is a tad different. (read alot)  This is in our /etc/init.d/
qmailq file:
watch $pidfile qmail-start ./Maildir/ splogger mail
>From the check for version below, I think I'm at 1.00 (I don't have a doc 
directory at all)
I don't really need .forward, I just need the - thing to be turned off.
Would the above turn off - processing?
nip-nt in /etc/aliases doesn't work.
nipnt in /etc/aliases does work.
The user nip exists
> 
>   Then check /var/qmail/alias/.qmail-default.  Its contents should
> be something like:
> 
> | fastforward -d /etc/aliases.cdb
> 
This is working.  I added [EMAIL PROTECTED] and it worked perfectly. (right 
under the other alias that isn't working)

Greg




Re: Question regarding - in aliases.

1999-04-07 Thread Justin Bell

# I don't really need .forward, I just need the - thing to be turned off.
# Would the above turn off - processing?
# nip-nt in /etc/aliases doesn't work.
# nipnt in /etc/aliases does work.
# The user nip exists

what you can do is if the user nip is not using any .qmail- files, add
a line to /var/qmail./users/assign
+nip-:alias:uid:gid::-::

and then alias will handle them

# > 
# > Then check /var/qmail/alias/.qmail-default.  Its contents should
# > be something like:
# > 
# > | fastforward -d /etc/aliases.cdb
# > 
# This is working.  I added [EMAIL PROTECTED] and it worked perfectly. (right 
# under the other alias that isn't working)
# 
# Greg
# 
# 

-- 
/- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\
|Justin Bell  NIC:JB3084| Time and rules are changing. |
|Pearson| Attention span is quickening.|
|Developer  | Welcome to the Information Age.  |
\ http://www.superlibrary.com/people/justin/ --/



Re: Question regarding - in aliases.

1999-04-07 Thread Spike

My qmail server accepts messages that I send using the TEST.deliver procedure
BUT ---
will not receive from the outside world.
My DNS is OK and all other services work e.g. FTP, HTTP etc.
? Do I have to add all qmail users to the group qmail ?
I did the touch ~alias/.qmail-username ---> for a valid user and all.
When I set my incoming server to the server I get a POP3 error message.
Seems like the service is not running but I did the csh routine pre the
documentation.
Any help out there?



Re: Question regarding - in aliases.

1999-04-07 Thread Greg Moeller

> On Wed, Apr 07, 1999 at 05:01:50PM -0500, Greg Moeller wrote:

> # here's assign:
> # nip-nt:alias:60003:65535:/var/qmail/alias:-::
> that's not what should be in assign
> 
> if this is the only line, and assuming that 60003 65535 are the uid and gid
> respectively, your assign should look like this:
> 
> cut-
> +nip-:alias:60003:65535:/var/qmail/alias/:-::
> .
> cut-
> 
I actually has all that and still no joy.

I found out the . line when newu didn't do anything useful.
I just tried it again, exactly as you put it, and the exact same thing.

It just doesn't like me.  :)

Greg




Re: Question about POP3 access

1999-01-08 Thread Stuart Young

At 23:34 7/01/99 -0600, Aijaz A. Ansari wrote:
>However, I cannot send mail from within MSOE to domain names that I do
>not host (specifically anyone at interaccess.com).  I get the common
>`sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'
>error.  The FAQ suggests I
>a) run qmail-smtpd under tcpserver (I don't think I am now) and
>b) Create /etc/tcp.smtp containing
> 1.2.3.6:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> ... and so on.

This is not the only way to do this, but is probably best and worth the
effort. You could use inetd and TCPwrappers to do a similar job (but it
does rely on inetd). The info is in the FAQ, just look for hosts.allow and
TCPwrappers.

>1) To do this, do I have to know in advance what the IP addresses for
>   which I want to allow relaying are?

Normally yes. There are patches to open relaying on the reciept of a
successful POP3 password authentication (which avoids the open relaying
system). Another (similar in ways) patch allows people to send mail back to
the server via POP. Check http://www.qmail.org/ for more info on both of
these alternatives.

>2) The only user who needs POP3 now is my sister-in-law.  If her
>   dialup provider (MegsInet) assigns her a variable IP address, would
>   I have to effectively allow all IP addresses?  Is that a huge
>   Netiquette/security no-no?

You can either get her to configure her mail to go through the smtp mail
host at MegsInet (which may or may not re-write the mail headers - beware
of this, might stuff up replies and mailing lists), or...

If you're reasonably happy with her provider (ie: they've provided you no
spam and aren't known for it) you could allow their IP classes using the
above system. You do not have to give 'everyone' relaying access. 

Most likely the place will dynamically assign IP's out of one or 2 (or more
if they are really big) class C's, so you might have to add multiple
statements to either your tcp server rules or hosts.allow to compensate it.
It's not too big a risk, and it will get the problem out of the way for
now. Just remember to actually do something about it soon, the sooner the
better.

>3) If I can get away with doing it, am I better off not allowing
>   POP access at all?  I am not planning on being an ISP who offers a
>   ton of POP3 accounts.  I could probably acquaint my sister-in-law
>   with the wonders of pine. :) 

POP isn't that bad, but a secure POP like APOP is better. Keeping those
passwords out of the hands of packet sniffers does wonders for security.
*grin*

Stuart Young - [EMAIL PROTECTED] - [EMAIL PROTECTED]
(aka Cefiar) - http://amarok.glasswing.com.au/

[All opinions expressed in the above message are my]
[own and not necessarily the views of my employer..]



Re: Question about POP3 access

1999-01-08 Thread Chris Johnson

On Thu, Jan 07, 1999 at 11:34:40PM -0600, Aijaz A. Ansari wrote:
> Hello.
> 
> My name is Aijaz and I am trying to teach myself the different aspects of
> system administration.  Allow me to say that I've found this list very
> helpful in the week or so I've been on.  Thank you.  I have read the
> relevant parts of the FAQ and mail list archives but had some more
> questions: 
> 
> I installed qmail last week, and as far as I know, I followed the
> installation instructions to the letter _except_ that I'm running a
> different pop3d that my ISP had compiled and given me.  I trust the
> guy, and he said that this one worked with qmail and the Mailbox (as
> opposed to Maildir) format.  Sure enough, I can use MS Outlook express
> from my machine at home to read mail on the server using 'Incoming
> Mail server' and 'Outgoing Mail (SMTP) Server' set to ansari.org in
> MSOE and using the 'aijaz' userid.
> 
> However, I cannot send mail from within MSOE to domain names that I do
> not host (specifically anyone at interaccess.com).  I get the common
> `sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'
> error.  The FAQ suggests I
> a) run qmail-smtpd under tcpserver (I don't think I am now) and
> b) Create /etc/tcp.smtp containing
>  1.2.3.6:allow,RELAYCLIENT=""
>  127.:allow,RELAYCLIENT=""
>  ... and so on.
> 
> My questions are:
> 1) To do this, do I have to know in advance what the IP addresses for
>which I want to allow relaying are?

Yes. There are ways to allow someone to relay for a period of time after he's
authenticated with your POP server, though. See http://qmail.presys.com/#usersoft. 

> 2) The only user who needs POP3 now is my sister-in-law.  If her
>dialup provider (MegsInet) assigns her a variable IP address, would
>I have to effectively allow all IP addresses?  Is that a huge
>Netiquette/security no-no?

You don't need to allow relaying to give her POP3 access--relaying has only to
do with sending mail. She can use her ISP's SMTP server to send her mail, and
connect to your POP3 server to collect her mail.

Allowing any IP address to relay through your SMTP server would indeed be a big
no-no.

> 3) If I can get away with doing it, am I better off not allowing
>POP access at all?  I am not planning on being an ISP who offers a
>ton of POP3 accounts.  I could probably acquaint my sister-in-law
>with the wonders of pine. :) 

Like I said, there's no problem allowing POP access. Your users just need to
use their ISPs' SMTP servers. If by "planning on being an ISP" you mean you're
going to provide network connections, then you'll know your own IP addresses
and can allow relaying for them.

I have come across a couple of brain-dead ISPs that insist that you not only be
connected to their networks to relay through their SMTP servers, but also use
the e-mail address they provide as the envelope sender address on mail you
send. The worst instance of this is the Microsoft Network; if you don't use
your msn.com address on your mail, they silently discard it--no bounce, no
warning, nothing! This is not the typical case, though, and most people with an
Internet connection will have some SMTP server available to him.

Chris



Re: question on mail relay

1999-04-12 Thread Russell Nelson

 > Hello.
 > 
 > Sorry for a noise.I've the following problem:
 > /etc/tcp.smtp file as follows:
 > 192.168.0.1:allow,RELAYCLIENT=" "
  ^

Remove this space.  Regardless of what tcprules is doing, you don't
want it there.

 > tcprules: fatal: unable to parse this line:
 > 192.168.0.1:allow,RELAYCLIENT=" "
 > 
 > What could be wrong? 

Hard to say.  Dan calls die_bad() six times in tpcrules.c, and every one 
of them generates the same error.  If he had included a parameter to
die_bad() and printed it, one would be able to distinguish.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.



Re: question on mail relay

1999-04-12 Thread Harald Hanche-Olsen

+ olli <[EMAIL PROTECTED]>:

| Sorry for a noise.I've the following problem:
| /etc/tcp.smtp file as follows: [...]
| as in FAQ I do:
| cat /etc/tcp.smtp | /usr/local/tcpserver/bin/tcprules /etc/tcp.smtp.cdb  
|~/tcp.smtp.tmp

Bad idea.  The cdb file and the tmp file must be on the same
filesystem.  Your invocation would also have earned you a "Useless use
of cat" award in comp.unix.shell; you can simplify to

< /etc/tcp.smtp /usr/local/tcpserver/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp

| tcprules: fatal: unable to parse this line:
| 192.168.0.1:allow,RELAYCLIENT=" "
| 
| What could be wrong? 

Good question.  tcprules parsed your file without difficulty when I
tried it, so maybe there is a hidden control character in there.  A
return character at the end of the line yields this error, for
example.

| PS: I can make .cdb file by cdb itself

Yes, but it's not a straightforward translation from the rules file.
Better make tcprules work right.

Russell has pointed out your more obvious error already, so I'll leave
it at that.

- Harald



Re: question on mail relay

1999-04-12 Thread olli

On Mon, 12 Apr 1999, Harald Hanche-Olsen wrote:
> | Sorry for a noise.I've the following problem:
> | /etc/tcp.smtp file as follows: [...]
> | as in FAQ I do:
> | cat /etc/tcp.smtp | /usr/local/tcpserver/bin/tcprules /etc/tcp.smtp.cdb  
>~/tcp.smtp.tmp
> Bad idea.  The cdb file and the tmp file must be on the same
> filesystem.  Your invocation would also have earned you a "Useless use
them are on the same filesystem.


> Good question.  tcprules parsed your file without difficulty when I
> tried it, so maybe there is a hidden control character in there.  A
> return character at the end of the line yields this error, for
> example.
unfortunately no ^M (or so) there. So I'll try to play w/ the code to add
additional debugging messages...


Bye.Olli.



Re: Question about POP3 access

1999-01-21 Thread Aijaz A. Ansari

On Thu, Jan 07, 1999 at 11:34:40PM -0600, Aijaz A. Ansari wrote:
...
> However, I cannot send mail from within MSOE to domain names that I do
> not host (specifically anyone at interaccess.com).  I get the common
> `sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'
...
> 
> My questions are:
> 1) To do this, do I have to know in advance what the IP addresses for
>which I want to allow relaying are?
...

I got this to work.

To all of you who responded to me and helped me out, thanks.

The rest of this email is a description of how I got this to work (for
others who might have the same questions) as well as a question about
logging with qmail-pop3d.

1) Read David Harris' page on smtp-poplock (at
   http://www.davideous.com/smtp-poplock/ ).

2) Download and install smtp-poplock.tar.gz.

3) There is a typo in the README file in the smtp-poplock
   distribution:
   
   The lines that contain the inetd.conf configuration have a typo:
   the path should start with '/usr/src/smtp-poplock/' and not
   '/usr/src/smtp-poploc/'.  At two in the morning, it's easy to miss
   that one :).

4) For some reason, I couldn't get qmail-pop3d to create log entries
   in any of the log files in /var/logs.  I wanted to use qmail-pop3d
   so that I could use Maildir, but after trying in vain for a couple
   of hours to find log entries upon succesful pop authorization, I
   decided to use the copy of in.pop3d I had that went to ~/Mailbox.

   QUESTION:  If anyone knows how to generate log entries when
   qmail-pop3d is being used, please let me know; I'd feel much more
   comfortable using that instead of in.pop3d.

   The in.pop3d I use generates log entries in /var/log/secure

5) Because the entries were logged to secure, I changed the entry in
   /etc/syslog.conf from what Harris recommended to:
   authpriv.* |/var/log/maillog-fifo

6) Due to the nature of the log files I had to change the 'next
   unless' lines in /usr/src/smtp-poplock/readlog to:
   next unless /in.pop3d/;
   next unless /(\d+\.\d+.\d+.\d+)/;

7) Finally (and this took me FOREVER to figure out), the lines in
   /usr/src/smtp-poplock/README that are supposed to go into
   inetd.conf just didn't work for me; the relaylock program was never
   being invoked.  I'm running RedHat 5.2 and not RedHat 5.1, on which
   Harris had tested this.

   Through trial and error I realized that I had to insert tcpd as the
   first program in the list of programs that get executed.  So now,
   my smtp line in inetd.conf looks like: [on one line]
 smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
 /usr/src/smtp-poplock/relaylock /var/qmail/bin/qmail-smtpd

I feel I learned a lot through this entire endeavor, and although I'm
no expert, I don't see why this kind of solution would not work for
Linux distributions other than Redhat.  The main step is to find a
pop3 daemon that enters log entries upon successful authorization.

Again, I'd like to thank everyone who responded and also David Harris.

Sincerely,

Aijaz Ansari.



Re: Question regarding rcpthosts mechanics

2000-01-11 Thread Charles Cazabon

Gavin Cameron <[EMAIL PROTECTED]> wrote:
> 
>  If I put an entry in rcpthosts like
> 
>  example.com.au
> 
>  That will let me accept E-mail for [EMAIL PROTECTED] That much I know...
> will it allow me to accept E-mail for mailto:[EMAIL PROTECTED]

No.

>  In much the same vein if I have a rcpthosts file like
> 
>  .example.com.au
> 
>  I can then accept E-mail for [EMAIL PROTECTED] But can
> I accept E-mail for [EMAIL PROTECTED] ???

No.
 
>  I'm looking for the best way to accept E-mail for a domain and any
> subdomains and hosts in that domain/subdomain. At the moment I list both
> example.com.au and .example.com.au in rcpthosts but there has to be a better
> way.

The way you're doing it, with two entries, is correct.  There isn't a
'better way' with standard qmail.

Charles
-- 

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




Re: Question regarding rcpthosts mechanics

2000-01-12 Thread Dave Sill

"Gavin Cameron" <[EMAIL PROTECTED]> wrote:

> I'm looking for the best way to accept E-mail for a domain and any
>subdomains and hosts in that domain/subdomain. At the moment I list both
>example.com.au and .example.com.au in rcpthosts but there has to be a better
>way.

Why? What's so onerous about two entries per domain? What mechanism
would you propose that would allow:

 1) accepting mail only for *.example.com.au (and not example.com.au), 
and

 2) accepting mail for both *.example.com.au and example.com.au?

And would it be "better" than the existing mechanism?

-Dave



Re: Question regarding rcpthosts mechanics

2000-01-12 Thread Tonino Greco

Hi,

Would rcpthosts also work for IP numbers - CFmy message re: open relay?

--Tonino


> 
> "Gavin Cameron" <[EMAIL PROTECTED]> wrote:
> 
> > I'm looking for the best way to accept E-mail for a domain and any
> >subdomains and hosts in that domain/subdomain. At the moment I list both
> >example.com.au and .example.com.au in rcpthosts but there has to be a better
> >way.
> 
> Why? What's so onerous about two entries per domain? What mechanism
> would you propose that would allow:
> 
>  1) accepting mail only for *.example.com.au (and not example.com.au),
> and
> 
>  2) accepting mail for both *.example.com.au and example.com.au?
> 
> And would it be "better" than the existing mechanism?
> 
> -Dave



Re: Question regarding rcpthosts mechanics

2000-01-12 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>Would rcpthosts also work for IP numbers - CFmy message re: open relay?

RTFM. Start with "man qmail-control", which will point you to "man
qmail-smtp", which documents rcpthosts.

Hint: the answer is "no".

-Dave



Re: Question regarding rcpthosts mechanics

2000-01-13 Thread Gavin Cameron

Following on from my other message do I have to do have two lines in
smtproutes like

example.com.au:1.2.3.4
.example.com.au:1.2.3.4

or will a single line like

example.com.au:1.2.3.4

suffice?

Thanks
Gavin

- Original Message -
From: Charles Cazabon <[EMAIL PROTECTED]>
To: Gavin Cameron <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, 12 January 2000 12:26
Subject: Re: Question regarding rcpthosts mechanics


> Gavin Cameron <[EMAIL PROTECTED]> wrote:
> >
> >  If I put an entry in rcpthosts like
> >
> >  example.com.au
> >
> >  That will let me accept E-mail for [EMAIL PROTECTED] That much I
know...
> > will it allow me to accept E-mail for mailto:[EMAIL PROTECTED]
>
> No.
>
> >  In much the same vein if I have a rcpthosts file like
> >
> >  .example.com.au
> >
> >  I can then accept E-mail for [EMAIL PROTECTED] But
can
> > I accept E-mail for [EMAIL PROTECTED] ???
>
> No.
>
> >  I'm looking for the best way to accept E-mail for a domain and any
> > subdomains and hosts in that domain/subdomain. At the moment I list both
> > example.com.au and .example.com.au in rcpthosts but there has to be a
better
> > way.
>
> The way you're doing it, with two entries, is correct.  There isn't a
> 'better way' with standard qmail.
>
> Charles
> --
> 
> Charles Cazabon <[EMAIL PROTECTED]>
> Any opinions expressed are just that -- my opinions.
> 
>



Re: Question regarding rcpthosts mechanics

2000-01-13 Thread Charles Cazabon

Gavin Cameron <[EMAIL PROTECTED]> wrote:
> Following on from my other message do I have to do have two lines in
> smtproutes like
> 
> example.com.au:1.2.3.4
> .example.com.au:1.2.3.4

Yes.

Charles
-- 

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




Re: Question on Relay Control

2000-10-09 Thread Chris Johnson

On Mon, Oct 09, 2000 at 12:30:46PM -0700, James Stevens wrote:
> What file do I need to create in the control directory to enable relay
> control?

Make sure rcpthosts contains only the names of the domains for which you wish
to receive mail. This will prevent anyone fom using you as a relay. To allow
certain IP addresses to use you for a relay, see
http://www.palomine.net/qmail/selectiverelay.html

> Actually I would like to enforce User Name and Password Authentication from
> anything incomming to qmail.

You'll need to patch qmail for that; user name/password-based relay control is
not part of SMTP.

> Secound question.. What happened to www.qmail.org

It appears to be down, or something between you and it is down. These things
happen.

Chris



Re: question with qmail-remote

2001-03-11 Thread Markus Stumpf

On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote:
> I recently installed qmail on my server with virtual domain support, and I found 
>this snapshot while checking the processes.
> 
> 1141 ?S  0:00 qmail-remote newsletter.join4free.com  
>[EMAIL PROTECTED]
> 
> This domain was never allowed to relay on my qmail configuration. And it seems that 
>this domain is trying to email his mailing list through my qmtp server.

Why do you think it got relayed?
I'd say it's a bounce resulting from a SPAM to a non existing user.
The line indicated that the messsage will be delivered to
[EMAIL PROTECTED]  and the host it will be delivered to is
newsletter.join4free.com

> How would I block off this domain through qmail configuration?

Add
@newsletter.join4free.com
to
/var/qmail/control/badmailfrom

\Maex

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



Re: question with qmail-remote

2001-03-11 Thread Peter van Dijk

On Sun, Mar 11, 2001 at 02:43:50PM +0100, Markus Stumpf wrote:
> On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote:
> > I recently installed qmail on my server with virtual domain support, and I found 
>this snapshot while checking the processes.
> > 
> > 1141 ?S  0:00 qmail-remote newsletter.join4free.com  
>[EMAIL PROTECTED]
> > 
> > This domain was never allowed to relay on my qmail configuration. And it seems 
>that this domain is trying to email his mailing list through my qmtp server.
> 
> Why do you think it got relayed?
> I'd say it's a bounce resulting from a SPAM to a non existing user.
> The line indicated that the messsage will be delivered to
> [EMAIL PROTECTED]  and the host it will be delivered to is
> newsletter.join4free.com
> 
> > How would I block off this domain through qmail configuration?
> 
> Add
> @newsletter.join4free.com
> to
> /var/qmail/control/badmailfrom

Or unsubscribe the user. join4free are double opt-in spammers that let
you unsubscribe honestly and easily.

Greetz, Peter.



Re: question with qmail-remote

2001-03-12 Thread Michael Boyiazis


> -Original Message-
> From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 11, 2001 7:15 AM
> To: [EMAIL PROTECTED]
> Subject: Re: question with qmail-remote
>
>
> On Sun, Mar 11, 2001 at 02:43:50PM +0100, Markus Stumpf wrote:
> > On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote:
> > > I recently installed qmail on my server with virtual
> domain support, and I found this snapshot while checking the
> processes.
> > >
> > > 1141 ?S  0:00 qmail-remote
> newsletter.join4free.com  [EMAIL PROTECTED]
> > >
> > > This domain was never allowed to relay on my qmail
> configuration. And it seems that this domain is trying to
> email his mailing list through my qmtp server.
> >
> > Why do you think it got relayed?
> > I'd say it's a bounce resulting from a SPAM to a non existing user.
> > The line indicated that the messsage will be delivered to
> > [EMAIL PROTECTED]  and the host it will be
> delivered to is
> > newsletter.join4free.com
> >
> > > How would I block off this domain through qmail configuration?
> >
> > Add
> > @newsletter.join4free.com
> > to
> > /var/qmail/control/badmailfrom
>
> Or unsubscribe the user. join4free are double opt-in spammers that let
> you unsubscribe honestly and easily.
>
> Greetz, Peter.

My observation of them is that they don't do a good job of collecting
bounces.
I have a crapload of them trying to get back to them which never quite do,
clogging my inbound mail server queues.

mail1.wlv.netzero.net# nslookup -type=mx newsletter.join4free.com
Server:  maildns.wlv.netzero.net
Address:  209.247.163.138

Non-authoritative answer:
newsletter.join4free.compreference = 5, mail exchanger =
returns2.optinmail.cc
mail1.wlv.netzero.net# telnet returns2.optinmail.cc 25
Trying 198.173.175.23...
Connected to returns2.optinmail.cc.
Escape character is '^]'.

and that's where things hang...(at least for 15 minutes beginning at 2:30pm
PST 3/12)

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





Re: Question about tcpserver program

2001-05-02 Thread Johan Almqvist

* ÀÌÈñº¹ <[EMAIL PROTECTED]> [010502 12:09]:

> Hi all!
> This is Heepok who managing qmail server on Solaris.
> By the way I have a question about Tcpserver program.
> If I use this program to selective relaying, how other mail servers can send mail to 
>this server?
> For example
> On server mail.a.com 
> when I configure a smtp.cdb like this,
> 192.168.:allow
> 192.169.:allow
> 
> how [EMAIL PROTECTED](mail.bora.net-164.124.116.3) can send mail to [EMAIL PROTECTED]?
> I think mail.a.com will refuse connection from mail.bora.net.
> So mail.a.com will not receive any mail from other remote servers.
> Could you explain how I can solve this problem?
> Thank you!


There is an implicit
:allow
added at the end of the data files when you make the cdb file. Note that
this doesn't make you an open relay...

Make sure you have read and understood

http://www.palomine.net/qmail/selectiverelay.html

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: Question about tcpserver program

2001-05-02 Thread Jamyn

Selective relaying is not about controlling who can send mail to your 
mailserver.

Selective relaying is about deciding whether or not to accept a message
from someone that your mailserver would have to send somewhere else.

As a gross generalization: Your mailserver will happily accept mail sent
from anyone, as long as the final destination is local.
(In other words, as long as your mailserver doesn't have to send it
anywhere else, and can deliver it locally, it will accept the mail. This
makes sense; otherwise all the mailservers on the internet wouldn't
be able to email you, because they wouldn't be in your 'allowed' list).

The selective relay comes into play when your mailserver recieves
a message from someone, and the final destination of that email is
not local.

For example.

abc.com = 10.1.1.xxx = your company

Lets say you want to let anyone on your company's class C use
your mailserver, so you add the following to your /etc/tcp.smtp:

10.1.1.:allow,RELAYCLIENT=""

.. and then reload it. Ok, now your users @abc.com can use your
mailserver as a relay.  This means they are not restricted to only
emailing other @abc.com users; they can use your mailserver to
send mail to @aol.com or @home.com or whatever.

Now lets say they have a friend who uses @xyz.com.  You dont
host xyz.com, so you dont add the IP's associated with it to your
/etc/tcp.smtp list. Their friend @xyz.com can still mail your users
@abc.com since @abc.com is LOCAL/on your server, and it doesn't
have to forward the email anywhere.

However, if the user @xyz.com tries to use your mailserver to send
mail to @aol.com, your server will say "hm, @aol.com is not a local
domain, I'd have to connect to another mailserver to deliver that. Let
me see if the user's IP from @xyz.com is in my /etc/tcp.smtp file.
Nope, not there, he must not be authorized to use me as a relay" and
it will reject their message.

This explanation is minimal, and doesn't take into account
RBL's, Spamfilters, badmailfrom, etc, but perhaps it will help
you understand relaying a little better.

Best of luck,

- Jamyn

At 07:09 PM 5/2/01 +0900, =?ks_c_5601-1987?B?wMzI8bq5?= wrote:
>Hi all!
>This is Heepok who managing qmail server on Solaris.
>By the way I have a question about Tcpserver program.
>If I use this program to selective relaying, how other mail servers can 
>send mail to this server?
>For example
>On server mail.a.com
>when I configure a smtp.cdb like this,
>192.168.:allow
>192.169.:allow
>
>how [EMAIL PROTECTED](mail.bora.net-164.124.116.3) can send 
>mail to [EMAIL PROTECTED]?
>I think mail.a.com will refuse connection from mail.bora.net.
>So mail.a.com will not receive any mail from other remote servers.
>Could you explain how I can solve this problem?
>Thank you!
>




Re: Question to entries in logfile

2001-05-09 Thread Charles Cazabon

Thomas Booms <[EMAIL PROTECTED]> wrote:
> 
> what does this line means?
> 
> I have much of these in my logfiles. But I don't know why. How can I
> solve this problem?
> 
> May  9 20:28:38 webserver02 qmail: 989432918.700871 warning: trouble
> opening local/15/768123; will try again later

Your queue is corrupted.  This can happen due to a power failure or other
catastrophic system failure, or can be caused by an administrator fiddling
with files in the queue structure by hand, especially while qmail is running.

Go to qmail.org and find the link to "queue-fix".  Download and compile it,
stop qmail, run queue-fix to see what's wrong, run it again with the right
argument to cause it to fix the queue, then restart qmail.

Note that if you have the big-todo patch for qmail, you'll also need to patch
queue-fix.

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



Re: Question to entries in logfile

2001-05-09 Thread Robin S. Socha

* Thomas Booms <[EMAIL PROTECTED]> [010509 15:28]:
> what does this line means?

It does means that you need a Grammar Checker(tm).

> I have much of these in my logfiles. But I don't know why. How can I
> solve this problem?

Well, you've violated rule #1 when fscking with the qmail queue: "thou
shalt not fucke with the ole qmail queue". Shut down qmail, rm -rf
queue, cd sourcedir, make setup check, start qmail.



Re: question on big-todo patch

1999-08-17 Thread Russell Nelson

Lyndon Griffin writes:
 > I just installed the big-todo patch on one of my servers, and am running a
 > mailing of around 350k names.  I am frequently getting the following error:
 > 
 > find: cannot open queue/todo/117188: No such file or directory
 > find: cannot open queue/todo/117514: No such file or directory
 > 
 > any ideas?

Did you clean out the queue after installing the patch?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



RE: question on big-todo patch

1999-08-18 Thread Lyndon Griffin

qmail-qstat showed 0 before I started.  I'm noticing that the problem is
worse, now that the queue is filling up.  Also, df -e reports 395k free
files.

> -Original Message-
> From: Russell Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 17, 1999 8:38 PM
> To: QMail List
> Subject: Re: question on big-todo patch
>
>
> Lyndon Griffin writes:
>  > I just installed the big-todo patch on one of my servers, and
> am running a
>  > mailing of around 350k names.  I am frequently getting the
> following error:
>  >
>  > find: cannot open queue/todo/117188: No such file or directory
>  > find: cannot open queue/todo/117514: No such file or directory
>  >
>  > any ideas?
>
> Did you clean out the queue after installing the patch?
>
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government
> schools are so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any
> rank amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
> Homeschool!
>



RE: question on big-todo patch

1999-08-18 Thread Lyndon Griffin

Another thing I've noticed is that, although at the beginning I was running
at 100+ concurrent remotes, for the last several hours, I've been down
around 10.

> -Original Message-
> From: Russell Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 17, 1999 8:38 PM
> To: QMail List
> Subject: Re: question on big-todo patch
>
>
> Lyndon Griffin writes:
>  > I just installed the big-todo patch on one of my servers, and
> am running a
>  > mailing of around 350k names.  I am frequently getting the
> following error:
>  >
>  > find: cannot open queue/todo/117188: No such file or directory
>  > find: cannot open queue/todo/117514: No such file or directory
>  >
>  > any ideas?
>
> Did you clean out the queue after installing the patch?
>
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government
> schools are so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any
> rank amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
> Homeschool!
>



RE: question on big-todo patch

1999-08-18 Thread Fred Lindberg

On Wed, 18 Aug 1999 11:02:12 -0700, Lyndon Griffin wrote:

>>  > find: cannot open queue/todo/117188: No such file or directory
>>  > find: cannot open queue/todo/117514: No such file or directory

Something is very wrong. Are all programs patched? Patch applied
cleanly? There shouldn't be any todo/117188 with the big-todo patch.
One of the main things it does is subdivided the todo/ directory.


-Sincerely, Fred

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




Re: Question on Mailbox and Maildir

1999-09-29 Thread Tong YU

I don't know why but eventually I 'fixed' the
problem by making the default ( in qmail-start )
to be Maildir rather than Mailbox.  Then all
mails go to Maildir whether I use exact match '='
or wildcard match '+'.

Explanations or other 'fixes' will be appreciated.

Thanks for your time.

Regards,
Tong

At 10:01 AM 9/29/99 +0100, Tong YU wrote:
>Hello, all.
>
>My .qmail file in each homedir  conatins
>./Maildir/
>
>which should direct mails to the corresponding Maildir.  In general it 
>works that way.  For example, in my users/assign file, I have the entry,
>
>
=sfs-cn-com-xyz:popuser:888:888:/apps/qmail/home/popboxes/sfs-cn-com/sfs-cn:::
>
>when I send mail to [EMAIL PROTECTED] ,  the mail indeed goes into the Maildir
>of ../sfs-cn.  The symbol '=' here means matches the name 'xyz'. 
>However, if I use the wildcard, '+' which means matches any user name,
>the mail goes into the Mailbox.  For example, in users/assign file, I have the
>entry
>
>  +sfs-cn-com-:popuser:888:888:/apps/qmail/home/popboxes/sfs-cn-com/sfs-cn:::
>
>when I send mail to [EMAIL PROTECTED], the mail goes into Mailbox.
>
>Could somebody tell me what I did wrong ?
>
>Thanks a lot.
>
>Regards,
>
>Tong
>
>
>



Re: Question about .qmail-user file

1999-04-20 Thread Harald Hanche-Olsen

+ Marcos Tang <[EMAIL PROTECTED]>:

|   I created a file .qmail-marcos.tang

See FAQ #4.6.

- Harald



Re: Question about .qmail-user file

1999-04-20 Thread Marco Leeflang

setup a file .qmail-marcos:tang and your problem is history

marco leeflang

Marcos Tang wrote:

> Hi,
>
> I have setup a qmail server and it works fine.
>
> However, there is a big problem I can't figure it out. Please tell me your 
>suggestions:
>
> I created a file .qmail-marcos.tang at /var/qmail/alias and hope that my 
>qmail will accept mails to [EMAIL PROTECTED] When I sent a message from 
>outside, I found the error message at /var/log/syslog. It is
>
> == Start Logging here 
>==
>
> Apr 21 00:36:32 student qmail: 924626192.905650 starting delivery 323: msg 
>212178 to local [EMAIL PROTECTED]
> Apr 21 00:36:32 student qmail: 924626192.905651 status: local 1/10 remote 0/20
> Apr 21 00:36:33 student qmail: 924626193.029219 delivery 323: failure: 
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> == End Logging here 
>==
>
> If I change my .qmail file from .qmail-marcos.tang to .qmail-marcostang, 
>everything works fine.
> ^ (with a dot)   ^ (without a 
>dot)
> So I wonder my qmail doesn't know how to handle an email address with a "dot" 
>between. Of course, I believe qmail should be able to handle it :)
>
> Do you give me any ideasor hints such that my qmail server can receive any 
>email addresses such as
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> Thanks a lot.
> Regards,
> Marcos.
>
>



Re: Question about qstat and qread

1999-10-27 Thread Tomasz Papszun

On Wed, 27 Oct 1999 at 10:13:50 -0400, Stan Horwitz wrote:
> Hello qmail gurus:
> 
> I am just trying to gain an improved understanding of the results that are
> returned by the qmail-qstat and qmail-qread programs. 

I don't know all situations causing all kinds of results but here you are
just some of them:

> When I type qmail-qstat and get a result that says something like:
> 
> messages in queue: 5
> messages in queue but not yet preprocessed: 2
> 
> I what exactly has happened to the three (5-2) messages that have been
> processed?

They may seat waiting in the outgoing queue. For various reasons. Broken
link to the destination, dead destination server,
"insufficient_system_storage" there, temporary DNS failure,...

About "not yet processed" ones: apart from some situation when a message
originated internally is just being processed by qmail system (AFAIK), I
seem to remember this when my server was receiving some big message from
distant, slow sonnected site.  Part of the message was already under
/var/spool/qmail but not complete. 

> When I type qmail-qread and see something like these hypothetical results:
> 
>   done  remote  addr0
>   done  remote  addr1
>   done  remote  addr2
> remote  addr3
> remote  addr4
> 
> Are the last two messages those that have not yet been processed? How

Not rather. Most probably they are waiting for being delivered to remote
destination. Because of the reasons that I listed earlier. Such figure is
usual seen when one message has got more than 1 recipient and 3
recipients have been already reached but 2 left haven't been reachable
yet.

> about the first three "done" messages? How long will they be reported in

Qmail's default of keeping it in the queue is 7 days.

> the output of the "qmail-qread" command and are those messages really done
> being sent to their intended recipients?

Yes, these ones marked as "done" have been really delivered to recipients'
servers.

Hope it helps. If I'm misleading, some wiser person is encouraged to
correct me.
-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.



Re: Question about qstat and qread

1999-10-27 Thread Lyndon Griffin


> > I what exactly has happened to the three (5-2) messages that have been
> > processed?

5 total in queue:
3 of these are pre-processed and scheduled for delivery
2 of these are not pre-processed

> > When I type qmail-qread and see something like these hypothetical results:
> > 
> >   done  remote  addr0
> >   done  remote  addr1
> >   done  remote  addr2
> > remote  addr3
> > remote  addr4
> > 
> > Are the last two messages those that have not yet been processed? How

Maybe wrong here, but I think that messages that are not pre-processed will not
show up in qmail-qread.

<:)  Lyndon



Re: Question about qstat and qread

1999-10-27 Thread Dave Sill

Stan Horwitz <[EMAIL PROTECTED]> wrote:

>When I type qmail-qstat and get a result that says something like:
>
>messages in queue: 5
>messages in queue but not yet preprocessed: 2
>
>I what exactly has happened to the three (5-2) messages that have been
>processed?

There are 5 messages in the queue: three have been preprocessed, two
haven't. See INTERNALS in the build directory for further information
on the meaning of "preprocessing".

>When I type qmail-qread and see something like these hypothetical results:
>
>  done  remote  addr0
>  done  remote  addr1
>  done  remote  addr2
>remote  addr3
>remote  addr4
>
>Are the last two messages those that have not yet been processed?

No, they're queued, preprocessed messages that haven't been delivered
yet.

>How about the first three "done" messages?

They're successful deliveries od queued, preprocessed messages.

>How long will they be reported in the output of the "qmail-qread"
>command

Until all recipients of the message(s) have been delivered or
bounced. E.g., as long as the message is still in the queue.

>and are those messages really done being sent to their intended
>recipients?

No, they're only complete for the recipients marked "done".

-Dave



Re: question of"554 Transaction failed"

1999-12-19 Thread bert hubert

On Sun, Dec 19, 1999 at 03:38:24PM +0800, Li Hong wrote:

> Greeting all,I sent this msg several days ago but don't get any
> responce,so sorry I resend it today and wish get any responce.

If you receive no response, chances are that your message isn't clear
enough.

> ---
> <[EMAIL PROTECTED]>:
> 216.33.151.135 failed after I sent the message.
> Remote host said: 554 Transaction failed
> 
> when I try to telnet to hotmail, the result is the same.

Please show what you sent to telnet exactly to get that response.

> it seems NOT [EMAIL PROTECTED] but [EMAIL PROTECTED],how to change it?I've
> tried lwq and manpage but no file seems for it.

I believe this is in the FAQ.

Regards,

bert hubert.

-- 
+---+  |  http://www.rent-a-nerd.nl
| nerd for hire |  |  
+---+  | - U N I X -
|  |  Inspice et cautus eris - D11T'95



RE: Question about OpenBSD and FD_SET()

2000-10-26 Thread Nicolas Deslions

Hi,

On my FreeBSD system i modified the file /usr/include/sys/types.h
i changed "#define FD_SETSIZE  1024" to 2048
I don't know if open bsd has the maxusers options in the kernel config file
but if it's there u should put something like 256 there.


-Message d'origine-
De : Collin B. McClendon [mailto:[EMAIL PROTECTED]]
Envoyé : Wednesday, October 25, 2000 23:46
À : Qmail List (E-mail)
Objet : Question about OpenBSD and FD_SET()


Hello,
I'm trying to put together a high volume mail server using qmail and
OpenBSD. Has anyone found what kernel paramater one would
need to get beyond the hidden file descriptor limit of 256? So far I'm
getting about 20,000 emails and hour going out with
concurrency of 120.
Thanks,
Collin




RE: Question about OpenBSD and FD_SET()

2000-10-27 Thread Collin B. McClendon

Well the modifications I made to sys/sys/types.h and in qmail source have
done it!
I set FD_SET to 2048 in the OpenBSD kernel header and applied the
big-concurrency patch.
I am getting 512/512 outgoing connections. I am also getting 8500 deliveries
started in 3 minutes,
which is just grand.
-Collin


-Original Message-
From: Nicolas Deslions [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 3:34 AM
To: 'Collin B. McClendon'; 'Qmail List (E-mail)'
Subject: RE: Question about OpenBSD and FD_SET()


Hi,

On my FreeBSD system i modified the file /usr/include/sys/types.h
i changed "#define FD_SETSIZE  1024" to 2048
I don't know if open bsd has the maxusers options in the kernel config file
but if it's there u should put something like 256 there.


-Message d'origine-
De : Collin B. McClendon [mailto:[EMAIL PROTECTED]]
Envoyé : Wednesday, October 25, 2000 23:46
À : Qmail List (E-mail)
Objet : Question about OpenBSD and FD_SET()


Hello,
I'm trying to put together a high volume mail server using qmail and
OpenBSD. Has anyone found what kernel paramater one would
need to get beyond the hidden file descriptor limit of 256? So far I'm
getting about 20,000 emails and hour going out with
concurrency of 120.
Thanks,
Collin



Re: Question about default message delivery.

2000-12-06 Thread Peter Samuel

On Wed, 6 Dec 2000, Kris Kelley wrote:

> How can I feed qmail-start, qmail-lspawn, and qmail-local more than one
> default delivery instruction.  My hope is to use a program, "blackbox" for
> example, that will extract information from each incoming message before it
> is saved.  A similar .qmail file would look like this:
> 
>|blackbox
>./Maildir/
> 
> After looking at the sample start-up scripts in /var/qmail/boot, I'm
> thinking my start-up line would look similar to this, assuming blackbox
> takes no arguments:
> 
>qmail-start '|blackbox ./Maildir/'
> 
> Is this correct?  If not, how can I string together multiple default
> delivery instructions?

Close but not quite. Think of the arguments passed to qmail-start
(which hands them off to qmail-local) as the system default .qmail
file. Each delivery intruction must appear on a line of its own.

Therefore, you should run qmail-start as

... qmail-start '|blackbox
./Maildir' ...

Note the _real_ newline between each of the delivery instructions. You
can fill in the ... areas with whatever stuff is relevant for your site.

Also have a look at /var/qmail/boot/*+* for other examples.

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




Re: Question about default message delivery.

2000-12-06 Thread Chris Johnson

On Wed, Dec 06, 2000 at 06:00:19PM -0600, Kris Kelley wrote:
> How can I feed qmail-start, qmail-lspawn, and qmail-local more than one
> default delivery instruction.  My hope is to use a program, "blackbox" for
> example, that will extract information from each incoming message before it
> is saved.  A similar .qmail file would look like this:
> 
>|blackbox
>./Maildir/

Try FAQ 8.2, and put |blackbox in ~alias/.qmail-log.

Chris



Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Charles Cazabon

Renato <[EMAIL PROTECTED]> wrote:
> 
> I'm monitoring the behaviour of tcpserver for the pop service ( simple 'ps -
> aux | grep tcpserver | grep pop' and I get, obviously, just one is 
> running ). Sometimes, supervise tries to restart tcpserver and I see 2 
> tcpservers. Then the second dies ( port is already bind ). During this 
> time, pop fails. Looking at the log for the pop service, I can tell that 
> there is no specific moment that it happens. Tcpserver didn't run out of 
> connections ( I have up to 150 concurrent ), sometimes it did with 20 
> connections, sometimes with 90 concurrents. 
> 
> Is this an expected behauvior ?

No.  tcpserver shouldn't randomly die.

> Is there a way to tune up supervise ? ( time-out, any other parameters ? )

Perhaps you're running it with memory or other process limits, or its hitting
a system-wide limit?  Without specific information about how you've configured
svscan, tcpserver, etc, log entries, and perhaps strace of the process dying,
we can't help you.

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



Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Renato


Hi Charles,

Thanks for your answer.

> Renato <[EMAIL PROTECTED]> wrote:
> > 
> > I'm monitoring the behaviour of tcpserver for the pop service ( 
simple 'ps -
> > aux | grep tcpserver | grep pop' and I get, obviously, just one is 
> > running ). Sometimes, supervise tries to restart tcpserver and I see 2 
> > tcpservers. Then the second dies ( port is already bind ). During this 
> > time, pop fails. Looking at the log for the pop service, I can tell 
that 
> > there is no specific moment that it happens. Tcpserver didn't run out 
of 
> > connections ( I have up to 150 concurrent ), sometimes it did with 20 
> > connections, sometimes with 90 concurrents. 
> > 
> > Is this an expected behauvior ?
> 
> No.  tcpserver shouldn't randomly die.
> 
> > Is there a way to tune up supervise ? ( time-out, any other 
parameters ? )
> 
> Perhaps you're running it with memory or other process limits, or its 
hitting
> a system-wide limit?  Without specific information about how you've 
configured
> svscan, tcpserver, etc, log entries, and perhaps strace of the process 
dying,
> we can't help you.
> 
> Charles

First of all, how can I configure svscan ? I just run svscan-
start /var/service and that's all ( I think ). In terms of pop3, here is 
how I start tcpserver in pop.

exec tcpserver -u "$uid" -g "$gid" -c "$concurrency" -v -R -H -t 90 \
-lmyserver \
 -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 \
 qmail-popup "$hostname" \
 checkvpw \
 qmail-pop3d Maildir/

In terms of logs, I don't have any message ( like system is not able to 
fork... ) just tcpserver common status/concurrency messages.

In terms of kernel I have, by the moment we speak:
proc/sys/fs/inode-max -> 131072
/proc/sys/fs/inode-nr -> 65540 14180
/proc/sys/fs/file-max -> 16384
/proc/sys/fs/file-nr -> 2180297 16384

/proc/sys/net/ipv4/tcp_syncookies -> 1
/proc/sys/net/ipv4/ip_local_port_range -> 1024 61000
/proc/sys/net/ipv4/tcp_fin_timeout -> 30
/proc/sys/net/ipv4/tcp_keepalive_time -> 1800
/proc/sys/net/ipv4/tcp_window_scaling -> 0
/proc/sys/net/ipv4/tcp_sack -> 0
/proc/sys/net/ipv4/tcp_timestamps -> 0

Number of processes: 360 ( My machine is a Pentium III 800 Mhz, SCSI - 
14Gb, 80% full ).

I think there might be a queue of incoming connections that my system is 
not able to handle. Is it a kernel issue ? 

Thanks again
Renato - Brazil.



Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Charles Cazabon

Renato <[EMAIL PROTECTED]> wrote:
> 
> > 
> > No.  tcpserver shouldn't randomly die.
> > 
> > > Is there a way to tune up supervise ? (time-out, any other parameters ?)
> > 
> > Perhaps you're running it with memory or other process limits, or its
> > hitting a system-wide limit?  Without specific information about how
> > you've configured svscan, tcpserver, etc, log entries, and perhaps strace
> > of the process dying, we can't help you.
[...] 
> In terms of pop3, here is how I start tcpserver in pop.
[...]
> In terms of logs, I don't have any message ( like system is not able to
> fork... ) just tcpserver common status/concurrency messages.
[...] 
> I think there might be a queue of incoming connections that my system is not
> able to handle. Is it a kernel issue ? 

Very unlikely.  It could be a hardware, issue, though.  It's not really a
qmail/ucspi-tcp issue at this point.  You're going to have to strace
tcpserver, capturing to a log.  Wait for it to die (as it apparently does for
you).  Then look at the end of the log and see what caused it to die.  I would
have expected tcpserver to output an error message of some sort if it failed
to allocate memory or sockets or whatever, but since I've never had tcpserver
die, I haven't looked into it.

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



Re: question about email redirection with vpopmail

2001-07-04 Thread Ken Jones

> jcarreiro wrote:
> 
> hello
> my qmail server with vpopmail works just fine ...
> 
> I have some email redirections working in .qmail-xx files in each
> domain folder.
> for redirection i use: "&[EMAIL PROTECTED]"
> 
> now, how to do to keep the message in the user box and send a copy
> to another address ??
> 
> many thanks.

Add a second line to the .qmail- file with a full path
the the users Maildir

For example:

&[EMAIL PROTECTED]
/home/vpopmail/domains/somedomain/someuser/Maildir/

Ken Jones



Re: question about local mail and fqdns

2001-07-22 Thread Lukas Beeler

On Sun, Jul 22, 2001 at 04:04:37PM -0400, Dahnke, Eric wrote:
> 
> Hello Qmailers,
> 
> I'm an avid user, and put qmail on every server whenever possible. But for
> years I've had a nagging problem. Suppose our company, nextsource.com, is a
> web development shop with an exchange or notes server for people's internal
> and incoming mail. On the numerous development and production web servers it
> is always nice to put qmail on them and I configure it with the
> ./config-fast nextsource.com because receiving mailers want a fqdn when they
you could either have put up /var/qmail/control/defaultdomain and 
/var/qmail/control/defaulthost that would have the same effect, and wouldnt cause 
this problem..
now, you have two possibilities to fix this..
either
change defaultdomain, defaulthost, me, locals and rcpthosts 
or
change locals and rcpthosts
both solutions will solve your problem, but the first one is much cleaner..

> receive messages from these hosts. But the eternal problem is that messages
> to our own domain; to root, or postmaster, or [EMAIL PROTECTED] will
> never leave the system because qmail treats them as local.
> 
> 
> Do I HAVE to register all the development servers as fqdns and configure via
> ./config-fast dev1.nextsource.com ? And if I do this are messages to
> *@nextsource.com no longer treated as local?
> 
> 
> Many thx. - Eric

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: http://www.projectdream.org>  / /



Re: question about local mail and fqdns

2001-07-23 Thread Dave Sill

"Dahnke, Eric" <[EMAIL PROTECTED]> wrote:

>... On the numerous development and production web servers it
>is always nice to put qmail on them and I configure it with the
>./config-fast nextsource.com because receiving mailers want a fqdn when they
>receive messages from these hosts. But the eternal problem is that messages
>to our own domain; to root, or postmaster, or [EMAIL PROTECTED] will
>never leave the system because qmail treats them as local.

Why don't you just empty control/locals?

>Do I HAVE to register all the development servers as fqdns and configure via
>./config-fast dev1.nextsource.com ?

No, but you could. And why would you use config-fast?

>And if I do this are messages to *@nextsource.com no longer treated
>as local?

Yes.

-Dave



Re: question on Serialmail and ETRN (fwd)

1999-07-24 Thread Goh Sek Chye


Hi!  Anand Buddhdev has provided me very good answers on Serialmail and
ETRN and I thought I should share it with others and also let the answers
be archived by the mailing list.

Thank you very much Anand Buddhdev!

-- Forwarded message --
Date: Sat, 24 Jul 1999 11:02:18 +0300
From: Anand Buddhdev <[EMAIL PROTECTED]>
To: Goh Sek Chye <[EMAIL PROTECTED]>
Subject: Re: question on Serialmail and ETRN

On Sat, Jul 24, 1999 at 12:01:29PM +0800, Goh Sek Chye wrote:
  
> Hi! Sorry to trouble you here.

Hello Goh. No trouble at all.
  
> I read your posting below from the mailing list archive for qmail.
> 
> I am getting very confused here and I need some enlightenment about
> qmail/serailmail.
> 
> 1. qmail alone cannot support ETRN command. You must install serialmail to
> enable qmail to support ETRN command (True/False)?

Sort of true and false. qmail on its own does not support ETRN, and
probably never will. This is because qmail's author likes writing
modular software, where each little program does one thing, and does it
well. So to get funtionality similar to ETRN, you install serialmail,
which can also help in other instances. For example, if you look on the
qmail homepage, and look for "turnmail", you will see it is a use of
serialmail without ETRN, but with POP instead.

> 2. I have a server (running sendmail) acting as a secondary mail server
> for all my ISDN customer with different domain.  Currently, they are using
> ETRN to nudge sendmail to push any new mails for their doamin to their
> mail server (the MX record with higher priority for their domain)

That's usually the standard way of doing it with sendmail.

> I want to use qmail/serialmail instead of sendmail.  From your answer to
> the posting below, can I say that my customer do not need to change any
> thing (continue to use ETRN) if I migrate from sendmail to
> qmail/serialmail?

Correct.

> As I have quite a number of my customer using Microsoft Exchange Server,
> can I also say that I should patch qmail as described in your posting
> below?

qmail will work fine with MS Exchange. We have anumber of such customers
here. However, I heard somebody had trouble with MS Exchange because it
was looking for the 250-ETRN response to the EHLO command. Since qmail
itself doesn't support ETRN, it doesn't advertise it in its response. I
see no harm it patching qmail-smtpd with a few lines of code to
advertise ETRN and return a "250 Ok" to an ETRN. Try using the system
without patching first. If you have problems, then patch it as I
described.

> 3. After reading through serialmail docs, am I right to say that
> serialmail will store mails for each different domain in their respective
> directories?  

Correct. The directory name will be the IP address of the customer.

> Does this mean that once my customer makes a smtp connection and issue
> ETRN, qmail will know exactly which directory the mails for the domain are
> stored and deliver it from there to the customer mail server(MX record
> with higher preference) ?  

Small correction here. With the qmail model, the issue of lower/higher
MX records becomes irrelevant. With sendmail, you had:

MX 10 customer
MX 20 isp.mail.server

This is because sendmail, when kicked with an ETRN, will still do MX
processing as usual. With qmail, the serialmail package doesn't use MX
records (since it's designed for serial links, not routed links).
Therefore, your customer's domain will only have one MX record, like
this:

10 MX isp.mail.server.

All their mail will be stored in the maildir. When they connect, and
either send an ETRN, *or* even just send email, serialmail will be
triggered, and it will deliver the mail out of the customer's directory
to their IP address.

>   If this is true, I am really impressed.  This is a very well designed
> piece of software (in contrast with sendmail which will have to go through
> all its queue to single out if there are any new mails for the domain in
> response to ETRN )  

Very true. qmail and it's auxilliary packages, like serialmail, are
impressive pieces of software. They're small, fast, modular, easy to use
and understand, and best of all, free!


-- 
See complete headers for more info




Re: Question about security tools with qmail

1999-04-28 Thread Chris Johnson

On Thu, Apr 29, 1999 at 07:53:22AM +0900, Iwao Makino wrote:
> Hi
> 
> I have question about using stunnel package with qmail.
> has anyone done it?
> 
> My current config. is
> 
> qmail + tcpserver for smtp and pop3
> would like to use SSL function for both using stunnel

I've used stunnel with POP3, though now I use sslwrap (which pretty much does
the same thing).

Grab this message from the archive for more info on qmail and stunnel:
[EMAIL PROTECTED]

For sslwrap, see http://www.rickk.com/sslwrap.

The samples use inetd, but it shouldn't be hard to translate them to tcpserver.

Chris



Re: Question about UCE and also AMAVIS

1999-12-09 Thread Christopher Seawood

On Thu, 9 Dec 1999, Dustin Miller wrote:

> However, my frustration with Amavis and qmail is running at an all-time
> high.  If I am to be expected to believe that no one here is using Amavis, I
> may actually *shudder* go back to sendmail to enjoy that virus protection.

http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html

Search the archive using "virus scan" for more info.

- cls




Re: Question about UCE and also AMAVIS

1999-12-09 Thread Alex Shipp

It was me. I own up. I also emailed Jennifer. (gosh)

I posted to Dustin directly, because I thought from his mail that he was
looking for
a solution my company could provide. I also posted to the list a different
email outlining
all the things you should seriously consider if you want to do this kind of
thing yourself.
In this way, I hope I am benefitting the community, while also furthering my
own ends. Hopefully
a win-win scenario.

Meanwhile, people have done this before on the list, so I don't believe this
was a bad thing to do.
Perhaps I was wrong. Either way, I expect a big postbag tomorrow!

Regards,

Alex

~~
Alex Shipp
Virus Technologist
Starlabs www.starlabs.net
E: [EMAIL PROTECTED]
T: 44 1285 884496
~~



-Original Message-
From: Dustin Miller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 09 December 1999 20:25
Subject: Question about UCE and also AMAVIS


Is it against the rules to use the qmail list to solicit customers?

Someone tried selling me something today (I won't mention who, that's not
the right spirit, and I will continue to keep their identification hidden
until I find out if this list allows members to solicit other members,
either through the list or directly based on a list posting), claiming that
their service will do virus screening at a comparable cost to doing it
myself.

Well, doing it myself costs ... let's see ... nothing.  I've paid for MAV
already, I get hourly updates if I want them, and both qmail and amavis (if
someone can get this thing to work with qmail) are free.

However, my frustration with Amavis and qmail is running at an all-time
high.  If I am to be expected to believe that no one here is using Amavis, I
may actually *shudder* go back to sendmail to enjoy that virus protection.

Dustin Miller, President
WebFusionDevelopmentIncorporated




This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm



This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm



Re: Question about UCE and also AMAVIS

1999-12-09 Thread Alex Shipp

>Well, doing it myself costs ... let's see ... nothing.  

I still disagree with Dustin on this one though. (unless,
of course, he charges his time out at $0.00/hour, in which case
I would very much like some Web Development from him, please).



This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm



Re: Question about UCE and also AMAVIS

1999-12-09 Thread Vince Vielhaber


On 09-Dec-99 Christopher Seawood wrote:
> On Thu, 9 Dec 1999, Dustin Miller wrote:
> 
>> However, my frustration with Amavis and qmail is running at an all-time
>> high.  If I am to be expected to believe that no one here is using Amavis, I
>> may actually *shudder* go back to sendmail to enjoy that virus protection.
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00169.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg01152.html
> 
> Search the archive using "virus scan" for more info.
> 
> - cls
> 
> 

Also is message numbers: 29104 and 38621.  I'm not posting them as one
of 'em is about 17K and contains the script for AMAVIS and it's in the 
archives anyway.

Vince.
-- 
==
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
  # includeHave you seen http://www.pop4.net?
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==




RE: Question about UCE and also AMAVIS

1999-12-09 Thread Dustin Miller

Well, since he posted that to the list, I feel it would be fair for me to
copy my response, detailing why it truly costs me US$0.00 to run my own
virus checking system.  I've made a few minor edits, but they don't affect
the character and spirit of my original reply to Alex.

One thing to keep in mind.  While yes, my time is valuable to me and my
clients, I would not be so self-centered as to say *ALL* of my free time is
valuable.  The time I spend screwing around with my Linux machine which
supports all of three people (all of whom are good friends and aren't really
dependent on this server) is trivial, I wouldn't charge them for it, I'm not
that full of myself.

---[ begin quoted message ]---
I will analyze what you say is my cost for you, just so you know where I'm
coming from, Alex.

1) My time.  Yes, my time is valuable, but administering this box for me and
my three employees (who already run virus scanning on their desktops anyway)
is trivial.  I do it in my spare time.  While normally I charge in excess of
US$100/hour for my time, I truly enjoy mucking around this box.  It's not
serious for me now, I don't have hundreds of people to support.  It's a
convenience issue, really, that's all.

2) I've already purchased the antivirus software.  Other than the
subsciption to the updates (which, I would fathom, is still less expensive
than using your service), zero cost to me.

3) I need no extra hardware, I have a mail server that's fully capable of
running antivirus software.  In fact, it does, and I can use MAV to manually
scan attachment directories -- I was hoping to automate that process.  If I
can accomplish that, again -- zero cost to me.

4) I currently have a cron job that downloads hourly virus updates from
AVERT and installs them.  Zero time spent updating the software.

And, yes, if a virus slips through, there is a cost to be paid in recovering
any lost data from an infection.  But nobody is 100% virus-free, not one
company can guarantee 100% effectiveness, so that is a calculated risk that
I have chosen to take.  On systems that are backed up daily (and, some
directories, automatically syncronized to other disparate filesystems on
change), I'm not concerned with actual data loss -- no virus is going to
destroy all copies of my data no matter the format or location, that would
require keys to my safe deposit box and my hot site.

While I appreciate that you are running a business, please try to keep this
in mind: I run qmail and linux and amavis because they are free and
supported by the community.  There isn't one programmer busting out code
under a heavy deadline, under threat of loss of pay, and because of that
singular dedication to "getting it right", open source software is the way
for me to go.

Your solution may be a God-send for many of your customers, I have no doubt
of that.  But I did not join this list to be solicited, I joined this list
to seek the assistance of other generous qmail users and programmers, hoping
to learn something in the process.

Yes, your mail annoyed me, and I'm glad it was only to me and not the list.
In my list post, I made sure I didn't disclose your identity: I'm not that
type of person.  But please, in the future, refrain from soliciting this
particular qmail-lister.

If you've come up with a way to use Amavis, I'd love to hear from you.  If
you're telling me I have to spend my hard-earned cash when I *KNOW* I do
not, please don't bother typing a message to me.  That's just the way it is
with me. :)

Thanks again for your concern -- whether it's sincere or motiviated by
capitalism, I do not care -- I truly appreciate that you are looking out for
the needs of other people.  But, after all, I don't /need/ your service.

Best of luck to you and your firm in all your endeavors,

Dustin


  _

Dustin Miller, President
WebFusionDevelopmentIncorporated


-Original Message-
From: Alex Shipp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 09, 1999 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about UCE and also AMAVIS


>Well, doing it myself costs ... let's see ... nothing.

I still disagree with Dustin on this one though. (unless,
of course, he charges his time out at $0.00/hour, in which case
I would very much like some Web Development from him, please).




This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm



Re: Question about UCE and also AMAVIS

1999-12-09 Thread Alex at Star


>Probably not against "the rules", but it shows extremely poor taste, and,
>much like you, I would actually refrain from doing business with any
>inconsiderate clod who'd try to pull that on me.


So Sam, let me get this straight. If you posted a problem onto the list,
and someone proposed a solution that not only costs you less in real terms,
but is also technically better, you would ignore it. In that case, why post
the problem in the first place?

Alex


This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm



Re: Question about UCE and also AMAVIS

1999-12-09 Thread Adam D . McKenna

I don't see anything wrong with offering to fix someone's problem for a
reasonable fee, especially if it is something that is beyond the scope of the 
normal questions/problems that the list is here to answer.

IMHO, it's not the list's job to do peoples' work for them.  We're here to
provide technical information and support for people who are having
legitimate problems (and hopefully have done their homework before asking).

--Adam

On Fri, Dec 10, 1999 at 07:27:58AM -, Alex at Star wrote:
> 
> >Probably not against "the rules", but it shows extremely poor taste, and,
> >much like you, I would actually refrain from doing business with any
> >inconsiderate clod who'd try to pull that on me.
> 
> 
> So Sam, let me get this straight. If you posted a problem onto the list,
> and someone proposed a solution that not only costs you less in real terms,
> but is also technically better, you would ignore it. In that case, why post
> the problem in the first place?
> 
> Alex
> 
> 
> This message has been checked for all known viruses by the Star Screening System
> http://academy.star.co.uk/public/virustats.htm
> 



RE: Question about UCE and also AMAVIS

1999-12-10 Thread Dustin Miller

The problem posted was not "I need an antivirus solution."

The problem posted was "I can't get Amavis to work, I'm sure someone else
has been able to."

You didn't solve my problem.

I didn't want your solicitation, it was an invasion of my privacy.


  _

Dustin Miller, President
WebFusionDevelopmentIncorporated


-Original Message-
From: Alex at Star [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 10, 1999 1:28 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Question about UCE and also AMAVIS



>Probably not against "the rules", but it shows extremely poor taste, and,
>much like you, I would actually refrain from doing business with any
>inconsiderate clod who'd try to pull that on me.


So Sam, let me get this straight. If you posted a problem onto the list,
and someone proposed a solution that not only costs you less in real terms,
but is also technically better, you would ignore it. In that case, why post
the problem in the first place?

Alex



This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm



  1   2   >