Re: Sendmail vs Qmail?

1999-12-17 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16 Dec 99, at 20:48, [EMAIL PROTECTED] wrote:
 I would list a few things in sendmail's favor:
 
 1) The ability to rewrite headers "up front" without
 requiring double delivery (once to a rewriting
 program, then again to the destination).

Nice - but any program with root privileges doing header rewriting is 
a recipe for disaster.

It also depends on what you mean by "delivery"; qmail's logic is 
much simpler, but internally sendmail will do "almost" the same, 
without giving you so many chances to inspect and debug.

  1a) The ability to forward mail, up front

Sorry?

 2) The ability (even if theoretical) to deliver a
 message without fsync()ing it into the queue, unless
 absolutely necessary.

I don't find that a plus... I prefer to stay on the safe side, rather than 
(potentially) losing messages for the sake of speed.

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

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



Re: Virus scanning

1999-12-17 Thread Hans Sandsdalen

"Shawn P. Stanley" wrote:
 
 I've seen lots of mail on this list about patching to get various virus
 scanners to work, and the goofy things they do once they do work.
 
 Is there a recommended virus scanner for qmail that's not too difficult to
 set up?

Been working on this, and got it working.

1 - get amavis from http://www.amavis.org
2 - get McAfee from
http://www.nai.com/asp_set/buy_try/try/products_evals.asp
3 - read
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
I'm not good at this, but I had to use "patch -l" to patch
scanmails.in...

I've made myself a cron-job which get updates of dat-files to the
virusscanner from
ftp://ftp.mcafee.com/pub/datfiles/english.

Thanks to people on the list, espesially Dustin Miller
[EMAIL PROTECTED] and
Christopher Seawood [EMAIL PROTECTED]
-- 
/hans



local address used as spam sender

1999-12-17 Thread Gil Prudente

Hi,

Someone used a non-existent address in our domain
( [EMAIL PROTECTED] ) to send spam and we're getting
hundreds of bounced messages, which in turn are 
double-bounced because the mailbox does not exist.

I have temporarily redirected these bounced messages
to a file by creating an alias, to get rid of the
double-bounces. 

What's the best way to deal with this? The spammer
even used msc.net.ph in the greeting, but the receiving
server was able to record the IP as 152.200.184.186.

Received: from msc.net.ph (98C8B8BA.ipt.aol.com [152.200.184.186])
by mailqwest.qwest.net (8.8.8/8.8.8) with SMTP id BAA07910
mail_from [EMAIL PROTECTED];
Fri, 17 Dec 1999 01:22:41 -0700 (MST)

Attached at the bottom is the entire message.

Any help would be appreciated.

Thanks,

Gil Prudente

--
Return-Path: [EMAIL PROTECTED]
Received: from mailqwest.qwest.net (mailqwest.qwest.net [199.117.27.2])
by mx4-e.mail.home.com (8.9.1/8.9.1) with ESMTP id AAA27497;
Fri, 17 Dec 1999 00:22:48 -0800 (PST)
From: [EMAIL PROTECTED]
Received: from msc.net.ph (98C8B8BA.ipt.aol.com [152.200.184.186])
by mailqwest.qwest.net (8.8.8/8.8.8) with SMTP id BAA07910
mail_from [EMAIL PROTECTED];
Fri, 17 Dec 1999 01:22:41 -0700 (MST)
Subject: Who's next?
Date: Fri, 17 Dec 1999 02:25:54
Message-Id: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]
Apparently-To: [EMAIL PROTECTED]


Increase your revenues by up to 1500%
by accepting credit cards  electronic checks!

Minimal Credit Requirements ~ Prior Bankruptcy OK! ~ Internet Business New Start
ups ~ Home Office ~ Mail / Phone Order ~ Retail Stores

99% approval! ~ No set-up fees! ~ Low monthly fees ~ Full Warranty!

Transactions processed  credited directly to your bank electronically ~ Custome
r service 24/7!

(Note - This Is Not An Application For Personal Credit Cards)

(Sorry - This Offer Only Applies To U.S. Residents)

Click Below For More Information!

http://216.33.20.4/bc2/rhndfg93/index.html



Fwd: Re: Is there an update on the qmail book

1999-12-17 Thread Eckehard Schulze

 Has anyone heard about the release date of the O'Reilly qmail book?  I'm
 really looking forward to this book as I am having trouble finding good
 documentation on the Net.
Wow, I haven't heard anything about a qmail book... if there is truly 
one in the makings, anyone know who the author might be?
Andy
Hi,
in "SAGE-AU July 1999" I found the hint, that Jhon Levine and Russel Nelson are the 
writers, may be published in Sep. 1999 by O'Reilly...

but not seen yet here...

Eckehard



Re: local address used as spam sender

1999-12-17 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17 Dec 99, at 17:13, Gil Prudente wrote:
 Someone used a non-existent address in our domain
 ( [EMAIL PROTECTED] ) to send spam and we're getting
 hundreds of bounced messages, which in turn are 
 double-bounced because the mailbox does not exist.

Pity you.

 I have temporarily redirected these bounced messages
 to a file by creating an alias, to get rid of the
 double-bounces. 

That looks like a reasonable way to do. The even more reasonable 
way would be to find out the recipient of the bounce, and point 
_that_ account to bit hell (/dev/null). You don't have to generate the 
second bounce, and you're not missing some (more important) 
double bounces.

 What's the best way to deal with this? The spammer
 even used msc.net.ph in the greeting, but the receiving
 server was able to record the IP as 152.200.184.186.

Not much to do. It's a feature (agruably weakness) of SMTP 
protocol. You can only trace further 152.200.184.186, and
undertake legal action or something, but you need to live
with the bounces.

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

iQA/AwUBOFoSuFMwP8g7qbw/EQJU7QCeL1XVNFxF5mYseS8TgrO8IPF7hhsAoMK8
oeY4nPoc/urnWr+pm3xiJdDQ
=VVsq
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: local address used as spam sender

1999-12-17 Thread reservations



Petr Novotny wrote:
 
 That looks like a reasonable way to do. The even more reasonable
 way would be to find out the recipient of the bounce, and point
 _that_ account to bit hell (/dev/null). You don't have to generate the
 second bounce, and you're not missing some (more important)
 double bounces.

Tried putting /dev/null in the .qmail but I get this error:

