html forms within messages

2000-10-02 Thread Eric Dahnke


we can send html formatted messages. can we send an html email which
includes a form or link that when submitted would contact a web server
and refresh the original html message with new cgi generated content?


thx - eric




html forms within messages

2000-10-02 Thread Eric Dahnke


we can send html formatted messages. can we send an html email which
includes a form or link that when submitted would contact a web server
and refresh the original html message with new cgi generated content?


thx - eric




Problem with me.

2000-06-29 Thread Eric Dahnke


I've got an interesting problem.

At work we manage the mail for several domains, which are all
subcompanies of the parent company (We're yet another incubator). The
parent company e-mail is outsourced.

What should I use for the ../control/me domain under such a scenario? I
don't want bounce reports for one subcompany to read another
subcompany's domain. That is, just choose one subcompany and make it the
local domain and the rest virtuals. And if I put the parent company's
domain into ../control/me I get bounces all over the place. See below.


Jun 29 14:31:33 linux1 qmail: 962303493.427156 info msg 66303: bytes
1043 from 
[EMAIL PROTECTED] qp 18584 uid 529
Jun 29 14:31:33 linux1 qmail: 962303493.482925 starting delivery 3: msg
66303 to
 local [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.483024 status: local 1/10 remote
0/20
Jun 29 14:31:33 linux1 qmail: 962303493.575209 new msg 66304
Jun 29 14:31:33 linux1 qmail: 962303493.575333 info msg 66304: bytes
1171 from 
[EMAIL PROTECTED] qp 18587 uid 551
Jun 29 14:31:33 linux1 qmail: 962303493.641682 starting delivery 4: msg
66304 to
 remote [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.641795 status: local 1/10 remote
1/20


Anyone?




Sendmail help

2000-03-23 Thread Eric Dahnke


Hello List,

I've been a long time (relative) user of qmail, and now need to use several sendmail 
machines.
HOWEVER, all I have to do is make it so that mail sent from those machines arrives 
elsewhere as
[EMAIL PROTECTED] instead of [EMAIL PROTECTED]

This would be a control/me file change in qmail. Anyone know how to do the same on 
sendmail
8.9.3-10?



- Eric Dahnke

P.S. I have been all over sendmail.org, and found the relative info, but look at this 
url
(http://www.sendmail.org/m4/masquerading.html), and tell me if you could figure it 
out. I couldn't
even find a mailing list for sendmail.





[EMAIL PROTECTED] wrote:

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

 Acknowledgment: I have added the address

[EMAIL PROTECTED]

 to this mailing list.

 See http://pobox.com/~djb/qmail.html for more information about qmail.

 Please read http://pobox.com/~djb/qmail/faq.html before sending your
 question to the qmail mailing list.

 --- Here are the ezmlm command addresses.

 I can handle administrative requests automatically.
 Just send an empty note to any of these addresses:

[EMAIL PROTECTED]:
Receive future messages sent to the mailing list.

[EMAIL PROTECTED]:
Stop receiving messages.

[EMAIL PROTECTED]:
Retrieve a copy of message 12345 from the archive.

 DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
 If you do, I won't see them, and subscribers will yell at you.

 To specify [EMAIL PROTECTED] as your subscription address, send mail
 to [EMAIL PROTECTED].
 I'll send a confirmation message to that address; when you receive that
 message, simply reply to it to complete your subscription.

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

 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 15821 invoked from network); 23 Mar 2000 20:28:18 -
 Received: from dfwns08.algx.net (216.99.225.37)
   by muncher.math.uic.edu with SMTP; 23 Mar 2000 20:28:18 -
 Received: from istreetlabs.com ([209.19.201.13]) by dfwns08.algx.net
   (Post.Office MTA v3.5.2 release 221 ID# 0-56809U5000L5300S0V35)
   with ESMTP id net
   for 
[EMAIL PROTECTED];
   Thu, 23 Mar 2000 14:27:50 -0600
 Message-ID: [EMAIL PROTECTED]
 Date: Thu, 23 Mar 2000 15:29:58 -0600
 From: Eric Dahnke [EMAIL PROTECTED]
 X-Mailer: Mozilla 4.7 [en] (WinNT; I)
 X-Accept-Language: en
 MIME-Version: 1.0
 To: [EMAIL PROTECTED]
 Subject: Re: ezmlm response
 References: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit

 [EMAIL PROTECTED] wrote:

  Hi! This is the ezmlm program. I'm managing the
  [EMAIL PROTECTED] mailing list.
 
  To confirm that you would like
 
 [EMAIL PROTECTED]
 
  added to this mailing list, please send an empty reply to this address:
 
 [EMAIL PROTECTED]
 
  Your mailer should have a Reply feature that uses this address automatically.
 
  This confirmation serves two purposes. First, it verifies that I am able
  to get mail through to you. Second, it protects you in case someone
  forges a subscription request in your name.
 
  See http://pobox.com/~djb/qmail.html for more information about qmail.
 
  Please read http://pobox.com/~djb/qmail/faq.html before sending your
  question to the qmail mailing list.
 
  --- Here are the ezmlm command addresses.
 
  I can handle administrative requests automatically.
  Just send an empty note to any of these addresses:
 
 [EMAIL PROTECTED]:
 Receive future messages sent to the mailing list.
 
 [EMAIL PROTECTED]:
 Stop receiving messages.
 
 [EMAIL PROTECTED]:
 Retrieve a copy of message 12345 from the archive.
 
  DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
  If you do, I won't see them, and subscribers will yell at you.
 
  To specify [EMAIL PROTECTED] as your subscription address, send mail
  to [EMAIL PROTECTED].
  I'll send a confirmation message to that address; when you receive that
  message, simply reply to it to complete your subscription.
 
  --- Below this line is a copy of the request I received.
 
  Return-Path: [EMAIL PROTECTED]
  Received: (qmail 20207 invoked from network); 23 Mar 2000 20:22:47 -
  Received: from dfwns08.algx.net (216.99.225.37)
by muncher.math.uic.edu with SMTP; 23 Mar 2000 20:22:47 -
  Received: from istreetlabs.com ([209.19.201.13]) by dfwns08.algx.net
(Post.Office MTA v3.5.2 release 221 ID# 0-56809U5000L5300S0V35)
with ESMTP id net for [EMAIL PROTECTED];
Thu, 23 Mar 2000 14:22:13 -0600
  Message-ID: [EMAIL PROTECTED]
  Date: Thu, 23 Mar 2000 15:24:20 -0600
  From: Eric Dahnke [EMAIL PROTECTED]
  X-Mailer: Mozilla 4.7 [en] (WinNT; I)
  X-Accept-Language: en
  MIME-Version: 1.0
  To: [EMAIL PROTECTED]
  Subject: (no subject)
  Content-Type: text/plain; charset=us-ascii
  Content-Transfer-Encoding: 7bit




cyrus imapd w/ multiple server architecture?

2000-02-09 Thread Eric Dahnke


Hello List,

In order to support an unlimited number of virtual domains (and
consequently lots of users), does anyone know of a way to utilize qmail
w/ cyrus imap over a more than one server architecture?

I'm keen on having front end qmail servers accepting mail and
smtproute'ing it to back-end cyrus imap servers. The question is: when a
user imaps in, how can I authenticate the user to the appropriate
back-end cyrus server which holds their mail.

Pipe Dream? - thx eric



Re: begging for mercy, I am swallowing pride.

1999-12-07 Thread Eric Dahnke

I hear ya,

I consider myself a fairly accomplished mail and unix sys admin, and
can't get off the fetchmail list. Luckily I subscribed to that list with
an address that was dispensible. My solution was to never retrieve that
account again.

Have you tried all the functionality afforded to you by the list, like
ask for a list of subscribers? I think ezmlm can do that, I know
majordomo can. See if you're on the list that is produced by that
command/message. If so, separate out the text from that message which
shows your address, and post it to the list along with the commands/msgs
you're sending to remove yourself. If not, you best switch to qmail,
because you'll be on the list for life.


Saludos Eric Dahnke


Chris Santerre escribió:
 
 I hate when people keep posting stupid stuff on a list. I am on numerous lists
 like everyone else. When you get these newbies that ask the stupidest things you
 have to grin and bear it. But when they keep beating a dead horse, you want to
 beat the term FAQ and HOWTO into there vocabulary. Well now I feel like I need
 the beating. All I want to do is get off this list. I got on when I was thinking
 of using qmail on one of our servers, but I didn't use it. So I get tons of
 things I don't need. I have tried just about everything. If somebody can't
 figure out this problem, I'll have to write a script that filters this stuff
 out. the following is an email I sent to another person that best describes the
 problem. Basically the return-path address in the header is the same as what I
 try to unsubscribe as, but it just says not in the list. PLEASE help me figure
 this out so I can stop wasting everyone's time.
 
 Here goes:
 
 If you can figure this one out for me, I am in your debt. I hate pasting in all
 this stuff, but I don't have a choice at this point. I have done the usual
 unsubscribe with no effect. Yes it tells me I am not in the list. So I searched
 the
 return path as you and about ten others have mentioned, including the ezmlm
 itself.  It gives me the same name that I tried unsubscribing with. As with
 every
 other admin in the world, I have a lot of email addresses. I have tried them
 all.
 Here is a list of the email addresses I have tried to unsubscribe as:
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] (An old email I inherited from previous admin's web design)
 [EMAIL PROTECTED] (this is an internal email id set by emwac)
 and the 1st 3 again with @mole.paginc.com
 
 It never gives me an error about my unsubscription, so I no they are not
 malformed.
 This branch of the company is using EMWAC email on an NT server w/ Norton
 antivirus
 email gateway. I don't think any of this matters but I figured I'd give you the
 whole scoop. So here's what it gives me:
 
 Received:
  from SMTP (unverified [208.165.176.194]) by mole.paginc.com
 (EMWAC
 
  SMTPRS 0.83) with SMTP id [EMAIL PROTECTED]; Tue,
 07
 Dec
  1999 09:11:58 -0500
 Received:
  from muncher.math.uic.edu ([131.193.178.181]) by
 208.165.176.194
 (Norton
  AntiVirus for Internet Email Gateways 1.0) ; Tue, 07 Dec 1999
 14:11:57 
  (GMT)
 Received:
  (qmail 6030 invoked by uid 1002); 7 Dec 1999 14:06:32 -
   Mailing-List:
  contact [EMAIL PROTECTED]; run by ezmlm
 Date:
  7 Dec 1999 14:06:32 -
   Message-ID:
  [EMAIL PROTECTED]
 From:
  [EMAIL PROTECTED]
   To:
  [EMAIL PROTECTED]
 Reply-To:
 
 [EMAIL PROTECTED]
   Subject:
  ezmlm response
  Delivered-To:
  responder for [EMAIL PROTECTED]
 Received:
  (qmail 5512 invoked from network); 7 Dec 1999 14:06:32 -
 Received:
  from mole.paginc.com (208.165.176.194) by muncher.math.uic.edu
 with SMTP;
  7 Dec 1999 14:06:32 -
 Received:
  from SMTP (unverified [172.16.1.101]) by mole.paginc.com (EMWAC
 
  SMTPRS 0.83) with SMTP id [EMAIL PROTECTED]; Tue,
 07
 Dec
  1999 09:10:13 -0500
 Received:
  from paginc.com ([172.16.1.188]) by 172.16.1.101 (Norton
 AntiVirus
 for
  Internet Email Gateways 1.0) ; Tue, 07 Dec 1999 14:10:12 
 (GMT)
   X-Mozilla-Status:
  8003
  X-Mozilla-Status2:
  
  X-UIDL:
  B494508.MSG
 
 Hi! This is the ezmlm program. I'm managing the
 [EMAIL PROTECTED] mailing list.
 
 To confirm that you would like
 
[EMAIL PROTECTED]
 
 removed from this mailing list, please send an empty reply to this address:
 
[EMAIL PROTECTED]
 
 Your mailer should have a Reply feature that uses this address automatically.
 
 I haven't checked whether your address is currently on the mailing list

Re: another qmail-clean question

1999-12-01 Thread Eric Dahnke


In my experience and based on other input from the list the best way to
eliminate messages from the queue is with the qmHandle script on the
qmail website (I don't think it's listed on the site with that name).

Works well for me.

- Eric

[EMAIL PROTECTED] escribió:
 
 On Wed, 1 Dec 1999 12:04:25 +0200 (EET) , dd writes:
  i know that deleting a mail from the queue is not recommended (i don't
  know why though) but i had to delete all the 29 mails waiting to be
 
 Because qmail-send maintains its own information
 about the contents of the queue, independent of what
 is on disk.  If the two get out of sync, qmail-send
 will not be happy.
 
  transferred (qmail-qstat said there were 29). i ran qmail-clean but had to
  hit CTRL+C when there was no responce from it after ca 1min. qmail-qstat
  said there were still 29 mails in the queue. i had thought it should have
  removed some at least. i killed qmail-send and tried running qmail-clean
  again but nth changed.
 
 qmail-clean is used internally be qmail-send.
 
 If you really need to delete messages from the queue,
 kill qmail-send.  When it's exited, look through
 the output of qmail-qread for the message numbers
 you want.  Then delete everything corresponding to
 those message numbers:
 
 {local,remote,info,mess}/msgnum%23/msgnum
 
 qmail-qread will not tell you about stuff in todo/
 
 --
 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: Serialmail

1999-11-22 Thread Eric Dahnke


Read the TOISP file.

- Eric

Jose de Leon escribió:
 
 Would somebody kindly point me to a one page set of instructions on how to
 use SerialMail?  The INSTALL that comes with serialmail simply says:
 
 1. make
 2. make setup check
 
 Now what am I supposed to do with the 2 files it apparrently creates,
 ./install and ./instcheck?  I can pretty much guess what they do, but I
 don't want to make any assumptions.
 
 The man pages are nice, but there is no 'guide', nothing that gives a
 general overview on what needs to be done to get a simple serialmail session
 going.
 
 Much appreciated,
 Jose



Re: Benchmarks

1999-11-16 Thread Eric Dahnke


Hi,

I manage a qmail server which serves about 5000 pop users. We do it on a
PII, with about 16G of disk space. A PII, is plenty of machine, but
would have added more disk space if I had to do it over again. That
server does about 20,000 msgs per day, and load average rarely breaks 1.

I think Exchange is probably as fast as qmail (if you throw a few more
resources at it), but it needs constant attention. Qmail needs no
attention. That's the thing.


- Eric



Peter Green escribió:
 
 On Tue, Nov 16, 1999 at 12:56:12PM +0100, Marthe Nesøen Gangfløt wrote:
  Hi people,
 
  I need benchmarks and such to show my employer that Linux can rock mail
  better than NT Exchange (dohh). We use RedHat Linux and qmail for this,
  because that's where we have knowledge. This is somehing we might sell to
  customers of ours, and it's about 2000-5000 pop-users.. Can qmail manage
  that much on ONE single server?
 
 I can't speak for Exchange; nor can I speak for pop-users specifically.
 However, I have no qualms about qmail scaling that high. On our network, we
 have two qmail machines: a main relay server and an ezmlm ml server. Neither
 machine delivers anything local, so all deliveries are "remote" (even if on
 the same network).
 
 Here is the output from `zcat qmail-19991115.gz|localtai|matchup|zoverall`:
 
 [ relay server ]
 Completed messages: 50939
 Recipients for completed messages: 191315
 Total delivery attempts for completed messages: 200494
 Average delivery attempts per completed message: 3.93596
 Bytes in completed messages: 339800621
 Bytes weighted by success: 917491749
 Average message qtime (s): 180.223
 
 Total delivery attempts: 224784
   success: 197167
   failure: 7485
   deferral: 20132
 Total ddelay (s): 17580934.661599
 Average ddelay per success (s): 89.167734
 Total xdelay (s): 1606541.947916
 Average xdelay per delivery attempt (s): 7.147048
 Time span (days): 0.993594
 Average concurrency: 18.7141
 
 [ ezmlm server ]
 Completed messages: 4786
 Recipients for completed messages: 5319
 Total delivery attempts for completed messages: 5415
 Average delivery attempts per completed message: 1.13142
 Bytes in completed messages: 26064596
 Bytes weighted by success: 27721323
 Average message qtime (s): 112.261
 
 Total delivery attempts: 74849
   success: 62120
   failure: 1960
   deferral: 10769
 Total ddelay (s): 19233264.798056
 Average ddelay per success (s): 309.614694
 Total xdelay (s): 661400.438022
 Average xdelay per delivery attempt (s): 8.836463
 Time span (days): 0.983027
 Average concurrency: 7.78727
 
 The hardware/software for each:
 
 [ relay ]
 AMD K6-2 333
 384MB RAM
 UW SCSI disk on Buslogic controller
 True tulip 100bTX NIC on 3com 10/100 switch, full-dup
 RH6 w/ 2.2.13 kernel
 qmail-1.03 + jbuce.diff + newlines.patch
 
 [ ezmlm ]
 Dual P90 EISA
 128MB RAM
 FW SCSI disk on Adaptec 2940
 3com 3c509 10bT on 3com 10/100 switch
 RH6 w/ 2.2.10 SMP kernel
 qmail-1.03 + jbuce.diff + newlines.patch
 ezmlm+idx-0.322
 
 The relay machine is also our primary name server; the ezmlm machine (made
 entirely out of "junk" parts) also serves a little news with INN. I'd say a
 couple of thousand POP accounts are not totally unheard of... :)
 
 /pg
 --
 Peter Green
 Gospel Communications Network, SysAdmin
 [EMAIL PROTECTED]



OT: guestimate of number of MTA hosts worldwide

1999-11-08 Thread Eric Dahnke


I'm searching as best I can, but can't find a site which lists the
approximate number of MTAs permanently connected to the internet.

Anyone care to venture a guess, or mention a site where I can find such
data.

I figure around 100,000???

TIA - Eric



ANSWER OT: guestimate of number of MTA hosts worldwide

1999-11-08 Thread Eric Dahnke


Source: http://www.sendmail.com/text/press/index.html

More than 1.5 million copies of the Open Source sendmail are installed,
representing over 75 percent of all Internet mail servers.



Eric Dahnke escribió:
 
 I'm searching as best I can, but can't find a site which lists the
 approximate number of MTAs permanently connected to the internet.
 
 Anyone care to venture a guess, or mention a site where I can find such
 data.
 
 I figure around 100,000???
 
 TIA - Eric

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: qmail remote delivery logic

1999-11-07 Thread Eric Dahnke


Could someone explain how qmail manages to be faster for average msgs. I
can't see how it would be.

- Eric

Jeff Hayward escribió:
 
 On Sun, 7 Nov 1999, Russell Nelson wrote:
 
Because it's faster.
 
 For the average message... :-)
 
 -- Jeff




Re: Dear Ol' DOS (and POP3 clients for same)

1999-11-02 Thread Eric Dahnke


Hello.

I've been down this road, and after trying mainly DOS pmail related
solutions eventually settled on a packet driver, NCSA Telnet, and a
maildir'd version of Pine.

- Eric


Barry Dwyer escribió:
 
 I've been asked to hang a DOS-based dialin PC on a client's LAN wherein
 we have a Linux server running Qmail.
 
 They need email access on this dialin so I need:
 
 1. A freeware DOS TCP/IP stack;
 2. A DOS-based POP3 client.
 
 Anyone have any ideas on these?
 
 (I've considered WATTCP + a packet driver for the former; PC Pine is
 IMAP so won't work in this situation).
 
 Thanks,
 Barry

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Ipchains and smtp/pop3?

1999-10-31 Thread Eric Dahnke

If your smtp and pop3 stuff is slow, I can almost guarantee that the
problem is DNS and not ipchains. How slow is it? If you're talking 30
secs or more, it is most likely a reverse DNS misconfiguration.

- Eirc


Bill Parker escribió:
 
 Hello all
 
 In running OpenLinux 2.2, and using ipchains, is there any optimizations
 which could be done with ipchains to speed up pop3/smtp access?
 
 Currently, I am only using two rules for ipchains on all machines
 which use ip masq in the office (about 25 or so):
 
 # enable ip forwarding
 
 echo 1  /proc/sys/net/ipv4/ip_forward
 echo 1  /proc/sys/net/ipv4/tcp_syncookies
 
 /sbin/ipchains -P forward DENY
 /sbin/ipchains -A forward -j MASQ -s 192.168.3.0/24 -d 0.0.0.0/0
 
 Now, according to my Using Caldera OpenLinux 2.2 book by QUE, it is
 recommended that the following optimizations be added:
 
 ipchains -A output -p tcp -d 0/0 80 -t 0x01 0x10
 ipchains -A output -p tcp -d 0/0 telnet -t 0x01 0x10
 ipchains -A output -p tcp -d 0/0 22 -t 0x01 0x10
 
 (though I deny telnet access to the box, and use ssh 1.2.2x instead) :-)
 
 then a section for maximum reliability for stmp:
 
 ipchains -A output -p tcp -d 0/0 smtp 0x01 0x04
 
 then a section for minimum cost for pop-3
 
 ipchains -A output -p tcp -d 0/0 pop-3 0x01 0x02
 
 Now, will this configuration produce better performance in qmail 1.03, or
 can I just ignore what is in this chapter of the book?
 
 -Bill

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Any thoughts on instant messaging vs. smtp

1999-10-22 Thread Eric Dahnke


I understand the pros and cons of each, but am interested in knowing if
there is anyone on this list who thinks instant messaging has a chance
of upseating smtp.

- cheers Eric



Re: **URGENT** MAILSERVER stops working!!!!

1999-10-21 Thread Eric Dahnke


What is a red herring?

- Eric
 
 This could be a red herring.
 
 Chris



Re: On-Demand Mail Relay (ODMR)

1999-10-21 Thread Eric Dahnke


Looks to me a lot like UUCP, ETRN. I'd say it is a wrongly directed
initiative as any business worth a damn will have some type of permanent
access in the near future. 

- Eric

Peter Gradwell escribió:
 
 Hi,
 
 has anyone got an implementation of
 
 ftp://ftp.isi.edu/in-notes/rfc2645.txt
 
 It's On-Demand Mail Relay (ODMR) - SMTP with Dynamic IP Addresses
 by Randall Gellens of Qualcomm.
 
 for qmail  maildirs?
 
 - guess it would be kinda like serialmail, but not, IYSWIM.
 
 thanks
 
 peter
 
 --
 peter at gradwell dot com; http://www.gradwell.com/
 gradwell dot com Ltd. Enabling the internet you don't see.

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Qmail and DNS failures

1999-10-15 Thread Eric Dahnke


If there is no MX record for a given domain is it not standard practice
that an A record is tried?

- Eric

Eric Davis escribió:
 
 I have noticed that there are message for invalid domain names
 sitting in my mail servers queue.  It's not a problem to have
 stuff in the queue, but is there a way to tell qmail if some-
 thing does not have a valid MX record to bounce it rigth away
 back to the user?
 
 I can understand that this behavior would not be desirable in the
 case of the receivers DNS server being unavailable to produce an
 MX record.  In this case, you'd want to give the message a day or
 so to make sure that this wasn't the case.  Is there a way though
 to control how long something will stay in the queue, or to cause
 qmail to just bounce the message back if there is no valid DNS for
 the domain name in question?
 
 If anyone can either point me to the right place to read about this,
 or provide some information about this, I will greatly appreciate it.
 Thank you very much in advance for your help..
 
 -Eric Davis
 [EMAIL PROTECTED]

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: How to share adressbooks for LAN

1999-10-14 Thread Eric Dahnke


Although it may not be completely related I think it wouldn't kill
anyone to watch a thread like this go by. I would be particularly
interested in seeing some comments about this.

My 2 cents. Eric


Magnus Bodin escribió:
 
 On Thu, Oct 14, 1999 at 12:46:45PM +0100, Jon Lurås wrote:
 
  I got some LAN's with qmail and POP3. The users have different
  mail programs on PC. What is the best solution for distributing
  common adressboks?
 
 This is not a qmail issue. It depends on which email clients you use.
 Please either refer to the documentation of these or the list of 3rd
 party programs for these.
 
 Lykke till.
 
 --
 magnus
 -- MOST useless 1998 * http://x42.com/



Re: qmail log (from field)

1999-10-14 Thread Eric Dahnke


This has been discussed previously, and it is considered a bad idea to
deny messages from , because that is the format used in many bounce
messages. Something like that.

- eric 


Edward Castillo-Jakosalem escribió:
 
 Hi again to all!
 I have a question about the log file. Please look at an entry below.
 
 info msg 205083: bytes 379 from  qp xxx uid 
 
 As we can see, the from field is empty. Is there a way that we can deny
 mails that don't contain 'from' from being relayed? Also is there a way
 that we can restrict the sender by the 'from' field? Say if the sender's
 domain is not xxx.com, then his mail is denied.
 
 Thanks in advance!
 
 --
 Edward Castillo-Jakosalem



Primary and Secondary MXs

1999-10-05 Thread Eric Dahnke

Hi,

Assuming a domain's primary and secondary MXs are handled by two
distinct servers. Is there a way to force mail into the secondary even
if the primary is up and running without problems.


Thx - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Primary and Secondary MXs

1999-10-05 Thread Eric Dahnke


Thanks for the response, but I mean from the senders point of view.

My guess is no, other than a DoS which would open up access to the
secondary.

Thx - eric

Russell Nelson escribió:
 
 Eric Dahnke writes:
   Assuming a domain's primary and secondary MXs are handled by two
   distinct servers. Is there a way to force mail into the secondary even
   if the primary is up and running without problems.
 
 Yes, turn off service on port 25.  Either stop the associated
 tcpserver, or comment the entry out of /etc/inetd.conf.



Bandwidth usage, was [OT: saturating a T1..]

1999-10-04 Thread Eric Dahnke

Thanks for the responses. I think I've got it.


Here are my assumptions: 

- qmail running as a relay

- peak concurrency of 200

- average msg size of 15K

- a 15K msg requires an average of 20 sec smtp transfer time


15,000 bytes * 200 msgs
--- =  150,000 bytes/sec * 7 bits/byte = 1.0Mb/s
peak bandwidth usage.
 20 secs transfer time


So, when qmail hits a peak (perhaps somewhat sustained - remember its a
relay, no spam would hit it) concurrency of 200, and the average msg
size is 15K, we are looking at coresponding peak bandwidth usage of 
1.0Mb/s. Sound reasonable?



Regards, Eric Dahnke

PS: from previous posts, I'm assuming that the 1.6 fudge factor (bytes
transfered more than bytes the msg contains) washes with compression at
the router.



Re: OT: saturating a T1 with e-mail

1999-10-03 Thread Eric Dahnke

 On Sun, 03 Oct 1999, Eric Dahnke wrote:
  Someone will scold me for this post, but would appreciate any thoughts:
 
  A T1 would be ~ 80% utilized passing 22,000msgs/hr if the average msg
  size was 23K.
 
  Thx
 
 You're not taking into account how the router will handle the traffic. You can
 compress data at the router, which can give significant performance gains. e.g.
 using stac compression on a Cisco

Thanks all for the responses. There was a wide variation in replies (due
to subjunctivity of the post), but there were a few replies which seemed
to say ya -- 23K, 22,000 msgs/hr = 80% T1 utilization -- that sounds
about right. Can I assume I was more or less on with my original
assumption.


Regards, Eric



OT: Average Internet e-mail size

1999-10-02 Thread Eric Dahnke

Hello List,

I'm curious as to the average size of an Internet mail. I know this is
very subjective, but would like to hear what people think is the average
size.

My calculations based on qmailanalog over a long run give me 64K, and
that seems big.

Looking at my inbox, the average seems more like 4K.


Anyone?



Re: OT: Average Internet e-mail size

1999-10-02 Thread Eric Dahnke

Found what seems to be an answer at

http://www.groupcomputing.com/Issues/1998/98SeptOct/98SOp32_EmailCrisis/98sop32_emailcrisis.html

Looks like around 25K is the average.

- Eric



Eric Dahnke escribió:
 
 Hello List,
 
 I'm curious as to the average size of an Internet mail. I know this is
 very subjective, but would like to hear what people think is the average
 size.
 
 My calculations based on qmailanalog over a long run give me 64K, and
 that seems big.
 
 Looking at my inbox, the average seems more like 4K.
 
 Anyone?



OT: saturating a T1 with e-mail

1999-10-02 Thread Eric Dahnke


Someone will scold me for this post, but would appreciate any thoughts:

A T1 would be ~ 80% utilized passing 22,000msgs/hr if the average msg
size was 23K.

Thx



Re: Auth. SMTP-after-POP

1999-10-01 Thread Eric Dahnke


Sure just put fetchmail or your pop application before serialmail in
your ppp/ip-up scripts.

- Eric

Andreas Fiedler escribió:
 
 Hi,
 
 I have a problem with sending mail (of course :-)
 
 My new provider uses SMTP-after-POP. This means I have to receive Mail via POP
 before I can send outgoing mail. The provider uses it to reduce spammers.
 
 Is there any way I can realize that with Qmail/serialmail? I didn't find a
 authentication like that in the serialmail docs...
 
 Thanks in advance!
 
 Andreas
 
 PS.:  The Qmail/serialmail lists seem like dead..  I didn't get mails for
   days.. only low traffic or is there something up?

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Warning message earlier than in 12 hours?

1999-09-24 Thread Eric Dahnke

I believe that qmail does not produce such messages, rather they are
generated by a third party application running in conjunction with
qmail. I believe there are 2 such applications on the qmail site, and
both are written in perl therefore making a change to the functionality
rather simple if you know a bit of perl.

- eric

Toni Mueller escribió:
 
 Hello,
 
 a few days ago I received a message that qmail was unable to send a
 message within the last 12 hours. How do I tune this except for
 patching the source code?
 
 Thank you!
 
 Regards,
 
 Toni.
 
 NIC: TM2155
 Oeko.neT Mueller  Brandt GbR   sales: [EMAIL PROTECTED]
 v: +49 2261 979364 f: +49 2261 979366   http://www.oeko.net
 Unix, networking, administration, consulting, programming, Internet services

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



qmail source and licensing question

1999-09-24 Thread Eric Dahnke

Hello List,

If a one modifies any of the code associated with qmail. Are they
obligated to make available the modifications to the qmail community.


OT: Is the above true of GPL when talking about GPLd sources?


Regards - Eric



qmail queue

1999-09-13 Thread Eric Dahnke

Hello list,

DESCRIPTION   
   qmail-queue  reads  a  mail message from descriptor 0.  It 
   then reads envelope information  from  descriptor  1.

In reference to this, I thought descriptor 0 was STDIN and descriptor 1
was STDOUT, How can qmail-queue read envelop information from descriptor
1.

- thx eric



Re: qmail queue

1999-09-13 Thread Eric Dahnke


So how does the message pass between the various parts of the qmail
structure (inject, queue, send), if not via STDIN and OUT? 

I want to write a wrapper for qmail-queue, but am a novice. This is a
long term project. thx



Dave Sill escribió:
 
 Eric Dahnke [EMAIL PROTECTED] wrote:
 
qmail-queue  reads  a  mail message from descriptor 0.  It
then reads envelope information  from  descriptor  1.
 
 In reference to this, I thought descriptor 0 was STDIN and descriptor 1
 was STDOUT, How can qmail-queue read envelop information from descriptor
 1.
 
 qmail-queue doesn't use stdin/stdout/stderr, so those descriptors are
 available for other uses.
 
 -Dave



Re: Patches revisited

1999-09-10 Thread Eric Dahnke

Sorry for prolonging this most likely annoying thread, but I completely
disagree with you.

On the currentsite you've got simple access to qmail sources, man pages,
list archives, patches, support, etc and it is well organized. 

What do you want animated gifs and sound?

- eric

Lyndon Griffin escribió:
 
 From the presentation of information perspective, the site is not all that
 good.  Technically speaking, it is very good - fast loading, not a lot of BS
 graphics, accessible with all browsers, including the elite few of us who
 still use Lynx.  I am concerned about the quality and quantity of
 information on the site.  Certainly, QMail is a force in the industry, and I
 imagine that you and Dan Bernstein and countless others want it to be
 an even more powerful force.  QMail is making money, of that there can be no
 doubt.  Dan has a book deal, and you have a consultancy.  People that use
 QMail are also making money - Hotmail, Blue Mountain Arts, NetDynamics, for
 instance.  I like QMail, I want to continue to use QMail.  I want to be
 informed about QMail, and my previous experience from www.qmail.org is that
 it is not a place to get informed.  Yes, there is a patch list now on the
 page, and I applaud that effort.  I never would have looked if I hadn't been
 slammed, however, because I had already written off www.qmail.org as a
 dead-loss for information.
 
 I know other people that have come away from the site with that same
 impression - even worse, I've had people tell me that the product must suck
 because the web site sucks.  I don't argue with them because - number one,
 I've had a lot of trouble getting to the information I want, number two
 image is everything.  It's the American Way, it's why companies advertise,
 and it's why people spend billions of dollars on the Internet.  QMail is not
 a product that can continue to stand on it's own merits - people obviously
 have a lot of trouble with it, just look at the volume on this mailing list.
 It's time that information about QMail becomes as robust as QMail itself.
 
 Hearing from me that the site sucks shouldn't make you feel bad - after all,
 what do you know about me?  I'm certainly no guru on QMail, which is the
 foundation of my criticism for the QMail site.  There isn't a nice way to
 say that something sucks, lest you not get the message across.  I prefer to
 be blunt.  I got your attention.  The current site, in my opinion, hurts
 QMail more that it helps.  I have offered to help you, and my offer stands.
 It's easy to say something sucks.  It's hard to do something about it.
 Let's do something about it.
 
  -Original Message-
  From: Russell Nelson [mailto:[EMAIL PROTECTED]]
  Sent: Friday, September 10, 1999 5:31 AM
  To: QMail List
  Subject: RE: Patches revisited
 
 
  Lyndon Griffin writes:
Yeah, I went back, now that you mention it, and I see a lot of
  work has been
done since I wrote it off as a dead-loss for information
  months ago.  No
offense, Russ, but the presentation of information there is
  about as good as
any geoshitties site.  And yes, that can be taken as an offer
  to help make
things better, hence the reason for starting this thread.
 
  No offense, but your web site sucks?  How *am* I supposed to take that
  other than as offensive?  I mean, c'mon, really.  If you think it
  sucks, say so, but don't think you can say it without hurting my
  feelings.  It's best to strike the phrase "No offense, but" from your
  vocabulary.
 
  I prefer to list everything on one page because it minimizes latency.
  You download the page once, which doesn't take too awful long because
  there's almost no graphics.  Then you use your browser's search
  function to find things that the internal navigation links don't bring
  you to by browsing.  This, instead of the usual "click, wait.  click,
  wait" you get from most other web sites.  You can't do much with a
  small wait, but you can usually find something to do with a big wait
  to download a big page.
 
  So, since you think you can do better, what would you do differently?
  Split the page up?  That would waste people's time.  Add more
  information?  I'm fine with that -- "send code", as they say.
 
  --
  -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!
 

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Quick delivery question

1999-08-26 Thread Eric Dahnke

Before fetchmail dumps any message to the listening smtp ports, it has
options to completely rewrite both the user and domain part of the
envelop recipient. I don't use multidrop, so can't say for sure, but the
fetchmail options "is" and "smtpdomain" should fix your problem.

- tah eric


"Pieckiel, Kevin A" escribió:
 
 Hello,
 
 I have a computer that is running Q-Mail and fetching mail with
 fetchmail from a multi-drop box.  Fetchmail is set to fetch every E-Mail
 message sent to our multi-drop box and forward them to Q-Mail via SMTP
 so that appropriate bounce messages can be generated.
 
 A web site that supports our efforts has a feedback E-Mail address that
 is redirected to several people, including an account in our multi-drop
 box.  When mail is sent to the aforementioned E-Mail address in the
 above paragraph, fetchmail sees the address (which is NOT in our domain
 nor does it point to a valid user on our mail server), it redirects it
 to postmaster.  I was hoping there would be an easy solution in Q-Mail
 that would allow me to trap messages to this specific address and
 forward them to the correct account on our mail server rather than have
 it go to the postmaster all the time.
 Somehow I don't know that this is best to handle in Q-Mail, but rather
 with fetchmail itself, but your input would be appreciated.  Please tell
 me what more information you may need in order to offer assistence.
 
 Thanks,
 
 Kevin A. Pieckiel

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Disconnected Qmail??? 3rd Try!

1999-08-24 Thread Eric Dahnke

You're talking about batch processing of mail via dial-up. I believe
your only options are fetchmail, UUCP, ETRN or serialmail. All of which
will move the mail in one form or another. Look at the different
features of each package and figure out which one to install. Personally
I use fetchmail and serialmail. fetchmail is an increadibly convoluted
piece of software. very buggy in my opinion. but once you get it set up
and stop touching it it will work well. serialmail works very well. No
complaits.

check out ETRN and UUCP

Scott Sharkey escribió:

 Hello All!

 This is the third time I've posted, without response.  Either
 it's not getting out, or no one knows the answer, or I should
 be reading a FAQ somewhere.  Can anyone please point me to the
 right FAQ?

 Message Follows:

 I've got a mail server on a private network (192.168.x.x) which
 I want to periodically pick up mail from my server that's
 co-located elsewhere.  Both servers are running qmail.

 The public server has MX records for my domain, pointing to
 it.  Mail to/from there seems to be working just fine.
 Right now, I'm just using a pop client to pick up the mail
 when I'm connected, but that's not a good solution.

 I want the private server to periodically dialin, pick up
 the messages, send any that are queued (this is already
 working), and deliver via POP (also already working).

 SO, do I switch the public server from handling the mail
 as a standard domain to a virtual domain?  How do I get
 the private server (which has a DYNAMIC IP address) to
 pickup the mail?

 I've looked at both fetchmail and serialmail.  I think I
 understand how to do this with fetchmail, but I cannot
 make heads or tails of the serialmail "docs".  I would
 LOVE to do this via ssh tunnelling if I can.

 It seems that serialmail will only work if the dialin
 server has a static IP address (ie, there's no way to
 tell it to send to my dialup dynamic address?)

 Any advice, suggestions, etc?

--
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +




Re: Queue growing

1999-08-19 Thread Eric Dahnke

 On what basis did you think a reboot would make a difference?

I don't know I've heard of more stupid things to do.
 
 On what basis do you think the DNS might be related to your delivery problems?

I have just been notified that there are DNS problems in this region.

thx - eric



more queue help,

1999-08-19 Thread Eric Dahnke

Hello,

I thought I had this licked, but our queue is at 1200.

ps ax shows the following:

387  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
388  ?  S0:00 qmail-remote BNA.COM.AR [EMAIL PROTECTED]
[EMAIL PROTECTED] 
389  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
390  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
391  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
392  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
393  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
394  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
395  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
396  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
397  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
398  ?  S0:00 qmail-remote BNA.COM.AR [EMAIL PROTECTED]
[EMAIL PROTECTED] 
399  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
400  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
401  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
402  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
403  ?  S0:00 qmail-remote bna.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 
405  ?  S0:00 qmail-remote altec.com.ar [EMAIL PROTECTED]
[EMAIL PROTECTED] 

But there are only 3 messages in the entire queue with the letters bna
in them. And this ps snapshot has shown these same messages for hours
and hours now? Sending qmail-send an ALRM does no good. No messages fly
past in the maillog indicating failure type. ALRM has no effect on the
queue. I've run make check from the source tree, and the
../queue/lock/trigger file is current with proper permissions.

Remote concurrency is pegged at 20/20. Would increasing this help? How
do I do that.

We had national DNS problems here for the last day or two, but I'm told
that is fixed. We run qmail under tcpserver with pop and smtp
concurrency at 150. The logs show nothing abnormal except that qmail is
seriously favoring the delivery of local messages. You have to watch for
a long time before it finally processes a remote message.


Anyone seen anything like this before?


thx - eric



Re: HELP! queue not sending

1999-08-17 Thread Eric Dahnke

check that you've got enough smtp ports available. I've seen our queue
build like that when we hit tcpservers default 40 smtp sessions limit.
(On a side note am i correct in saying that tcpservers 40 default is not
the same as concerrency remote)?

is port 25 slow to respond?

and how about syslog, is it eating a lot of cpu?


+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +

- eric

User JAMES escribió:
 
 On Tue, 17 Aug 1999, Chris Johnson wrote:
 
  On Tue, Aug 17, 1999 at 03:14:06PM -0400, User JAMES wrote:
  
  
   I used qmHandle and can see no real pattern as to which emails aren't
   working.  I've sent qmail-send serveral ALRM signals, rebooted, etc, to no
   avail; syslog shows no errors that appear relevant.
 
  I'll be the first to say it: what's in the logs? There you'll find a reason as
  to why a message was deferred.
 
 Like I said, it doesn't show anything that I can see:
 
 Aug 17 14:02:03 richard2 qmail: 934912923.663159 end msg 274702
 Aug 17 14:02:10 richard2 qmail: 934912930.571908 new msg 274702
 Aug 17 14:02:10 richard2 qmail: 934912930.573256 info msg 274702: bytes
 780 from [EMAIL PROTECTED] qp 20832 uid 1825
 Aug 17 14:02:12 richard2 qmail: 934912932.925614 new msg 274705
 
  Also, before sending an ALRM to qmail-send, run /var/qmail/bin/qmail-tcpok.
 
 I did, per the FAQ...
 
 anything else?



comments on virus scanning

1999-08-13 Thread Eric Dahnke

hola qmailers,

I've been in the archives for a while looking at this previously
discussed topic and would like to make some comments on the typical
responses:

 No virus scanning package would be very efficient without continual updates.
This is the norm for all anti-virus packages and has been for years.
Don't understand where people are pulling that from. What's more most
any server would have continual conectivity, and updates ought to be
fairly transparent.


 Virus scanning should be done on the client machine
This is complete counter logic in my opnion. How can anyone argue that
anit-virus installations, scans, and updates are better done all client
machines when a single installation, scan, and update point is available
on the server? 


 Viruses are being increasingly sent as encrypted msgs
Ok, you're got an arguement against server based scanning there, but the
question is; If the virus intially comes out in a pgp message, it will
not be propagated in an encrypted format if the people that resend don't
use pgp. Or an I wrong there? 


The final point seems the me the only possible achiles heal of a server
based virus scanning system.

A virus scanning implementation would be extremely valuable, and can't
understand why the qmail community so shuns the idea. I know that the
virus scanning software for NT goes for upwards of $20,000 per
installation. How is it that all you qmail developers have not embraced
this big dollar topic as an opportunity. And the modulatity of qmail -
come on! 


Cheers, - eric
 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Outlook Express and remove message after X time

1999-08-13 Thread Eric Dahnke

Shouldn't be like that unless their copy of Outlook is broken. What's
the acronym ULID?


Ken Jones escribió:
 
 Does anyone know if the qmail pop3 server (or any patches) support
 the Outlook Express features to:
 
 1) Leave a copy on the server
 2) Delete copy after X days
 
 Not surprisingly, people who set this option end up downloading
 the same email every time they check pop, untill X days are over.
 
 --
 Ken Jones
 mailto:[EMAIL PROTECTED]
 http://www.inter7.com/qmailadmin/ - web based qmail adminstration

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



