RE: slow smtp connection

2001-05-02 Thread Wagner Teixeira

 From: Tim Legant [mailto:[EMAIL PROTECTED]]

 Have you noticed that the people who get frustrated over the same
 questions being asked again and again are the same people who answer the
 vast majority of real questions? For free? Day in and day out?

 That's where your whole argument falls apart.


That's why vacancies are made for. We all are volunteers here, day in and
day out, but not all here (I refer to those that bring simple questions)
read every single message - I bet.

Those who offer volunteer support here (yes, FOR FREE!!!) must have in mind
that he/she is doing that to minimize others' hard job to read everything
about qmail. At least this is what I expect from discussion groups.

Finally, come on, this is not a high volume list to people fell flooded.

Regards
Wagner.




Re: ezmlm warning

2001-05-02 Thread Kevin Smith

Hi,

Can anyone tell me why I'm receiving this message apart from the obvious
99.9% of the Qmail List messages I receive anyway.

The bottom of the message says relaying denied.  Why on earth would I allow
relaying on my server apart for myself and trusted users?

Cheers,

Kevin

snip
 [EMAIL PROTECTED]:
 195.224.255.14 does not like recipient.
 Remote host said: 571 [EMAIL PROTECTED]... Relaying denied.
 Giving up on 195.224.255.14.
/snip

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 02, 2001 3:36 AM
Subject: ezmlm warning


 Hi! This is the ezmlm program. I'm managing the
 [EMAIL PROTECTED] mailing list.


 Messages to you seem to have been bouncing. I've attached a copy of
 the first bounce message I received.

 If this message bounces too, I will send you a probe. If the probe
bounces,
 I will remove your address from the mailing list, without further notice.


 I've kept a list of which messages bounced from your address. Copies of
 these messages may be in the archive. To get message 12345 from the
 archive, send an empty note to [EMAIL PROTECTED]

 Here are the message numbers:

66217
66218

 --- Below this line is a copy of the bounce message I received.

 Return-Path: 
 Received: (qmail 18237 invoked for bounce); 20 Apr 2001 12:48:48 -
 Date: 20 Apr 2001 12:48:48 -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: failure notice

 Hi. This is the qmail-send program at muncher.math.uic.edu.
 I'm afraid I wasn't able to deliver your message to the following
addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.

 [EMAIL PROTECTED]:
 195.224.255.14 does not like recipient.
 Remote host said: 571 [EMAIL PROTECTED]... Relaying denied.
 Giving up on 195.224.255.14.






Re: slow smtp connection

2001-05-02 Thread Henning Brauer

On Tue, May 01, 2001 at 06:40:52PM -0500, David Talkington wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Robin S. Socha wrote:
 
 Also note that I am subscribed
 to this list. *Do* *not* *Cc* *me*.
 
 I've been guilty too. It's an unfortunate result of the lack of a
 'Reply-To: [EMAIL PROTECTED]' field, 

No. It's the lack of good MUAs. 

And read http://cr.yp.to/proto/replyto.html.


-- 
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)



qmail Digest 2 May 2001 10:00:01 -0000 Issue 1352

2001-05-02 Thread qmail-digest-help


qmail Digest 2 May 2001 10:00:01 - Issue 1352

Topics (messages 61723 through 61797):

Re: queue problems
61723 by: Neil Grant

slow smtp connection
61724 by: John Hogan
61725 by: Charles Cazabon
61726 by: Brett Randall
61729 by: John Hogan
61730 by: Chris Johnson
61731 by: Charles Cazabon
61732 by: John Hogan
61733 by: Kirti S. Bajwa
61734 by: John Hogan
61735 by: Charles Cazabon
61738 by: Frank Tegtmeyer
61739 by: Travis Turner
61740 by: Travis Turner
61742 by: Brett Randall
61743 by: q question
61745 by: davidu
61746 by: dan.kelley
61749 by: Jeremy Suo-Anttila
61751 by: Rick Updegrove
61752 by: Kirti S. Bajwa
61754 by: denis
61756 by: Frank Tegtmeyer
61758 by: dan.kelley
61763 by: Robin S. Socha
61765 by: Frank Tegtmeyer
61766 by: Tim Legant
61767 by: Wagner Teixeira
61769 by: Tim Legant
61770 by: Travis Turner
61771 by: Bill Andersen
61772 by: Travis Turner
61775 by: Travis Turner
61776 by: Bill Parker
61778 by: Tim Legant
61783 by: David Talkington
61785 by: Chris Garrigues
61786 by: David Talkington
61795 by: Wagner Teixeira
61797 by: Henning Brauer

SPAM Patches recomendations.
61727 by: Eduardo Augusto Alvarenga
61728 by: Charles Cazabon
61773 by: Keary Suska

Re: Is qmail best reserved for mailing list server purposes only?
61736 by: q question

Re: Which IMAP do you prefer with qmail?
61737 by: q question

Re: spmacontrol patch 1.4.2 for qmail .
61741 by: Larry M. Smith
61755 by: Markus Stumpf

Quoting (was: slow smtp connection)
61744 by: Frank Tegtmeyer

ezmlm-idx error
61747 by: Adam McKenna
61753 by: Charles Cazabon
61761 by: Adam McKenna
61764 by: Charles Cazabon
61774 by: Adam McKenna

Re: POP3 Login
61748 by: q question

more info on ezmlm-idx problem
61750 by: Adam McKenna

autoresponder inter7.com
61757 by: Flavio Alberto
61760 by: Frank Tegtmeyer

need help understanding status 256 log messages
61759 by: Jim O'Leary
61762 by: Charles Cazabon
61768 by: Tim Legant

Strange Bounce
61777 by: Bill Andersen
61781 by: Tim Legant
61782 by: Chris Johnson
61791 by: Frank Tegtmeyer

test message
61779 by: Bill Parker

Both system account and virtual account of one domain.
61780 by: Twinsen Mak

libc.so.6 error with RH 7.0
61784 by: Edgardo Lust
61792 by: Frank Tegtmeyer

Ezmlm + SQL
61787 by: David Coley
61794 by: Frank Tegtmeyer

I messed up my QMQP Client Config...
61788 by: Tyrone Mills
61789 by: Mark Delany
61790 by: Tim Legant
61793 by: Tyrone Mills

Re: ezmlm warning
61796 by: Kevin Smith

Administrivia:

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

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

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

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


--



thanks for the really prompt answer

next time I will do a search of qmail.org

Neil


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





i am having slow smtp connectivity from an internal machine to my qmail smtp/firewall 
machine... once the message hits the smtp server, all is well

what should i check?

- hogan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





John Hogan [EMAIL PROTECTED] wrote:
 i am having slow smtp connectivity from an internal machine to my qmail 
smtp/firewall machine... once the message hits the smtp server, all is well
 
 what should i check?

The mailing list archives -- questions about slow network connections to qmail
services come up every three minutes on this list.  It's so bad, one of the
regulars has actually added this FAQ and its answer to his .sig.

You can find a link to the archives from www.qmail.org, or from Life with
qmail at www.lifewithqmail.org.

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.
---




 John == John Hogan [EMAIL PROTECTED] writes:

 what should i check?

The archives.
-- 
I had a fortune cookie the other day and it said: 'Outlook not so
good'. I said: 

Question about tcpserver program

2001-05-02 Thread



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 howI can solve this 
problem?
Thank you!



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: ezmlm warning

2001-05-02 Thread Markus Stumpf

On Wed, May 02, 2001 at 07:41:07AM +0100, Kevin Smith wrote:
 Can anyone tell me why I'm receiving this message apart from the obvious
 99.9% of the Qmail List messages I receive anyway.

  [EMAIL PROTECTED]:
  195.224.255.14 does not like recipient.
  Remote host said: 571 [EMAIL PROTECTED]... Relaying denied.
  Giving up on 195.224.255.14.

195.224.255.14 - relay1.mail.gxn.net

lemonlaineydesign.com.  1D IN MX10 dwshop2.dedic.web.xara.net.
lemonlaineydesign.com.  1D IN MX50 relay1.mail.gxn.net.
lemonlaineydesign.com.  1D IN MX50 relay2.mail.gxn.net.

At least one of your official MX hosts does not relay messages for the
domain lemonlaineydesign.com.

