Re: Deny Relay, Accept local

2001-03-15 Thread mick

Ok, thats better. Abuse.net wouldn't go past that first test I listed.
Thanks Muhammad.

On Thu, 15 Mar 2001, Muhammad Ichsan wrote:

> May be my report will help you. I was tested the host
> (leviathan-tu1.mtco.com)
> for relaying from my host. Here is the report :
> 
> 220 MTCO ESMTP
> helo mtco.com
> 250 MTCO
> mail from:[EMAIL PROTECTED]
> 250 ok
> rcpt to:[EMAIL PROTECTED]
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> rcpt to:[EMAIL PROTECTED]
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> rcpt to:[EMAIL PROTECTED]
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> 
> So, if the domain of recipient address is not in your rcpthosts or
> virtualdomain,
> it will be rejected. And it means your qmail server was not an open relay.
> 
> regards,
> 
> --M. Ichsan--
> 
> > Here is the output from another:
> > >>> RSET
> > <<< 250 flushed
> > >>> MAIL FROM:<[EMAIL PROTECTED]>
> > <<< 250 ok
> > >>> RCPT TO:<[EMAIL PROTECTED]>
> > <<< 250 ok
> > >>> DATA
> > <<< 354 go ahead
> > >>> (message body)
> > <<< 250 ok 984601860 qp 25826
> >   This one isn't as clear, because it's sending to a local address which
> > is ok. The first test outputs in html so it's pretty ugly to cut and
> > paste.
> >   Really I'm just looking to ease my mind and confirm with 100% certainty
> > that I'm not an open relay in any way.
> 
> 
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: Qmail Errors in Log Files

2001-03-15 Thread Sean Chittenden

Don't forget to check your /etc/inetd.conf.  I've seen a few
installs recently that were calling qmail from inetd.  -sc

On Wed, Mar 14, 2001 at 10:56:04PM -0800, Randy Jordan wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> From: "Randy Jordan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Qmail Errors in Log Files
> Date: Wed, 14 Mar 2001 22:56:04 -0800
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.50.4522.1200
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> 
> my qmail logs have thousands of these errors   
> 
> "40003ab04bb822ed854c tcpserver: fatal: unable to bind: address already used"   
> 
> I see hundreds of people with this same error and the same answers seem to always 
>pop up"make sure something else is not using the port, or make sure sendmail is 
>not running" i do not have sendmail running, when i telnet to localhost 25 i see this 
> 
> "Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> 220 mail.mydomain.com ESMTP"
> 
> There has got to be a way to fix this there is just to many people with the same 
>problem.
> 
> Thanks
> Randy Jordan

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


rotated multilogs are u+x?

2001-03-15 Thread Todd A. Jacobs

I was noticing that all the saved multilog files have the following
permissions:

-rwxr--r--

The "current" log does not have this bit set. Why do the old logs need the
executable bit set?

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





qmail Digest 15 Mar 2001 11:00:01 -0000 Issue 1304

2001-03-15 Thread qmail-digest-help


qmail Digest 15 Mar 2001 11:00:01 - Issue 1304

Topics (messages 59047 through 59113):

Incoming / Outgoing Rules
59047 by: Sumith
59054 by: Charles Cazabon
59056 by: Dean Mumby

qmail reusing msg numbers - is this normal ?
59048 by: Greg Cope
59053 by: Mark Delany
59064 by: Greg Cope

Deny Relay, Accept local
59049 by: mick
59050 by: Johan Almqvist
59081 by: mick
59082 by: Charles Cazabon
59084 by: mick
59087 by: Charles Cazabon
59088 by: mick
59089 by: Charles Cazabon
59090 by: FMIPA Student
59107 by: Muhammad Ichsan
59110 by: mick
59111 by: mick

Re: block unknown hosts
59051 by: Charles Cazabon
59060 by: Eric Pretorious
59067 by: Markus Stumpf

Re: can't receive the mail I've sent to myself
59052 by: Charles Cazabon

Messages Won't Remove From Queue
59055 by: Bill Luckett
59057 by: Chris Johnson
59058 by: Charles Cazabon

Re: qmail help, virt domains and catch all
59059 by: Inthereal
59063 by: Pawel Garbowski

Re: First time with qmail
59061 by: Lucas

Re: Newbies to qmail...
59062 by: dyu

Re: qmail and mailman problems
59065 by: Greg White

1) qmail-scanner -- 2) QSBMF format messages
59066 by: José Carreiro

listing subscribed users
59068 by: Giuliano Vilardo
59071 by: Jörgen Persson

another port as 25
59069 by: Gustav-Martin Olsen
59070 by: Charles Cazabon
59072 by: Jörgen Persson
59073 by: Michael Peppard
59076 by: Markus Stumpf
59077 by: Mario Thaten
59080 by: Charles Cazabon
59083 by: Gustav-Martin Olsen
59085 by: Jörgen Persson
59086 by: Henning Brauer

Re: no local delivery???
59074 by: George Georgalis
59078 by: Mark Delany

Re: CRAM-MD5 vs APOP MD5 digest in checkpassword
59075 by: Markus Stumpf

load/stress testing
59079 by: Dave Weiner

Re: QmailAdmin in spanish?
59091 by: Ross Cooney

pop-before-smtp clients
59092 by: Ross Cooney
59093 by: Virginia Chism
59094 by: Greg White

Problem communicating with qmail smtpd
59095 by: Ben Friday
59096 by: Charles Cazabon

Confused about virtual users and pop3
59097 by: Todd A. Jacobs

CHECKATTACH 0.4.5
59098 by: Noel Mistula

How to prevent smtp from accepting blank From: field
59099 by: Manvendra Bhangui
59101 by: Manvendra Bhangui
59109 by: Jörgen Persson

Edit error messages
59100 by: Mike  A. Sauvain
59103 by: Jörgen Persson

How to convert old mail data ?
59102 by: ONE
59106 by: Jörgen Persson

Qmail Errors in Log Files
59104 by: Randy Jordan
59105 by: Henning Brauer
59108 by: Jörgen Persson
59112 by: Sean Chittenden

rotated multilogs are u+x?
59113 by: Todd A. Jacobs

Administrivia:

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

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

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

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


--






  
  Hello All
   
  Isn't there a easier way of sending a copy of all 
  outgoing mails from Qmail..than what is mentioned in the FAQI mean with 
  out recompiling qmail
   
  - Sumith
   
  How do I keep a copy of all 
  incoming and outgoing mail messages? 
  Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 
  in extra.h. Recompile qmail. Put ./msg-log into 
  ~alias/.qmail-log. 
  You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every 
  message: run  | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'
from ~alias/.qmail-log. 



Sumith <[EMAIL PROTECTED]> wrote:
> 
> Isn't there a easier way of sending a copy of all outgoing mails from
> Qmail..than what is mentioned in the FAQI mean with out recompiling qmail

No.  The way in the FAQ is very easy -- thirty seconds to edit one file,
and recompiling on any reasonably modern machine will take a minute or
less, since only the changed files need to be recompiled.  You then spend
thirty seconds creating a ~alias/.qmail-msglog file, and you're done.

How much easier could it be?

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