sending a message to all users

1999-08-10 Thread Eric Dahnke

Hello Kind List,

I know this has been asked before, but couldn't come up with anything in
the archives.

This is for a system with about 5000 users. 

I've got a perl script which will deliver the message to every user on
the system who has a Maildir. But can't figure out the best mechanism
for injecting the message.

- Mailsubj would work beautifully, but the message won't arrive to the
users with anything other than a [EMAIL PROTECTED] It needs to arrive
with a friendly name, Director.

- Copying a file into everyones Maildir works, but doing that gives me
screwy line lengths and the date of the message upon arrival seems iffy.

- qmail-inject, incorporating qmail-inject into the script seems clumsy


The server I'm doing this on has ezmlm installed. But I haven't
investigated this as an option.

HOW WOULD YOU GUYS DO THIS?


thx - eric
 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



OT, quitting mailsubj from within a script

1999-08-04 Thread Eric Dahnke

Hello List,

We have the following script on our mailserver to catch telnet attempts:

#!/bin/sh  
logger "WARNING!!! Somebody wants to log into the system!!!"   
/var/qmail/bin/mailsubj "Login attempt at Mail Server!"
[EMAIL PROTECTED]  
exit 0 

However, this script stays alive until the user closes the attempted
telnet session. I assume it stays alive because mailsubj is sitting
there waiting for the Cntrl D.