\Maex




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 mailto:[EMAIL PROTECTED][EMAIL PROTECTED](mail.bora.net-164.124.116.3) can send 
mail to mailto:[EMAIL PROTECTED][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!





[ezmlm] lock: file does not exist

2001-05-02 Thread Peter Peltonen


I have qmail-1.03+patches-18, ezmlm-idx-mysql-0.53.324-1 and vmailmgr-0.96.9-2
installed on my RedHat 6.2 system. I have setup a functioning mail virtual
test.dom which resides under /home/test. 

I want to create mailing list [EMAIL PROTECTED] with ezmlm. After the ezmlm
rpm installation and logging in as user test I tried to create it with
command:

-snip--
test# ezmlm-make -emrlfn /home/test/lists/test /home/fivetec-mail/.qmail-test
test \ test.dom
--snip--

But it complained:

--snip--
ezmlm-make: fatal: unable to open /home/test/lists/announce/lock: file does
not exist
--snip--

I thought this was because /home/test/lists/announce directory did not exist,
so I created the lists directory and subdir announce under it and then run the
command again. No complaints this time. I subscribed myself to the list:

--snip--
test#ezmlm-sub /home/test/lists/announce [EMAIL PROTECTED]
--snip--

And sent mail to the address [EMAIL PROTECTED] The mail came back with an
error message similiar to the one that showed up in my maillog:

--snip--
May  2 14:35:30 mail qmail: 988803330.737022 delivery 4856: failure:
ezmlm-store:_fatal:_/home/test/lists/test/key_does_not_exist/
--snip--

So the key wasn't created after all... Everything else necessary seems to be
there though: 

--snip--
announce# ls
Log   bounce   headeradd inlocal  managerouthost   public
allow bouncer  headerremove  lock modoutlocal  remote
archive   config   indexed   lockbounce   moderator  owner subscribers
archived  editor   inhostmailinglist  modpostprefixtext
--snip--

How do I create it? And what did I do wrong? 

Regards,
Peter

PS. And how does one destroy an ezmlm list?



Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Peter Peltonen


Peter Peltonen wrote:

 -snip--
 test# ezmlm-make -emrlfn /home/test/lists/test /home/fivetec-mail/.qmail-test
 test \ test.dom
 --snip--

This should of course be:

-snip--
test# ezmlm-make -emrlfn /home/test/lists/test /home/test/.qmail-test
test \ test.dom
--snip--

Peter



adresses

2001-05-02 Thread Hans Sandsdalen

Hi

Is there any way I can make all From addresses with only the value from
defaultdomain, without hostname?

Also, how can I make qmail modify aTo address without @ sign the same
way?
(The mail gets to the correct receiver, but I want the address in the To
field to be correct)

--
/hans - http://www.spacetec.no/~hans
/
/HANS = High Availability No Superman






RE: slow smtp connection

2001-05-02 Thread Kirti S. Bajwa

 Those who offer volunteer support here (yes, FOR FREE!!!) must have in
mind
that he/she is doing that to minimize others' hard job to read everything
about qmail. At least this is what I expect from discussion groups.

Not all of it. When I see a question on the list, and I am also curious
about it, I go and read, read, read, read, read, until I find the
answer. In my case, I am expanding my knowledge every day.

The same questions which look so basic today, were advance questions only
six weeks ago!!! Not to offend anybody, now, I do sometimes respond
(directly) to basic stupid questions. Many moons ago (20+ years), when I
used to teach Computer Science at a major university in So. California, I
always emphasized to my students:

There are no stupid questions, only stupid do not ask questions!!!


Kirti





-Original Message-
From: Wagner Teixeira [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 2:23 AM
To: [EMAIL PROTECTED]
Subject: RE: slow smtp connection


 From: Tim Legant [mailto:[EMAIL PROTECTED]]

 Have you noticed that the people who get frustrated over the same
 questions being asked again and again are the same people who answer the
 vast majority of real questions? For free? Day in and day out?

 That's where your whole argument falls apart.


That's why vacancies are made for. We all are volunteers here, day in and
day out, but not all here (I refer to those that bring simple questions)
read every single message - I bet.

Those who offer volunteer support here (yes, FOR FREE!!!) must have in mind
that he/she is doing that to minimize others' hard job to read everything
about qmail. At least this is what I expect from discussion groups.

Finally, come on, this is not a high volume list to people fell flooded.

Regards
Wagner.



adresses

2001-05-02 Thread Hans Sandsdalen

Hi

Is there any way I can make all From addresses with only the value from
defaultdomain, without hostname?

Also, how can I make qmail modify aTo address without @ sign the same
way?
(The mail gets to the correct receiver, but I want the address in the To
field to be correct)

--
/hans - http://www.spacetec.no/~hans
/
/HANS = High Availability No Superman



qmail/fastforward bug ?

2001-05-02 Thread Dean Browett


Hi All,

I have been experiencing problems trying to send an email to a virtual
domain fasttrack-assoc.com on our server.  This was strange as the entries
in virtualdomains and rcpthosts are as follows:

(taken from virtualdomain)
fasttrack-assoc.com:fasttrack-assoc.com__

(taken from rcpthosts)
fasttrack-assoc.com

Our mail server is configured to use fastforward and the .qmail-default file
(in /var/qmail/alias)contains: | fastforward -d /etc/aliases.cdb

The entry in /etc/aliases contains:
fasttrack-assoc.com__-dean: dbrowett


Every time I sent an email to any user in that domain the following entry
apppeared in the log:

@40003aefed7404d8e9d4 starting delivery 6421: msg 209571 to local
[EMAIL PROTECTED]
@40003aefed7404d918b4 status: local 1/10 remote 1/20
@40003aefed74084783b4 delivery 6421: failure:
Sorry,_no_mailbox_here_by_that
_name._(#5.1.1)


However, if I ran the command

 env DEFAULT=fasttrack-assoc.com__-dean HOST=mail.fasttrack-assoc.com
fastforward -nd
/etc/aliases.cdb

I received the following output which suggests to me that mail to that user
should be delivered.

from original envelope sender
to [EMAIL PROTECTED] (this address being expanded from dbrowett in
/etc/aliases)

Now, if I substituted a '.' for the '-' between fasttrack and assoc.com
i.e. 'fasttrack.assoc.com'  in the extension part of the address in
virtualdomain and applied the same change to the entry in /etc/aliases
i.e. fasttrack.assoc.com__-dean: dbrowett

the mail gets delivered. The headers from such a delivery are as follows:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27057 invoked by uid 500); 2 May 2001 11:11:58 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27051 invoked by uid 0); 2 May 2001 11:11:58 -
Date: 2 May 2001 11:11:58 -
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]

This problem only applies to this domain.

To verify this I set up another  virtual domain using the same format as
fasttrack,
wobblyone-world.com,  to see if the format of the domain had any bearing on
the problem. This appears not to be the case as the mail was delivered (see
headers below). The following appeared in the logs:

@40003af00734365241f4 starting delivery 51: msg 209566 to local
wobblyone-world.
[EMAIL PROTECTED]
@40003af0073436528074 status: local 1/10 remote 0/20
@40003af007343adab42c delivery 51: success:
fastforward:_qp_7039/did_0+0+1/



Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7039 invoked by uid 500); 2 May 2001 13:10:02 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7034 invoked by uid 0); 2 May 2001 13:10:02 -
Date: 2 May 2001 13:10:02 -
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]

I am very confused as to why this has occurred. Any suggestions/solutions
would be appreciated.

Regards

 Dean Browett
 Network Operations Manager
 Business Online Group plc

 == Inventors of Free Internet  Unmetered Access =
 http://www.bizonline.net
 http://www.publiconline.net
 http://www.thefreeinternet.net
 
 Opinions expressed in this email are those of the
 author and are not binding upon Business Online Group plc.
 







Re: Is qmail best reserved for mailing list server purposes only?

2001-05-02 Thread Karsten W. Rohrbach

Russ Allbery([EMAIL PROTECTED])@2001.04.29 14:49:03 +:
 q question [EMAIL PROTECTED] writes:
[...]
  Qmail is extremely network unfriendly and generates denial of service
  attacks on other mailservers in its enthusiasm to deliver as many
  messages as possible in a short period of time.
 
 False.  qmail's default configuration is incapable of doing that except
 possibly to a pathetically undersized e-mail server that would have
 problems with all sorts of normal deliveries.
exchange, notes. systems not primarily designed to process mail.
consider _them_ broken by default ;-)

/k

-- 
 Definition of Windows 95: A 32-bit extension and graphical shell for a
 16 Bit patch to an 8 Bit OS originally coded for an 4 Bit CPU, written
 by a 2-Bit Company that can't stand 1 Bit of competition. 
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46



OT: Sending Mail with C++

2001-05-02 Thread Alex Le Fevre

I've seen the wars going on the last couple of days with people being tired 
of answering stupid questions, so my apologies if this appears to be such a 
question.

I've learned that in Perl, sending an e-mail through the system is as simple 
as outputting to /usr/bin/sendmail -t. I figured that doing this with C++ 
would be just as simple; I'd just open an ofstream with ios::app and print 
to it. However, this doesn't seem to work, and after conducting what I feel 
to be an exhaustive search of the web, I'm seeing nothing on the subject. 

Has anyone ever sent mail using a C++ program? If so, I'd appreciate either 
some tips or a pointer to a URL discussing it. 

Thanks in advance. 

Alex Le Fevre



Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Peter Peltonen


Okay... It seems my problem was due to use of switches I didn't need and not
really understanding what I was doing :) 

Still I have two questions about ezmlm:

1) how do I add a bunch of addresses to a list (locally or remotely)?

   I tried 'ezmlm-sub /home/test/lists/testlist temp' where temp was a file 
   that contained a bunch of addresses, but that did not work. 

2) how do I delete a list (just rm away the .qmail files and the list dir?)


Cheers,
Peter



Re: Strange Bounce

2001-05-02 Thread Charles Cazabon

Tim Legant [EMAIL PROTECTED] wrote:
 
  PLEASE tell me this is a fluke... Or should I start looking for viruses?
  There was nothing else in the body of the message and no attachment.
 
 Each time I post, I get one of these. It's been happening for the last
 few days. I think lasoleil (?) is misconfigured.

It's definitely misconfigured; not only is it sending bounce messages to the
From: header instead of the envelope recipient, it fails to accept mail for
postmaster, so we can't even inform them their mail setup is broken.  I've
been getting these bounces for about five days, one for every message I send
to the list.

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: Both system account and virtual account of one domain.

2001-05-02 Thread Charles Cazabon

Twinsen Mak [EMAIL PROTECTED] wrote:
 Does qmail(or vpopmail) can do so that one domain can include some system
 accounts(via passwd) and some virtual accounts(via vpopmail w/ mysql)!!?

I'm not positive of this, but I believe vmailmgr can do this in some manner.
It can also be done by writing your own wrapper around checkpassword (or
equivalent) which tries multiple authentication methods before failing.

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: libc.so.6 error with RH 7.0

2001-05-02 Thread Charles Cazabon

Edgardo Lust [EMAIL PROTECTED] wrote:
 I'm trying to start qmail but  /var/log/qmail/smtpd file is logging:
 /usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6:
 failed to map segment from shared object: Cannot allocate memory.
 
 Any idea?

Are you using softlimit or ulimit on the tcpserver instance running
qmail-smtpd, or including a call to one of those utilities in the tcpserver
arguments?  Perhaps it really is just unable to allocate enough memory.

Post the contents of the script you use to start tcpserver in this case, along
with any system limits.

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: [ezmlm] lock: file does not exist

2001-05-02 Thread Robin S. Socha