Error_while_writing_message._(#4.3.0)

Any ideas? Haven't had time to search the docs/web though.
 
  What's the best way to deal with this? The spammer
  even used msc.net.ph in the greeting, but the receiving
  server was able to record the IP as 152.200.184.186.
 
 Not much to do. It's a feature (agruably weakness) of SMTP
 protocol. You can only trace further 152.200.184.186, and
 undertake legal action or something, but you need to live
 with the bounces.

If my trace is right, it is from an AOL dialup. Do you think
they will be cooperative in tracing the actual user?

Anyway, thanks for the reply.

-- Gil Prudente



Re: local address used as spam sender

1999-12-17 Thread Hans Sandsdalen

[EMAIL PROTECTED] wrote:
 
 Petr Novotny wrote:
 
  That looks like a reasonable way to do. The even more reasonable
  way would be to find out the recipient of the bounce, and point
  _that_ account to bit hell (/dev/null). You don't have to generate the
  second bounce, and you're not missing some (more important)
  double bounces.
 
 Tried putting /dev/null in the .qmail but I get this error:
 
 Error_while_writing_message._(#4.3.0)
 
 Any ideas? Haven't had time to search the docs/web though.

make .qmail an empty file, or a file with only comments.
I think that will do

 
   What's the best way to deal with this? The spammer
   even used msc.net.ph in the greeting, but the receiving
   server was able to record the IP as 152.200.184.186.
 
  Not much to do. It's a feature (agruably weakness) of SMTP
  protocol. You can only trace further 152.200.184.186, and
  undertake legal action or something, but you need to live
  with the bounces.
 
 If my trace is right, it is from an AOL dialup. Do you think
 they will be cooperative in tracing the actual user?
 
 Anyway, thanks for the reply.
 
 -- Gil Prudente

-- 
/hans



qmail Digest 17 Dec 1999 11:00:00 -0000 Issue 852

1999-12-17 Thread qmail-digest-help


qmail Digest 17 Dec 1999 11:00:00 - Issue 852

Topics (messages 34406 through 34462):

More troubleshooting a new qmail installation
34406 by: Mike Payson
34414 by: Dave Sill

DUL list and smtproutes
34407 by: Subba Rao
34430 by: cmikk.uswest.net

Re: Allow RELAY by MAIL FROM
34408 by: Chris Johnson
34409 by: Greg Owen
34413 by: Mark Maggelet

Giving up on ...
34410 by: olli
34412 by: Charles Cazabon

Mailer daemon mail, how to handle?
34411 by: Greg Moeller
34416 by: Andy Bradford

Q-Cards
34415 by: Dave Kitabjian

Sorry, but new here
34417 by: Eckehard Schulze
34419 by: Dave Sill

Is there an update on the qmail book
34418 by: Albert Hopkins
34423 by: Dave Kitabjian
34454 by: Andy Bradford
34459 by: Eckehard Schulze

Failed a relay test?
34420 by: Dustin Miller
34421 by: Dave Sill
34422 by: Dustin Miller
34424 by: Dave Sill
34425 by: Dustin Miller
34426 by: Dustin Miller
34427 by: petervd.vuurwerk.nl

Re: Patching qmail
34428 by: Daniel Mattos

Virus scanning
34429 by: Shawn P. Stanley
34457 by: Hans Sandsdalen

Re: .qmail files
34431 by: Jack O'Toole

Problems sending to local virtual domains
34432 by: Oscar Arranz

Re: IMAP and Mysql !
34433 by: David Harris

Upgrading
34434 by: M. Richardson

Re: AMaViS working ... almost
34435 by: Chris L. Mason

Sendmail vs Qmail?
34436 by: Darren Foo
34437 by: Matthew Brown
34439 by: John Gonzalez/netMDC admin
34440 by: Sam
34445 by: abc
34446 by: cmikk.uswest.net
34449 by: Russell Nelson
34451 by: Ram Prasad
34452 by: Russell Nelson
34456 by: Petr Novotny

RELAYCLIENT domains?
34438 by: Elliott Freis

Forward all but one address ?
34441 by: John Grant (Concordant Networks)

Using Qmail as a dedicated SMTP/POP3 server...
34442 by: Roy Sandgren
34443 by: Patrick Berry

Re: Mac conflict?
3 by: Florian G. Pflug

(no subject)
34447 by: Stephan Weaver

Here are your coupons
34448 by: rureddy.altavista.com
34455 by: Andy Bradford

sendmail to qmail
34450 by: Yamin Prabudy

alert:unable to opendir mess/0
34453 by: Kristina

local address used as spam sender
34458 by: Gil Prudente
34460 by: Petr Novotny
34461 by: reservations.filonline.com
34462 by: Hans Sandsdalen

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]


--



Ok, I decided to back up a bit  start over using the instructions in
Life with qmail instead of those in the how-to. Everything looks fine,
but I'm still having one problem. Whenever I execute 'qmail start' it
returns with supervise help messages (supervise: usage:...), and 'ps x'
shows the four supervise processes as zombies. Attempting to inject a
mail message has no effect. 

Any idea what's up now?

Thanks!
Mike




Mike Payson [EMAIL PROTECTED] wrote:

Ok, I decided to back up a bit  start over using the instructions in
Life with qmail instead of those in the how-to. Everything looks fine,
but I'm still having one problem. Whenever I execute 'qmail start' it
returns with supervise help messages (supervise: usage:...), and 'ps x'
shows the four supervise processes as zombies. Attempting to inject a
mail message has no effect. 

Any idea what's up now?

Sounds like a version mismatch between the "qmail" script and
daemontools.

LWQ originally worked with daemontools 0.53. The current version works 
with daemontools 0.61.

Recheck LWQ and the version of deamontools you have installed, and
make sure they match.

-Dave





I am currently using dial-up connection for Internet and Intranet access.
For Internet mail, I have defined my isp's smtp server in smtproutes file.
For Intranet mail, I would prefer to use another smtp server. Is that possible?
Can smtproutes be different for different user accounts?

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

 = Time is relative. Here is a new way to look at time. =
http://www.smcinnovations.com





On Thu, 16 Dec 1999 08:56:20 -0500 , Subba Rao writes:
 I am currently using dial-up connection for Internet and Intranet access.
 For Internet mail, I have defined my isp's smtp server in smtproutes file.
 For Intranet mail, I would prefer to use another smtp server. Is that possible
?
 Can smtproutes be different for different user accounts?

It can be different for different destination
addresses, that is all.

So, if your intranet mail is typically to [EMAIL PROTECTED],

Re: local address used as spam sender

1999-12-17 Thread Paulo Jan

  Not much to do. It's a feature (agruably weakness) of SMTP
  protocol. You can only trace further 152.200.184.186, and
  undertake legal action or something, but you need to live
  with the bounces.
 
 If my trace is right, it is from an AOL dialup. Do you think
 they will be cooperative in tracing the actual user?
 


A better way would be to report them to the server that hosts the page
they are advertising:


Click Below For More Information!

http://216.33.20.4/bc2/rhndfg93/index.html


Which turns out to be bigip.angelfire.com. This way, the (few?) people
who actually follow the ad and try to get "more information" will find a
lovely 404 error...



Paulo Jan.
DDnet.



Re: sendmail to qmail

1999-12-17 Thread Russell P. Sutherland

* Yamin Prabudy ([EMAIL PROTECTED]) [17 Dec 1999 01:28]:

 How to convert the mbox format to Maildir format
 I need to convert my sendmail format to qmail with Maildir

Go to the qmail WWW site (www.qmail.org) and fetch either
the convert-and-create (for many users) or  convert a single user
links. They are both perl scripts.

-- 
Quist ConsultingEmail: [EMAIL PROTECTED]
219 Donlea DriveVoice: +1.416.696.7600
Toronto ON  M4G 2N1 Fax:   +1.416.978.6620
CANADA  WWW:   http://www.quist.on.ca



Re: Forward all but one address ?

1999-12-17 Thread Robin Bowes

John Grant (Concordant Networks) [EMAIL PROTECTED] wrote in message
000301bf4824$aead9fe0$[EMAIL PROTECTED]">news:000301bf4824$aead9fe0$[EMAIL PROTECTED]...
 Well after a successful installation that receives
 email for a domain and just sends it on to the real server I have hit a
snag.

 Current fix: smtproutes contains the following:

 domain_to_relay.com:server_to_relay_to

 Alas *one* email address at domain_to_relay.com
 has to stay local to my server (without getting relayed
 on and then back (tried that approach).

 Anyone have a good suggestion how to relay all,
 but that one special address ?

John,

Here's what I did to solve a similar situation.

1. Setup the domain as a virtual domain using vpopmail
2. Make the default delivery option to deliver to a Maildir, eg, in
/home/vpopmail/domains/domain_to_relay.com/.qmail-default:

| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/domain_to_relay.com/domain-default

3. Use maildirsmtp running under supervise to send all mail from the Maildir
to the required server.

Any addresses that you want to keep local you can handle by either creating
a new virtual user (vadduser) or creating a .qmail-user file in the
/home/vpopmail/domains/domain_to_relay.com

HTH,

R.



Re: local address used as spam sender

1999-12-17 Thread Gil Prudente


Thanks for the tip. I just wrote [EMAIL PROTECTED]
to report their abusive tenant.

sigh The onslaught of bounce messages (which now goes to
bit hell) still continues as I write. What a terrible waste 
of bandwidth :(

Thanks for all those who helped!

--Gil Prudente

Paulo Jan wrote:
 
   Not much to do. It's a feature (agruably weakness) of SMTP
   protocol. You can only trace further 152.200.184.186, and
   undertake legal action or something, but you need to live
   with the bounces.
 
  If my trace is right, it is from an AOL dialup. Do you think
  they will be cooperative in tracing the actual user?
 
 
 A better way would be to report them to the server 
 that hosts the page they are advertising:
 
 Click Below For More Information!
 
 http://216.33.20.4/bc2/rhndfg93/index.html
 
 Which turns out to be bigip.angelfire.com. This way, 
 the (few?) people who actually follow the ad and try to get 
 "more information" will find a lovely 404 error...
 
 Paulo Jan.
 DDnet.



Re: local address used as spam sender

1999-12-17 Thread Ari Arantes Filho

Hi,

My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com === goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari





Help with Lotus Notes

1999-12-17 Thread Ari Arantes Filho

Hi,

Sorry about last message, I didn't change the subject...



My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com === goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari






Re: Help with Lotus Notes

1999-12-17 Thread Alexander Jernejcic

Hi Ari,

be carefull with this: make sure, the customer has the pop3 module for 
his lotus notes server. this is a rather expensive addon!
standard lotus notes is AFAIK only smtp. so your customer needs his 
own IP address for ETRN or you will mangle around with some autoturn 
solutions.

alex

 Ursprüngliche Nachricht 

Am 12/17/99, 1:42:18 PM, schrieb "Ari Arantes Filho" 
[EMAIL PROTECTED] zum Thema Help with Lotus Notes:


 Hi,

 Sorry about last message, I didn't change the subject...



 My customer is using an other isp where this domain is hosted. Now 
it
 wants to change to my isp. He is using a dialup connection with the 
other
 isp and has a Lotus Notes Server in its local network. The NT, where 
Notes
 runs, makes a dialup connection from time to time and receive incoming
 messages and send outgoing messages.

 How do I need to configure my qmail to do this job? I think that 
the
 username is controlled by Notes and I don't need to worry about 
usernames,
 right? Is a kind of this:

 *@domain.com === goes to a normal pop account and the Notes reads only 
this
 account?

 /var/control/virtualdomains:
 domain.com:domain-com

 /home/domain-com
 .qmail-default
 ./Maildir/

 The notes reads only the user domain-com, right?

 Best regards,

 Ari





control

1999-12-17 Thread Stephan Weaver

hello good day.
im getting alot of trouble sendmail mail with qmail.
i am on a dial up
and it keeps trying to sendmail to -localhost-.my.fqdn.com.
and i dont got SOA on the fqdn so i cant make localhost.,
can someone please help me out?
Dec 17 09:09:36 weaver qmail: 945436176.584467 delivery 25: failure:
Sorry,_I_couldn't_find_any_host_named_localhost.tstt.net.tt._(#5.1.2)/





Re: Sendmail vs Qmail?

1999-12-17 Thread cmikk


On 17 Dec 1999 08:10:26 - , "Petr Novotny" writes:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 16 Dec 99, at 20:48, [EMAIL PROTECTED] wrote:
  I would list a few things in sendmail's favor:
  
  1) The ability to rewrite headers "up front" without
  requiring double delivery (once to a rewriting
  program, then again to the destination).
 
 Nice - but any program with root privileges doing header rewriting is 
 a recipe for disaster.

Well, perhaps -- it does make existing security
holes potentially more damaging. 

The inability to do header rewriting without making
two trips through the queue causes a severe performance
hit, if you are doing anything other than low volume.
 
 It also depends on what you mean by "delivery"; qmail's logic is 
 much simpler, but internally sendmail will do "almost" the same, 
 without giving you so many chances to inspect and debug.

By delivery, I mean "a call to qmail-inject" (two fsyncs).
 
   1a) The ability to forward mail, up front
 
 Sorry?

That is forwarding with only one trip through the queue.
 
  2) The ability (even if theoretical) to deliver a
  message without fsync()ing it into the queue, unless
  absolutely necessary.
 
 I don't find that a plus... I prefer to stay on the safe side, rather than 
 (potentially) losing messages for the sake of speed.

Such an approach is not necessarily unsafe.  Unsafe
means that messages can be lost after they are
acknowledged.  If the message is successfully
delivered before acknowledgement is given, then
enqueueing the message is unnecessary.
 
-- 
Chris Mikkelson  |  Problems are posed by fools like me;
[EMAIL PROTECTED] |  But only Heuristics can search a tree.



Re: Sendmail vs Qmail?

1999-12-17 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
 The inability to do header rewriting without making
 two trips through the queue causes a severe performance
 hit, if you are doing anything other than low volume.

Rewriting headers of all messages is a severe performance hit. Or 
can you instruct sendmail not to? I couldn't find how.

 That is forwarding with only one trip through the queue.

You mean reading "aliases" before delivering, and therefore 
deciding to forward immediately? Maybe with some tweaking, the 
current virtualdomains code might do that.

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

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



Re: local address used as spam sender

1999-12-17 Thread cmikk