Can someone suggest how to modify my script so that it runs and exits
immediately. Maybe qmail-inject?


Thx Eric

 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Qmailanalog, want per msg information

1999-07-12 Thread Eric Dahnke

I'll try this again,

I'm looking to provide a daily report which shows who sent what and to
whom.

perhaps something like this:

10:01FROM: [EMAIL PROTECTED]   ==   TO: [EMAIL PROTECTED]
10:01FROM: [EMAIL PROTECTED]   ==   TO: [EMAIL PROTECTED]
14:02FROM: [EMAIL PROTECTED]  ==   TO: [EMAIL PROTECTED]

I downloaded someone's perl script which advertised this functionality,
but it just gave me raw maillog data as output. And qmailanalog won't
give an output like I'm needing (at least I can't figureout how to get
something like the above out of it.)

Anyone?



many thx - eric



Serialmail won't run from cron

1999-07-02 Thread Eric Dahnke

Hello,

I'm using serialmail-70 over a ppp link for outgoing mail on a linux
box. From the ip-up scripts it runs perfectly. However, if the conection
stays up, I call serialmail from a crontab on the hour.

I have the path to tcpclient set as a system wide path, and call
serialmail from the crontab as root. Neither serialmail nor fetchmail
run when called from the crontab if they are currently running.