* Peter Peltonen [EMAIL PROTECTED] [010502 09:57]:
 
 Okay... It seems my problem was due to use of switches I didn't need
 and not really understanding what I was doing :) 

Parse error at :).

 Still I have two questions about ezmlm:

http://cr.yp.to/lists.html:
ezmlm: For discussion of the ezmlm package. To subscribe, send an empty
message to [EMAIL PROTECTED] 

 1) how do I add a bunch of addresses to a list (locally or remotely)?

With MySQL? Without? Why are you running a MySQL-enabled version of a
program whose basic functionality you haven't even begun to grasp?

I tried 'ezmlm-sub /home/test/lists/testlist temp' where temp was a file 
that contained a bunch of addresses, but that did not work. 

In which way did it not work? Did it rape your dog, kill your sister,,
or fail with an error message that you didn't submit because you are
mistaking this list for a quiz show?

 2) how do I delete a list (just rm away the .qmail files and the list dir?)

http://ezmlm.org/faq-0.40/FAQ-5.html
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.



Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Peter Farmer

On 16:54:34 - 02/05/01, Peter Peltonen wrote:
 
 Okay... It seems my problem was due to use of switches I didn't need and not
 really understanding what I was doing :) 
 
 Still I have two questions about ezmlm:
 
 1) how do I add a bunch of addresses to a list (locally or remotely)?
 
I tried 'ezmlm-sub /home/test/lists/testlist temp' where temp was a file 
that contained a bunch of addresses, but that did not work. 
 
 2) how do I delete a list (just rm away the .qmail files and the list dir?)
 
 
 Cheers,
 Peter

Try 

cat test | ezmlm-sub /home/test/lists/testlist

HTH

-- 
Peter Farmer [EMAIL PROTECTED]

Senior Systems Engineer
blueyonder - http://www.blueyonder.co.uk/



Re: I messed up my QMQP Client Config...

2001-05-02 Thread Charles Cazabon

Tyrone Mills [EMAIL PROTECTED] wrote:
 
 I made a stupid mistake and left a QMQP Client machine with a bad IP in the
 qmqpservers file. I'm re-reading the Installing mini-qmail doc on
 http://cr.yp.to/qmail/mini.html and if I am reading it correctly, I'm
 screwed when it comes to getting those messages back. Am I right?

Yes; the messages are gone.

 Thanks in advance for any help, pointers, info, etc..

You may want to look at using nullmailer instead of a mini-qmail installation.
nullmailer was written by Bruce Guenter (vmailmgr and many other qmail-related
goodies) -- it's inspired by the qmail design, but is of course much simpler,
as it is a relay-only MTA.  The relevant advantage here is that it includes a
queue for reliability -- it would have prevented these lost messages, for
instance.

You can find it by looking at http://em.ca/~bruceg/ .

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: OT: Sending Mail with C++

2001-05-02 Thread Charles Cazabon

Alex Le Fevre [EMAIL PROTECTED] wrote:
 
 I've learned that in Perl, sending an e-mail through the system is as simple 
 as outputting to /usr/bin/sendmail -t. I figured that doing this with C++ 
 would be just as simple; I'd just open an ofstream with ios::app and print 
 to it. However, this doesn't seem to work, and after conducting what I feel 
 to be an exhaustive search of the web, I'm seeing nothing on the subject. 

Please supply more information:

1)  At what point is your program failing?
2)  If it gets far enough, are you capturing the exit code of
/usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
3)  Does anything make it into the qmail logs?
4)  Have you straced/trussed the program?
5)  What is the failure mode?  Silent failure, core dump, ...

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: ezmlm-idx error

2001-05-02 Thread Charles Cazabon

Adam McKenna [EMAIL PROTECTED] wrote:
 
 The bastard child is ezmlm-send...  I can run it on its own, I get the
 following from truss:
[...] 
 read(4,  * !\r\0 p /\r\005 8\r\0.., 32)   = 16
 read(4, 0x0002DB20, 32) = 0
 close(4)= 0
 Incurred fault #6, FLTBOUNDS  %pc = 0x0001AF28
   siginfo: SIGSEGV SEGV_MAPERR addr=0x
 Received signal #11, SIGSEGV [default]
   siginfo: SIGSEGV SEGV_MAPERR addr=0x
 *** process killed ***

Interesting; it's not something I've run into myself.  It appears to be
dereferencing a null pointer.  Now that I see your trace, it rings a vague
bell -- I think I saw someone else reporting a similar problem on the ezmlm
list some months back.  I also recall someone posting a one- or two-line patch
for ezmlm on recent versions of Solaris.  This might be the same issue.

You might want to look at the ezmlm list archives (I don't recall where they
are, but doubtless ezmlm.org will tell you), or post this trace to that list.

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: Sending Mail with C++

2001-05-02 Thread Wagner Teixeira

 I've seen the wars going on the last couple of days with people
 being tired
 of answering stupid questions, so my apologies if this appears to
 be such a
 question.

Only stupids don't ask - Teatcher Bajwa :-)

 I've learned that in Perl, sending an e-mail through the system
 is as simple
 as outputting to /usr/bin/sendmail -t. I figured that doing this with C++
 would be just as simple; I'd just open an ofstream with ios::app
 and print
 to it. However, this doesn't seem to work, and after conducting
 what I feel
 to be an exhaustive search of the web, I'm seeing nothing on the subject.

Alex,

it's a developent issue, not targeted to this community, but I think I can
help you. My apologies to those who feel this message breakes the list's
spirit.

 Has anyone ever sent mail using a C++ program? If so, I'd
 appreciate either
 some tips or a pointer to a URL discussing it.

This kind of action is much better done with std::popen(). I think you are
confused with STL (I dislike it).

Regards,
Wagner.




Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Peter Farmer

On 16:54:34 - 02/05/01, Peter Peltonen wrote:
 
 Okay... It seems my problem was due to use of switches I didn't need and not
 really understanding what I was doing :) 
 
 Still I have two questions about ezmlm:
 
 1) how do I add a bunch of addresses to a list (locally or remotely)?
 
I tried 'ezmlm-sub /home/test/lists/testlist temp' where temp was a file 
that contained a bunch of addresses, but that did not work. 
 
 2) how do I delete a list (just rm away the .qmail files and the list dir?)
 
 
 Cheers,
 Peter

Let me rephrase that, try

cat temp | ezmlm-sub /home/test/lists/testlist

where temp is a file containing an email on each line

HTH

-- 
Peter Farmer [EMAIL PROTECTED]

Senior Systems Engineer
blueyonder - http://www.blueyonder.co.uk/



Re: OT: Sending Mail with C++

2001-05-02 Thread Alex Le Fevre

 Please supply more information:
 
 1)  At what point is your program failing?
The program itself doesn't seem to fail. I put a cout statement after my 
last line of code, and it pops up just fine. 

 2)  If it gets far enough, are you capturing the exit code of
 /usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
There is no output, at all. I get no error messages of any kind. 

 3)  Does anything make it into the qmail logs?
Nothing shows up in the qmail logs. 

 4)  Have you straced/trussed the program?
Can't say I know what either of these are. 

 5)  What is the failure mode?  Silent failure, core dump, ...
It's completely silent -- like I said, there are no program errors, and no 
errors from /usr/bin/sendmail. 

I'm sure that's only made things more confusing, but hopefully it eliminates 
some possibilities. 

Alex 



Re: OT: Sending Mail with C++

2001-05-02 Thread Peter van Dijk

On Wed, May 02, 2001 at 03:04:17PM +, Alex Le Fevre wrote:
  2)  If it gets far enough, are you capturing the exit code of
  /usr/bin/sendmail (or /var/qmail/bin/qmail-inject, for that matter)?
 There is no output, at all. I get no error messages of any kind. 

He said exit code, not output. If you don't know what the exit code
is, go and read a book about C/C++ and then come back. This is not a
language forum.

  4)  Have you straced/trussed the program?
 Can't say I know what either of these are. 

man strace, man truss, man par.

Greetz, Peter.



Re: adresses

2001-05-02 Thread Frank Tegtmeyer

Hans Sandsdalen [EMAIL PROTECTED] writes:
 Also, how can I make qmail modify aTo address without @ sign the same
 way?

Have a look at new-inject and ofmipd from the mess822 package.

Regards, Frank



Re: need help understanding status 256 log messages

2001-05-02 Thread Frank D. Cringle

Tim Legant [EMAIL PROTECTED] writes:
 ofmipd is a substitute for qmail-smtpd. It's expressly designed to
 accept mail from (slighly dopey) PC clients through SMTP rather than
 from other SMTP servers. Now, we all know there should be no difference,
 but in reality, those clients can cause difficulties. ofmipd is a
 possible solution.
 
 You would run qmail-smtpd as your main SMTP server and point your MX
 records at that IP. You would run ofmipd on a different IP and tell your
 students to configure their mail clients to point to that box. It's
 simple and perhaps worth thinking about.

I can recommend this approach.  We do something similar here, using
ipchains to redirect local users from port 25 to another port where
ofmipd handles their mail.  No need for the users to reconfigure
anything.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 7745) 928759; fax: 928761



Re: ezmlm-idx error

2001-05-02 Thread Mate Wierdl

Apply the patch (after the idx patch with -p1)

ftp://moni.msci.memphis.edu/pub/alpha/ezmlm-idx.latest.patch

If still problems, do

echo gcc  conf-cc

Mate



Re: more info on ezmlm-idx problem

2001-05-02 Thread Mate Wierdl

Sorry, apparently, this is the patch that fixes the problem:

ftp://moni.msci.memphis.edu/pub/alpha/ezmlm-idx.func.patch

Mate