What if you installed qmail-1.03+patches-18.src.rpm ?
- Original Message -
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: "Qmail" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 4:36 PM

filtering

2001-03-15 Thread Yves Caetano

hi,

i am using qmail 1.03 with spamcontrol.

i make some filterings in the controlfiles badmailpatterns and
badrcptpatterns.

but there some filtering that i don't know how to do them like:

filtering emails which are quoted lioke <"[EMAIL PROTECTED]">

or something like <@domain.com>

or 

how can i filter these out!

thanks a lot for the help

best regards

Yves Caetano
--
Yves Caetano
Server Support Engineer
Tel: 295383 254
Fax: 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu



recordio, but not the whole message

2001-03-15 Thread Michael T. Babcock

I would like to be able to stop recordio after a certain number of lines
and/or after the first empty line (end of headers) to be able to record
the headers of all messages in the logs, but not the bodies, and more
importantly, not the attachments.

Is there any way I could pipe the output from recordio through another
program in the midst of my /service/smtp/run script's series of pipes, or
should I write an external script / program to handle it?




pop3

2001-03-15 Thread richard morris



Hi all,
 
our server lost power, after it came up, 
it accepts smtp, but when checking mail, it connects but then the server 
terminates the connection (it's as if the pop service isn't running)? the logs 
don't show anything either.
 
Thanks,
Richard.
 
 
 


POP-3 slow reaction

2001-03-15 Thread Vadik

Hi everyone,
Linux RH 6.0 host+QMAIL(tcpserver+checkpassword)

I've got a sort of problem:
A client, triyng to connect to POP-3 server stays at CONNECTING TO
HOST...for about 40-70 sec. And then takes it's mail. Sometimes it
connects faster. Sometimes not.

What exactly should I look at to check it out?

wbr,
Vadim





RE: POP-3 slow reaction

2001-03-15 Thread Jankok, Lucio

try this option to tcpserver -RHL 0