On Fri, 17 Dec 1999 17:13:09 +0800 , Gil Prudente writes:
 Someone used a non-existent address in our domain
 ( [EMAIL PROTECTED] ) to send spam and we're getting
 hundreds of bounced messages, which in turn are 
 double-bounced because the mailbox does not exist.
 
 I have temporarily redirected these bounced messages
 to a file by creating an alias, to get rid of the
 double-bounces. 
 
I think that is the best way to deal with it.

The alias's .qmail- file contains only '#', right?

The only way to do better would be to patch smtpd
(I think there is a "badrcptto" patch floating around
somewhere) so that it would reject the bounce messages
up front. 
 
-- 
Chris Mikkelson  |  Microsoft: Where do you want to go today?
[EMAIL PROTECTED] |  Linux: Where do you want to go tomorrow?
 |  FreeBSD: Are you guys coming or what?



Re: Sorry, but new here

1999-12-17 Thread Stephan Goldenberg

On Thu, Dec 16, 1999 at 12:08:18PM -0500, Dave Sill wrote:
 [EMAIL PROTECTED] wrote:
 
 How can I start without going in trouble too much?
 
 Are there any tips to start?
 
 Start with "Life with qmail":
 
 http://Web.InfoAve.Net/~dsill/qmail.html
 
 German translation coming soon.
 
 -Dave
 
Hi,

this arrived right in time. Saved a lot of work here.
THANKS.
bye,
-- 
Stephan Goldenberg  [EMAIL PROTECTED]
   -- DG1EES -- amprnet:[EMAIL PROTECTED]
  Essen, Germany6°E 56.479' 51°N 28.040' [JO31LL]



Re: Sendmail vs Qmail?

1999-12-17 Thread cmikk


On 17 Dec 1999 13:34:39 - , "Petr Novotny" writes:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
  The inability to do header rewriting without making
  two trips through the queue causes a severe performance
  hit, if you are doing anything other than low volume.
 
 Rewriting headers of all messages is a severe performance hit. Or 
 can you instruct sendmail not to? I couldn't find how.

Rewriting headers chews up CPU.  Re-enqueueing the
message (in qmail) causes between 4 and 5 (serial)
fsyncs, which pretty much dwarfs any latency introduced
by scanning and rewriting the headers of the message.
 
  That is forwarding with only one trip through the queue.
 
 You mean reading "aliases" before delivering, and therefore 
 deciding to forward immediately? Maybe with some tweaking, the 
 current virtualdomains code might do that.

Yep, that's pretty much what I mean.  Unfortunately,
it severely violates qmail's "philosophy."
 
-- 
Chris Mikkelson  | ... a pet peeve of mine is people who directly edit 
[EMAIL PROTECTED] | the .cf file instead of using the m4 configuration
 | files ... I treat the .cf file as a binary file
 | - you should too.  --- Eric Allman



question about hotmail and envelop sender

1999-12-17 Thread Li Hong



Greeting all!

here got 2 problem about qmail-send.

1.i setup my own email server several month ago but now some 
weird problem when Isend email to [EMAIL PROTECTED],following is 
error info return back my mail damon:

---
[EMAIL PROTECTED]:216.33.151.135 
failed after I sent the message.Remote host said: 554 Transaction failed
---

when I try to telnet to hotmail, the result is the same.


why?


2.how could I set the envelop sender since I use qmail in my cgi script 
like
open(MAIL,"|/usr/local/qmail/bin/qmail-inject [EMAIL PROTECTED]") || die $!;
print MAIL "blah blah";
close(MAIL);

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


Thanks.




Re: question about hotmail and envelop sender

1999-12-17 Thread Nguyen Dang Phuoc Dong

I'm too! Don't know how Hotmail can serve millions account!

Dong

-Original Message-
From: Li Hong [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, December 17, 1999 8:54 PM
Subject: question about hotmail and envelop sender


---
[EMAIL PROTECTED]:
216.33.151.135 failed after I sent the message.
Remote host said: 554 Transaction failed

---






Re: Forward all but one address ?

1999-12-17 Thread Martin A. Brown

John,

I'm not sure this is exactly what you are looking for, but I have an
alternate solution to your problem.

If you remove the smtproutes entry, and enter the following into
virtualhosts:

domain_to_relay.com:relaydomain

Then all mail bound for domain_to_relay.com can be forwarded by

~relaydomain/.qmail-default (which can contain):
| forward ${EXT}@server_to_relay_to.domain.com

And you can make as many exceptions as you like to this rule, e.g.
~relaydomain/.qmail-admin (which could contain):

./Maildir/

or whatever delivery address you would prefer.

Now the only problem with this solution is that your message makes two
trips through the queue--if it's not a heavily loaded box, then you are
set.

Good luck,

-Martin
-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Thu, 16 Dec 1999, John Grant (Concordant Networks) wrote:

--Well after a successful installation that receives
--email for a domain and just sends it on to the real server I have hit a snag.
--
--Current fix: smtproutes contains the following:
--
--domain_to_relay.com:server_to_relay_to
--
--Alas *one* email address at domain_to_relay.com 
--has to stay local to my server (without getting relayed
--on and then back (tried that approach).
--
--Anyone have a good suggestion how to relay all,
--but that one special address ?
--
-
--
--  John 



Re: control

1999-12-17 Thread Li Hong

Well,the fqdn means Full Qualified Domain Name,please take a look at  Dave Sill's Life 
With Qmail file which you could find  via www.qmail.com/top.html and it will solve 
this problem and further one.

- Original Message - 
From: Stephan Weaver [EMAIL PROTECTED]
To: c
Sent: Friday, December 17, 1999 9:17 PM
Subject: control


 hello good day.
 im getting alot of trouble sendmail mail with qmail.
 i am on a dial up
 and it keeps trying to sendmail to -localhost-.my.fqdn.com.
 and i dont got SOA on the fqdn so i cant make localhost.,
 can someone please help me out?
 Dec 17 09:09:36 weaver qmail: 945436176.584467 delivery 25: failure:
 Sorry,_I_couldn't_find_any_host_named_localhost.tstt.net.tt._(#5.1.2)/
 
 
 
 



Re: Help with Lotus Notes

1999-12-17 Thread qmail

On 17 Dec 99, at 13:06, Alexander Jernejcic wrote:

 Hi Ari,
 
 be carefull with this: make sure, the customer has the pop3 module for 
 his lotus notes server. this is a rather expensive addon!

Since Notes Release 4.5 there will be Servertasks for smtp, pop3, 
imap and ldap. Notes is also able to use a vendor-specific service 
on Port 1352 for replication of Notes-Databases and the delivery of 
mail. If your customer uses this services Notes will do all of the 
dialup stuff (not NT) and the ISP must also host a Notesserver (for 
collecting and sending the mail). So check that your customer has 
configured and started an Notes smtp-mta for generic smtp 
mailservices. A Problem regarding this solution would be that 
Notes will send all outgoing mail directly with queuing it for a later 
delivery!

It would be a good idea using a small Linux-Box at the customers 
side running qmail (as mail-proxy), and for dail-up/serialmail. 
Perhaps you should also add an HTTP-Proxy as special service for 
new customers ;- 

- Roland




Re: Help with Lotus Notes

1999-12-17 Thread qmail

On 17 Dec 99, at 16:42, [EMAIL PROTECTED] wrote:

 mailservices. A Problem regarding this solution would be that 
 Notes will send all outgoing mail directly with queuing it for a later 
 delivery!

Sorry typo!!! Notes send all mail directly **without** queuing it for 
later delivery.

 
 It would be a good idea using a small Linux-Box at the customers 
 side running qmail (as mail-proxy), and for dail-up/serialmail. 
 Perhaps you should also add an HTTP-Proxy as special service for 
 new customers ;- 
 
 - Roland
 
 




Re: dumping msgs to the BBBB

1999-12-17 Thread Timothy L. Mayo

a .qmail file that only contains comments will achieve what you are after.

.qmail:
#

works very nicely. :)

On Fri, 17 Dec 1999, Keith Warno wrote:

  == "Big Black Bit Bucket", AKA, /dev/null
 
 I remember seeing something on the list about how to do this; apologies in
 advance.  I would like to send a user's mail (either a real user or
 non-existant user) silently to /dev/null.  I'm assuming that an
 appropriately-named .qmail file with a /dev/null will work; however I was
 pretty sure there was a more "elegant" way of doing it.  Something involving
 a pound sign maybe?
 
 Thanks.
 
 
 /*
 ** Keith Warno
 ** Make Us An Offer, Inc.
 ** Real-Time Online Haggling
 ** http://www.makeusanoffer.com/
 */
 
 

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

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



Re: dumping msgs to the BBBB

1999-12-17 Thread cmikk


On Fri, 17 Dec 1999 11:18:32 -0500 , "Keith Warno" writes:
 I remember seeing something on the list about how to do this; apologies in
 advance.  I would like to send a user's mail (either a real user or
 non-existant user) silently to /dev/null.  I'm assuming that an
 appropriately-named .qmail file with a /dev/null will work; however I was
 pretty sure there was a more "elegant" way of doing it.  Something involving
 a pound sign maybe?

Yes, just put a # sign in the .qmail file.  The #
sign is treated as a comment, and the .qmail file
is nonempty, so it is taken to contain instructions.

Since it has no instructions, the message is just
dropped.

-- 
Chris Mikkelson  | If you throw your bread upon the waters, it shall come
[EMAIL PROTECTED] | back threefold, but only if you are willing to throw the
 | recipe upon the waters as well...  -- Terry Lambert 




Re: Sendmail vs Qmail?

1999-12-17 Thread Mate Wierdl

According to the new book "Programming Internet Email" by Wood at
O'Reilly, qmail does not satisfy the needs of a large company with
complex needs---only sendmail does.  See bottom of page 17.



 According to Dan's surveys, "everyone" is 65% and dropping.

It seems that the droppage is due to people starting to use
Post.Office more than any other MTA (1:10 = PO:sendmail ; 1:20 =
qmail:sendmail).  Also, much more site *started* to use sendmail than
qmail---or any other MTA.

Finally the last survey on Dan's site is more than one year old.

1997:
  6531 sendmail
72 Post.Office
70 Netscape Mail Server, same as Post.Office
51 qmail

1998:
  11583  sendmail
   1102  Post.Office
778  IMail
638  MS Exchange
566  NT Mail
552  qmail
511  Netscape Messaging Server, formerly Netscape Mail Server