On Tue, May 01, 2001 at 11:38:21AM -0700, Adam McKenna wrote:
 Here is the last few lines of a truss I ran on the ezmlm-moderate process.
 It looks like the segfault is happening right after the fork(), but I don't
 know what it's trying to fork.
 
 --Adam
 
 [...]
 open(outlocal, O_RDONLY|O_NDELAY) = 3
 read(3,  t e s t\n, 128)  = 5
 read(3, 0x0002BB05, 128)= 0
 close(3)= 0
 open(mod/lock, O_WRONLY|O_NDELAY|O_APPEND|O_CREAT, 0600) = 3
 fcntl(3, F_SETLKW, 0xFFBEFA3C)  = 0
 stat(mod/pending/988741909.13238, 0x0002CD7C) = 0
 open(mod/pending/988741909.13238, O_RDONLY|O_NDELAY) = 4
 read(4,  R e t u r n - P a t h :.., 1024) = 810
 lseek(4, 0, SEEK_SET)   = 0
 fork()  = 13282
 Segmentation Fault - core dumped
 wait()  = 13282 [0x8B00]
 close(4)= 0
 ezmlm-moderate: fatal: Unknown temporary error from child
 write(2,  e z m l m - m o d e r a.., 58)  = 58
 _exit(111)

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



i apologize...

2001-05-02 Thread John Hogan

for my temper yesterday... 

i learn a lot from this list and would miss it terribly... i will read more and 
hopefully, soon, be answering questions (or pointing to the faq link)

- hogan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Strange Bounce

2001-05-02 Thread Karsten W. Rohrbach

it gets better and better ;-)
they actually seem to have an [EMAIL PROTECTED] account, but the mta
mutters about not being able to deliver since admin would point to
multiple mailboxes.

what mailsystem might that be?

/k

Charles Cazabon([EMAIL PROTECTED])@2001.05.02 08:08:51 +:
 Tim Legant [EMAIL PROTECTED] wrote:
  
   PLEASE tell me this is a fluke... Or should I start looking for viruses?
   There was nothing else in the body of the message and no attachment.
  
  Each time I post, I get one of these. It's been happening for the last
  few days. I think lasoleil (?) is misconfigured.
 
 It's definitely misconfigured; not only is it sending bounce messages to the
 From: header instead of the envelope recipient, it fails to accept mail for
 postmaster, so we can't even inform them their mail setup is broken.  I've
 been getting these bounces for about five days, one for every message I send
 to the list.
 
 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.
 ---

-- 
 Should the US government lift the export controls on strong encryption?
 Yes, I think so. You can buy better stuff in Europe than you can here.
 We don't have a monopoly on brains. 
 -- Interview with Walter Wriston as reported in Wired 4.10 
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46



Re: Strange Bounce

2001-05-02 Thread Peter van Dijk

On Wed, May 02, 2001 at 08:21:01PM +0200, Karsten W. Rohrbach wrote:
 it gets better and better ;-)
 they actually seem to have an [EMAIL PROTECTED] account, but the mta
 mutters about not being able to deliver since admin would point to
 multiple mailboxes.

postmaster@ bounces saying something about 'admin' and multiple
mailboxes.

I sent mail to [EMAIL PROTECTED] and haven't seen a bounce. Yet.

Greetz, Peter.



Weird delivered-to header

2001-05-02 Thread Hubbard, David

Hi all,
I received a spam earlier today from some lame
company at website-modules.com and when I was going
through the headers to see if it had come from an
open relay, I noticed a really odd Delivered-To header,
you'll see it below in the included section.

I searched through the qmail and vpopmail source code,
both of which we're running, and cannot find anything
like that so I don't think my server generated that.
It was delivered to me because I have a catch-all
account but I'd still like to figure out what happened.

The addr.com server is running sendmail.

Thanks for any help,

Dave


Return-Path: [EMAIL PROTECTED]
Delivered-To:
-error-5.7.1~DENIED,Maximum.messages.reached,please.try.back.in.30.minutes.@
mail.hostasaurus.com
Received: (qmail 1792 invoked from network); 2 May 2001 05:49:45 -
Received: from unknown (HELO addr21.addr.com) (209.249.147.220)
  by mail.hostasaurus.com with SMTP; 2 May 2001 05:49:45 -
Received: (from nobody@localhost)
by addr21.addr.com (8.11.1/8.9.1) id f425rWt66086;
Tue, 1 May 2001 22:53:32 -0700 (PDT)
(envelope-from nobody)
Date: Tue, 1 May 2001 22:53:32 -0700 (PDT)
Message-Id: [EMAIL PROTECTED]
From: Ryan Gibson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Business Development for hostasaurus.com


-Original Message-
From: Ryan Gibson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 1:54 AM
To: [EMAIL PROTECTED]
Subject: Business Development for hostasaurus.com


Hello,

[snip]



Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Karsten W. Rohrbach

Peter Farmer([EMAIL PROTECTED])@2001.05.02 15:50:13 +:
 On 16:54:34 - 02/05/01, Peter Peltonen wrote:
  
  Okay... It seems my problem was due to use of switches I didn't need and not
  really understanding what I was doing :) 
  
  Still I have two questions about ezmlm:
  
  1) how do I add a bunch of addresses to a list (locally or remotely)?
  
 I tried 'ezmlm-sub /home/test/lists/testlist temp' where temp was a file 
 that contained a bunch of addresses, but that did not work. 
  
  2) how do I delete a list (just rm away the .qmail files and the list dir?)
  
  
  Cheers,
  Peter
 
 Let me rephrase that, try
 
 cat temp | ezmlm-sub /home/test/lists/testlist

1)
thats the same like 'ezmlm-sub /path/to/list adress.txt' but wastes
more system resources by creating the process environment for cat.
the contents of the textfile go to stdin of ezmlm-sub in both cases and
this is actually what you want. do you have fully qualified email
adresses in your sourcefile? could you please doublecheck your
sourcefile for invalid email adresses?

2)
sounds reasonable. you might try something like
---
cd ~listuserid
mkdir .disabled
mv .qmail-listname* listname .disabled
---
which actually allows you to revive it again or browse the archives if
they exist. to stop servicing the list you could simply rename the
corresponding .qmail-listname* files to let's say .deactivated-listname*

/k

 
 where temp is a file containing an email on each line
 
 HTH
 
 -- 
 Peter Farmer [EMAIL PROTECTED]
 
 Senior Systems Engineer
 blueyonder - http://www.blueyonder.co.uk/

-- 
 Anxiety, n.: The first time you can't do it a second time.
 Panic, n.: The second time you can't do it the first time.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46



Coding scripts for QMAILQUEUE patch

2001-05-02 Thread José Luis Domingo López

Hi:

I would like to write some scripts to rewrite headers on incoming messages
received through qmail. I patched qmail with QMAILQUEUE patch, and now it
works OK. I know that Bruce Guenter's qmail-qfilter could be helpful here,
bit I would like to use QMAILQUEUE directly by now.

The question: is there some repository for filtering scripts using
QMAILQUEUE directly ?. A simple script that reads messages from qmail-smtpd
and passes them as-is to qmail-queue will be very helpful to me.

I'm sure this script is quite simple (maybe just opening a couple of fd
from which to read the messages from), but I'd like to get a working
script to build on it and learn (a bash script would be perfect :). 

Thank you.

-- 
José Luis Domingo López
Linux Registered User #189436 Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  = ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  = Spam at your own risk




Separating messages by size.

2001-05-02 Thread Rodrigo Severo

Hi,


I want to separate big messages and send them via a different
connection.

How can I do this?

Would maildrop help me in this case?

If I could send these big messages with a different source address it
would be perfect. Is it possible?


Rodrigo Severo



Re: [ezmlm] lock: file does not exist

2001-05-02 Thread Markus Stumpf

On Wed, May 02, 2001 at 08:30:12PM +0200, Karsten W. Rohrbach wrote:
 Peter Farmer([EMAIL PROTECTED])@2001.05.02 15:50:13 +:
 1)
 thats the same like 'ezmlm-sub /path/to/list adress.txt' but wastes
 more system resources by creating the process environment for cat.

This will *NOT* work (neither of both commands) with a vanilla ezmlm.
You need the ezmlm-idx patch for that.
If you do not have the ezmlm-idx patch applied you may try
xargs ezmlm-sub /path/to/list adress.txt

In any case ezmlm-sub will stop processing the bulk if it encounters an invalid
email address (e.g. addresses containing spaces which will result in
email addresses withou an '@' sign).
As xargs may start ezmlm-sub more than one time you may encounter
the problem that only a portion of the bulk is missing (i.e. the one
that contained an invalid address).

\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: Strange Bounce

2001-05-02 Thread Marco Calistri

I've been bombed too by this lesoleil and I put its MAILER-DAEMON
into my /var/qmail/control/badmailfrom ;)


--Marco.

On 02-May-2001 Charles Cazabon wrote:
 Tim Legant [EMAIL PROTECTED] wrote:
 
  PLEASE tell me this is a fluke... Or should I start looking for viruses?
  There was nothing else in the body of the message and no attachment.
 
 Each time I post, I get one of these. It's been happening for the last
 few days. I think lasoleil (?) is misconfigured.
 
 It's definitely misconfigured; not only is it sending bounce messages to
 the
 From: header instead of the envelope recipient, it fails to accept mail for
 postmaster, so we can't even inform them their mail setup is broken.  I've
 been getting these bounces for about five days, one for every message I send
 to the list.
 
 Charles



Re: Coding scripts for QMAILQUEUE patch

2001-05-02 Thread Jay Soffian

 jdomingo == jdomingo  Jos writes:

jdomingo I'm sure this script is quite simple (maybe just opening
jdomingo a couple of fd from which to read the messages from),
jdomingo but I'd like to get a working script to build on it and
jdomingo learn (a bash script would be perfect :).

Here's one I wrote in Perl that you should be able to get started
with: http://www.soffian.org/downloads/qmail/qqrbl

j.




Re: Strange Bounce

2001-05-02 Thread Markus Stumpf

On Wed, May 02, 2001 at 09:40:29PM +0200, Marco Calistri wrote:
 I've been bombed too by this lesoleil and I put its MAILER-DAEMON
 into my /var/qmail/control/badmailfrom ;)