: -Original Message-
: From: Vadik [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, March 15, 2001 1:09 PM
: To: [EMAIL PROTECTED]
: Subject: POP-3 slow reaction
: 
: 
: Hi everyone,
: Linux RH 6.0 host+QMAIL(tcpserver+checkpassword)
: 
: I've got a sort of problem:
: A client, triyng to connect to POP-3 server stays at CONNECTING TO
: HOST...for about 40-70 sec. And then takes it's mail. Sometimes it
: connects faster. Sometimes not.
: 
: What exactly should I look at to check it out?
: 
: wbr,
: Vadim
: 
: 



When list ends

2001-03-15 Thread Giuliano Vilardo



Hi goodfellas 
 
I need to know just one thing 
 
I´m using ezmlm to manage my lists, I need to know when, for 
example my main list ( BIGLIST) finish.
 
I mean when all the mail had been gone.
 
 
Regards
 
Giuliano


Re: When list ends

2001-03-15 Thread Peter van Dijk

On Thu, Mar 15, 2001 at 09:39:14AM -0300, Giuliano Vilardo wrote:
> Hi goodfellas 
> 
> I need to know just one thing 
> 
> I´m using ezmlm to manage my lists, I need to know when, for example my main list ( 
>BIGLIST) finish.
> 
> I mean when all the mail had been gone.

Look for the msg number in your qmail log. The moment you see 'end msg
12345' (with the right number, ofcourse) it's done.

Greetz, Peter.



RE: Confused about virtual users and pop3

2001-03-15 Thread "Próspero, Esteban"

I suggest you to take a look at http://www.inter7.com and specially 
- vpopmail
- qmailadmin
- sqwebmail

There're also mailing list for each of these sw packages.


Esteban Javier Próspero
> From: Todd A. Jacobs [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 11:54 PM
> To:   qmail list
> Subject:  Confused about virtual users and pop3
> 
> As I understand it, as virtual user is just a .qmail-foo mailbox under the
> main user account. However, my reading has suggested that users can't use
> qmail-pop3d to access their accounts, because checkpassword is only
> looking at the main account. Is this right?
> 
> Basically, I'm trying to find a way to provide easy pop3 access to the
> end-user, with a web interface for adding or deleting users, and the
> ability to manipulate per-user quotas.
> 
> At the moment, I'm creating each user as a system account, which allows me
> to set the quotas with whatever granularity I like. But most of the web
> admin interfaces seem to be focused on virtual users, so I'm not sure what
> my alternatives are for a web front-end. Any suggestions?
> 
> -- 
> Todd A. Jacobs
> CodeGnome Consulting, LTD
> 



Re: pop3

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 01:55:08PM +0200, richard morris wrote:
> Hi all,
> 
> our server lost power, after it came up, it accepts smtp, but when
> checking mail, it connects but then the server terminates the
> connection (it's as if the pop service isn't running)? the logs don't
> show anything either.
>
> Thanks, Richard.

Is qmail-pop3d running?? What internet daemon (tcpserver, inetd or
xinted are the most common ones) are you using and is it running? How do
you start the service?? What happens if you try to start it by hand?

Jörgen



Re: How to prevent smtp from accepting blank From: field

2001-03-15 Thread Charles Cazabon

Manvendra Bhangui <[EMAIL PROTECTED]> wrote:
> I am having a problem with my site where someone is trying to spam the site
> with some message titled "Snowhite and Seven Dwarfs". The From: field is
> being shown as From: [EMAIL PROTECTED]

It's an email virus.  You can find more information about it at
http://sexyfun.net .  And the badmailfrom file blocks by envelope sender,
which has nothing to do with the "From:" header in the email.

Your best solution is to educate your users, and to encourage them not to
use MUAs which are vulnerable to this crap.

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: Deny Relay, Accept local

2001-03-15 Thread Charles Cazabon

mick <[EMAIL PROTECTED]> wrote:
> No bad feelings intended.

Not offended; just frustrated.

> Here is the full output:

Perfect.

> locals:
[...]
> Messages for mtco.com are delivered locally.
[...]
> rcpthosts:
[...]
> SMTP clients may send messages to recipients at mtco.com.

This was the domain used in that "relay test".  Since it's one of your
domains, by definition it's not a relay.  I think the test itself is
probably bogus, although I haven't investigated it myself.

> morercpthosts: (Default.) No effect.
> morercpthosts.cdb: (Default.) No effect.

You may want to look at putting your rcpthosts into the morercpthosts.cdb
format -- with several hundred domains, it might (or might not) decrease
the overhead of starting up qmail-smtpd slightly.  It would be worth
measuring, anyway, to see if there's a difference.

> Phew, that was a mouth full. :) Hope that helps. Thank you again Charles.

Yes, it helped, and you're welcome.  Sorry if I came off a bit harsh;
it came on the tail end of fighting with a user who refused to provide the
information we asked for in trying to diagnose his problem.

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: Confused about virtual users and pop3

2001-03-15 Thread Charles Cazabon

Todd A. Jacobs <[EMAIL PROTECTED]> wrote:
> As I understand it, as virtual user is just a .qmail-foo mailbox under the
> main user account. However, my reading has suggested that users can't use
> qmail-pop3d to access their accounts, because checkpassword is only
> looking at the main account. Is this right?

The default checkpassword does this.  You can use any checkpassword 
replacement to provide additional functionality.

> Basically, I'm trying to find a way to provide easy pop3 access to the
> end-user, with a web interface for adding or deleting users, and the
> ability to manipulate per-user quotas.

Check vmailmgr out; it's at vmailmgr.org.  There are web administration and
webmail addons available for it (oMail?).

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



limitations to badmailfrom control file

2001-03-15 Thread Jeffrey Lomas

List,
Are there size limitations to the badmailfrom control file? I have over 100
user/hosts listed, yet some that are on the list are still getting through.





Re: limitations to badmailfrom control file

2001-03-15 Thread Peter van Dijk

On Thu, Mar 15, 2001 at 09:56:21AM -0500, Jeffrey Lomas wrote:
> List,
> Are there size limitations to the badmailfrom control file? I have over 100
> user/hosts listed, yet some that are on the list are still getting through.

No, there are no limitations.

If some are getting through, your entries are not matching.

Greetz, Peter.



Repeated Identical Messages

2001-03-15 Thread Steve Crowder

Hi All

I have a situation where emails sent to accounts on our qmail 1.03 server
randomly get regenerated so that multiple copies of the same identical email
are resent several times. The number repeated can range from a few to
several hundred and there seems to be no set pattern as to the time cycle
between each mail. The original mails have been sent from a variety of
different servers and platforms - MS and Unix.

For example the mail that Charles Cazabon sent as a reply to Bill
Luckett<[EMAIL PROTECTED]> to this list

Subject Re: Messages Won't Remove From Queue

on Wednesday 14/03/2001 15:05 I have now received as fourteen separate
instances at these times:

Wed 14/03/2001 15:39
Wed 14/03/2001 16:26
Wed 14/03/2001 17:31
Wed 14/03/2001 19.02
Wed 14/03/2001 20:35
Wed 14/03/2001 22.14
Thu 15/03/2001 00:08
Thu 15/03/2001 01:56
Thu 15/03/2001 00:08
Thu 15/03/2001 02:16
Thu 15/03/2001 04:38
Thu 15/03/2001 07:24
Thu 15/03/2001 10:09
Thu 15/03/2001 13:11

All mails are identical and I'm sure Charles is not resending the same mail.

Does anyone know why this should be happening or better still how to fix it
?

Many thanks for any help.

Steve

--
Steve Crowder
Systems Support Engineer

email: [EMAIL PROTECTED]

**
http://www.traffic.co.uk

Traffic Interactive Limited
191 Old Marylebone Road
London NW1 5DW

Telephone (Direct Line): +44 (0)20 7298 8281
Telephone (Switchboard): +44 (0)20 7298 8200
Mobile: +44 07718 808 048
Facsimile: +44 (0)20 7298 8201
ISDN: +44 (0)20 7298 8299
**





Re: Repeated Identical Messages

2001-03-15 Thread dan kelley


steve-

unfortunately, i can't tell you why this is happening, but the *exact* same
thing is happening to me.

when i started to capture all smtp sessions with recordio to see if that
gave any hints, i found that i had lots of these in my logs:

451 timeout

are you seeing he same thing?

dan  


At 03:09 PM 3/15/01 -, you wrote:
>Hi All
>
>I have a situation where emails sent to accounts on our qmail 1.03 server
>randomly get regenerated so that multiple copies of the same identical email
>are resent several times. The number repeated can range from a few to
>several hundred and there seems to be no set pattern as to the time cycle
>between each mail. The original mails have been sent from a variety of
>different servers and platforms - MS and Unix.
>
>For example the mail that Charles Cazabon sent as a reply to Bill
>Luckett<[EMAIL PROTECTED]> to this list
>
>Subject Re: Messages Won't Remove From Queue
>
>on Wednesday 14/03/2001 15:05 I have now received as fourteen separate
>instances at these times:
>
>Wed 14/03/2001 15:39
>Wed 14/03/2001 16:26
>Wed 14/03/2001 17:31
>Wed 14/03/2001 19.02
>Wed 14/03/2001 20:35
>Wed 14/03/2001 22.14
>Thu 15/03/2001 00:08
>Thu 15/03/2001 01:56
>Thu 15/03/2001 00:08
>Thu 15/03/2001 02:16
>Thu 15/03/2001 04:38
>Thu 15/03/2001 07:24
>Thu 15/03/2001 10:09
>Thu 15/03/2001 13:11
>
>All mails are identical and I'm sure Charles is not resending the same mail.
>
>Does anyone know why this should be happening or better still how to fix it
>?
>
>Many thanks for any help.
>
>Steve
>
>--
>Steve Crowder
>Systems Support Engineer
>
>email: [EMAIL PROTECTED]
>
>**
>http://www.traffic.co.uk
>
>Traffic Interactive Limited
>191 Old Marylebone Road
>London NW1 5DW
>
>Telephone (Direct Line): +44 (0)20 7298 8281
>Telephone (Switchboard): +44 (0)20 7298 8200
>Mobile: +44 07718 808 048
>Facsimile: +44 (0)20 7298 8201
>ISDN: +44 (0)20 7298 8299
>**
>
>
>


Dan Kelley
www.otec.com
212-840-8600




Re: Repeated Identical Messages

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 03:09:24PM -, Steve Crowder wrote:
> Hi All
> 
> I have a situation where emails sent to accounts on our qmail 1.03 server
> randomly get regenerated so that multiple copies of the same identical email
> are resent several times. The number repeated can range from a few to
> several hundred and there seems to be no set pattern as to the time cycle
> between each mail. The original mails have been sent from a variety of
> different servers and platforms - MS and Unix.
[snip]

Missing 250 after successfull DATA during the SMTP conservation??

It's not mail-1.traffic.co.uk is it?? It doesn't look like a qmail
server... It's hard for us to take a look at the server unless we know
which one it is :)

Jörgen



Re: Repeated Identical Messages

2001-03-15 Thread dan kelley


i'm having the exact same problem:

mailhost.otec.com

dan

At 04:29 PM 3/15/01 +0100, you wrote:
>On Thu, Mar 15, 2001 at 03:09:24PM -, Steve Crowder wrote:
>> Hi All
>> 
>> I have a situation where emails sent to accounts on our qmail 1.03 server
>> randomly get regenerated so that multiple copies of the same identical
email
>> are resent several times. The number repeated can range from a few to
>> several hundred and there seems to be no set pattern as to the time cycle
>> between each mail. The original mails have been sent from a variety of
>> different servers and platforms - MS and Unix.
>[snip]
>
>Missing 250 after successfull DATA during the SMTP conservation??
>
>It's not mail-1.traffic.co.uk is it?? It doesn't look like a qmail
>server... It's hard for us to take a look at the server unless we know
>which one it is :)
>
>Jörgen
>
>


Dan Kelley
www.otec.com
212-840-8600




Re: Repeated Identical Messages

2001-03-15 Thread Charles Cazabon

Steve Crowder <[EMAIL PROTECTED]> wrote:
> 
> [...] I have now received as fourteen separate instances at these times:
[...] 
> All mails are identical and I'm sure Charles is not resending the same mail.

Nope, just the once.
 
> Does anyone know why this should be happening or better still how to fix it ?