When called from the crontab, syslog always spits one (or both) of the 2
following errors:

Jul  2 10:00:02 gateway serialmail: 930920402.294743 maildirserial:
fatal: unabl
e to get scanner status: no child processes  

Jul  2 11:00:01 gateway serialmail: 930924001.911220 maildirserial:
fatal: unabl
e to run tcpclient: file does not
exist 

Anyone?



Cheers - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas E-mail
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



alias problem (no mailbox here by that..)

1999-06-30 Thread Eric Dahnke

Can't figure this one out.

Here is the .qmail file in ~alias:

-rw-r--r--   1 root qmail   7 Jun 29 12:18
.qmail-centroculturald   
elacooperacion-educacion


and here is the bounce:

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

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

Is there a limit on the length of aliases? Anyone know why this alias is
not working?


thx - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas E-mail
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



repost: alias problem (no mailbox here by that..)

1999-06-30 Thread Eric Dahnke


Can't figure this one out.

Here is the .qmail file in ~alias:

-rw-r--r--   1 root qmail   7 Jun 29 12:18
.qmail-centroculturaldelacooperacion-letras


and here is the bounce:

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

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

Is there a limit on the length of aliases? Anyone know why this alias is
not working?


thx - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas E-mail
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Netscape mail problem

1999-06-09 Thread Eric Dahnke