Despite all these RedHat is still using qmail on its list server.  Not
only that, lately, they even doubled the number of hosted lists.  Are
they nuts?

As their most significant shareholder ($25,000 on a $1,400 August
investment), I think I am entitled to ask some tough questions.

Indeed, RH went as far as trying to buy Corel just so that (rumor has
it) finally they could distribute qmail.

Finally my own stat

# cat xferlog|grep "var-qmail-create-1.03-102memphis.src.rpm"|
  awk '{print $7,$9}'|sort -u|wc -l
   1859

since Sept 1.

Mate



Re: Sendmail vs Qmail?

1999-12-17 Thread Shawn P. Stanley

I would think the needs of a large company would include the ability to
prevent a mail server from being used as an open relay by spammers.  I was
unable to block spammers with the latest and greatest version of sendmail.

A number of people use sendmail because:

1) It's more flexible than smail was;
2) It comes with Linux.

Most people won't go out of their way to replace their mail server.  I'm
guessing that's why sendmail still rates so high.

As for the intentions of RedHat when trying to purchase Corel, I thought it
had more to do with WordPerfect and other related office tools.  Such tools
are everything in the Linux vs. Microsoft market share war.

- Original Message -
From: Mate Wierdl [EMAIL PROTECTED]
To: Qmail List [EMAIL PROTECTED]
Sent: Friday, December 17, 1999 10:30 AM
Subject: Re: Sendmail vs Qmail?


 According to the new book "Programming Internet Email" by Wood at
 O'Reilly, qmail does not satisfy the needs of a large company with
 complex needs---only sendmail does.  See bottom of page 17.



  According to Dan's surveys, "everyone" is 65% and dropping.

 It seems that the droppage is due to people starting to use
 Post.Office more than any other MTA (1:10 = PO:sendmail ; 1:20 =
 qmail:sendmail).  Also, much more site *started* to use sendmail than
 qmail---or any other MTA.

 Finally the last survey on Dan's site is more than one year old.

 1997:
   6531 sendmail
 72 Post.Office
 70 Netscape Mail Server, same as Post.Office
 51 qmail

 1998:
   11583  sendmail
1102  Post.Office
 778  IMail
 638  MS Exchange
 566  NT Mail
 552  qmail
 511  Netscape Messaging Server, formerly Netscape Mail Server

 Despite all these RedHat is still using qmail on its list server.  Not
 only that, lately, they even doubled the number of hosted lists.  Are
 they nuts?

 As their most significant shareholder ($25,000 on a $1,400 August
 investment), I think I am entitled to ask some tough questions.

 Indeed, RH went as far as trying to buy Corel just so that (rumor has
 it) finally they could distribute qmail.

 Finally my own stat

 # cat xferlog|grep "var-qmail-create-1.03-102memphis.src.rpm"|
   awk '{print $7,$9}'|sort -u|wc -l
1859

 since Sept 1.

 Mate



Limit POP3 and SMTP service !

1999-12-17 Thread Seyyed Hamid Reza Hashemi Golpayegani

Hi ,

I have installed qmail 1.03 and it works fine ! but I want some feature that
can't find it .
1- I want that relay mail based on the sender domain name . For example I
have install this qmail server on morva.net domain and want to don't deliver
mails that are not have [EMAIL PROTECTED] form . It means only morva.net users
can use our smtp server .
2- The log file will be show me that the qmaild user send a mail when I use
pop3 service . It means that I can get uid of user that use pop3 service and
logon to the pop3 server and send a mail . How can I find out that which uid
use pop3 and send a mail ?

Thank You so much
Hamid Hashemi
Morva.net Admin



Re: 550 cannot route to sender

1999-12-17 Thread Nagy Balzs

On Sat, 11 Dec 1999 [EMAIL PROTECTED] wrote:

 On Wed, Nov 17, 1999 at 12:35:42PM +0100, Nagy Balazs wrote:
 
  ;; ANSWER SECTION: 
  col7.metta.lk.  3h21m IN NS server1.tradenetsl.lk.
  col7.metta.lk.  3h21m IN NS dhamma.metta.lk. 
  col7.metta.lk.  3h31m35s IN MX 10 metta.lk. 
  col7.metta.lk.  23h58m23s IN A 172.16.1.1 
  //  This is a problem.  You have to erase the A record from the
  // outer metta.lk zone.  That server can store all messages which come
  // to col7 to a folder (ie. ~alias/172.16.1.1/), but qmail doesn't have
  // to have that dns entry.
 
 Without the A record in the zone file
 when I do a "nslookup col7.metta.lk" I get host not found
 If i put the A record back in the zone file then it is ok

Yes, it's OK for you and just for you only.  You have to have two zone
files.  One is for you and one is for the others.  For you you can put the A
record into the zone field, but for others you have to use just an MX record
for that domain.

 Below is my col7.metta.lk zone file.
 Would it be ok to put the ip of metta.lk as an A record 
 inplace of the 172.16.1.1 entry.
 Please see the sample below.

If you give outer (eg. to the internet) name service, *don't put* local IP
addresses to zone file.

 $ORIGIN col7.metta.lk.
 $TTL86400
 @   IN  SOA narada.col7.metta.lk.
 hostmaster.col7.metta.lk. (
 1999120601 ; serial
 3600 ; refresh
 900 ; retry
 1209600 ; expire
 43200 ; default_ttl
 )
 IN  NS  metta.lk.
 IN  NS  server1.tradenetsl.lk.
 IN  MX  10  metta.lk.
 //***IN  A   172.16.1.1
 //***IN  A   203.115.29.130
 narada.col7.metta.lk.   IN  CNAME   col7.metta.lk.

Which is the latter A record?  Is that your outer port?

My opinion is to do like this:

  ++   ++
  |172.16. |   |203.115.|
  |  1.1   |-modem-|29.130  |=== internet
  ||   ||
  ++   ++

Put col7.metta.lk MX 10 metta.lk to 203.115.29.130's metta.lk zone file, and
put a col7.metta.lk:172.16.1.1 line (or sort of) to metta.lk's
/var/qmail/control/smtproutes.  You can do anything else too but don't
forget not to mention col7.metta.lk for 172.16.1.1.

Then, at your site you can do any record as you like as long as none of your
name service zones are delegated.

 I could also remove the col7.metta.lk zone file 
 and make a  CNAME in the  metta.lk zone file.
 
 Which of the 2 ways is the correct way ?

It depends on what you like.
-- 
Regards: Kevin (Balazs) @ synergon



Re: Sendmail vs Qmail?

1999-12-17 Thread Mate Wierdl

On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
 As for the intentions of RedHat when trying to purchase Corel, I thought it
 had more to do with WordPerfect and other related office tools.  Such tools
 are everything in the Linux vs. Microsoft market share war.

Sorry, I thought it was clear that I was kidding.  But the rest of my
message contained facts---but to interpret them properly, please note
I have been using qmail exclusively since 1996---despite the fact that
our University switched to postoffice.

Mate



Re: Sendmail vs Qmail?

1999-12-17 Thread Shawn P. Stanley

Why is postoffice so popular?

- Original Message -
From: Mate Wierdl [EMAIL PROTECTED]
To: Shawn P. Stanley [EMAIL PROTECTED]
Cc: Qmail List [EMAIL PROTECTED]
Sent: Friday, December 17, 1999 11:02 AM
Subject: Re: Sendmail vs Qmail?


 On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
  As for the intentions of RedHat when trying to purchase Corel, I thought
it
  had more to do with WordPerfect and other related office tools.  Such
tools
  are everything in the Linux vs. Microsoft market share war.

 Sorry, I thought it was clear that I was kidding.  But the rest of my
 message contained facts---but to interpret them properly, please note
 I have been using qmail exclusively since 1996---despite the fact that
 our University switched to postoffice.

 Mate




Re: local address used as spam sender

1999-12-17 Thread Kai MacTane