I see this too sometimes; it seems to be bursty.  I'll get lots of duplicates
for a day or two, then none for a week or three.  Dan has mentioned in the
past that packet loss on the UIC link during the day regularly hits 25% --
since list.cr.yp.to sits on that network, it might be not seeing the
successful response to the DATA command if the connection gets broken before
then, and therefore has to re-send the mail (and logging "possible dupe"
messages in Dan's logs).

I do note that the duplicates are generally received on weekdays during
North American office hours, and I only notice them on mail coming from
list.cr.yp.to -- not from other ezmlm-managed lists.

Perhaps djb himself could comment on whether the network saturation at
UIC is causing duplicates?

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: Repeated Identical Messages

2001-03-15 Thread dan kelley


i take your point on packetloss / truncated SMTP conversations.  however,
i'm seeing this from many different domains, including hotmail and yahoo.  

one oddity:  so far, the dups all seems to come from domains that are using
qmail for outgoing mail.

At 09:39 AM 3/15/01 -0600, you wrote:
>Steve Crowder <[EMAIL PROTECTED]> wrote:
>> 
>> [...] I have now received as fourteen separate instances at these times:
>[...] 
>> All mails are identical and I'm sure Charles is not resending the same
mail.
>
>Nope, just the once.
> 
>> Does anyone know why this should be happening or better still how to fix
it ?
>
>I see this too sometimes; it seems to be bursty.  I'll get lots of duplicates
>for a day or two, then none for a week or three.  Dan has mentioned in the
>past that packet loss on the UIC link during the day regularly hits 25% --
>since list.cr.yp.to sits on that network, it might be not seeing the
>successful response to the DATA command if the connection gets broken before
>then, and therefore has to re-send the mail (and logging "possible dupe"
>messages in Dan's logs).
>
>I do note that the duplicates are generally received on weekdays during
>North American office hours, and I only notice them on mail coming from
>list.cr.yp.to -- not from other ezmlm-managed lists.
>
>Perhaps djb himself could comment on whether the network saturation at
>UIC is causing duplicates?
>
>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.
>---
>
>


Dan Kelley
www.otec.com
212-840-8600




username logging

2001-03-15 Thread Kurth Bemis

last week i think that there was a discussion about how to get tcpserver to 
log usernames from pop3d.  I can't find the message anywhere.  does anyone 
have the information on how to log the usernames with pop3d?

~kurth




RE: Repeated Identical Messages

2001-03-15 Thread Steve Crowder

Hi

We have had several instances of the repeating email syndrome and it seems
to be from all flavours of mail servers including Lotus Notes Release 5.0.3
(Intl) and MS Exchange which are being used for both incoming and outgoing
mail. Not to sure that this information helps though.

Thanks

Steve


-Original Message-
From: dan kelley [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2001 15:55
To: Charles Cazabon
Cc: [EMAIL PROTECTED]
Subject: Re: Repeated Identical Messages



i take your point on packetloss / truncated SMTP conversations.  however,
i'm seeing this from many different domains, including hotmail and yahoo.

one oddity:  so far, the dups all seems to come from domains that are using
qmail for outgoing mail.

At 09:39 AM 3/15/01 -0600, you wrote:
>Steve Crowder <[EMAIL PROTECTED]> wrote:
>>
>> [...] I have now received as fourteen separate instances at these times:
>[...]
>> All mails are identical and I'm sure Charles is not resending the same
mail.
>
>Nope, just the once.
>
>> Does anyone know why this should be happening or better still how to fix
it ?
>
>I see this too sometimes; it seems to be bursty.  I'll get lots of
duplicates
>for a day or two, then none for a week or three.  Dan has mentioned in the
>past that packet loss on the UIC link during the day regularly hits 25% --
>since list.cr.yp.to sits on that network, it might be not seeing the
>successful response to the DATA command if the connection gets broken
before
>then, and therefore has to re-send the mail (and logging "possible dupe"
>messages in Dan's logs).
>
>I do note that the duplicates are generally received on weekdays during
>North American office hours, and I only notice them on mail coming from
>list.cr.yp.to -- not from other ezmlm-managed lists.
>
>Perhaps djb himself could comment on whether the network saturation at
>UIC is causing duplicates?
>
>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.
>---
>
>


Dan Kelley
www.otec.com
212-840-8600






Re: Repeated Identical Messages

2001-03-15 Thread cfm

On Thu, Mar 15, 2001 at 09:39:11AM -0600, Charles Cazabon wrote:
> Steve Crowder <[EMAIL PROTECTED]> wrote:
> > 
> > [...] I have now received as fourteen separate instances at these times:
> [...] 
> > All mails are identical and I'm sure Charles is not resending the same mail.
> 
> Nope, just the once.
>  
> > Does anyone know why this should be happening or better still how to fix it ?

FWIW We see this very, very, very rarely.  I've never seen it in email from 
this list.  
 
> I see this too sometimes; it seems to be bursty.  I'll get lots of duplicates
> for a day or two, then none for a week or three.  Dan has mentioned in the
> past that packet loss on the UIC link during the day regularly hits 25% --
> since list.cr.yp.to sits on that network, it might be not seeing the
> successful response to the DATA command if the connection gets broken before
> then, and therefore has to re-send the mail (and logging "possible dupe"
> messages in Dan's logs).
> 
> I do note that the duplicates are generally received on weekdays during
> North American office hours, and I only notice them on mail coming from
> list.cr.yp.to -- not from other ezmlm-managed lists.
> 
> Perhaps djb himself could comment on whether the network saturation at
> UIC is causing duplicates?

cfm

-- 

Christopher F. Miller, Publisher [EMAIL PROTECTED]
MaineStreet Communications, Inc 208 Portland Road, Gray, ME  04039
1.207.657.5078   http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux



RE: username logging

2001-03-15 Thread Tim Hunter

tcpserver knows nothing about pop3d other than its a program that it calls
to do a job.  You might want to search the archives about adding more
logging information to pop3d itself or your chkpassword program.


-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: username logging


last week i think that there was a discussion about how to get tcpserver to
log usernames from pop3d.  I can't find the message anywhere.  does anyone
have the information on how to log the usernames with pop3d?

~kurth





Re: Repeated Identical Messages

2001-03-15 Thread Greg White

On Thu, Mar 15, 2001 at 11:39:38AM -0500, [EMAIL PROTECTED] wrote:
SNIP
> 
> FWIW We see this very, very, very rarely.  I've never seen it in email from 
> this list.  
>  
Funny -- I just got this one twice. ;) I see this happening every so
often, and I concur with Charles mostly -- I see it more often from
list.cr.yp.to, but also occassionally from the FreeBSD mailing lists.
Consistently within North American office hours, 0800EST-1700PST or
thereabouts. Strange

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Edit error messages

2001-03-15 Thread Mike A. Sauvain

any body know, where i should hack the source to manipulate bounce
& other messages text?

...thx.. mike




Re: Repeated Identical Messages

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 10:30:07AM -0500, dan kelley wrote:
> 
> i'm having the exact same problem:
> 
> mailhost.otec.com
[snip]

well... mailhost.otec.com and mx2.otec.com doesn't look like qmail
servers -- are they behind some service??

qmail implements help for SMTP but it's unimplemented on your server.

Jörgen



Re: username logging

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:20:02AM -0500, Kurth Bemis wrote:
> last week i think that there was a discussion about how to get tcpserver to 
> log usernames from pop3d.  I can't find the message anywhere.  does anyone 
> have the information on how to log the usernames with pop3d?

On Thu, 01 Mar 2001 Shinya was good enough to inform me about this post
by Bernstein himself:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/08/msg00896.html

Jörgen



Re: Edit error messages

2001-03-15 Thread Charles Cazabon

Mike  A. Sauvain <[EMAIL PROTECTED]> wrote:
> any body know, where i should hack the source to manipulate bounce
> & other messages text?

`grep "Hi.  This is the" qmail-1.03/*`

If you do change them, make sure you don't break QSBMF -- Dan has documented
it at http://cr.yp.to/proto/qsbmf.txt .

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: Repeated Identical Messages

2001-03-15 Thread Vincent Schonau

On Thu, Mar 15, 2001 at 09:06:45AM -0800, Greg White wrote:
> On Thu, Mar 15, 2001 at 11:39:38AM -0500, [EMAIL PROTECTED] wrote:

>> FWIW We see this very, very, very rarely.  I've never seen it in email
>> from this list.

> Funny -- I just got this one twice. ;)

In this case, [EMAIL PROTECTED] was listed in both To: and Cc:.

Vince.



Re: filtering

2001-03-15 Thread Todd A. Jacobs

On Thu, 15 Mar 2001, Yves Caetano wrote:

> but there some filtering that i don't know how to do them like:

You can use the .qmail file by creating an if/then pipe:

|if grep 'foo@bar'; then bouncesaying 'I don't like you!'; fi

Of course, using procmail is easier. Either use procmail as your default
delivery method, or add '|preline procmail' to your user's dot-qmail file.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: username logging

2001-03-15 Thread Kirill Miazine

Paul Gregg has a checkpasswd that logs pop usernames,
http://www.pgregg.com/projects/qmail/checkpoppasswd.c

On Thu, Mar 15, 2001 at 11:20:02AM -0500, Kurth Bemis wrote:
> last week i think that there was a discussion about how to get tcpserver to 
> log usernames from pop3d.  I can't find the message anywhere.  does anyone 
> have the information on how to log the usernames with pop3d?
> 
> ~kurth
> 
-- 
Kirill



Re: Deny Relay, Accept local

2001-03-15 Thread mick

Thanks.
Your explanation of tcpserver's initial role in the process, etc...
has helped put my mind at ease.


On Thu, 15 Mar 2001, Charles Cazabon wrote:

> mick <[EMAIL PROTECTED]> wrote:
> > No bad feelings intended.
> 
> Not offended; just frustrated.
> 
> > Here is the full output:
> 
> Perfect.
> 
> > locals:
> [...]
> > Messages for mtco.com are delivered locally.
> [...]
> > rcpthosts:
> [...]
> > SMTP clients may send messages to recipients at mtco.com.
> 
> This was the domain used in that "relay test".  Since it's one of your
> domains, by definition it's not a relay.  I think the test itself is
> probably bogus, although I haven't investigated it myself.
> 
> > morercpthosts: (Default.) No effect.
> > morercpthosts.cdb: (Default.) No effect.
> 
> You may want to look at putting your rcpthosts into the morercpthosts.cdb
> format -- with several hundred domains, it might (or might not) decrease
> the overhead of starting up qmail-smtpd slightly.  It would be worth
> measuring, anyway, to see if there's a difference.
> 
> > Phew, that was a mouth full. :) Hope that helps. Thank you again Charles.
> 
> Yes, it helped, and you're welcome.  Sorry if I came off a bit harsh;
> it came on the tail end of fighting with a user who refused to provide the
> information we asked for in trying to diagnose his problem.
> 
> 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.
> ---
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: rotated multilogs are u+x?

2001-03-15 Thread Alex Pennace

On Thu, Mar 15, 2001 at 01:22:34AM -0800, Todd A. Jacobs wrote:
> I was noticing that all the saved multilog files have the following
> permissions:
> 
>   -rwxr--r--
> 
> The "current" log does not have this bit set. Why do the old logs need the
> executable bit set?

http://cr.yp.to/daemontools/multilog.html



Re: Repeated Identical Messages

2001-03-15 Thread Markus Stumpf

First let me say I have NEVER seen duplicates from this list (nor from
anywhere else, nor did one of our customers complain about dupes from qmail).
And we live on the other side of the big pond ;-)

On Thu, Mar 15, 2001 at 10:16:35AM -0500, dan kelley wrote:
> when i started to capture all smtp sessions with recordio to see if that
> gave any hints, i found that i had lots of these in my logs:
> 
> 451 timeout
> 
> are you seeing he same thing?

Is this a message from the sender or from your smtpd?
If it's yours you might give
control/timeoutsmtpd
a chance (default is 1200 seconds, see  "man qmail-smtpd").

\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: Repeated Identical Messages

2001-03-15 Thread Jeremy Suo-Anttila

I have had the repeated msg problem with some of the users on my ezmlm-idx
managed list. I had one user tell me he got the same newsletter 12 times
from me. Has anyone found a solution to this yet ?


Thanks

Jeremy Suo-Anttila




Re: Repeated Identical Messages

2001-03-15 Thread Henning Brauer

On Thu, Mar 15, 2001 at 08:20:09PM +0100, Markus Stumpf wrote:
> First let me say I have NEVER seen duplicates from this list (nor from
> anywhere else, nor did one of our customers complain about dupes from qmail).
> And we live on the other side of the big pond ;-)