Which will *SURELY NOT* work, as the envelope sender for bounces is 
and not mailer-daemon@... and badmailfrom does work with the envelope
sender and not into the From: field in the message header.

\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.



Filter incoming messages for one particualr user

2001-05-02 Thread Sean Brown
Hello list. Is this possible?:  Let's say I have a user "[EMAIL PROTECTED]", whose home directory is /home/mailuser. I want to set things up so that mailuser only accepts messages from one particular e-mail address. In other words, if the sender is any other address besides [EMAIL PROTECTED], mailuser will silently throw the message away. If the message is from [EMAIL PROTECTED], it completes the instructions in mailuser's .qmail file (which right now forwards to three other addresses).  Is this possible?  Thanks,  SeanGet your FREE download of MSN Explorer at http://explorer.msn.com


Re: Filter incoming messages for one particualr user

2001-05-02 Thread Charles Cazabon

Sean Brown [EMAIL PROTECTED] wrote:
 
 Let's say I have a user [EMAIL PROTECTED], whose home directory is
 /home/mailuser.  I want to set things up so that mailuser only accepts
 messages from one particular e-mail address.  In other words, if the sender
 is any other address besides [EMAIL PROTECTED], mailuser will silently
 throw the message away.  If the message is from [EMAIL PROTECTED], it
 completes the instructions in mailuser's .qmail file (which right now
 forwards to three other addresses).

Use a .qmail file; have the first instruction a program delivery (|) which
checks the contents of the SENDER environment variable (the envelope sender
address), and exits appropriately to control whether the remainder of the
.qmail file (containing an instruction for storing in a Maildir or mbox file)
is executed.

`man dot-qmail` and `man qmail-command` for details.

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.
---



[OT] procmail errors in qmail-smtp logs

2001-05-02 Thread Marco Calistri

I know to risk a rebuke to ask this but I'am completely uncertain
how-to cure this problem:

To filter and forward mail toward my LAN I installed procmail
and I add the line
| preline /usr/bin/procmail
into $HOME/.qmail

All is working as hoped but giving a look to my
/var/log/qmail/qmail-send/current,I see these lines:

@40003af065620a8fa2dc delivery 79: success:
procmail:_Renaming_bogus_mailbox
_/var/spool/mail/ik5bcu_info_/var/spool/mail/BOGUS.ik5bcu.KBE/procmail:_Coul
dn't_create_/var/spool/mail/ik5bcu/procmail:_Lock_failure_on_/var/spool/mail/
ik5bcu.lock/did_0+0+1/

Probably I should chmod my /var/spool/mail(?) but I don't know
if it is correct and which permission should I give.

To avoid further problems to the list,I think that replies
to my address would be preferable.

Sorry in advance!

-- 
Regards,: Marco Calistri [EMAIL PROTECTED]
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 7.1 kernel-2.4.2
--
Someone is unenthusiastic about your work.




RE: Filter incoming messages for one particualr user

2001-05-02 Thread Willy De la Court

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Wednesday, May 02, 2001 22:46, Sean Brown [SMTP:[EMAIL PROTECTED]] 
wrote:
 Hello list.  Is this possible?:

 Let's say I have a user [EMAIL PROTECTED], whose home directory is 
/home/mailuser.  I want to set things up so that mailuser only accepts 
messages from one particular e-mail address.  In other words, if the sender 
is any other address besides [EMAIL PROTECTED], mailuser will 
silently throw the message away.  If the message is from 
[EMAIL PROTECTED], it completes the instructions in mailuser's .qmail 
file (which right now forwards to three other addresses).

 Is this possible?

Yes with qtools http://www.superscript.com/qtools/intro.html

Willy De la Court
Quint Nv

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOvBrdP4IaGw3x6aJEQJMewCfQOSlJKoce3S0IcmJUkf0XGDmH1gAoLYP
lnlyAFroIeQx9GdGDsFQVlUw
=iI3p
-END PGP SIGNATURE-




Re: Filter incoming messages for one particualr user

2001-05-02 Thread Todd Finney

At 05:08 PM 5/2/01, Charles Cazabon wrote:
Sean Brown [EMAIL PROTECTED] wrote:
 if the sender
  is any other address besides [EMAIL PROTECTED], mailuser will 
 silently
  throw the message away.  If the message is from 
 [EMAIL PROTECTED], it
  completes the instructions in mailuser's .qmail file (which right 
 now
  forwards to three other addresses).

Use a .qmail file; have the first instruction a program delivery (|) 
which
checks the contents of the SENDER environment variable (the envelope 
sender
address), and exits appropriately to control whether the remainder of 
the
.qmail file (containing an instruction for storing in a Maildir or 
mbox file)
is executed.

You can  use iftocc, from the  mess822 package, to do this.  I just 
used it for the first time yesterday, tres cool.

http://cr.yp.to/mess822.html

Todd








Mail Stuck in Queue

2001-05-02 Thread Aaron Goldblatt

After resolving the POP slowdown issue with the help of some of the more 
polite folks here, I have developed a new problem.

All mail that gets queued for delivery simply sits in the queue and doesn't 
get delivered.  It doesn't matter if the mail is for local delivery, or is 
relay mail headed for a remote mail server.

What I am aware of changing:  I added -R and -H to tcpserver's command line, 
and I added my 10.x.x.x network to tcp.smtp.cdb.  I can now deliver mail via 
SMTP to rblsmtpd, and it does queue the mail, so I doubt the issue is in my 
tcp connection rules.

I am accepting connections with rblsmtpd with the no-TXT-records patch, and 
logging is being done by splogger to /var/log/messages.

There are no messages indicating anything related to qmail in syslog since 
the issue began, except for one notation where rblsmtpd rejected a message 
from a black holed site.

The line invoking rblsmtpd is (beware wordwrap):

/usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb \
   -u 1004 -g 2108 0 smtp /usr/local/bin/rblsmtpd -r 
blackholes.mail-abuse.org \
   -r dialups.mail-abuse.org \
   -r 'relays.mail-abuse.org:Open relay problem - see 
URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%' \
   /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 