At 11:55 AM 12/17/99 +0100, you wrote:
[EMAIL PROTECTED] wrote:
 
 Tried putting /dev/null in the .qmail but I get this error:
 
 Error_while_writing_message._(#4.3.0)
 
 Any ideas? Haven't had time to search the docs/web though.

make .qmail an empty file, or a file with only comments.
I think that will do

I tried this out myself, and got the following results:

.qmail-devnull:
/dev/null

Dec 17 09:38:28 gateway qmail: 945452308.624155 new msg 11946
Dec 17 09:38:28 gateway qmail: 945452308.624751 info msg 11946: bytes 844
from [EMAIL PROTECTED] qp 13051 uid 0
Dec 17 09:38:28 gateway qmail: 945452308.738177 starting delivery 3156: msg
11946 to local [EMAIL PROTECTED]
Dec 17 09:38:28 gateway qmail: 945452308.738579 status: local 1/10 remote 0/20
Dec 17 09:38:29 gateway qmail: 945452309.096620 delivery 3156: deferral:
Unable_to_write_/dev/null:_invalid_argument._(#4.3.0)/
Dec 17 09:38:29 gateway qmail: 945452309.097114 status: local 0/10 remote 0/20

Changed the .qmail file and -ALRMed qmail-send.

.qmail-devnull:
|/dev/null

Dec 17 09:39:18 gateway qmail: 945452358.762283 starting delivery 3157: msg
11946 to local [EMAIL PROTECTED]
Dec 17 09:39:18 gateway qmail: 945452358.762783 status: local 1/10 remote 0/20
Dec 17 09:39:19 gateway qmail: 945452359.053363 delivery 3157: deferral:
/bin/sh:_/dev/null:_Permission_denied/
Dec 17 09:39:19 gateway qmail: 945452359.053850 status: local 0/10 remote 0/20

Finally, another try:

.qmail-devnull:
# Comment. Deliver to /dev/null?

Dec 17 09:44:24 gateway qmail: 945452664.275136 starting delivery 3165: msg
1194
6 to local [EMAIL PROTECTED]
Dec 17 09:44:24 gateway qmail: 945452664.275647 status: local 1/10 remote 0/20
Dec 17 09:44:24 gateway qmail: 945452664.332010 delivery 3165: success:
did_0+0+0/
Dec 17 09:44:24 gateway qmail: 945452664.363332 status: local 0/10 remote 0/20
Dec 17 09:44:24 gateway qmail: 945452664.363701 end msg 11946

I did not try an empty file, as man dot-qmail states:

   If .qmail is completely empty (0 bytes long), or does  not
   exist,  qmail-local  follows  the defaultdelivery instruc­
   tions set by your system administrator; normally  default­
   delivery  is  ./Mailbox,  so  qmail-local appends the mail
   message to Mailbox in mbox format.

However, the documentation doesn't say anything about delivering to
/dev/null if it finds only a comment line. (Indeed, I suspect that
qmail-local is simply silently discarding the message, rather than
explicitly attempting delivery to /dev/null.)

While it may be deducible that a .qmail file consisting of only one comment
line (or of only comment lines) would result in silent discarding of
messages, perhaps it should be made explicitly clear in the documentation?
It isn't intuitively obvious, especially since it differs from
qmail-local's behavior in the case of an empty (but present) .qmail file.

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

feature shock /n./ 

[from Alvin Toffler's book title "Future Shock"] A user's (or 
programmer's!) confusion when confronted with a package that has too 
many features and poor introductory material. 



Re: Sendmail vs Qmail?

1999-12-17 Thread Peter C. Norton

Post.Office is simple, it runs under NT, any idiot can set it up, and it's
user interface is better then the current web-configurators for
qmail/sendmail/anything else I've seen.  It's also crappy.  Delivery is
slow, can't grow well past about 200 users, can't handle large volumes of
email, doesn't log nearly enough data to track a message.  It's capable of
losing messages in daily operations.

In other words, beats me.

-Peter

On Fri, Dec 17, 1999 at 11:04:31AM -0600, Shawn P. Stanley wrote:
 Why is postoffice so popular?
 
 - Original Message -
 From: Mate Wierdl [EMAIL PROTECTED]
 To: Shawn P. Stanley [EMAIL PROTECTED]
 Cc: Qmail List [EMAIL PROTECTED]
 Sent: Friday, December 17, 1999 11:02 AM
 Subject: Re: Sendmail vs Qmail?
 
 
  On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
   As for the intentions of RedHat when trying to purchase Corel, I thought
 it
   had more to do with WordPerfect and other related office tools.  Such
 tools
   are everything in the Linux vs. Microsoft market share war.
 
  Sorry, I thought it was clear that I was kidding.  But the rest of my
  message contained facts---but to interpret them properly, please note
  I have been using qmail exclusively since 1996---despite the fact that
  our University switched to postoffice.
 
  Mate
 
 

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.



Re: local address used as spam sender

1999-12-17 Thread petervd

On Fri, Dec 17, 1999 at 09:53:53AM -0800, Kai MacTane wrote:
 At 11:55 AM 12/17/99 +0100, you wrote:
 [EMAIL PROTECTED] wrote:
  
  Tried putting /dev/null in the .qmail but I get this error:
  
  Error_while_writing_message._(#4.3.0)
  
  Any ideas? Haven't had time to search the docs/web though.
 
 make .qmail an empty file, or a file with only comments.

Comments. Empty file will trigger default instructions.

 .qmail-devnull:
 /dev/null

Should work theoretically, I think...

[snip]
 .qmail-devnull:
 |/dev/null

Is complete and utter bullshit.

[snip]
 
 .qmail-devnull:
 # Comment. Deliver to /dev/null?

Discards the message as requested.

 Dec 17 09:44:24 gateway qmail: 945452664.275136 starting delivery 3165: msg
 1194
 6 to local [EMAIL PROTECTED]
 Dec 17 09:44:24 gateway qmail: 945452664.275647 status: local 1/10 remote 0/20
 Dec 17 09:44:24 gateway qmail: 945452664.332010 delivery 3165: success:
 did_0+0+0/
 Dec 17 09:44:24 gateway qmail: 945452664.363332 status: local 0/10 remote 0/20
 Dec 17 09:44:24 gateway qmail: 945452664.363701 end msg 11946
 
 I did not try an empty file, as man dot-qmail states:
 
If .qmail is completely empty (0 bytes long), or does  not
exist,  qmail-local  follows  the defaultdelivery instruc­
tions set by your system administrator; normally  default­
delivery  is  ./Mailbox,  so  qmail-local appends the mail
message to Mailbox in mbox format.
 
 However, the documentation doesn't say anything about delivering to
 /dev/null if it finds only a comment line. (Indeed, I suspect that
 qmail-local is simply silently discarding the message, rather than
 explicitly attempting delivery to /dev/null.)

I don't know where I've read it, but it's true :)

 While it may be deducible that a .qmail file consisting of only one comment
 line (or of only comment lines) would result in silent discarding of
 messages, perhaps it should be made explicitly clear in the documentation?

I think that would be a good idea :)

 It isn't intuitively obvious, especially since it differs from
 qmail-local's behavior in the case of an empty (but present) .qmail file.

Correct.

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



New worm virus: W32.NewApt.Worm

1999-12-17 Thread Delanet Administration

With all the talk about virus scanning on incomming mail/etc I thought
I'd add this little piece. In the event that you do not scan incomming
mail and are hit by this or another virus, the following little shell
script will allow you to locate and remove the infected emails from a
customers maildir before they download their email.

#!/bin/sh

for i in /export/vpopmail/domains/$1/$2*
do
  for x in $i/Maildir/new/*
do
grep "http://stuart.messagemates.com/index.html" $x  /dev/null
21
if [ $? -eq 0 ]
  then
  mv $x /export/badmail/
  echo $x   /export/badmail/infected.log
fi
done
done
---

Syntax is './filter.sh your domain directory letter from a to z'.

This allows you to check maildirs for all users whose login begins with
whatever letter you specify. Run multiple copies to scan more maildirs
faster if your server can handle, or if you run multiple front end mail
servers delivering to the same nfs mail store. This script is setup for
vchkpw/vpopmail with multiple domains. You may need to edit it for the
correct path and destination for the infected emails to be moved to. As
always, I take no responsibility if this trashes your mail server. Run
at your own risk. It works fine for me, but my server is not the same as
yours I'm sure. Also note the grep line is currently setup for the above
noted virus. It should work with others if you can find a repeating
pattern that is consistent in all emails containing the virus. It's not
pretty, but it works.

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802





RE: Sendmail vs Qmail?

1999-12-17 Thread Matthew Brown

 According to the new book "Programming Internet Email" by Wood at
 O'Reilly, qmail does not satisfy the needs of a large company with
 complex needs---only sendmail does.  See bottom of page 17.

Don't just tease us: what's his reasoning?  Not gonna go out  buy the book
right now just to find out!

-Matt

--
Matt Brown  UNIX Administrator  tickets.com
Phone: (714) 327-5571 --- Email: [EMAIL PROTECTED]



RE: alert:unable to opendir mess/0

1999-12-17 Thread Matthew Brown

 Dec 17 16:10:16 host1 qmail: 945414616.234284 status: local
 0/10 remote 0/20
 Dec 17 16:10:17 host1 qmail: 945414617.771422 alert: unable
 to opendir mess/0, sleeping...

Sounds like either /var/qmail/queue/* doesn't exist or its
ownership/permissions are wrong ...

What's under there?

-Matt

--
Matt Brown  UNIX Administrator  tickets.com
Phone: (714) 327-5571 --- Email: [EMAIL PROTECTED]



Re: Sendmail vs Qmail?

1999-12-17 Thread Dave Sill

"Peter C. Norton" [EMAIL PROTECTED] wrote:

Post.Office is simple, it runs under NT, any idiot can set it up, and it's
user interface is better then the current web-configurators for
qmail/sendmail/anything else I've seen.

Those are the pluses.

It's also crappy.  Delivery is slow, can't grow well past about 200
users, can't handle large volumes of email, doesn't log nearly enough
data to track a message.  It's capable of losing messages in daily
operations.

Those are the minuses.

In other words, beats me [why Post.Office is so popular].

It's no mystery: NT is popular, idiots abound, and everyone likes a
pretty [inter]face.

The fact that it's crappy is obviously secondary to these concerns.

-Dave



Re: mail queue statistics

1999-12-17 Thread Dave Sill

clifford thurber [EMAIL PROTECTED] wrote:

I have read all the docs and tried to get this to work so please forgive
the sophmoric nature of this question but I am new to qmail and this list
has been quite helpful. What is the qmail command(under bin) to generate a
report of all the mail that qmail has sent out in the last X hours of days.
Is there a way to both get a numerical total as well as a list of  remote
recipient addresses that qmail 
has sent off mail to. Thanks again in advance.

What you want is available in a separate package called
qmailanalog. See:

http://Web.InfoAve.Net/~dsill/lwq.html#qmailanalog

-Dave



Re: (no subject)

1999-12-17 Thread Dave Sill

"Stephan Weaver" [EMAIL PROTECTED] wrote:

i really like qmail.

Me too.

I was wondering how to disable somethings.
if i telnet localhost 25
and i type 'help'
i get a response with a link to the qmail's homepage.
i dont want that, for security reasons.
mabee you guys can help me out?

Modify the source code, qmail-smtpd.c, to be specific.

There's really nothing to be gained by trying to hide the fact that
you're running qmail because: (1) there are no known security holes
in qmail, and (2) qmail is recognizable by its behavior.

-Dave



Re: Problems sending to local virtual domains

1999-12-17 Thread Dave Sill

Oscar Arranz [EMAIL PROTECTED] wrote:

I have installed qmail with tcpserver and vpopmail.
When I send a message from a local address ([EMAIL PROTECTED]) to
an external account, it works fine
but when I send a message to other address in the same server it doesn't
work and puts a message like this on /var/log/syslog

delivery 13: deferral:
Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)

What's the meaning of this?

From "man dot-mail":

   If .qmail has the execute bit set, it must not contain any
   program lines, mbox lines, or maildir  lines.   If  qmail-
   local  sees  any  such  lines, it will stop and indicate a
   temporary failure.

"Executable" .qmail files are supposed to contain nothing but
"forward" lines. This is a security feature for mailing list files: if 
an attacker could somehow subscribe the address:

|cat /bin/passwd | Mail [EMAIL PROTECTED]

The execute bit would prevent qmail-local from performing that
delivery.

-Dave



Qmail daemon messages

1999-12-17 Thread Dustin Miller

I was wondering if there is a place where I can change the default daemon
messages.

Things like "sorry it didn't work out" bounces, and things like that.

Are these configurable?  Or do I edit source code to change them?

Thanks in advance!

Dustin



Re: Qmail daemon messages

1999-12-17 Thread Russell Nelson

Dustin Miller writes:
  I was wondering if there is a place where I can change the default daemon
  messages.
  
  Things like "sorry it didn't work out" bounces, and things like that.
  
  Are these configurable?  Or do I edit source code to change them?

Source code.  Plus, the "Hi, this is the" part is a documented
standard, and cannot be changed without breaking everything that
parses bounce messages.

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



Re: Qmail daemon messages

1999-12-17 Thread Fabrice Scemama

And why the hell would someone ever want to change them ?
Many people expect them to have that form.

Anyway, RFCs-1891,1892,1893,1894 explain what the messages
'SHOULD' contain, exactly.

Russell Nelson wrote:
 
 Dustin Miller writes:
   I was wondering if there is a place where I can change the default daemon
   messages.
  
   Things like "sorry it didn't work out" bounces, and things like that.
  
   Are these configurable?  Or do I edit source code to change them?
 
 Source code.  Plus, the "Hi, this is the" part is a documented
 standard, and cannot be changed without breaking everything that
 parses bounce messages.
 
 --
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | Government schools are so
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



RE: Qmail daemon messages

1999-12-17 Thread Dustin Miller

I'm really getting sick of replies like this.

First of all, is there any reason for you to say "Why the hell [snip]", any
reason at all for the vulgarity?

Second of all, I don't want my server saying. "Sorry it didn't work out."
People in general don't get those messages, and if there is anything I can
do to reduce the tech support calls I receive saying "What does this message
mean", I'm going to do it.

Third, I do appreciate the RFC pointers, and I will check those out.

If anyone else has some valuable information about what I can do to change
those messages while still keeping true to the RFCs and any other standards,
please let me know.  The default messages aren't good enough for the average
newbie internet e-mail user, in my humble opinion, and I wish to change them
on my server.

-Original Message-
From: gesnet [mailto:gesnet]On Behalf Of Fabrice Scemama
Sent: Friday, December 17, 1999 4:43 PM
To: Russell Nelson
Cc: [EMAIL PROTECTED]
Subject: Re: Qmail daemon messages


And why the hell would someone ever want to change them ?
Many people expect them to have that form.

Anyway, RFCs-1891,1892,1893,1894 explain what the messages
'SHOULD' contain, exactly.

Russell Nelson wrote:

 Dustin Miller writes:
   I was wondering if there is a place where I can change the default
daemon
   messages.
  
   Things like "sorry it didn't work out" bounces, and things like that.
  
   Are these configurable?  Or do I edit source code to change them?

 Source code.  Plus, the "Hi, this is the" part is a documented
 standard, and cannot be changed without breaking everything that
 parses bounce messages.

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



RE: Qmail daemon messages

1999-12-17 Thread Dustin Miller

I'll need to look into the bounce parsing standard to ensure compatibility.
The default messages can be confusing to newbie e-mail users, and changing
them would reduce the tech support calls I receive here.

-Original Message-
From: Russell Nelson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 3:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmail daemon messages


Dustin Miller writes:
  I was wondering if there is a place where I can change the default daemon
  messages.
 
  Things like "sorry it didn't work out" bounces, and things like that.
 
  Are these configurable?  Or do I edit source code to change them?

Source code.  Plus, the "Hi, this is the" part is a documented
standard, and cannot be changed without breaking everything that
parses bounce messages.

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



RE: Qmail daemon messages

1999-12-17 Thread Greg Owen

 I'll need to look into the bounce parsing standard to ensure 
 compatibility. The default messages can be confusing to
 newbie e-mail users, and changing them would reduce the tech
 support calls I receive here.

If you're going to change them, may I suggest trying to change the
source in such a way that the configurable parts of the messages are
confined to a set of #defines, so that others may more easily plug them in
without conflicting with the standard.  (I say this without having glanced
at the standard, so take this comment for what it is worth).

opinion
The problem you are having is not the default messages - it is
newbie email users.  I am consistently amazed how many people have trouble
getting their own email address correct, much less analyzing bounce messages
of ANY format.

I have yet to find a good patch for this problem.
/opinion

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



qmail appending mail machines name to recipients

1999-12-17 Thread clifford thurber

Hello,
I made a post earlier to this list open a PERL program I have written which
basic opens one file handle ot a CSV file containing usernames and email
adresses parses them and then sends users mail by writing to a file handle
opened to qmail. Here is the snippet of code that achieves this:

$mailprog = "/usr/local/var/qmail/bin/qmail-inject";

open(MAIL, "|$mailprog");

print MAIL "To: $email\n";
print MAIL "From: $from\n";
print MAIL "Subject:$subject\n";
print MAIL "MIME-Version: 1.0\n";
print MAIL "Content-Type: text\/html\; charset\=us-ascii\;
name=\"newsl.html\"\n";
print MAIL "Content-Transfer-Encoding: 7bit\n";
print MAIL "Content-Disposition: inline\; filename=\"newsl.html\"\n";
print MAIL "Content-Base: http:\/\/www\.liveuniverse\.com\n";


print MAIL " etc .
close(MAIL);

The problem is that every message is being bounced back b/c somewhere qmail
is appending the name of our machine(snapper.raremedium.com) onto the
recipients e-mail address. It then sees the name of our box and decideds
this is a local delivery which is of course undeliverable as we are trying
to send mail to a list of remote users. Can anyone help me with this. For
instance below my script assigned the value  $email ="[EMAIL PROTECTED]"
which is correct. Now when qmail recieves it, it decides to append the name
of our machine (snapper.raremedium.com) onto this address. Can someone
please give me some insight into this. I think I am going crazy. Below is
the output of the mail log. Anyway thanks in advance.


Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
msg 721
291 to local [EMAIL PROTECTED]@snapper.raremedium.com

and then later on the logfile I will see the failure message with :

 Dec 16 14:43:21 ketel-1 qmail: 945373163.430257 delivery 20110:
failure: Sorry,_
no_mailbox_here_by_that_name._(#5.1.1)/

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



Re: qmail appending mail machines name to recipients

1999-12-17 Thread Russell P. Sutherland

* clifford thurber ([EMAIL PROTECTED]) [17 Dec 1999 17:08]:

 I made a post earlier to this list open a PERL program I have written which
 basic opens one file handle ot a CSV file containing usernames and email
 adresses parses them and then sends users mail by writing to a file handle
 opened to qmail. Here is the snippet of code that achieves this:
 
 $mailprog = "/usr/local/var/qmail/bin/qmail-inject";

etc...

There are also several perl CPAN packages to do this stuff
in a consistent and uniform manner.

-- 
Quist ConsultingEmail: [EMAIL PROTECTED]
219 Donlea DriveVoice: +1.416.696.7600
Toronto ON  M4G 2N1 Fax:   +1.416.978.6620
CANADA  WWW:   http://www.quist.on.ca



Re: qmail appending mail machines name to recipients

1999-12-17 Thread Martin A. Brown

Hello Clifford,

I must admit that your bounce looks very peculiar...

Have you tried either of these instead?  I have used qmail-inject in
scripts like this before, and never had any difficulties

  open(MAIL, "|$mailprog -h ");
  open(MAIL, "|$mailprog -a $email");

Do you get the same bounce?

If you continue to have troubles, show us your /var/qmail/control/*
files...best of luck.

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Fri, 17 Dec 1999, clifford thurber wrote:

--Hello,
--I made a post earlier to this list open a PERL program I have written which
--basic opens one file handle ot a CSV file containing usernames and email
--adresses parses them and then sends users mail by writing to a file handle
--opened to qmail. Here is the snippet of code that achieves this:
--
--$mailprog = "/usr/local/var/qmail/bin/qmail-inject";
--
--open(MAIL, "|$mailprog");
--
--print MAIL "To: $email\n";
--print MAIL "From: $from\n";
--print MAIL "Subject:$subject\n";
--print MAIL "MIME-Version: 1.0\n";
--print MAIL "Content-Type: text\/html\; charset\=us-ascii\;
--name=\"newsl.html\"\n";
--print MAIL "Content-Transfer-Encoding: 7bit\n";
--print MAIL "Content-Disposition: inline\; filename=\"newsl.html\"\n";
--print MAIL "Content-Base: http:\/\/www\.liveuniverse\.com\n";
--
--
--print MAIL " etc .
--close(MAIL);
--
--The problem is that every message is being bounced back b/c somewhere qmail
--is appending the name of our machine(snapper.raremedium.com) onto the
--recipients e-mail address. It then sees the name of our box and decideds
--this is a local delivery which is of course undeliverable as we are trying
--to send mail to a list of remote users. Can anyone help me with this. For
--instance below my script assigned the value  $email ="[EMAIL PROTECTED]"
--which is correct. Now when qmail recieves it, it decides to append the name
--of our machine (snapper.raremedium.com) onto this address. Can someone
--please give me some insight into this. I think I am going crazy. Below is
--the output of the mail log. Anyway thanks in advance.
--
--
--Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
--msg 721
--291 to local [EMAIL PROTECTED]@snapper.raremedium.com
--
--and then later on the logfile I will see the failure message with :
--
-- Dec 16 14:43:21 ketel-1 qmail: 945373163.430257 delivery 20110:
--failure: Sorry,_
--no_mailbox_here_by_that_name._(#5.1.1)/
--
--Clifford Thurber
--Web Systems Administrator
--LiveUniverse.com
--[EMAIL PROTECTED]
--565 5th Ave. 29th Fl.
--New York, NY 10017
--Ph:212 883 6940  (131)
--Fax:212 856 9134
--



Re: Qmail daemon messages

1999-12-17 Thread Racer X

- Original Message -
From: Greg Owen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Fri 17 Dec 1999 14.12
Subject: RE: Qmail daemon messages


 opinion
 The problem you are having is not the default messages - it is
 newbie email users.  I am consistently amazed how many people have trouble
 getting their own email address correct, much less analyzing bounce
messages
 of ANY format.

 I have yet to find a good patch for this problem.
 /opinion

I've found a solution of sorts.  People have an obnoxious tendency to reply
directly to qmail's bounce messages.  I guess they think there's a little
tiny human inside the computer shuffling messages around from mailbox to
mailbox, and when he can't find a mailbox he types out a little message
saying sorry.  Then people reply saying "oh could you try this instead," as
if this is directory assistance and whoops, they got the wrong city again,
it's West Blunfingburg, not East Blunfingburg..

Anyway, I changed the default "from" address for bounces from "postmaster"
to "qmail."  I then set up "qmail@" to be an autoresponder that nicely tells
the person that they need to actually bother reading the error message next
time.  postmaster mail still goes to me if someone has a legitimate "can you
help me locate this address" query.

If you'd like to see the actual autoresponder message, send an email to
[EMAIL PROTECTED]  Feel free to steal this idea for your own use.

shag
=
Judd Bourgeois|   CNM Network  +1 (805) 520-7170
Software Architect|   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.




bouncesaying

1999-12-17 Thread Keith Warno

Hello all.

I would like to filter incoming messages, on a per-Mailbox basis, via a
user's .qmail and various calls to bouncesaying in that .qmail.  Each call
to bouncsaying will run a program that checks for a particular condition,
and perhaps bounce the message if such a check fails.  This is obviously
easy to accomplish.

However, I would like to bounce the message _AND_ still deliver it -- to
some trash mailbox perhaps -- so it can be looked at for whatever reason
(more or less for statistics purposes).  Is there a means by which this can
be accomplished?

At first glance this looks like it will not be easily accomplished without
some code hacking.

Thanks!





off-topic: include file des.h

1999-12-17 Thread Ari Arantes Filho

Hi,

I'm trying to work with a crypt system and the program is asking for include
des.h.

Can anyone send this file to me?

Best regards,

Ari





Cannot Telnet localhost 25

1999-12-17 Thread Bora Kaing

Hi, I am trying to telnet to my qmail server and test the configuration.  I am able to 
get all the TEST.deliver functions working and things seems to be working.  However, 
the connection closes when I telnet to myhost on port 25. I am running Qmail on 
Solaris 2.6.

For example,

bora-bora% telnet localhost 25  
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
bora-bora% 

---inetd.conf
#Qmail 1.0.3 Configuration
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

Thanks for you help,
Bora




Re: off-topic: include file des.h

1999-12-17 Thread Racer X

From your address I can see that you aren't in the US or Canada, and despite
the recent changes in encryption law, I don't think I could send this to
you.

But besides just that, you haven't specified what OS or version you're
using.  You'll also need the library that contains those crypt functions,
not just the header file.  This is also probably not legal to distribute,
inside or outside the US.

Finally, this message is pretty clearly off-topic unless you're trying to do
something with crypt and qmail, and you haven't said what you're trying to
do exactly.

shag
=
Judd Bourgeois|   CNM Network  +1 (805) 520-7170
Software Architect|   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.

- Original Message -
From: Ari Arantes Filho [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Fri 17 Dec 1999 14.17
Subject: off-topic: include file des.h


 Hi,

 I'm trying to work with a crypt system and the program is asking for
include
 des.h.

 Can anyone send this file to me?

 Best regards,

 Ari







RE: Cannot Telnet localhost 25

1999-12-17 Thread Bora Kaing

Hi Luka,

I am sure which log files, however this is one of the syslog and the 
/var/log/qmail/qmail-smtpd. I found a "fatal error saying unable to bind: address 
already used."  

Is this referring to port 25 and how do i find out what is using it?  Sendmail is 
disabled.

Can you help me make sense out of this?
Thanks,
BK

bora-bora% ls
authlog  sysidconfig.log  syslog.mail  wtmp
qmailsyslog   syslog.old   wtmpx
bora-bora% tail syslog.mail
Dec 17 13:25:44 bora-bora qmail: 945465944.055775 status: local 0/10 remote 0/20
Dec 17 13:25:44 bora-bora qmail: 945465944.056964 triple bounce: discarding bou7
Dec 17 13:25:44 bora-bora qmail: 945465944.069200 end msg 176787
Dec 17 14:51:54 bora-bora qmail: 945471114.467997 new msg 176738
Dec 17 14:51:54 bora-bora qmail: 945471114.469221 info msg 176738: bytes 2314 f6
Dec 17 14:51:54 bora-bora qmail: 945471114.700426 starting delivery 15: msg 176m
Dec 17 14:51:54 bora-bora qmail: 945471114.701532 status: local 1/10 remote 0/20
Dec 17 14:51:54 bora-bora qmail: 945471114.760459 delivery 15: success: did_1+0/
Dec 17 14:51:54 bora-bora qmail: 945471114.788103 status: local 0/10 remote 0/20
Dec 17 14:51:54 bora-bora qmail: 945471114.789140 end msg 176738
bora-bora% pwd
/var/log
bora-bora% 

bora-bora% pwd
/var/log/qmail/qmail-smtpd
bora-bora% ls -l
total 23970
-r--r--r--   1 qmaill   nofiles  4996008 Dec 16 12:11 @0945304297
-r--r--r--   1 qmaill   nofiles   877176 Dec 16 15:38 @0945375087
-r--r--r--   1 qmaill   nofiles  4996008 Dec 17 11:21 @0945387678
-r--r--r--   1 qmaill   nofiles   77 Dec 17 09:50 @0945453041
-rw-r--r--   1 qmaill   nofiles  1351800 Dec 17 16:40 @0945458468
bora-bora% tail @0945458468
945477643.583230 tcpserver: fatal: unable to bind: address already used
945477644.603390 tcpserver: fatal: unable to bind: address already used
945477645.623086 tcpserver: fatal: unable to bind: address already used
945477646.643272 tcpserver: fatal: unable to bind: address already used
945477647.663296 tcpserver: fatal: unable to bind: address already used
945477648.683194 tcpserver: fatal: unable to bind: address already used
945477649.703900 tcpserver: fatal: unable to bind: address already used
945477650.723231 tcpserver: fatal: unable to bind: address already used
945477651.743421 tcpserver: fatal: unable to bind: address already used
945477652.763261 tcpserver: fatal: unable to bind: address already used
bora-bora% 


bora-bora% ps -ef |grep qmail
  qmaill   190 1  0   Dec 16 ?1:18 cyclog -s500 -n5 /var/log/qmd
root   191   190  1   Dec 16 ?   10:11 supervise /var/qmail/lock tcpserq
  qmaill   193   190  0   Dec 16 ?0:48 accustamp
root  1469   191  0 16:41:58 ?0:00 supervise /var/qmail/lock tcpserq
  qmails  6313 1  0 09:50:40 pts/11   0:00 qmail-send
  qmaill  6317  6313  0 09:50:40 pts/11   0:00 splogger qmail
  qmailr  6319  6313  0 09:50:40 pts/11   0:00 qmail-rspawn
  qmailq  6320  6313  0 09:50:40 pts/11   0:00 qmail-clean
root  6318  6313  0 09:50:40 pts/11   0:00 qmail-lspawn ./Mailbox
  mkaing  1471 29191  0 16:41:58 pts/14   0:00 grep qmail
bora-bora% 


-Original Message-
From: Luka Gerzic [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Cannot Telnet localhost 25


look your logs and you will find error.. :)
and solution...



D r e n i k   N e t w o r k s  /  Y u g o s l a v i a

Luka Z. Gerzic
Graphic design, prepress, html, networking
home page:  http://www.linux.drenik.net
email: [EMAIL PROTECTED] / GSM +381 64 11 0 29 56



- Original Message -
From: Bora Kaing [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 18, 1999 1:20 AM
Subject: Cannot Telnet localhost 25


Hi, I am trying to telnet to my qmail server and test the configuration.  I
am able to get all the TEST.deliver functions working and things seems to be
working.  However, the connection closes when I telnet to myhost on port 25.
I am running Qmail on Solaris 2.6.

For example,

bora-bora% telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
bora-bora%

---inetd.conf
#Qmail 1.0.3 Configuration
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd

Thanks for you help,
Bora







Vitual domains?

1999-12-17 Thread Mark E. Drummond

I was just asked if qmail could do the fol, which I am sure it can, and
I am sure this is a vitual domains thing, but I lack self esteem and
need some reassurance ... ;-)

I want to have email coming in to [EMAIL PROTECTED] redirected to
[EMAIL PROTECTED] ... possible?

-- 
___
Mark Drummond|mailto:[EMAIL PROTECTED]|ICQ#19153754
Gang Warily|http://signals.rmc.ca/



Re: IP based authentication

1999-12-17 Thread iv0

"David C. Maple" wrote:
 
 Hi, I have just subscribed to the list and I have a problem.

What is your exact configuration line for vpopmail and what is
your startup line for qmail-pop3d ?

 
 * here's forward lookup
 4:36pm zephrey  /home/dmaple %nslookup acgva.net
 Server:  zephrey.methos.net
 Address:  216.54.63.12
 
 Name:acgva.net
 Address:  216.54.63.29
 
 # here's reverse
 4:53pm zephrey  /home/dmaple %nslookup 216.54.63.29
 Server:  zephrey.methos.net
 Address:  216.54.63.12
 
 Name:acgva.net
 Address:  216.54.63.29
 

Here are my results:

[root@orbital kbo]# nslookup acgva.net
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:acgva.net
Address:  216.54.63.29

[root@orbital kbo]# nslookup 216.54.63.29
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:aquik.net
Address:  216.54.63.29

forward and reverse don't match from our dns server.
Let's try it again from your server.

[root@orbital kbo]# nslookup
Default Server:  ns1.inter7.com
Address:  209.218.8.2

 server zephrey.methos.net
Default Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

 216.54.63.29
Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

Name:acgva.net
Address:  216.54.63.29

It looks good from your server.

What are your entries in /etc/resolv.conf ?

Ken Jones
Inter7



Re: Vitual domains?

1999-12-17 Thread Russell P. Sutherland

* Mark E. Drummond ([EMAIL PROTECTED]) [17 Dec 1999 20:03]:

 I was just asked if qmail could do the fol, which I am sure it can, and
 I am sure this is a vitual domains thing, but I lack self esteem and
 need some reassurance ... ;-)

Take a seat, or better still lie down on the couch over there.

This can be done with virtual domains (I am sure there are other
variants as well).

 I want to have email coming in to [EMAIL PROTECTED] redirected to
 [EMAIL PROTECTED] ... possible?

( Read the FAQ and the sections dealing with virtual domains. This
  help is taken directly from Dan's text)

To use the virtual domain approach here is a cookbook approach:

1.  Add  onedomain.com:rufus to /var/qmail/control/virtualdomains
where "rufus" is an account (any old account) that will be handling mail directed
to [EMAIL PROTECTED]

2a. Add onedomain.com to /var/qmail/control/rcpthosts.

2b. Make sure the MX record for onedomain.com is pointing
to the machine that you are performing all these changes.

3.  Set up all default mail for "rufus" to be passed to daotherdomain:

% pwd
% /home/rufus
% cat .qmail-default
# forward all mail destined for onedomain.com to daotherdomain.com
 $[EMAIL PROTECTED]
%

4. Find the qmail-send process and give it a HUP signal to re-read the
   virtual domains file.

Optional note:

It is also possible to have the onedomain.com handled by the alias
user by creating the following file:

% cd ~alias
% pwd
% /var/qmail/alias
% cat .qmail-rufus-default
# forward all mail destined for onedomain.com to daotherdomain.com
 $[EMAIL PROTECTED]

This technique does not require an actual user named "rufus" to be
created.

Finally, to make a long story short, this whole matter is possibly
is better handled by the smtproutes mechanism:

1. Perform 2a and 2b from above.
2. Add the following to /var/qmail/control/smtproutes:

onedomain.com:[a.b.c.d]

   Where a.b.c.d is the IP address of the machine that
   receives mail for the daotherdomain.com

-- 
Quist ConsultingEmail: [EMAIL PROTECTED]
219 Donlea DriveVoice: +1.416.696.7600
Toronto ON  M4G 2N1 Fax:   +1.416.978.6620
CANADA  WWW:   http://www.quist.on.ca



How to control message ?

1999-12-17 Thread Jason Huang




Hi All !
 My boss told me he wanna control outgoing 
and incoming mail.
He want to allow or delete each mail. It seems terrible ,but ...
 How can I config my qmail 
??
I tried to redirect all mail to someone by forward and 
tcp.smtp file.
But It seems stupid if allowed mail will be 
sent.
Any other solution ?
 
Thanks !!




Re: How to control message ?

1999-12-17 Thread iv0

 Jason Huang wrote:
 
 Hi  All !
   My boss told me he wanna control outgoing and incoming mail.
 He want to allow or delete each mail.  It seems terrible ,but
 ...
  How can I config my qmail ??
 I tried to redirect all mail to someone by forward and tcp.smtp file.
 But It seems stupid if allowed mail will  be sent.
 Any other solution ?
 
 Thanks !!
 
 

When your boss says he wants to allow or delete each mail, does
this mean someone will review each mail and decide to allow
it in or out?

Ken Jones
Inter7



Re: Sendmail vs Qmail?

1999-12-17 Thread Sam



On 17 Dec 1999, Petr Novotny wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
  The inability to do header rewriting without making
  two trips through the queue causes a severe performance
  hit, if you are doing anything other than low volume.
 
 Rewriting headers of all messages is a severe performance hit. Or 

Only for sendmail.  Qmail, and other mailers, can do it with very little
expense.

 can you instruct sendmail not to? I couldn't find how.
 
  That is forwarding with only one trip through the queue.
 
 You mean reading "aliases" before delivering, and therefore 
 deciding to forward immediately? Maybe with some tweaking, the 
 current virtualdomains code might do that.

Also aliasing as in mailing lists.  One nice feature of sendmail is that
it dedups addresses after expanding them.

This is one reason Qmail will never be used in any enterprise-scale
system.  The large international 800 pound gorilla I currently consult for
uses alias-based mailing lists rather extensively.  Pretty much everyone
gets subscribed to at least a dozen mailing lists as part of the company's
welcome wagon.  There's a mailing list for everyone on the same floor in
the building, a mailing list for everyone on any floor in the same
building, a mailing list for everyone in all the building in the same
city, a mailing list for everyone who works on the same continent, and a
mailing list of everyone in the firm.  On top of that, there are multiple
mailing lists that loosely mirror all the steps on the corporate ladder,
and mailing lists for everyone in the same business unit or IT unit.

Additionally, pretty much every IT project has its own mailing list. Every
application that the firm has installed anywhere also has a mailing list
for its users. There's even a mailing list for everyone who uses internal
and external news servers (both use authentication, and the mailing list
automatically consists of everyone who used the news server in the last 90
days).

There are individual servers which also keep track of who logs on to them,
and a mailing list is made out of that info too.  This is done so that
whenever the engineering group takes a server, application, or a
particular network, down for maintenance, everyone who can potentially be
affected by the down time is aware of it.

Now, you can't run something like that with Qmail and ezmlm.  Pretty much
any kind of memo is sent out to at least three or four mailing lists.
Since everything is kept as, basically, one huge mail alias file, sendmail
dedups the recipient list after expanding it (and, yes, as long as you run
a sendmail farm on a large enough ring of big honking UNIX boxes with more
CPUs than most people have fingers on their hands, the performance is
quite acceptable).

This is an absolute requirement for any enterprise-scale environment.  If
everyone started to get three or four copies of the same memo, this would
get old pretty quickly.




Re: How to control message ?

1999-12-17 Thread Sam



On Sat, 18 Dec 1999, Jason Huang wrote:

 Hi  All !
   My boss told me he wanna control outgoing and incoming mail.
 He want to allow or delete each mail.  It seems terrible ,but ...
  How can I config my qmail ??

You can't.

I suggest that you start looking for a new job.

Your boss is an idiot.

I don't know about you, but I don't like to work for idiots.



Re: bouncesaying

1999-12-17 Thread Martin A. Brown


--I would say, why leverage condredirect for this purpose?

And I suppose I should also have included my negation operator.

Why not leverage condredirect for this purpose?

Sorry,

-Martin



Re: How to control message ?

1999-12-17 Thread iv0

Jason Huang wrote:
 
 yes!!
 
 -­ì©l¶l¥ó-
 ±H¥óªÌ: iv0 [EMAIL PROTECTED]
 ¦¬¥óªÌ: Jason Huang [EMAIL PROTECTED]

I think I agree with Mr Sam. Get a new job.

If this is not the case, then you will have to pass all emails
into a central account which keeps the header information, then
a person can review each email. If they agree that the email
is "approved" they can forward it along to the actuall receipeint.

Is your company part of a security organization, or just a company
on the internet? If you are a security organization, I could "possibly"
see why this activity would be needed. If you are just working for
a regular company, there are serious issues of privacy involved.

But.. Basicly, they will have to send every email through a central
queue, where a person can review the email for it's content and
make a decision on the information. This is possible with qmail
but will require alot of "jumping through hoops".

What kind of organization do you work for? What kind of information
is being transmitted through email? What kind of person is your 
boss? 

Ken Jones
Inter7

  Jason Huang wrote:
 
  Hi  All !
My boss told me he wanna control outgoing and incoming mail.
  He want to allow or delete each mail.  It seems terrible ,but
  ...
   How can I config my qmail ??
  I tried to redirect all mail to someone by forward and tcp.smtp file.
  But It seems stupid if allowed mail will  be sent.
  Any other solution ?
 
  Thanks !!
 
 
 
 When your boss says he wants to allow or delete each mail, does
 this mean someone will review each mail and decide to allow
 it in or out?
 
 Ken Jones
 Inter7
 



RE: IP based authentication

1999-12-17 Thread David C. Maple

I am running FreeBSD 3.2 with the latest version of qmail and vpopmail.

Qmail is installed in /var/qmail with vpopmail in /var/qmail/vpopmail.

: in inetd.conf

pop3stream  tcp nowait  root/var/qmail/bin/qmail-popup
qmail-popup acgva.net /var/qmail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir

: in file /var/qmail/vpopmail/domains/acgva.net/vpasswd

tester:G1DXYIw.oqfow:1:0:Pop User by
CLI:/var/qmail/vpopmail/domains/acgva.net/tester:5000

: in file /var/qmail/control/virtualdomains

acgva.net:acgva.net

: in file /var/qmail/users/assign

+acgva.net-:acgva.net:999:999:/var/qmail/vpopmail/domains/acgva.net:-::

Please let me know if there is anything else you need to know.

Thanks,
Dave

-Original Message-
From: kbo [mailto:kbo]On Behalf Of iv0
Sent: Friday, December 17, 1999 9:14 PM
To: David C. Maple
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: IP based authentication

"David C. Maple" wrote:

 Hi, I have just subscribed to the list and I have a problem.

What is your exact configuration line for vpopmail and what is
your startup line for qmail-pop3d ?


 * here's forward lookup
 4:36pm zephrey  /home/dmaple %nslookup acgva.net
 Server:  zephrey.methos.net
 Address:  216.54.63.12

 Name:acgva.net
 Address:  216.54.63.29

 # here's reverse
 4:53pm zephrey  /home/dmaple %nslookup 216.54.63.29
 Server:  zephrey.methos.net
 Address:  216.54.63.12

 Name:acgva.net
 Address:  216.54.63.29


Here are my results:

[root@orbital kbo]# nslookup acgva.net
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:acgva.net
Address:  216.54.63.29

[root@orbital kbo]# nslookup 216.54.63.29
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:aquik.net
Address:  216.54.63.29

forward and reverse don't match from our dns server.
Let's try it again from your server.

[root@orbital kbo]# nslookup
Default Server:  ns1.inter7.com
Address:  209.218.8.2

 server zephrey.methos.net
Default Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

 216.54.63.29
Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

Name:acgva.net
Address:  216.54.63.29

It looks good from your server.

What are your entries in /etc/resolv.conf ?

Ken Jones
Inter7



stat.pl

1999-12-17 Thread Yamin Prabudy

i have the convert.pl but it say it need stat.pl
can anyone send it to me the stat.pl file 
thanks
-- 

Yamin Prabudy
[EMAIL PROTECTED]
StarNET



Re: Sendmail vs Qmail?

1999-12-17 Thread Russell Nelson

Sam writes:
  Now, you can't run something like that with Qmail and ezmlm.

http://www.qmail.org/eliminiate-dups .  Run qmail-start as follows:

qmail-start '|eliminate-dups Mailbox
./Mailbox'

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



.qmail question

1999-12-17 Thread Dax Kelson


What commands can I put in a .qmail file so that email from a specific
email address is dropped (/dev/null'd), but all other email is delivered
fine?





Message Footer

1999-12-17 Thread Damien Croarken

I am looking for a way to put a standard footer on each message that gets
delivered to any remote address so that messages at localhost dont get the
header, but remote ones do... I need this to work for boith messages with
and without attatchments, and especially to work with MS outlook and outlook
express Can anyone suggest a solution for me...


If local clients have to have the message as well, thats fine


Thanks in advance

Damien Croarken