Yep, me too. No duplicates ever, about 800km away from maex.

Maybe the problem is your own internet connection? overloaded, slow, packet
loss, ... ?

Maex suggestion of increasing smtptimeout may help then.

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



RE: Repeated Identical Messages

2001-03-15 Thread Andy Abshagen

I know we were experiencing this problem once before.  And what it came down
to is the .qmail files.  Specifically if the .qmail-default was not setup
correctly it would send duplicates out.  Or if a .qmail file setup as an
alias to multiple people was setup incorrectly or included someone that no
longer had an account.  Everytime that I've experienced duplicate messages
on our server it has related back to one of those to items.

Andy

-Original Message-
From: Jeremy Suo-Anttila [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Repeated Identical Messages


I have had the repeated msg problem with some of the users on my ezmlm-idx
managed list. I had one user tell me he got the same newsletter 12 times
from me. Has anyone found a solution to this yet ?


Thanks

Jeremy Suo-Anttila





Restricting Some Users From Sending

2001-03-15 Thread T'krin

I have a request to not allow four users to send email externally but to
allow them to receive.  Ideally they would want them to be able to send to
internal users but if need be dis-allow all sending of email.   I am not
quite sure of the best way to approach this.  I thought about using ipchains
but was wondering if there is a control file that will do something of this
sort?

Thanks all...

Dan





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/





Re: rotated multilogs are u+x?

2001-03-15 Thread Todd A. Jacobs

On Thu, 15 Mar 2001, Alex Pennace wrote:

> > The "current" log does not have this bit set. Why do the old logs need the
> > executable bit set?
>
> http://cr.yp.to/daemontools/multilog.html

Yes, Alex, I *know* the documentation says it will do this. I was
wondering *why* the executable bit is necessary.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: rotated multilogs are u+x?

2001-03-15 Thread Alex Pennace

On Thu, Mar 15, 2001 at 01:08:26PM -0800, Todd A. Jacobs wrote:
> On Thu, 15 Mar 2001, Alex Pennace wrote:
> 
> > > The "current" log does not have this bit set. Why do the old logs need the
> > > executable bit set?
> >
> > http://cr.yp.to/daemontools/multilog.html
> 
> Yes, Alex, I *know* the documentation says it will do this. I was
> wondering *why* the executable bit is necessary.

The executeable bit serves as a sentinel telling multilog whether or
not the file was safely written to disk.



checkhab IS checkattach

2001-03-15 Thread Noel Mistula

Hi qmailers,

I extend checkattach to do further checking.
I call it checkHAB. Attached is the extended script.
I hope this is useful.

cheers

-- 
Noel G. Mistula
Network & Systems Administrator
Meriton Apartments Pty Ltd

#!/bin/bash
#
### 
# qmail -- checkHAB
# Author: Noel G. Mistula <[EMAIL PROTECTED]>
# URL: http://www.meriton.com.au
# URL: http://www.karimbla.com.au
# URL: http://www.karimbla.com.au/mistronix
# Date: 28 June 1999 Version: 0.1   checkattach
# Modified: 7 July 1999 Version: 0.3checkattach
# Modified: 7 May 2000 Version: 0.4 checkattach
# Modified: 15 March 2001 Version: 0.4.5checkattach
# Modified: 16 March 2001 Version: 0.4.7checkhab
# I appreciate any comment to this quick and dirty way of filtering attachment.
###

###
# This is release under GNU/GPL.
###

# WHAT is checkHAB?
# checkHAB is based on checkattach script.
# The HAB stands for;
#   H for HTML formatted
#   A for Attachment
#   B for email with Begin 644 inside
# Basically, checkHAB is an extension of checkattach. Instead of
# executing three successive scripts to check for HTML formatted email,
# unwanted Attachment, and email with Begin 644. We just run one
# script to do the job. Thus, we have checkHAB. I use to have this
# three scripts to do the job because grep -e doesn't work as I
# wish it to do. I was able to combine this because I decided
# to use a temporary file within the script. If you have an idea
# on doing this without using a temp file then that would be great.

#
# For info on Filtering Attachments in qmail
# goto http://www.fehcom.de/qmail/filter.html
# I would like to thank Dr. Erwin Hoffmann for documenting this
# and his efforts to write CHECKSUBJ based on this script.
#

# INSTALLATION and USAGE:
# 1) Save this script as;/usr/local/bin/checkhab
# 2) Make sure that there are _no_ ^M characters in the script.
#I use gvim to check this. Or search for dedos.pl in the qmail
#mailing list and use that to strip the ^M characters. 
# 3) Then;  chmod 755 /usr/local/bin/checkhab
# 4) Then;  chown root:qmail /usr/local/bin/checkhab
# 5) Then edit the user's .qmail file by adding the line;
#   |/usr/local/bin/checkhab
#This must be _before_ the ./Maildir/

  
# Start program here ver 0.4.7.

# HTML bounce message
htmlmsg () {
echo "Hi $SENDER,"
echo " "
echo "We received the email you sent to <$RECIPIENT> ."
echo "However, your email has been held for quarantine and evaluation".
echo "Because the email is HTML formatted. Note that, tiny dangerous"
echo "programs can easily be embedded into a HTML formatted email."
echo "Our company's policy is to accept PLAIN TEXT only email."
echo "For our protection, quarantined email can be deleted anytime."
echo "Please notify <$RECIPIENT> by phone."
echo " "
echo "Please call us (-) or email to [EMAIL PROTECTED],"
echo "if you require clarification. Thank you."
echo " "
}

# Attachment bounce message
attachmsg () {
echo "Hi $SENDER,"
echo " "
echo "We received the email you sent to <$RECIPIENT> ."
echo "However, your email has been held for quarantine and evaluation".
echo "Because the attachment you sent may contain virus or is against"
echo "our company's policy. For our protection, quarantined email can"
echo "be deleted anytime. Please notify <$RECIPIENT> by phone."
echo "   --- Filetype of the attachment you sent is $ATTYPE"
echo " "
echo "Please call us (-) or email to [EMAIL PROTECTED],"
echo "if you require clarification. Thank you."
echo " "
}

# Begin 644 bounce message
beginmsg () {
echo "Hi $SENDER,"
echo " "
echo "We received the email you sent to <$RECIPIENT> ."
echo "However, your email has been held for quarantine and evaluation".
echo "Because the email has an executable program inside. The"
echo "executable program may contain virus or similar payload."
echo "For our protection, quarantined email can be deleted anytime."
echo "Please notify <$RECIPIENT> by phone."
echo "   --- Executable program inside, begin 644"
echo " "
echo "Please call us (-) or email to [EMAIL PROTECTED],"
echo "if you require clarification. Thank you."
echo " "
}

# Things to do when HTML formatting is detected
checkhtml () {
# Forward to Junk Quarantine
# Read about qmail-inject to customize this line.
/var/q

Re: How to prevent smtp from accepting blank From: field

2001-03-15 Thread Noel Mistula

use checkhab or checkattach


Manvendra Bhangui wrote:
> 
> I am having a problem with my site where someone is trying to spam the site with
> some message titled "Snowhite and Seven Dwarfs". The From: field is being shown as 
>From: [EMAIL PROTECTED]
> 
> I have put the entry [EMAIL PROTECTED] in badrcptto and also tested that
> mail from: [EMAIL PROTECTED] is not being accepted by qmail-smtp. However inspite 
>of this mails keep on coming from this site. It seems that the the smtp dialogue is 
>being done in he following manner (i.e. a blank mail from: is being given)
> 
> telnet 0 smtp
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> 220  ESMTP
> mail from:
> 250 ok
> rcpt to:<[EMAIL PROTECTED]>
> 250 ok
> data
> 354 go ahead
> From:Hahaha <[EMAIL PROTECTED]>
> Subject: Snowite and the seven dwarfs
> .
> 250 ok 984632317 qp 4283
> 
> Any suggestions on preventing blank mail from: being given during smtp dialogue?
> 
> Regards Manny
> 
> Content-Type texthtml
> charset"iso-8859-1"
> Content-Transfer-Encoding quoted-printable
> 
> !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> HTML>
> META content3Dtexthtml; charset=iso-8859-1" http-equiv=Content-Type>
> 
> 
> 
> 
> I am having a problem with my site where someone is
> trying to spam the site with
> some message titled "Snowhite and Seven Dwarfs".
> The From: field is being shown as From:  href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]
>  
>  
> I have put the entry  href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] in badrcptto and also
> tested that
> mail from:  href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] is not being accepted by
> qmail-smtp. However inspite of this mails keep on coming from this site. It
> seems that the the smtp dialogue is being done in he following manner (i.e. a
> blank mail from: is being given)
>  
> telnet 0 smtpTrying 0.0.0.0...Connected to
> 0.Escape character is '^]'.220  ESMTPmail from:250
> okrcpt to:< href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]>250
> okdata354 go aheadFrom:Hahaha < href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]>Subject: Snowite
> and the seven dwarfs.250 ok 984632317 qp 4283
>  
> Any suggestions on preventing blank mail from:
> being given during smtp dialogue?
>  
> Regards Manny
>  /BODY>/HTML>
> 
> _
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com

-- 
Noel G. Mistula
Network & Systems Administrator
Meriton Apartments Pty Ltd



Re: Repeated Identical Messages

2001-03-15 Thread dan kelley


they're definitley qmail;  both run qmail-1.03 unpatched under tcpserver.

what do you mean by 'help for smtp' ?

thanks-

dan


At 06:27 PM 3/15/01 +0100, you wrote:
>On Thu, Mar 15, 2001 at 10:30:07AM -0500, dan kelley wrote:
>> 
>> i'm having the exact same problem:
>> 
>> mailhost.otec.com
>[snip]
>
>well... mailhost.otec.com and mx2.otec.com doesn't look like qmail
>servers -- are they behind some service??
>
>qmail implements help for SMTP but it's unimplemented on your server.
>
>Jörgen
>
>


Dan Kelley
www.otec.com
212-840-8600




qmail-pop* and interface link

2001-03-15 Thread Subba Rao

I have qmail-popup and qmail-pop3d running on my system. Is it
possible to dedicate this service to selected interfaces only?
If it can be done, could you please point me to that URL?

Thank you in advance.
-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



RE: Repeated Identical Messages

2001-03-15 Thread dan kelley


this is interesting:

we use dot-forward and fastforward.  here's .qmail-default:

| /var/qmail/bin/fastforward -d /etc/aliases.cdb

i looked at the users that were receiving dups, and pretty much all of them
had .qmail files.

Is there some type of confilct between .qmail and fastfoward, or is a just
a matter of having the .qmail files not including errors?

Thanks-

Dan

At 03:14 PM 3/15/01 -0500, you wrote:
>I know we were experiencing this problem once before.  And what it came down
>to is the .qmail files.  Specifically if the .qmail-default was not setup
>correctly it would send duplicates out.  Or if a .qmail file setup as an
>alias to multiple people was setup incorrectly or included someone that no
>longer had an account.  Everytime that I've experienced duplicate messages
>on our server it has related back to one of those to items.
>
>Andy
>
>-Original Message-
>From: Jeremy Suo-Anttila [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 15, 2001 2:56 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Repeated Identical Messages
>
>
>I have had the repeated msg problem with some of the users on my ezmlm-idx
>managed list. I had one user tell me he got the same newsletter 12 times
>from me. Has anyone found a solution to this yet ?
>
>
>Thanks
>
>Jeremy Suo-Anttila
>
>
>


Dan Kelley
www.otec.com
212-840-8600




simple spam filtering system: critiques welcome

2001-03-15 Thread Jon Rust

We currently use rblsmtpd to block mail based on RSS, DUL and RBL. What
I've wanted all along is a way for individual users to have this same
ability, rather than as a system-wide setting. Here's what I've come up
with, and I'd appreciate criticisms and comments from my fellow qmail
admins:

   http://www.vcnet.com/~jon/qmail-filter/

In a nutshell I use qmail-qfilter + rblcheck to add an extra header to
mail delivered through RBL-listed sites. The added header also contains
a ranking based on which lists it matched (as defined in the modified
rblcheck source I link to). Then, a dot-qmail called script scans the
message headers and rejects or accepts based on this ranking. The same
system could be used to flag suspected virus infected mail, but I haven't
gotten that far just yet.

Huge oversights, ways of making it more efficient, etc are welcomed. I
have NOT put this into production yet, but have tested it on a limited
basis.

Thanks,
jon



Re: qmail-pop* and interface link

2001-03-15 Thread Mark Delany

On Thu, Mar 15, 2001 at 05:23:19PM +, Subba Rao wrote:
> I have qmail-popup and qmail-pop3d running on my system. Is it
> possible to dedicate this service to selected interfaces only?
> If it can be done, could you please point me to that URL?

Read up on tcpserver. That's the program that actually listens on the
interface. And yes, it can do it.


Regards.



Re: Repeated Identical Messages

2001-03-15 Thread Markus Stumpf

On Thu, Mar 15, 2001 at 05:05:30PM -0500, dan kelley wrote:
> they're definitley qmail;  both run qmail-1.03 unpatched under tcpserver.
> 
> what do you mean by 'help for smtp' ?


lagrange(2:2697) $ telnet mailhost.otec.com smtp
Trying 209.3.117.5...
Connected to mx1.ny.otec.com.
Escape character is '^]'.
220 *
help
502 unimplemented (#5.5.1)
quit
221 mx1.ny.otec.com

this is definitely NOT an unpatched qmail.
Unmodified qmail's look like that:

lagrange(2:2698) $ telnet mail.space.net smtp
Trying 195.30.0.8...
Connected to mail.space.net.
Escape character is '^]'.
220 mail.space.net ESMTP
help
214 qmail home page: http://pobox.com/~djb/qmail.html
quit
221 mail.space.net


\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: simple spam filtering system: critiques welcome

2001-03-15 Thread Markus Stumpf

On Thu, Mar 15, 2001 at 02:42:53PM -0800, Jon Rust wrote:
> We currently use rblsmtpd to block mail based on RSS, DUL and RBL. What
> I've wanted all along is a way for individual users to have this same
> ability, rather than as a system-wide setting. Here's what I've come up
> with, and I'd appreciate criticisms and comments from my fellow qmail
> admins:

Sorry to follow up your announcement with mine ...

I've done something like that, start at
http://www.lamer.de/maex/creative/software/ucspi-tcp/

It consists of 3 parts:
1) is a modification to rblsmtpd that allows to define "tags" for
   RBLs. Each tag of a RBL that had a hit for that IP is put blank
   delimited into an evironment var RBLID
2) is a modification to qmail-smtpd
   it checks for RBLID env var and inserts one line per RBL tag into
   the header of the received mail like:
   X-RBL-Check: MAPS-RSS
   X-RBL-Check: MAPS-DUL
3) is a mess822 package called 822xrblcheck
   you can put it into .qmail files and call it e.g. with
  |bouncesaying "no messages from blacklisted hosts accepted" 
/path/to/822xrblcheck MAPS-RSS

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



Qmail logs and maildrop

2001-03-15 Thread Ruben Olague

Hi...

   I have vpopmail installed, and now I want to use maildrop to reject, block,
bounce, etc. mails with certain subject or content.
   Where can I find some info to do this? I just found some examples using
   sendmail, also I read that maildrop uses the file '$HOME/.mailfilter' but
in my vpopmail case I don't have a $HOME directory... where should I put the
filters?

   Another thing, is there a way to show the reason of undelivered mails? Not
via logs.

   TIA.


Rubén Alejandro Olague Hernández
Ingeniero en Sistemas de Información

Tels. 01 58872116 / 044 19118152
Blvd. Hacienda Norte #59
Col: Villas de la Hacienda
Atizapán, Estado de México