It doesn't have anything to do with inetd or tcpserver. Check the file
/var/qmail/control/rcpthosts

and check out the FAQ about relaying



jinfeng escribió:
 
 The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not
 the case for me. And I really don't like to install a tcpserver if I don't
 have to. Among all other things, changing boot script in RedHat is really
 painful for me.
 
 Is there any other solutions? Thanx.
 
 On Wed, 9 Jun 1999, Dustin Marquess wrote:
 
  At 01:19 AM 6/9/99 , jinfeng wrote:
  I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to
  work ok if I use pine as client. However, when I use Netscape mail, I
  could not send mail out, it always complain "that domain isn't in my list
  of allowed rcpthosts(#5.7.1). Please check the message recipients and try
  again." I can send to the same recipient by Pine without any problem.
  
  In the Netscape preference, my setting is
  
  outgoing mail(SMTP) server : localhost
  outgoing mail server user name: jinfeng
  
  Can anyone tell me what's wrong with my setting and how to correctly set
  up Netscape as my mail client? Thanks a lot.
 
   This is in the FAQ.  You want the part about selective relaying.
 
   -Du
  -Dustin
 
 



scan a maildir for msgs w/attch

1999-06-09 Thread Eric Dahnke

Hi,

Only messages which contain attachments, contain the following line:

Content-Disposition:

true or false



If I'm off tack, how else do you determine when a msg contains an
attahment?



Many thx eric



qmailanalog - get sender and recipient?

1999-06-05 Thread Eric Dahnke

Hello Qmailers,

I currently use qmailanalog in conjunction with some zscripts. Works
fine, but was wondering if it is possible to get sender and recipient on
a per msg basis. Perhaps something like this?

[EMAIL PROTECTED]==  [EMAIL PROTECTED]
[EMAIL PROTECTED]==  [EMAIL PROTECTED]
[EMAIL PROTECTED]==  [EMAIL PROTECTED]

out of some combination of x and z scripts?


I see in the qmailanalog documentation the following statement "You can
feed the x* output through the z* scripts" I belive this would be the
way to accomplish what I want, but haven't been able to get any results.


thx - eric



headers in other languages (simple Y/N)

1999-06-02 Thread Eric Dahnke

Hello qmailars,

Sorry to bother, but would appreciate the help.

Do the Subject: From: and To: lines within message headers always read
Subject: From: and To: without being translated into another language?



I see that the headers are occasionally translated into other languages,
but I'm fairly sure it is the e-mail client which does it.

Thx - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas E-mail
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: local delivery. different domain, different user (fwd)

1999-05-31 Thread Eric Dahnke

There is something called virtualdomains to do this. See the FAQ and
search the archives. It's very easy.

- eric

Joao Paulo Pagaime escribió:
 
 Hello all
 
 Sorry if this is a repetition but I suppose I goofed up
 sending the message yesterday...
 
 I would like to have qmail setup to receive mail
 for 2 different domains. But would like the addresses
 from those domains to be routed for different users on
 the machine. Example:
 name@domain1 -- user 'abc'
 name@domain2 -- user 'def'
 So I went to the users/assign and setup
 =name@domain1:abc...
 =name@domain2:def...
 But qmail-lspawn doesn't seem to find these addresses.
 I did a little snooping on qmail-lspawn.c and found out that
 qmail-lspawn truncates the domain part  'r[at] = 0;', so
 theres no way it will find out the address/user properly.
 
 Removing 'r[at] = 0;' on 'qmail-lspawn.c' does the work
 but then I have an unstable qmail...
 
 Can someone help me?  What am I doing wrong? Is there other
 way of doing this ?
 
 Thanks,
 Joao Pagaime
 
 PS: mail does get to "qmail-spawn" but it doesn't find out
 the addresses on the table...



keep copy of all outgoing mail

1999-05-31 Thread Eric Dahnke

Hi,

Will what is explained in the FAQ work if the qmail server in question
uses serialmail for outgoing mail?

cheers - eric



Re: Mailing lists on dial-up box

1999-05-29 Thread Eric Dahnke

I don't think any of you are understanding his problem. The problem is
that singular e-mail is not sent out singularly, but that it is
separated in to 500 separate messages, creating 500 times the traffic
load.

I have the same problem with a few customers.

I know that is how qmail is designed.

Anyway, I believe that is the problem he is referring to.

- eric


RaTao von J escribió:
 
 so, if you have a ISP machine (with a T1) that will relay mail for you (with a 2
 8.8k) I think that you should use it always! it's better to connect to the machi
 ne that is 2 hop's away than machines 200 hops away :)
 
 you should have your domain in locals, so the only step left is adding:
 
 :relay.some.isp.net
 
 to your control/smtproutes file
 
 that will create a "default" smtproute to the relay.
 
 regards,
 ratao
 
 On 29-May-99 Doug Lumpkin wrote:
  Ok... Entire situation.  One linux box with internet access (28.8 modem), on
  a
  network.  They do not want employees to have internet access, so none of the
  machines can reach anything other than what is on the local network.  Qmail
  is
  set-up as the SMTP server and processes both interoffice and internet mail.
  They
  have small internet mail load and a large interoffice mail load, except when
  once
  a week a large mailing list is distributed. The interoffice mail is
  distributed
  locally and never has to traverse the internet.  Importantly, This is what
  they
  want!
 
  What I would like to do is have qmail notice that the message it is
  processing is
  to more than 30 bcc addresses and then decide to pass that to a different
  SMTP
  server to be processed at the ISP.  This way their dial-up line is not
  cruching
  messages for hours non-stop.
 
  I would appreciate any suggestions you might have...
  --
  Doug Lumpkin
  PacInfo Internet
  [EMAIL PROTECTED]
 
 
 
 
 
  John Gonzalez/netMDC admin wrote:
 
  I dont see why this is necessary. Have you ever heard of virtual hosts?
  Mail exchangers? POP boxes? Virtual Domains? etc, etc?
 
  It might help us to better help you, if you explain the entire situation?
 
  On Fri, 28 May 1999, Doug Lumpkin wrote:
 
  I realize there might be better ways to do this, but none of their machines
  are connected to the internet, only the gateway machine is.  So it has to
  be
  running SMTP to accept their messages and then direct them out onto the
  net...
  --
  Doug Lumpkin
  [EMAIL PROTECTED]
  
  
  
  John Gonzalez/netMDC admin wrote:
  
   On Fri, 28 May 1999, Frederik Lindberg wrote:
  
   qmail isn't made for dialups. Use the serialmail package for remote mail
   instead. Local delivery with qmail and all remote mail goes to a Maildir
   from where it is sent to the smarthost via serialmail.
  
   SMTP itself really isnt optimized for dialup, it's not just qmail.
  
   There are tons of ways to run a more efficient mailer from a dialup box
   without using SMTP or even serialmail.
  
   qmtp is an option
  
   Bruce Guenter has a nullmailer package that might be of some use.
  
 ___   _  __   _
   __  /___ ___    /__  John Gonzalez/Net.Tech
   __  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
   _  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
   /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
   [-[system info]---]
 5:40pm  up 113 days, 43 min,  3 users,  load average: 0.13, 0.17, 0.18
  
  --
  Doug Lumpkin
  PacInfo Internet
  [EMAIL PROTECTED]
  
  
  
 
___   _  __   _
  __  /___ ___    /__  John Gonzalez/Net.Tech
  __  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
  _  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
  /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
  [-[system info]---]
6:00pm  up 113 days,  1:03,  3 users,  load average: 0.02, 0.09, 0.12
 
 --
 E-Mail: RaTao von J [EMAIL PROTECTED]
 Date: 29-May-99   Time: 01:56:40
 --



Re: qmLogsort

1999-05-27 Thread Eric Dahnke

So where is it?


cheers - eric


Mads E Eilertsen escribió:
 
 On 27 May 1999, Monte Mitzelfelt wrote:
 
  I think this one is ready for primetime.  It groups mail log records by
  message and delivery.  It eliminates all of that scrolling up and down in
  the log file looking for outcomes.



Limit max msg size per virtual dom - SOLVED (i think)

1999-05-26 Thread Eric Dahnke

Halo halo,

To create different max message size limits per virtual domain, would
the following work?

in virtualdomains

  domain.com.ar:admin-domain-databytes

in ~admin-domain-databytes/.qmail-default

  | bouncesaying "message too big" [wc -c -gt 10]
  admin-domain

in ~admin-domain
  all the .qmail-info
  .qmail-fred
  .qmail-frank etc...


WILL IT WORK?


cheers - eric



databytes max msg per domain

1999-05-20 Thread Eric Dahnke

Hello qmailers,

I am in need of setting message size limits on a per virtual domain
basis.

I've got a system wide /control/databytes limit, and can see that I can
limit on a per user basis via: |bouncesaying 'Message too big' [ `wc -c`
-gt 1 ] in the users .qmail file.

What would be fantastic is if I could put |bouncesaying 'Message too
big' [ `wc -c` -gt 1 ] in the .qmail-default file for the user which
controls each virtual domain. But that doesn't work, or am I doing
something wrong?


If I'm out of luck on the above tack, anyone care to share how they
would go about limiting message size on a per virtual domain basis.
DATABYTES environment var and tcpd?


Cheers - eric



Re: DSN

1999-04-28 Thread Eric Dahnke

I got around this problem with my users by telling them that MDN is a
better read reciept technology. It provides a true read reciept. DSN is
just a delivery reciept. However, I understand that there are a lot of
e-mail clients which don't support both forms of read reciepts.

- eric


"Ferri Andy Ch." escribió:
 
 Hi all,
 
 I posted this DSN issue last week, and not a single response to it. Is there any body
 care about this feature?
 
 DSN is very important to me, and I believe also important for a lot of people, and
 it's very shame to discover that qmail (claimed as more advance than sendmail)
 not support this feature. Security is top priority in qmail, as far as I know, but
 how come the nice security support feature like DSN is out of questions?
 Please at least someone give me a good reason why, or maybe explain to me that
 DSN is not so important as I think now. I really appreciate any kind of response.
 At least I know that this qmail community is as friendly and helpful as any other
 Linux community.
 
 Best regards,
 Ferri Andy Ch.
 
 --
   // chandy a7 cbn 607 net 607 id   ---/
 // Linux kernel 2.2.5   XFree86 3.3.2.3
   //Glib/Gtk 1.2.1  Enlightenment 0.16
 //   Mozilla 4.51---/

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas E-mail
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Bad domain is not bounced back immediately?

1999-04-19 Thread Eric Dahnke

Hello List,

With other mailers upon sending a message with a bad domain, the sender
receives a rather quick return message saying that the mailer was unable
to deliver the message, but will continue trying for a predetermined
number of attempts/time.

Qmail does this, but does not kick a message back to the user telling
them so. Is there a way to configure qmail to send that message.


Regards - Eric



Re: checkpassword is the problem.

1999-04-17 Thread Eric Dahnke

We maintain a linux mailserver that uses PAM and Shadow and has about
4000 users. We have had no problems with checkpassword-0.81.

The problem must be somewhere else. 

BTW when you compiled checkpasswd did you change the encrypt function in
the Makefile to -lcrypt? That is necessary for linux.

chau - eric


Reid Sutherland escribió:
 
 checkpassword-0.81 with pam mods seems not to be able to handle a shadow
 passwd file over a certain amount of users. Mine has about 4000 users and it
 takes a year for it to find the passwd. Any ideas on what I can do to get
 rid of this problem?
 
 Reid Sutherland
 Network Administrator
 ISYS Technology Inc.
 http://www.isys.ca
 Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5



feedback when message cannot be delivered immediately

1999-04-16 Thread Eric Dahnke

Hello List,

Is there a way to get qmail to deliver those messages which say (more or
less):

Your message could not be delivered to xxx. Do not send it again, your
message will remain in the mail queue and will be attempted to be
delivered for 7 more days.

Qmail obviously does that, but doesn´t kick back the message to sender
telling them what it is doing.


regards - eric

+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



serialmail/qmail workaround needed

1999-03-27 Thread Eric Dahnke

Hello List,

I've got a dialup client with a qmail/fetchmail/serialmail instalation
acting as their mailgateway. The client wants to restrict some of the
accounts to internal mail use only.

Question is, how can I keep such restricted users' messages from ending
up in serialmail's outgoing pppdir?


(obviously, the restricted user would never receive any external
messages, but he or she would be able to send to any external address
they like, no?)

- cheers eric



Re: Back-up scheme, 2 qmail servers

1999-03-16 Thread Eric Dahnke

Andy Walden escribió:

 
  - an identical qmail installation on a backup machine
  - daily copy of /home /control and /alias to backup machine
  - in the event of a massive failure unplug the ethernet from the main
  server and plug into the backup machine.
 
  (I realize we will lose the queue --normally just full of waiting
  bounces-- and all msgs received for local users since the last backup)
 
  My question is, will there be any implications "Out_There" of suddenly
  having a new IP and hostname for our mailserver, assuming we make the
  appro DNS changes?

 If its not going to be online unless failure occurs, why would you give it
 a different ip or hostname?

Because the two machines are connected via a second 192. network which does
the backup. Therefore, must have different IP's and hostname.

thx - eric



Re: Back-up scheme, 2 qmail servers

1999-03-16 Thread Eric Dahnke

Cris Daniluk escribió:

 Eric Dahnke wrote:

  Hello List,
 
  We have a server moving about 9000 msgs per day and want to have a
  second qmail server waiting on our network to take over in the event of
  a failure.
 
  Our current thinking is:
 
  - an identical qmail installation on a backup machine
  - daily copy of /home /control and /alias to backup machine
  - in the event of a massive failure unplug the ethernet from the main
  server and plug into the backup machine.
 
  (I realize we will lose the queue --normally just full of waiting
  bounces-- and all msgs received for local users since the last backup)
 
  My question is, will there be any implications "Out_There" of suddenly
  having a new IP and hostname for our mailserver, assuming we make the
  appro DNS changes?
 
  Any other comments on this kind of idle machine waiting backup scheme?
  (the main mail server is dpt raid fived)
 
  cheers - eric

 Why don't you just set up your second server as an MX server and use the
 handy dandy MX routing feature in named to automatically reroute mail in
 the event of a failure. The MX server will hold all the messages while you
 repair your server and automatically resend them when everything is back
 online.

 This is probably the perfect solution for you, *especially* since you have
 a raid 5. Don't be looking for a harddrive failure anytime soon :) Your
 harddrives are the only irreplaceable components because they contain your
 data, so anything else could be repairable in the time it takes you to
 scrounge up the hardware.

OK, I was thinking about something similar, but you've got me here. You say
"The MX server will hold all the messages while you repair your server and
automatically resend them when everything is back online."

What do you mean by hold all the messages?

Our mailserver does both smtp and pop, so therein lies the problem. Great, so
the MX rolls and the backup server accepts smtp for our domains. But what
about pop? When the primary server comes back up, users would need to pop both
servers to get all their mail, and that would turn into a mess.

Or am I not understanding.

thx - eric





usernames with dashes

1999-03-04 Thread Eric Dahnke

Hello,

Is it true that the only way to deliver messages to usernames that
contain dashes is to recompile qmail telling it to use a different
escape character than -

cheers - eric



Re: root mail problem

1999-03-04 Thread Eric Dahnke

Hello,

qmail won´t deliver to root. make a .qmail-root file in ~alias and within that
file put user to deliver root´s mail to user.

- cheers eric


Hi !

Since I reinstalled (upgraded) FreeBSD to 3.1 I can get mail for root. I
can send mail or get mail at any of addresses, but not as root.

Maillog log shows this error:

Mar  4 18:27:15 atechnet qmail: 920568435.241139 delivery 1052: deferral:
Not_allowed_to_perform_deliveries_as_root./

I had little rpoblems with permissions on several files so if someone shows

me how must I set files, I would be very thankful. Or maybe there is
another problem.

Please help.
Andy

**

*  Aleksander Rozman - Andy  * Member of:  E2:EA, E2F, SAABer, Trekkie,  *

* [EMAIL PROTECTED]  * X-Phile, Heller's angel, True's screamer, *

*[EMAIL PROTECTED]* True's Trooper, Questie, Legacy, PO5, *

* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*

* ICQ-UIC: 4911125   *

* PGP key available  *http://www.atechnet.ml.org/~andy/  *

**







locals and virtual domains

1999-02-26 Thread Eric Dahnke

Sorry folks,

I realize this is one of the questions you all really hate hearing. I appologize,
I´ve been in the archives, man pages, and FAQ for hours.

The Virtual Domians portion of the FAQ only mentions the files rcpthosts and
virtualdomains, but not locals. So, don´t scream that I´m asking this.

virtualdomains
company.com.ar:domain-company

Simply, do I need to have

qmail-user
qmail-user-domain

within ~domain-company

or if I put company.com.ar in locals can I avoid (without creating any complications)
the second .qmail file?



thx, don´t screem - eric



Timestamps and message arrival times

1999-02-23 Thread Eric Dahnke

Hi,

I'm trying to figure out how the time stamping mechanism works for
messages which propogate the internet. I have been looking for a
tutorial but found none. The archives provided help, and man datetime
did not.  I'm in one timezone and my mailserver in another, so have been
able to do some testing. Here are conclusions I've made based on the
results of my testing.

- The sending e-mail client sets the definitive time stamp in the
message header (Date:)

- The receiving e-mail client uses the Date: field for minutes and
seconds, but adjusts the hour according to the timezone changes
associated with the server hops recorded in the header?

Ok have your laugh, but how the hell else is the minute field conserved
(per what the sending client entered), yet the message arrives with the
correct local hour.

- I changed the localtime setting on the mailserver (in the other
timezone), but it didn't effect the arrival time shown within my mail
client? That is because qmail always lives in GMT, no?

And what if you have mail users who pop your server from different
timezones?


Cheers - eric



SOLVED AGAIN HELP: NOT SOLVED ! ! looks like a SYN attack

1999-02-22 Thread Eric Dahnke

Thanks Dave,

That solved it. We're running Linux kernel 3.0.26, and I'm sure it is protected
from SYN attacks.

Here is a summary of what happened.

- port 25 was not responding because /var was full.
- I removed most of the old logs and rebooted.
- port 25 came back, but only for a few minutes.
- noticed the possible SYN flood in log/messages

- deleted the current messages and maillog logs as Dave suggested below and teh SYN
messages (and presumably the attacks? - for some reason port 25 was full up)
stopped and port 25 came back.

thanks to those who responded. - eric

Dave Hansen escribió:

 Hello Eric,

 Have you removed the log files from /var/log/ ?  Most importantly the
 maillog.  Then reboot.

 Sounds like a problem I had once caused lots of Zombie processes and once I
 removed the maillog and rebooted it was fine.  Also what flavor of linux
 are you using?

 Thanks,
 Dave



RELAYCLIENT and inetd

1999-02-15 Thread Eric Dahnke

Hello list friends,

First, there is no way set RELAYCLIENT (via inetd, tcpserver, or some
patch) based on domain name rather than IP, correct? (I realize it would
be weak)

Second, with inetd it is not possible to set RELAYCLIENT with a wildcard
* (24.232.12.*), but with tcpserver yes, correct?

Regards - eric



Re: Maildir/cur ???

1999-02-15 Thread Eric Dahnke

And if the user then switches his mail client to "not leave msgs on server" they
are removed from cur, no?

- eric

 Hello all,

 
  What is the meaning of the Maildir/cur directory?  I have a user
  with 300 messages and they are not in the Maildir/new, they are in
  Maildir/cur.
 
  What puts them into that dir?  He checks his mail with Netscape
  Communicator 4.x and and say's he download then every time he
  checks the mail.

 Chris From man maildir:

Files in cur are just like files in new.  The big  differ-
ence  is  that  files  in cur are no longer new mail: they
have been seen by the user's mail-reading program.

 Actually, I believe that qmail-pop3d moves whatever messages are in
 new when at the time qmail-pop3d is started to cur once qmail-pop3d
 receives a quit command from the client, regardless of whether or not
 the client has downloaded the messages:

 On mail server:

 root@mail:/var/MailDirs/testuser/ # find
 .
 ./tmp
 ./new
 ./new/919101259.11212.mail.cimedia.com
 ./new/919101260.11231.mail.cimedia.com
 ./new/919101260.11240.mail.cimedia.com
 ./new/919101261.11262.mail.cimedia.com
 ./new/919101261.11270.mail.cimedia.com
 ./new/919101262.11278.mail.cimedia.com
 ./cur

 From a client:

 redshift:~ telnet mail 110
 Trying 172.16.0.2...
 Connected to mail.cimedia.com.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user testuser
 +OK
 pass testuser
 +OK
 quit
 +OK
 Connection closed by foreign host.
 redshift:~

 Even though the client didn't actually see the messages, back on mail server:

 root@mail:/var/MailDirs/testuser/ # find
 .
 ./tmp
 ./new
 ./cur
 ./cur/919101259.11212.mail.cimedia.com:2,
 ./cur/919101260.11231.mail.cimedia.com:2,
 ./cur/919101260.11240.mail.cimedia.com:2,
 ./cur/919101261.11262.mail.cimedia.com:2,
 ./cur/919101261.11270.mail.cimedia.com:2,
 ./cur/919101262.11278.mail.cimedia.com:2,

 I'm not sure I like this behavior. I'm thinking about patching
 qmail-pop3d so that it only moves messages that the user has
 RETR'ieved. Either that or at least add a flag to the Info field of
 the filename. We'd like to delete messages on the mailserver that are
 older than X that we know the client has retrieved and we don't really
 know for sure which those message are. Yes, we could make assumptions
 about the behavior of pop cients, but I'd rather not do that.



snapshot of qmail´s health

1999-02-11 Thread Eric Dahnke

Hi,

What is the best way to get a snapshot of qmail´s current health.

Currently I use ps and top and a perl script to see the size of the 
queue. But there has got to be a better way.

I looked at the archives, web site, and FAQ but didn´t see anything.

What the hell is concurrency remote?


Thx - eric

__
Get Your Private, Free Email at http://www.hotmail.com



Re: Am I being exceedingly silly?

1999-02-11 Thread Eric Dahnke

If his machine is on a home network behind a dial-up conection what the 
hell does it matter.

- eric


DO NOT do this, you will get blacklisted in one qucik hurry.


Quoting Eric Dahnke ([EMAIL PROTECTED]):
 Remove the file rcpthosts from /var/qmail/control
 
 Qmail will then accept mail destined for whereever.
 
 Tah  -  eric
 
 
 
 It's late and I'm probably being silly, but..
 
 I have qmail running on my Linux system at home, this has a dial-up
 connection to my ISP.  It sends and receives mail quite happily from
 the Linux system.  It also allows other users on the home network to
 receive mail using POP3 from the qmail POP3 server on the Linux box.
 
 BUT, how are users on other oomputers on the home ntwork meant to 
send
 mail?  They connect to the qmail SMTP server, try and send mail and 
it
 says:-
 
 553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)
 
 So how is it supposed to work?  How can other computers on my SoHO
 network send mail   Help
 
 Maybe I've just had too much to drink tonight!
 
 -- 
 Chris Green ([EMAIL PROTECTED])
   Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
   WWW: http://www.isbd.co.uk/
 
 
 __
 Get Your Private, Free Email at http://www.hotmail.com