I can see messages queueing in /var/qmail/queue/mess/*, but they are not 
delivered either locally or to a remote host (mail.swbell.net).

Through testing with other mail servers, I have determined that 
mail.swbell.net is operating normally -- it both sends and receives mail.  
I've sent test messages to my problem machine via mail.swbell.net and found 
them in my queue, waiting for local delivery.

/var/qmail/queue/lock/trigger has permissions as described in LWQ.

The home directories of the users on the system are owned by themselves.  
Some are world-readable, some are not.  None are world-writable:

drwx--   5 aaronusers4096 Feb 24 07:37 aaron
drwx--x--x   5 bluerose users4096 Feb 24 07:37 blueroses
drwx--x--x   5 boby users4096 Apr 11 21:32 boby
drwx--x--x   5 dhwork   users4096 Mar 16 01:48 dhwork
drwx--x--x   5 djh  users4096 Feb 24 07:38 djh
drwx--x--x   5 dnslog   users4096 Mar 24 08:25 dnslog
drwx--x--x   5 ebay users4096 Feb 24 07:38 ebay
drwx--x--x   5 friendof users4096 Feb 24 07:39 friendofbillw
drwx--x--x   5 gtg  users4096 Mar 29 09:37 gtg
drwx--x--x   5 listsusers4096 May  2 12:44 lists
drwx--x--x   6 netgeek  users4096 Apr 13 21:37 netgeek
drwx--x--x   6 rc5  users4096 Feb 25 08:56 rc5
drwx--x--x  17 rnbwpnt  users4096 Apr 29 05:56 rnbwpnt
drwx--x--x   6 shewolf  users4096 Apr 23 18:42 shewolf
drwx--x--x   5 shik users4096 Feb 24 07:41 shik
drwx--x--x   5 thesaint users4096 May  2 14:24 thesaint
drwx--x--x   5 vendors  users4096 Feb 24 07:42 vendors
drwx--x--x   5 viquiusers4096 Feb 24 07:42 viqui



This is the output from qmail-showctl:

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.
group ids: 2108, 2107.

badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is wndrgrl.goldblatt.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is goldblatt.net.
defaulthost: Default host name is goldblatt.net.
doublebouncehost: (Default.) 2B recipient host: wndrgrl.goldblatt.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is wndrgrl.goldblatt.net.
helohost: (Default.) SMTP client HELO host name is wndrgrl.goldblatt.net.
idhost: (Default.) Message-ID host name is wndrgrl.goldblatt.net.
localiphost: (Default.) Local IP address becomes wndrgrl.goldblatt.net.
locals:
Messages for localhost are delivered locally.
Messages for wndrgrl.goldblatt.net are delivered locally.
Messages for virtualhost.goldblatt.net are delivered locally.
Messages for goldblatt.net are delivered locally.
me: My name is wndrgrl.goldblatt.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is goldblatt.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at goldblatt.net.
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at wndrgrl.goldblatt.net.
SMTP clients may send messages to recipients at virtualhost.goldblatt.net.
SMTP clients may send messages to recipients at shikky.com.
SMTP clients may send messages to 

Re: Filter incoming messages for one particualr user

2001-05-02 Thread Markus Stumpf

On Wed, May 02, 2001 at 05:15:33PM -0400, Todd Finney wrote:
 You can  use iftocc, from the  mess822 package, to do this.

No, you can not.
The original poster wanted to check the *sender* not the recipient.

\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: Mail Stuck in Queue

2001-05-02 Thread Mark Delany

Is qmail running?

What does

ps aux | grep qmail

show?

(Or whatever ps is appropriate for your OS?)


Regards.

On Wed, May 02, 2001 at 09:30:17PM -, Aaron Goldblatt wrote:
 After resolving the POP slowdown issue with the help of some of the more 
 polite folks here, I have developed a new problem.
 
 All mail that gets queued for delivery simply sits in the queue and doesn't 
 get delivered.  It doesn't matter if the mail is for local delivery, or is 
 relay mail headed for a remote mail server.
 
 What I am aware of changing:  I added -R and -H to tcpserver's command line, 
 and I added my 10.x.x.x network to tcp.smtp.cdb.  I can now deliver mail via 
 SMTP to rblsmtpd, and it does queue the mail, so I doubt the issue is in my 
 tcp connection rules.
 
 I am accepting connections with rblsmtpd with the no-TXT-records patch, and 
 logging is being done by splogger to /var/log/messages.
 
 There are no messages indicating anything related to qmail in syslog since 
 the issue began, except for one notation where rblsmtpd rejected a message 
 from a black holed site.
 
 The line invoking rblsmtpd is (beware wordwrap):
 
 /usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb \
-u 1004 -g 2108 0 smtp /usr/local/bin/rblsmtpd -r 
 blackholes.mail-abuse.org \
-r dialups.mail-abuse.org \
-r 'relays.mail-abuse.org:Open relay problem - see 
 URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%' \
/var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 
 
 
 
 
 I can see messages queueing in /var/qmail/queue/mess/*, but they are not 
 delivered either locally or to a remote host (mail.swbell.net).
 
 Through testing with other mail servers, I have determined that 
 mail.swbell.net is operating normally -- it both sends and receives mail.  
 I've sent test messages to my problem machine via mail.swbell.net and found 
 them in my queue, waiting for local delivery.
 
 /var/qmail/queue/lock/trigger has permissions as described in LWQ.
 
 The home directories of the users on the system are owned by themselves.  
 Some are world-readable, some are not.  None are world-writable:
 
 drwx--   5 aaronusers4096 Feb 24 07:37 aaron
 drwx--x--x   5 bluerose users4096 Feb 24 07:37 blueroses
 drwx--x--x   5 boby users4096 Apr 11 21:32 boby
 drwx--x--x   5 dhwork   users4096 Mar 16 01:48 dhwork
 drwx--x--x   5 djh  users4096 Feb 24 07:38 djh
 drwx--x--x   5 dnslog   users4096 Mar 24 08:25 dnslog
 drwx--x--x   5 ebay users4096 Feb 24 07:38 ebay
 drwx--x--x   5 friendof users4096 Feb 24 07:39 friendofbillw
 drwx--x--x   5 gtg  users4096 Mar 29 09:37 gtg
 drwx--x--x   5 listsusers4096 May  2 12:44 lists
 drwx--x--x   6 netgeek  users4096 Apr 13 21:37 netgeek
 drwx--x--x   6 rc5  users4096 Feb 25 08:56 rc5
 drwx--x--x  17 rnbwpnt  users4096 Apr 29 05:56 rnbwpnt
 drwx--x--x   6 shewolf  users4096 Apr 23 18:42 shewolf
 drwx--x--x   5 shik users4096 Feb 24 07:41 shik
 drwx--x--x   5 thesaint users4096 May  2 14:24 thesaint
 drwx--x--x   5 vendors  users4096 Feb 24 07:42 vendors
 drwx--x--x   5 viquiusers4096 Feb 24 07:42 viqui
 
 
 
 This is the output from qmail-showctl:
 
 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.
 group ids: 2108, 2107.
 
 badmailfrom: (Default.) Any MAIL FROM is allowed.
 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
 bouncehost: (Default.) Bounce host name is wndrgrl.goldblatt.net.
 concurrencylocal: (Default.) Local concurrency is 10.
 concurrencyremote: (Default.) Remote concurrency is 20.
 databytes: (Default.) SMTP DATA limit is 0 bytes.
 defaultdomain: Default domain name is goldblatt.net.
 defaulthost: Default host name is goldblatt.net.
 doublebouncehost: (Default.) 2B recipient host: wndrgrl.goldblatt.net.
 doublebounceto: (Default.) 2B recipient user: postmaster.
 envnoathost: (Default.) Presumed domain name is wndrgrl.goldblatt.net.
 helohost: (Default.) SMTP client HELO host name is wndrgrl.goldblatt.net.
 idhost: (Default.) Message-ID host name is wndrgrl.goldblatt.net.
 localiphost: (Default.) Local IP address becomes wndrgrl.goldblatt.net.
 locals:
 Messages for localhost are delivered locally.
 Messages for wndrgrl.goldblatt.net are delivered locally.
 Messages for virtualhost.goldblatt.net are delivered locally.
 Messages for goldblatt.net are delivered locally.
 me: My name is wndrgrl.goldblatt.net.
 percenthack: (Default.) The percent hack is not allowed.
 plusdomain: Plus domain name is goldblatt.net.
 qmqpservers: (Default.) No QMQP servers.
 queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
 rcpthosts:
 SMTP clients may send messages to recipients at goldblatt.net.
 SMTP clients may send 

Re: Mail Stuck in Queue

2001-05-02 Thread Chris Johnson

On Wed, May 02, 2001 at 09:30:17PM -, Aaron Goldblatt wrote:
 All mail that gets queued for delivery simply sits in the queue and doesn't 
 get delivered.  It doesn't matter if the mail is for local delivery, or is 
 relay mail headed for a remote mail server.

Is qmail-send running? It doesn't sound like it is. 

What's the output of ps awwux | grep qmail?

Chris

 PGP signature


Re: serving other domains

2001-05-02 Thread Chris Johnson

On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
 i've got qmail setup as the mail server for my abc.com domain, and life
 is good. is it possible to have it also serve xyz.com? i only have one
 DSL line, so both abc.com and xyz.com would have to point to the same
 (static) ip#. is this possible? if so, can someone point me to some
 howto docs?

See http://cr.yp.to/qmail/faq.html

Chris

 PGP signature


Re: Mail Stuck in Queue

2001-05-02 Thread Charles Cazabon

Aaron Goldblatt [EMAIL PROTECTED] wrote:
 
 All mail that gets queued for delivery simply sits in the queue and doesn't 
 get delivered.
[...]
 ps aux shows this (again, beware wordwrap):
 
 root   242  0.0  0.2  1068  332 ?SApr30   0:01 
 /usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup 
 wndrg...qmaild9798  0.0  0.4  1356  556 ?S12:34   0:00 
 /usr/local/bin/tcpserver -R -H -x /etc/tcprules/tcp.smtp.cdb -u 1004 ...
 root  9799  0.0  0.2  1056  292 ?S12:34   0:00 
 /var/qmail/bin/splogger smtpd 3

qmail-send isn't running (the part that actually takes messages out of the
queue, and delivers them locally or remotely).  Run your qmail-start script or
equivalent, or issue an appropriate command to svscan.

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: serving other domains

2001-05-02 Thread Charles Cazabon

montgomery f. tidwell [EMAIL PROTECTED] wrote:
 
 i've got qmail setup as the mail server for my abc.com domain, and life
 is good. is it possible to have it also serve xyz.com? i only have one
 DSL line, so both abc.com and xyz.com would have to point to the same
 (static) ip#. is this possible?

Yes.

 if so, can someone point me to some howto docs?

The documentation included in the source tarball covers this (basic) issue.
If you have further problems, read everything you can find at cr.yp.to and
qmail.org.

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: serving other domains

2001-05-02 Thread Peter van Dijk

On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
 Howdy,
 
 i've got qmail setup as the mail server for my abc.com domain, and life
 is good. is it possible to have it also serve xyz.com? i only have one
 DSL line, so both abc.com and xyz.com would have to point to the same
 (static) ip#. is this possible? if so, can someone point me to some
 howto docs?

Read the bits on virtual domains in the FAQ.

http://cr.yp.to/qmail.html and http://www.qmail.org/ are good starting
points.

qmail can do what you want easily in several different ways.

Greetz, Peter.



Re: Mail Stuck in Queue

2001-05-02 Thread Tim Legant

On Wed, May 02, 2001 at 09:30:17PM -, Aaron Goldblatt wrote:
 As I indicated, syslog shows noting useful.  Just lots of me logging in via 
 SSH and su'ing to root.  No qmail-related entries, save the rbl rejection, 
 since 4/30/01 at quarter past noon.

This is in /var/log/messages, right? Try looking at /var/log/maillog. If
there is no such thing, check the contents of /etc/syslog.conf to figure
out where 'mail' messages are being sent.

 ps aux shows this (again, beware wordwrap):
 
 root   242  0.0  0.2  1068  332 ? S Apr30  0:01 /usr/local/bin/tcpserver -R -H 0 110 
/var/qmail/bin/qmail-popup wndrg...
 qmaild 9798 0.0  0.4  1356  556 ? S 12:34  0:00 /usr/local/bin/tcpserver -R -H -x 
/etc/tcprules/tcp.smtp.cdb -u 1004 ...
 root   9799 0.0  0.2  1056  292 ? S 12:34  0:00 /var/qmail/bin/splogger smtpd 3

How did you generate this output? In other words, did you run

ps aux | grep qmail

or did you just run 'ps aux' and cut-n-paste the relevant parts? The
reason I ask is that you are not showing the following entries:

qmails 223  0.0  0.6   936  384 con- I Fri01AM  0:58.06 qmail-send
root   240  0.0  0.4   880  264  ??  I Fri01AM  0:07.17 qmail-lspawn ./Maildir/
qmailr 241  0.0  0.6   892  364  ??  I Fri01AM  0:03.92 qmail-rspawn
qmailq 242  0.0  0.5   868  292  ??  I Fri01AM  0:10.63 qmail-clean

These are created when you run 'qmail-start' through one of your system
startup scripts. Normally that script is a copy of one of the files in
/var/qmail/boot . I don't know what OS you're running, so I can't tell
you where to look, but you should have such a script.

Those 4 programs are the programs that actually control mail delivery,
both locally (qmail-lspawn) and remotely (qmail-rspawn). They need to be
running.

Tim
-- 
* * * | 1) It's SLOW!-- man tcpserver - especially -R,-H,-l
qmail | 2) Roaming users -- http://www.lifewithqmail.org/lwq.html#relaying
 FAQS | 3) Secondary MX  -- list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail  -- # line ONLY, in appropriate .qmail file



Re: Mail Stuck in Queue

2001-05-02 Thread Aaron Goldblatt

What's the output of ps awwux | grep qmail?

For both Mr. Johnson and Mr. Delaney (whose message is now queued):

root@wndrgrl:~/qmail-1.03# ps awwux|grep qmail
root   242  0.0  0.2  1068  332 ?SApr30   0:01 
/usr/local/bin/tcpserver -R -H 0 110 /var/qmail/bin/qmail-popup 
wndrgrl.goldblatt.net /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
qmaild   14559  0.0  0.4  1356  556 pts/1S16:28   0:00 
/usr/local/bin/tcpserver -x /etc/tcprules/tcp.smtp.cdb -u 1004 -g 2108 0 
smtp /var/qmail/bin/qmail-smtpd
root 14560  0.0  0.2  1056  292 pts/1S16:28   0:00 
/var/qmail/bin/splogger smtpd 3
root@wndrgrl:~/qmail-1.03#


So apparently qmail-send isn't running.

But based on the qmail pictures at crypto, qmail-send is triggered by 
qmail-queue.  I suppose I'm misinterpreting triggered to mean spawned or 
forked, when it means signaled?

As I write this I'm also investigating the supervise scripts (section 
2.8.2.2) at LWQ; am I correct in believing that correctly installing qmail 
under supervise (rather than rc.d as now) would resolve my issue, and that 
qmail-send would then go about unsticking my queue?

Thank you.

ag
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Round Robin Distribution List

2001-05-02 Thread Fares Gianluca
 smime.p7m


Re: serving other domains

2001-05-02 Thread Tim Legant

On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
 i've got qmail setup as the mail server for my abc.com domain, and life
 is good. is it possible to have it also serve xyz.com? i only have one
 DSL line, so both abc.com and xyz.com would have to point to the same
 (static) ip#. is this possible? if so, can someone point me to some
 howto docs?

The DNS MX record for xyz.com needs to point to your machine (not an IP
address but a machine name - if abc.com works, then you have already set
this up correctly once).

1. Add xyz.com:someuser to /var/qmail/control/virtualdomains (no quotes).

   This means you want all mail for that virtual domain to go to
   someuser, who is a local user on your system. Let's say it's bob.
   When someone sends mail to [EMAIL PROTECTED], qmail will deliver it to the
   user bob. Bob should have a ~bob/.qmail-default to catch all mail for
   that domain or, if he wants to separate it, he could have a
   ~bob/.qmail-info file to catch the [EMAIL PROTECTED] address.

2. Send a HUP signal to qmail-send (kill -HUP process-id-for-qmail-send)

3. Add xyz.com to /var/qmail/control/rcpthosts to indicate that you
   will accept mail for that domain.

That's it. This is just a slight expansion on the following entry in the
qmail FAQ: http://cr.yp.to/qmail/faq/incominghost.html#virtual

man dot-qmail for information about how extension addresses
(~/.qmail-info) work.

If you want to have mail for xyz.com delivered to multiple users on
your system, look into either vpopmail or vmailmgr. You can find
references to them at http://www.qmail.org/ . They each have their own
mailing lists for support.

Tim
-- 
* * * | 1) It's SLOW!-- man tcpserver - especially -R,-H,-l
qmail | 2) Roaming users -- http://www.lifewithqmail.org/lwq.html#relaying
 FAQS | 3) Secondary MX  -- list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail  -- # line ONLY, in appropriate .qmail file



Re: Filter incoming messages for one particualr user

2001-05-02 Thread Todd Finney

At 05:33 PM 5/2/01, Markus Stumpf wrote:
On Wed, May 02, 2001 at 05:15:33PM -0400, Todd Finney wrote:
  You can  use iftocc, from the  mess822 package, to do this.

No, you can not.
The original poster wanted to check the *sender* not the recipient.

Bah.

That makes me 0-2 for the past month.  I'll shut my pie-hole now.

Todd




Re: serving other domains

2001-05-02 Thread montgomery f. tidwell

Howdy,

ok that seemed fairly easy to follow, however:

when i create a rcpthosts, and then try to send mail (to a non
abc.com/xyz.com)
address, i get a message: sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1).

also, how do i setup users for xyz.com? what if i have [EMAIL PROTECTED] and 
[EMAIL PROTECTED]?


 \\//_


Chris Johnson wrote:
 
 On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
 
 See http://cr.yp.to/qmail/faq.html



Re: serving other domains

2001-05-02 Thread Tim Legant

On Wed, May 02, 2001 at 03:34:17PM -0700, montgomery f. tidwell wrote:
 ok that seemed fairly easy to follow, however:
 
 when i create a rcpthosts, and then try to send mail (to a non
 abc.com/xyz.com)
 address, i get a message: sorry, that domain isn't in my list of allowed
 rcpthosts (#5.7.1).

rcpthosts only controls what domains you can *receive* mail for. If you
want to relay mail through SMTP using a client such as Outlook or
Eudora, you need to set up selective relaying. Read the man page for
tcpserver and check out #2, below.

Tim
-- 
* * * | 1) It's SLOW!-- man tcpserver - especially -R,-H,-l
qmail | 2) Roaming users -- http://www.lifewithqmail.org/lwq.html#relaying
 FAQS | 3) Secondary MX  -- list in rcpthosts, NOT in locals/virtualdomains
* * * | 4) Discard mail  -- # line ONLY, in appropriate .qmail file



Re: Strange Bounce

2001-05-02 Thread Marco Calistri

It works half a way:I see fetchmail passes undesired mail to qmail
that accept it but then such a mail never arrives into my Mailbox(!)
my /var/qmail/control/badmailfrom:

[EMAIL PROTECTED]

So now wonder where those badmail goes?

/Marco

On 02-May-2001 Markus Stumpf wrote:
 On Wed, May 02, 2001 at 09:40:29PM +0200, Marco Calistri wrote:
 I've been bombed too by this lesoleil and I put its MAILER-DAEMON
 into my /var/qmail/control/badmailfrom ;)
 
 Which will *SURELY NOT* work, as the envelope sender for bounces is 
 and not mailer-daemon@... and badmailfrom does work with the envelope
 sender and not into the From: field in the message header.
 
   \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: Strange Bounce

2001-05-02 Thread Charles Cazabon

Marco Calistri [EMAIL PROTECTED] wrote:
  I've been bombed too by this lesoleil and I put its MAILER-DAEMON
  into my /var/qmail/control/badmailfrom ;)

  Which will *SURELY NOT* work, as the envelope sender for bounces is 
  and not mailer-daemon@... and badmailfrom does work with the envelope
  sender and not into the From: field in the message header.

 It works half a way:I see fetchmail passes undesired mail to qmail
 that accept it but then such a mail never arrives into my Mailbox(!)
 my /var/qmail/control/badmailfrom:
 
 [EMAIL PROTECTED]
 
 So now wonder where those badmail goes?

You're almost certainly losing _all_ mail with empty envelope sender,
including all bounce messages, and perhaps other automated types of mail.
Your fetchmail configuration is broken.  If you care about lost mail, fix it,
or perhaps try my replacement, getmail.

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: timeout downloading mail while connecting to the server using dial-up

2001-05-02 Thread Nick (Keith) Fish

Christian DRESSEND wrote:

 The problem is not whn looking for the server or for the messages, but
 during download. It stops responding in the middle of messages in case of
 large messages 100kbyte using dial-up, when the connection speed is low
 (MODEM) so the downloads last longer.
 
 Christian

Ahh . ..  I don't know about everyone else here; but I have never gotten big
messages do download or upload via e-mail on a dial-up connection.  I always
assumed that the speed of the type of transfer used by POP1 (ASCII?) degraded
over time.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



1. can't exceed 257 conc? 2. can't exceed 5600 Bccs?

2001-05-02 Thread Brett

I have two problems.

Problem #1:
I've installed the big concurrency patch successfully and yet I cannot get
above 257 connections at once. I'm using Debian Linux 2.2.18pre21 and from
what I read, it should be quite possible to adjust the maximum processes per
user through 'limit' (or 'ulimit' depending on the shell) rather than
adjusting and recompiling the kernel. Well, I'm root, I do the adjustments
to limit ('limit maxproc 1000') but when I check the logs, qmail never gets
above 257 concurrency (256 is the default limit of maxproc). I do a 'limit'
before and after I run my script and get the following output each time:

cputime unlimited
filesizeunlimited
datasizeunlimited
stacksize   8192 kbytes
coredumpsize0 kbytes
memoryuse   unlimited
descriptors 1
memorylockedunlimited
maxproc 1000
openfiles   1

So the limit adjustment is sticking and yet it's being ignored. I thought at
one point that maybe when I change the limit as root it doesn't apply to
user qmailr (the user opening all the connections) but when I 'su qmailr'
and check 'limit' I get the same updated numbers so that doesn't seem to be
the problem. In the logfiles, the error I get at 257 concurrent connections
is this:

May  2 16:21:07 debian qmail: 988845667.036121 status: local 0/10 remote
257/500
May  2 16:21:07 debian qmail: 988845667.036150 delivery 44180: deferral:
qmail-spawn_unabl
e_to_fork._(#4.3.0)/
May  2 16:21:07 debian qmail: 988845667.036176 status: local 0/10 remote
256/500
May  2 16:21:07 debian qmail: 988845667.036210 delivery 43746: success:
64.4.56.199_accept
ed_message./Remote_host_said:_250_Requested_mail_action_okay,_completed/

qmail-spawn unable to fork pretty much tells me it's a linux resource
problem. Okay, but what are 'limit' and 'ulimit' for if the adjustments I
make to them are ignored? I realize this is more of a Linux question than a
qmail one but at the same time, I know it's something many qmail users must
have run into so I'm hoping I can get some feedback. Thanks.


Problem #2:

Is there a limit on the maximum number of Bccs you can have for a single
message? I ask because somewhere between 5600 and 5700 Bccs qmail-inject
stops trying. That is, I can send one message Bcced to 5600 people fine. But
when I try to send the same message Bcced to 5700 people, qmail doesn't even
try. The logs don't show that anything took place whatsoever. I suppose this
could be another Linux resource issue but then wouldn't qmail at least try
to send the message and then give me an error like it does above when it
can't fork? Also puzzling is the fact that I *can* do this: call
qmail-inject twice in a row, each time with 5600 recipients and qmail sends
all 11200 messages fine.

Here's qmail-showctl:

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.
group ids: 1001, 64010.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is debian.wnrg.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: Remote concurrency is 500.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is wnrg.com.

defaulthost: (Default.) Default host name is debian.wnrg.com.

doublebouncehost: (Default.) 2B recipient host: debian.wnrg.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is debian.wnrg.com.

helohost: (Default.) SMTP client HELO host name is debian.wnrg.com.

idhost: (Default.) Message-ID host name is debian.wnrg.com.

localiphost: (Default.) Local IP address becomes debian.wnrg.com.

locals:
Messages for debian.wnrg.com are delivered locally.
Messages for debian.wnrg.com are delivered locally.

me: My name is debian.wnrg.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is wnrg.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at wnrg.com.
SMTP clients may send messages to recipients at debian.wnrg.com.
SMTP clients may send messages to recipients at debian.wnrg.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 debian.wnrg.com.

smtproutes:
SMTP route: debian.wnrg.com:mail.wnrg.com

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.


Thanks in advance to anyone patient enough to read through all this and at
least point me in the 

Success magazine says, We create millionaires!!

2001-05-02 Thread Cliff

Is your business a very profitable one?

Is it making you all the money that you need?

Do you need a little bit MORE?

READ ON, IT WILL CHANGE YOUR LIFE!!!
It will only take a few minutes.
You won't regret it!!
$$

Dear Friend:

Making over half million dollars every 4 to 5 months from your home for an
investment of only $25 U.S. Dollars expense one time

THANKS TO THE COMPUTER AGE AND THE INTERNET!
===

BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR !!

Before you say Bull , please read the following. This is the letter you have
been hearing about on the news lately. Due to the popularity of this letter on
the internet, a national weekly news program recently devoted an entire show
to the investigation of this program described below , to see if it really can
make people money.

The show also investigated whether or not the program was legal. Their findings
proved once and for all that there are absolutely no laws prohibiting the
participationin the program and if people can follow the simple instructions, 
they are bound to make some mega bucks with only $25 out of pocket cost.

DUE TO THE RECENT INCREASE OF POPULARITY  RESPECT THIS PROGRAM HAS ATTAINED,
IT IS CURRENTLY WORKING BETTER THAN EVER.

This is what one had to say:

Thanks to this profitable opportunity. I was approached many times before but
each time I passed on it. I am so glad I finally joined just to see what one
could expect in return for the minimal effort and money required. To my
astonishment, I received total $ 610,470.00 in 21 weeks, with money still coming in. 
Pam Hedland, Fort Lee, New Jersey.

-

Here is another testimonial:

This program has been around for a long time but I never believed in it. But
one day when I received this again in the mail I decided to gamble my $25 on
it. I followed the simple instructions and walaa . 3 weeks later the money
started to come in. First month I only made $240.00 but the next 2 months after
that I made a total of $290,000.00. So far, in the past 8 months by re-entering
the program,I have made over $710,000.00 and I am playing it again. The key to
success in this program is to follow the simple steps and NOT change anything
. More testimonials later but first,

** PRINT THIS NOW FOR YOUR FUTURE REFERENCE ***

$$$
If you would like to make at least $500,000 every 4 to 5 months easily and
comfortably, please read the following...THEN READ IT AGAIN and AGAIN !!!
$$$

FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE,
GUARANTEED!

INSTRUCTIONS:

 Order all 5 reports shown on the list below. 

For each report, send $5 CASH, THE NAME  NUMBER OF THE REPORT YOU ARE ORDERING
and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to
the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER
in case of any mail problems.

 When you place your order, make sure you order each of the 5 reports. You
will need all 5 reports so that you can save them on your computer and resell
them. YOUR TOTAL COST $5 X 5 = $25.00.

 Within a few days you will receive, via e-mail, each of the 5 reports from
these 5 different individuals. Save them on your computer so they will be
accessible for you to send to the 1,000's of people who will order them from you. 
Also make a floppy of these reports and keep it on your desk in case something 
happen to your computer.

.IMPORTANT - DO NOT alter the names of the people who are listed next to
each report, or their sequence on the list, in any way other than what is
instructedbelow in steps 1 through 6 or you will loose out on majority of your 
profits. Once you understand the way this works, you will also see how it does 
not work if you change it. Remember, this method has been tested, and if you alter, 
it will NOT work!!! People have tried to put their friends/relatives names on all
five thinking they could get all the money. But it does not work this way.
Believe us, we all have tried to be greedy and then nothing happened. So Do Not 
try to change anything other than what is instructed. Because if you do, it 
will not work for you. Remember, honesty reaps the reward!!!

1.. After you have ordered all 5 reports, take this advertisement and REMOVE
the name  address of the person in REPORT # 5. This person has made it through
the cycle and is no doubt counting their fortune.

 2 Move the name  address in REPORT # 4 down TO REPORT # 5.

3 Move the name  address in REPORT # 3 down TO REPORT # 4.

4 Move the name  address in REPORT # 2 down TO REPORT # 3.

5 Move the name  address in REPORT # 1 down TO REPORT # 2

6 Insert YOUR name  address in the REPORT # 1 Position. PLEASE MAKE SURE
you copy every name  

vpopmail + quotas

2001-05-02 Thread Javier Vino R.


hello,

Anyone know how to setup  qmail + vpopmail with differents quotas for each user ?

thanks


JVino




how to run two qmail-smtpd

2001-05-02 Thread lkhanna

I have implemented footer on my qmail-smtpd file and its working fine.

But its working for all incoming and outgoing mail, But i want that footer
should apply only on my outgoing mail.
I believe i have to run two qmail-smtpd, one with footer( for outgoing
smtp ) and
other without footer ( for incoming smtp )

But i don't know how can i run 2 qmail-smtpd .

Can anyone tell me how can i do this

Regards

lokesh





Re: Round Robin Distribution List

2001-05-02 Thread Magnus Bodin

On Thu, May 03, 2001 at 12:10:52AM +0200, Fares Gianluca wrote:

I would like to use a round robin distribution list.

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  should be forward all
incoming messages to some people using this simple rule:
the first message should be forwarded to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] , the next one to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] , the next to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  the next to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  and so on

The server domain.com is running:
qmail, vpopmail, ezmlm and ezmlm-idx

I'm trying to use a simple script in .qmail-support that replace the
forward instruction each time, but i think that it isnt a good solution.

Why? It's cool enough for three persons.

Otherwise:

echo | roundrobin.pl supportpersonell.txt  .qmail-support

and in supportpersonell.txt you have the email-addresses in order,
line by line, like this:

[EMAIL PROTECTED]
[EMAIL PROTECTED]

etc.


It will be used and rotated by roundrobin.pl

roundrobin.pl:
===
#!/usr/bin/perl
# roundrobin.pl; (c) [EMAIL PROTECTED]; http://x42.com/; 2001-05-03
#
my $path = shift @ARGV;
my @addr;
open(FH, $path) or do { print Couldn't get address.; exit(100); };
flock(FH, 2) or exit(111); # retry later
my $current = FH;
while (FH)
{
chomp;
s/^\s+//g;
s/\s+$//g;
if (length($_))
{
push @addr, $_;
}
}
open(FH, $path);
for (@addr)
{
print FH $_\n;
}
print FH $current\n;
close(FH);
qx(forward $current);


/magnus

--
:.   Magnus Bodin
:::..   http://x42.com/
::.   
oelntrisa=mpdhc.;@gb:,10/)x(2y$fwkq#3+v5z!?4



Using /users assign file with mailing list

2001-05-02 Thread David Coley

I have a small problem with one of our accounts.  We have a user account set
up for one of our mailing lists (/home/vcpphelp).  We are using the User
Table method for assigning where qmail delivers e-mail to.  The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:

=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::

to /var/qmail/users/assign qmail reports in the error logs:

May  3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May  3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May  3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May  3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50

So as you can see it's loking for a Maildir instead.

What can I do to get around this problem... thanks

David Coley



RE: Using /users assign file with mailing list

2001-05-02 Thread David Coley

Sorry people,

I just realized what I did wrong.  I'm so use to setting up e-mail lists as
sub-users on domains that I miswrote the .qmail file name in the ezmlm-make
command.  changing all the .qmail files from .qmail-vcpphelp-* to .qmail-*
fixed the problems... sorry.

David Coley

-Original Message-
From: David Coley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 1:41 AM
To: [EMAIL PROTECTED]
Subject: Using /users assign file with mailing list


I have a small problem with one of our accounts.  We have a user account set
up for one of our mailing lists (/home/vcpphelp).  We are using the User
Table method for assigning where qmail delivers e-mail to.  The problem is
that for all of our other accounts we use /Maildir, except for this mailing
list account... we want it to use the standard ezmlm .qmail file instead.
However when I add:

=vcpphelp:vcpphelp:501:501:/home/vcpphelp:-::
+vcpphelp-:vcpphelp:501:501:/home/vcpphelp:-::

to /var/qmail/users/assign qmail reports in the error logs:

May  3 01:06:56 dev qmail: 988866416.131424 starting delivery 2: msg 391366
to local [EMAIL PROTECTED]
May  3 01:06:56 dev qmail: 988866416.131598 status: local 1/120 remote 0/50
May  3 01:06:56 dev qmail: 988866416.140934 delivery 2: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May  3 01:06:56 dev qmail: 988866416.141080 status: local 0/120 remote 0/50

So as you can see it's loking for a Maildir instead.

What can I do to get around this problem... thanks

David Coley