ICQ 15156589
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Get free email and a permanent address at http://www.netaddress.com/?N=1



Re: How to convert old mail data ?

2001-03-15 Thread Essy Ren

qmail does not have native mbx support. However, grab the imap-utils package
(from the same place as uw-imap) and drop the dmail program in your .qmail
file
to deliver to your mbx mailbox. See "man dmail" for more information.


thanks
Ms. Essy Ren
Technology Services

- Original Message -
From: ONE <[EMAIL PROTECTED]>
To: Essy Ren <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 6:01 PM
Subject: Re: How to convert old mail data ?


> Dear Mr.Essy Ren
>
> mbx format not mbox format
>
> thank you
> ONE
> - Original Message -
> From: "Essy Ren" <[EMAIL PROTECTED]>
> To: "ONE" <[EMAIL PROTECTED]>
> Sent: Thursday, March 15, 2001 2:00 PM
> Subject: Re: How to convert old mail data ?
>
>
> > read INSTALL.mbox
> > and INSTALL.maildir
> >
> > - Original Message -
> > From: ONE <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 15, 2001 1:50 PM
> > Subject: How to convert old mail data ?
> >
> >
> > > Hi, all
> > >
> > > How to convert old mail data of sendmail in mbx format to format
Maildir
> > of
> > > qmail?
> > >
> > > thank you
> > > Mr.ONE
> > >
> >
> >
>





HELP SMTP problem

2001-03-15 Thread vikas sinha

I just installed qmail1.03-i386.rpm on my RedHat6.0(kernel 2.2.9)
It seems SMTP is not working properly. When I try to send e-mail by pine.
 It complained "SMTP greeting failure: 421 SMTP connection went away".
 
 IF I try to telnet localhost 25, here is the response
 telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 Connection closed by foreign host.

When i Checked the /var/qmail/bin/qmail-smtpd status
it showed 
220 hostname ESMTP
502 unimplemenetd (#5.5.1)
 





Get free email and a permanent address at http://www.netaddress.com/?N=1



Only special user can send mail?

2001-03-15 Thread bc201

hi,
 There I have a question. Can I set qmail so that it can relay mails for some special 
users? Of cause ,the special user include maillist.
 Example:
   Qmail can only relay mails, and senders of mail are in a special file. That special 
file is created by mail master.
 Thanks.
--
»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system




Re: Only special user can send mail?

2001-03-15 Thread Kurth Bemis

At 10:22 PM 3/15/2001, [EMAIL PROTECTED] wrote:

you may want to look at smtp auth.  I don't have ready access to the list 
archives - however there are patches to make smtpd relay based on usernames 
and passwords. maybe someone will be nice enough to post the address for 
the patch.

~kurth

PS - did you read life with qmail yet? (www.lifewithqmail.org)


>hi,
>  There I have a question. Can I set qmail so that it can relay mails for 
> some special users? Of cause ,the special user include maillist.
>  Example:
>Qmail can only relay mails, and senders of mail are in a special file. 
> That special file is created by mail master.
>  Thanks.
>--
>»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
>Thank you for using 21cn.com Email system




Re: HELP SMTP problem

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 08:24:27PM -0700, vikas sinha wrote:
> I just installed qmail1.03-i386.rpm on my RedHat6.0(kernel 2.2.9)
> It seems SMTP is not working properly. When I try to send e-mail by pine.
>  It complained "SMTP greeting failure: 421 SMTP connection went away".
>  
>  IF I try to telnet localhost 25, here is the response
>  telnet localhost 25
>  Trying 127.0.0.1...
>  Connected to localhost.
>  Escape character is '^]'.
>  Connection closed by foreign host.
> 
> When i Checked the /var/qmail/bin/qmail-smtpd status
> it showed 
> 220 hostname ESMTP
> 502 unimplemenetd (#5.5.1)

Something seems to bind the port but it doesn't forward inbound
connections to qmail.

Is inetd.conf broken?? Does /etc/inetd.conf have a line that begins with
''smtp'' -- what does it look like?? The RPM might use tcpserver. Is it  
running, try ''ps axw | grep tcpserver'' and send us the output.

Jörgen



system-aliases not found

2001-03-15 Thread Eric Pretorious

I've created the system-aliases (/var/qmail/alias/):

-re-r--r-- 1 root root .qmail-root
-re-r--r-- 1 root root .qmail-postmaster
-re-r--r-- 1 root root .qmail-MAILER-DAEMON

Each has the same contenets: the username 'eric' but qmail doesn't forward 
the messages to the $HOME/Mailbox in /home/eric.

/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Any thoughts?

Eric P.
Los Gatos, CA
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:12:47PM -0800, Eric Pretorious wrote:
> I've created the system-aliases (/var/qmail/alias/):
> 
> -re-r--r-- 1 root root .qmail-root
> -re-r--r-- 1 root root .qmail-postmaster
> -re-r--r-- 1 root root .qmail-MAILER-DAEMON
> 
> Each has the same contenets: the username 'eric' but qmail doesn't forward 
> the messages to the $HOME/Mailbox in /home/eric.
> 
> /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
> 
> Any thoughts?
> 
> Eric P.
> Los Gatos, CA


Well... isn't that obvious -- qmail doesn't see any mailbox :) How did
you tell qmail to deliver the mail? What does the ''qmail-lspawn''
process look like??

Jörgen



Re: system-aliases not found

2001-03-15 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 11:12 PM 03/15/2001 -0800, Eric Pretorious wrote:
>I've created the system-aliases (/var/qmail/alias/):
>
>-re-r--r-- 1 root root .qmail-root
>-re-r--r-- 1 root root .qmail-postmaster
>-re-r--r-- 1 root root .qmail-MAILER-DAEMON
>
>Each has the same contenets: the username 'eric' but qmail doesn't forward 
>the messages to the $HOME/Mailbox in /home/eric.
>
>/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
>
>Any thoughts?

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly 
([EMAIL PROTECTED])? Does he have the proper mailbox
as mentioned  in his .qmail file (or the default delivery one)?

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBOrHAsK01M7MMw92qEQIy8QCfTgk1h8/gnVczKiJtYKAAQmjb0X8AoOh2
W5LoKxRwf+Cf7XbczXTcTX9N
=Vj/h
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-15 Thread Eric Pretorious


>From: Ahmad Ridha <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 14:28:49 +0700
>
>1) Is 'eric' an existing username?
>2) Is 'eric' able to receive e-mails addressed to him directly
>([EMAIL PROTECTED])? Does he have the proper mailbox
> as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

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




Re: system-aliases not found

2001-03-15 Thread Eric Pretorious


>From: Ahmad Ridha <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 14:28:49 +0700
>
>1) Is 'eric' an existing username?
>2) Is 'eric' able to receive e-mails addressed to him directly
>([EMAIL PROTECTED])? Does he have the proper mailbox
> as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

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




troubleshooting

2001-03-15 Thread Tom Beer

Hi,

I've set all up according to lwq.
/var/log/qmail/current logs that 
local delivered mails to _user_
will be delivered. Pine don't complains
about a misconfiguered inbox et al.
But there won't be messages sent to _user_
in the inbox. I read all I could get, but it
wont work. How to carry on troubleshooting?

Thanks TOm