__
Get Your Private, Free Email at http://www.hotmail.com



Re: Am I being exceedingly silly?

1999-02-11 Thread Eric Dahnke

If his machine is on a home network behind a dial-up conection what the 
hell does it matter.

- eric


DO NOT do this, you will get blacklisted in one qucik hurry.


Quoting Eric Dahnke ([EMAIL PROTECTED]):
 Remove the file rcpthosts from /var/qmail/control
 
 Qmail will then accept mail destined for whereever.
 
 Tah  -  eric
 
 
 
 It's late and I'm probably being silly, but..
 
 I have qmail running on my Linux system at home, this has a dial-up
 connection to my ISP.  It sends and receives mail quite happily from
 the Linux system.  It also allows other users on the home network to
 receive mail using POP3 from the qmail POP3 server on the Linux box.
 
 BUT, how are users on other oomputers on the home ntwork meant to 
send
 mail?  They connect to the qmail SMTP server, try and send mail and 
it
 says:-
 
 553 sorry, that domain isn't in my list of allowed rcpthosts 
(#5.7.1)
 
 So how is it supposed to work?  How can other computers on my SoHO
 network send mail   Help
 
 Maybe I've just had too much to drink tonight!
 
 -- 
 Chris Green ([EMAIL PROTECTED])
   Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
   WWW: http://www.isbd.co.uk/
 
 
 __
 Get Your Private, Free Email at http://www.hotmail.com



__
Get Your Private, Free Email at http://www.hotmail.com



Re: syslog.mail

1999-01-31 Thread Eric Dahnke

I believe fairly standard practice for syslog files is to do a cp to a 
new file

  cp maillog maillog.bak

then

  cp /dev/null /var/log/maillog

That is what I do at least.

chau - eric


 Peter van Dijk [EMAIL PROTECTED] writes:
   How can I move the syslog.mail file and make a new one safely?
  
  mv syslog.mail syslog.mail.1
 
 you must also create the syslog.mail file, before restarting
 syslogd. It will only append to an existing file.

Not with the default linux syslogd.

Greetz, Peter.
-- 
.| Peter van Dijk
.| [EMAIL PROTECTED]


__
Get Your Private, Free Email at http://www.hotmail.com



Splogger w/ serialmail. More logging info?

1999-01-13 Thread Eric Dahnke

Hello List,

Splogger logs my outgoing serialmail connections as such.

Jan 13 19:26:03 gateway splogger: 916266363.922180 maildirserial: info: 
new/916257200.459.gateway.godel.com.ar succeeded: 199.227.85.32 said: 
250 ok 916269611 qp 4983

Is there anyway to get more information than this? I'd like to get the 
sender's address if possible. Sender and recipient even better.


Many thx - eric

__
Get Your Private, Free Email at http://www.hotmail.com



Re: web-based mail

1999-01-11 Thread Eric Dahnke

This is probably a case of Famous Last Words, but:

How hard can it be to set up a web-based pop3 client?

There are cgi web mail clients that set up in about 15 mins. People are 
big on Mailman, but I prefer Dmailweb.

Given that all I want is to give my existing users access to their mail
through the web.  Look at Web-pop (an add-on for MDaemon) to see what I
mean.

Admittedly, I am no programmer, but wouldn't it be (relatively) easy to
write a cgi (or perl or something) script sending appropriate commands
to my pop3 server?

Why, when others have already done this for you. Some of these cgi web 
based packages are free, some cost a few hundred ponies.

This is another task with an unreasonable deadline, any ideas other 
than
buying a package which costs many US dollars? (our exchange rate sucks
big lumpy bits)

My only requirement is that we can stick with qmail - I have spent way
too much sweat learning linux and qmail (simultaneously)  to want to
dump either of them.

Dmailweb and a number of other of these packages just talk pop3, imap, 
and smtp. They can be used with any mailserver.

Also, are there any web-based remote administration packages out there?
More specifically, I need to be able to provide privilidged users with
the right to add users remotely.

That you will probably have to write yourself. There are lots of perl 
examples for doing user admin via the web, but I wouldn't install any of 
them without really understanding the code. Personally I do this user 
admin stuff via the web using shell scripts. Perl is obviously better, 
but I don't know it well enough yet. Also, my machines are dial-up only, 
so security isn't as big an issue.


Oh, I wrote in about a week ago, saying that I was setting up qmail on
RedHat 5.1, couldn't retreive remote mail, etc.

I am sure lots of people replied (hint, hint)  but I wouldn't have
known, because soon after I sent it through, our mail server (Exchange,
ack, ptew) fell over.

A blessing in disguise!  with exchange gone, I started receiving
incoming mail, and since installing checkpassword  (shouldn't this
package be mentioned in the documentation somewhere?   (apologies 
if
it is)), I can read mail through a pop3 client...
-- 

Allen Versfeld
[EMAIL PROTECTED]
Wandata

"I hate quotations" - Ralph Waldo Emerson



__
Get Your Private, Free Email at http://www.hotmail.com



Re: spambait?

1999-01-02 Thread Eric Dahnke


Have any of you seen the spam prevention system Brightmail uses. I found
it well thought-out, and is quite similar to what you folks are talking
about. If what you have not looked at it, I would recommend it, as it
may give this development some ideas.

www.brightmail.com

Adelante!!! - Eric


Russell Nelson escribió:
 
 [ I've been in India for the past twelve days, helping rediff.com get
 rid of sendmail.  Catching up on old mail. ]
 
 Edward S. Marshall writes:
   On Thu, 21 Oct 1999, Russell Nelson wrote:
Is this of interest to anyone?  Is anyone doing it already?  It's not
a qmail-specific thing, although the code for the sender and receiver
would be.
  
   There's a slight problem here...how do you prevent someone from
   maliciously injecting bogus addresses into the list? Some form of
   authentication included in the message to the list?
 
 It would be membership based.  Probably comparing the envelope sender
 and site would be sufficiently safe.
 
   It seems to me that this is a system that would imply a great deal of
   trust.
 
 The trust could be developed.
 
   You'd also need some form of filtering to ensure that multiple copies of
   the same address never make it to the mailing list, so that all the
   recipients don't need to take on the work of processing them several
   times.
 
 Yes, probably.
 
   Why not just do it as an RBL-style list, so as to make the information
   more easily queried? Have the auto-submissions simply add the address to
   an RBL-style DNS zone, and you're all set. Anyone with an RBL-aware system
   (which is damn near anyone, these days) can then use your blacklist, and
   storage/expiration would be centralized.
 
 Supposedly RSS is already doing that.
 
 --
 -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!

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +



Re: Dear Ol' DOS (and POP3 clients for same)

1999-01-02 Thread Eric Dahnke


Hello,

The pine software runs on the server, you just install a packet driver
(see www.Crynwr.com) and IP telnet client (find NCSA Telnet) on the DOS
machines. No mail software runs on them under this scenario. You run the
mail software remotely, via telnet.

I don't remember where I got it, but the following rpm, will instantly
update your version of pine to maildir. Do a search for it.

pine-4_02-maildir-glibc_i386.rpm


Tah, eric



Barry Dwyer escribió:
 
 Thanks for the input on this question. I know that Pine needs to be patched to
 work with Maildir; how does one do this to the DOS variety of PINE?
 BD
 
 Russell Nelson wrote:
 
  Eric Dahnke writes:
   
Hello.
   
I've been down this road, and after trying mainly DOS pmail related
solutions eventually settled on a packet driver, NCSA Telnet, and a
   ^
maildir'd version of Pine.
 
  Hehe.  Good choice.  :)
 
  While on my way to India two weeks ago to help rediffmail.com with a
  scalable qmail architecture, I was on a layover in Frankfurt.  The
  "departures" video displays had some trouble and they all rebooted.
  They run DOS, and I noticed a familiar message among the usual DOS
  messages, from all the way across the room.  One was still booting, so
  I trotted over, and sure enough, they use a Crynwr packet driver.
  Cheap thrills ensured.
 
  --
  -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!



Concurrency, and your average mail server

1999-01-02 Thread Eric Dahnke


Hello List,

A default qmail/tcpserver installation can do incoming and outgoing
concurrency of about 255 each, no?

How does this compare to the default configs of the best (or better)
known e-mail servers like sendmail, Post.Office, Postfix, NTmail,
Exchange, Netscape's mail server, etc...


Anyone?



Re: Command-line mailer

1999-01-02 Thread Eric Dahnke


Mailsubj


man mailsubj


- Saludos

Giancarlo Bonansea escribió:
 
 Hi,
 
 I'm using QMail 1.03 and I need to send a .tar.gz file as an attached file on a 
scheduled basis (crond) using a command-line mailer. I'm looking for one but I didn't 
find yet. What do you people recommend ?
 
 Thanks in advance,
 
 Giancarlo

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +