Re: RFC822 compliant?

2000-11-13 Thread Johan Almqvist

On Sun, Nov 12, 2000 at 06:36:02PM -0600, [EMAIL PROTECTED] wrote:
 BTW, this isn't flamebait (comment for Felix). I'm just trying to
 figure out why qmail is unable to correctly resolve an address in the
 format
 someone@domain

Have you ever tried to send mail to postmaster@com?

I have a vague memory that user@TLD isn't valid (which really doesn't have
anything to do with the form of the address - user@myhost is okay...)

My 2¢

-Johan
-- 
Johan Almqvist



Newbie question about new users

2000-11-13 Thread Christophe . Andreoli




 How do I create a new Qmail User ?

I made a new User "michael" with yast, but Qmail , event after rebooting,
doesn't know the user
and complains that no Mailbox with this name is present.
how do you do it ?

  Thanks!





Re: Wanting to move the qmail queue.

2000-11-13 Thread Michael Maier

queue-fix will help you!!

--^..^--
  michael maier  -  system  development administrator
  flatfox ag, hanauer landstrasse 196a
  d-60314 frankfurt am main
  fon+49.(0)69.50 95 98-308
  fax+49.(0)69.50 95 98-101
  email  [EMAIL PROTECTED]
  urlhttp://www.flatfox.com -  m a k e  m y  d a y






Re: RFC822 compliant?

2000-11-13 Thread Markus Stumpf

On Sun, Nov 12, 2000 at 06:32:17PM -0600, [EMAIL PROTECTED] wrote:
 Lovely attitude you got there, friend.  Does your attitude pretty
 much signify the attitude of the entire group here, or is it just you
 with the superiority complex?

Message-Id: [EMAIL PROTECTED]

Go and learn how to properly configure your mail system and stop abusing
someone other's domain.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: qmail 1.04

2000-11-13 Thread Markus Stumpf

On Thu, Nov 09, 2000 at 01:36:08PM -0800, Ben Beuchler wrote:
 What's wrong with 'virtualdomains'?

It probably would also be cool to have a cdb for vitualdomains, just
like morercpthosts.

Maybe we could make some inquiry of the patches people use and get
some numbers to convince djb to officially add those patches?
(this list is probably NOT a good place for collecting the data ;-)

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Backups ??

2000-11-13 Thread Jenny Holmberg

"Dennis" [EMAIL PROTECTED] writes:

 Hi all...
 
 Is anyone here using QMail with IMAP ?

Yes.

 How do you backup your users email ?

The same way we backup all other user data. We're using Veritas
Netbackup. 

-- 
"I live in the heart of the machine. We are one." 



please help me!!

2000-11-13 Thread dick

thans a lot at first.

(1)Is ldap use the qmail-default to send other host After it got the realmail account 
locate,but how it  do with the pop3?
(2)How about ldap-Auth ,cdb-auth and database-auth.
 

any suggestion is welcome



qmail Digest 13 Nov 2000 11:00:01 -0000 Issue 1182

2000-11-13 Thread qmail-digest-help


qmail Digest 13 Nov 2000 11:00:01 - Issue 1182

Topics (messages 52037 through 52071):

qmailadmin - 500 Internal Se. Error
52037 by: Are Haugsdal
52043 by: Sean Reifschneider
52047 by: Eduardo Augusto Alvarenga

is there any way to let user control their own forwards, aliases, mailing lists
52038 by: rom

Re: RFC822 compliant?
52039 by: Felix von Leitner
52042 by: briank.hex.net
52050 by: Andy Bradford
52061 by: Russ Allbery
52062 by: briank.hex.net
52063 by: briank.hex.net
52065 by: Johan Almqvist
52068 by: Markus Stumpf

Re: Concurrency of qmail-command
52040 by: markd.bushwire.net

Re: perl script acting funny
52041 by: Fabrice Scemama
52045 by: Peter Green
52064 by: Timothy Legant

Re: Courier
52044 by: Sean Reifschneider

unable to switch to queue directory
52046 by: Michael Renner
52051 by: Alexander Jernejcic

Double CR
52048 by: Magnus Naeslund\(b\)

Re: relay-ctrl does not work
52049 by: Oliver Lehmann
52052 by: Peter Green
52053 by: Oliver Lehmann
52054 by: Peter Green
52055 by: Alex Pennace
52056 by: Oliver Lehmann

Re: very slow delivery
52057 by: Alexander Jernejcic
52059 by: Jesse Reynolds

Re: Script for adding new qmailusers
52058 by: Ruprecht Helms

how to use qmail-remote
52060 by: ketan bajaj

Newbie question about new users
52066 by: Christophe.Andreoli.nse.de

Re: Wanting to move the qmail queue.
52067 by: Michael Maier

Re: qmail 1.04
52069 by: Markus Stumpf

Re: Backups ??
52070 by: Jenny Holmberg

please help me!!
52071 by: dick

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]


--







QmailAdmin loads fine, but when I have given the login information, and 
press submit, I get the "500 Internal Server Error".

Server error log says: "WARNING: chdir to 
/home/vpopmail/domains/mydomainname.com failed[Sun Nov 12 12:19:48 2000] 
[error] [client xxx.xx.xx.xxx] Premature end of script headers: 
/usr/www/cgi-bin/qmailadmin"

Any thoughts of this might be? The domain, user etc. is created. Earlier, 
this worked fine, and this error only came when login in with domains that 
didn´t exists.

Thanks.

Are







On Sun, Nov 12, 2000 at 12:40:48PM +0100, Are Haugsdal wrote:
QmailAdmin loads fine, but when I have given the login information, and press
submit, I get the "500 Internal Server Error".

A while ago I ran into a very similar problem that was related to using
qmailadmin from a box running a particular version of Internet Exploder.
It would generate Internal Server Errors when trying to add POP users.
If you are using IE, try Netscape as a test.

Sean
-- 
 Put out fires during the daytime.  Do your real work at night.
 Sleep is just an addiction.  -- Dieter Muller
Sean Reifschneider, Inimitably Superfluous [EMAIL PROTECTED]
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




 Are Haugsdal wrote:
 
 QmailAdmin loads fine, but when I have given the login information,
 and press submit, I get the "500 Internal Server Error".
 
 Server error log says: "WARNING: chdir to
 /home/vpopmail/domains/mydomainname.com failed
 [Sun Nov 12 12:19:48 2000] [error] [client xxx.xx.xx.xxx] Premature
 end of script headers: /usr/www/cgi-bin/qmailadmin"
 
 Any thoughts of this might be? The domain, user etc. is created.
 Earlier, this worked fine, and this error only came when login in with
 domains that didn´t exists.
 
 Thanks.
 
 Are
 
 
 
 

Hi,

This happens with me too!
Any clue ?


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 /"\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
  X   ASCII Ribbon Campaign - Against HTML Mail
 / \






i have installed qmail + vpopmail +imp + qmailadmin .and 
qmailadmin can do the things ,but i'm looking a way to let user control their 
own things by themself.is there a free code for the idea.
thanks.
 
rom.



 Maybe I can simplify the issue here by asking a question:

 Is it the consensus here that the following is RFC822 compliant:

 defaultdomain: empty
 QMAILDEFAULTDOMAIN=""

 qmail-inject converts you@somewhere - you@somewhere. (note the period)

What kind of experts are you people, anyway?

RFC822 specifies the format of email messages, not qmails qualification
mechanism.  If you are unable to configure your qmail properly, you
lose.  It's that easy.

Even mentioning RFC822 

*.lock files (?)

2000-11-13 Thread Miguel Beccari

I have qmail installed on 2 machines (it works very very well).
Now I have a new machine and I have to install qmail again (the first time
has been very HARD!!!)

I have just finished my work.
I create a vdomain with vpopmail, and a vuser.

I send an email to the new user, and with telnet on 110 a read the mail

OK, it works!

I restart qmail, supervise, multilog etc etc and...

(#5.1.1) sorry no mailbox here

What's happened ?

I noticed *.lock files in /var/qmail/control and /home/vpopmail/domains/
if I read then they are empty!
if I copy the original file onto the .lock everything work fine again.

Why theese .lock files?




Best regards,

MiGhi






Re: how to use qmail-remote

2000-11-13 Thread James Raftery

On Sun, Nov 12, 2000 at 09:02:39PM +, ketan bajaj wrote:
 i'm trying to send an email using qmail-remote, i'm not able to send the 
 message content. How does qmail-remote read the message content?

It reads from STDIN.

 i'm using "qmail-remote host sender recip [ recip ... ]" as per the man 
 pages.
 After typing in the message content in a newline i do cntrl-D...

Put the message you want to send into a file, and supply it to
qmail-remote's STDIN. For most shells, this works as

 qmail-remote mail.host.com [EMAIL PROTECTED] [EMAIL PROTECTED]  file


`man qmail-remote`

james
-- 
James Raftery (JBR54)



Re: qmail 1.04

2000-11-13 Thread Peter van Dijk

On Mon, Nov 13, 2000 at 10:13:44AM +0100, Markus Stumpf wrote:
 On Thu, Nov 09, 2000 at 01:36:08PM -0800, Ben Beuchler wrote:
  What's wrong with 'virtualdomains'?
 
 It probably would also be cool to have a cdb for vitualdomains, just
 like morercpthosts.

That would mean that virtualdomains updates are instantly instead of
only happening at SIGHUP?

There is no performance benefit in having virtualdomains as a cdb.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



451 qq Trouble creating files in Queue

2000-11-13 Thread Michael Maier

Hi all!
When I send out dozens of Messages I get that Error 451 qq Trouble
creating files in Queue.
I did already make setup check but it didn't help!
So why is that Error occuring ?
Can it be possible that my Hard Disk is to busy/slow 
Thanks in Advance,
 Michael!




fetchmail: signal 13 again

2000-11-13 Thread Sebastian Steinlechner

I know that this has been discussed really often. But all the answers to
earlier messages didn't help me at all.
So here is what I want to do:
I've got a multiple drop account at post.strato.de (account
[EMAIL PROTECTED]). All the messages come in as [EMAIL PROTECTED]
and should be delivered to xyz on my local machine. If there is no local user
named xyz, the mail should not be sent to postmaster or something like that,
but the sender of the mail should receive an error message. But I didn't
even get this far...
Here's what fetchmail says:

--- snip ---

fetchmail: POP3 28 9810
fetchmail: 5.0.3 querying mail.hi.shuttle.de (protocol POP3) at Mon, 13
Nov 2000
fetchmail: POP3 +OK POP3 Welcome to GNU POP3 Server Version 0.9.8
16928.974118
fetchmail: POP3 USER ss1014
fetchmail: POP3 +OK
fetchmail: POP3 PASS *
fetchmail: POP3 +OK opened mailbox for ss1014
fetchmail: POP3 STAT
fetchmail: POP3 +OK 31 869518
fetchmail: POP3 LAST
fetchmail: POP3 -ERR Invalid command
fetchmail: POP3 UIDL
fetchmail: POP3 +OK
fetchmail: POP3 1
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3 2
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3 3 bulk.22232.20001029200314
fetchmail: POP3 4 F12xP2ittcXmYaiJOaH2339
fetchmail: POP3 5 Pine.LNX.4.21.0010311633071.31536-10
fetchmail: POP3 6 000801c0435e$8508b0e0$841706d5
fetchmail: POP3 7 39FF3438.628ABCD7
fetchmail: POP3 8
LYRIS-640430-369949-2000.11.01-05.42.50--nicolek#gysar.hi.ni.
fetchmail: POP3 9 002a01c043f4$41714f40$0100a8c0
fetchmail: POP3 10 13r1f6-0a2EN6C
fetchmail: POP3 11 Pine.LNX.4.21.0011031806340.29786-10
fetchmail: POP3 12 99.c0af864.27348725
fetchmail: POP3 13 20001103103814.6920.qmail
fetchmail: POP3 14 20001104162733.85F69A86BD
fetchmail: POP3 15 3A054DB8.3AAD7931
fetchmail: POP3 16 381964659.973457105451.JavaMail.root
fetchmail: POP3 17 bulk.20040.20001106001215
fetchmail: POP3 18 3A05E005.8D3EEB49
fetchmail: POP3 19 20001106.221254.-3836847.0.my_paris_rose
fetchmail: POP3 20 13t9zr-0ifcauC
fetchmail: POP3 21 000b01c048f1$50c24100$0b02a8c0
fetchmail: POP3 22 3A0818C6.51718479
fetchmail: POP3 23 113228359904.20001108101540
fetchmail: POP3 24 Pine.LNX.4.21.0011081740190.31839-10
fetchmail: POP3 25 3A0B014A.53A60CEE
fetchmail: POP3 26
LYRIS-640430-390119-2000.11.11-10.30.10--nicolek#gysar.hi.ni
fetchmail: POP3 27 1805.973954526
fetchmail: POP3 28 1805.973954526
fetchmail: POP3 29 3A0E9ADA.13284F65
fetchmail: POP3 30 003101c04ce0$7eab1360$0100a8c0
fetchmail: POP3 31 bulk.25086.20001113093440
fetchmail: POP3 .
31 messages for ss1014 at mail.hi.shuttle.de (869518 octets).
fetchmail: POP3 LIST
fetchmail: POP3 +OK
fetchmail: POP3 1 481
fetchmail: POP3 2 30861
fetchmail: POP3 3 9212
fetchmail: POP3 4 2231
fetchmail: POP3 5 3312
fetchmail: POP3 6 3579
fetchmail: POP3 7 1574
fetchmail: POP3 8 32505
fetchmail: POP3 9 1896
fetchmail: POP3 10 1392
fetchmail: POP3 11 4006
fetchmail: POP3 12 170002
fetchmail: POP3 13 1487
fetchmail: POP3 14 2458
fetchmail: POP3 15 1691
fetchmail: POP3 16 2431
fetchmail: POP3 17 7774
fetchmail: POP3 18 3887
fetchmail: POP3 19 1482
fetchmail: POP3 20 1759
fetchmail: POP3 21 5972
fetchmail: POP3 22 333583
fetchmail: POP3 23 167770
fetchmail: POP3 24 4790
fetchmail: POP3 25 4477
fetchmail: POP3 26 35716
fetchmail: POP3 27 9809
fetchmail: POP3 28 9810
fetchmail: POP3 29 1359
fetchmail: POP3 30 1535
fetchmail: POP3 31 10677
fetchmail: POP3 .
fetchmail: POP3 TOP 1 
fetchmail: POP3 +OK
reading message 1 of 31 (481 octets)
fetchmail:  retained
fetchmail: POP3 TOP 2 
fetchmail: POP3 +OK
reading message 2 of 31 (30861 octets)
fetchmail: SMTP 220 senfpott.gysar ESMTP
fetchmail: SMTP EHLO localhost
fetchmail: SMTP 250-senfpott.gysar
fetchmail: SMTP 250-PIPELINING
fetchmail: SMTP 250 8BITMIME
fetchmail: SMTP MAIL FROM:[EMAIL PROTECTED]
fetchmail: SMTP 250 ok
fetchmail: SMTP RCPT TO:steini@localhost
fetchmail: SMTP 250 ok
fetchmail: SMTP DATA
fetchmail: SMTP 354 go ahead
fetchmail: terminated with signal 13

--- snip ---

Of course I'm running fetchmail with forcecr turned on (it's in my
.fetchmailrc and it's listed with fetchmail --version).

Anyone?

Thanks in advance,
Sebastian Steinlechner

-- 
Sent through GMX FreeMail - http://www.gmx.net




Forwarding mail to another SMTP server on the same machine

2000-11-13 Thread Myles Chippendale

All,

Firstly, apologies if this has been asked before. I couldn't
find exactly what I wanted in the FAQ. I am not familiar with
qmail and just need to get this to work!

I have a domain (call it mydom.co.uk) whose email is handled by qmail on
a server (call it myserver.com). What I want to do is have email
sent to [EMAIL PROTECTED] sent to a custom SMTP server
running on myserver.com (on port 1615). I can get the ISP to create
an MX record pointing boards.mydom.co.uk to myserver.com. I
assume I then want to add boards.mydom.co.uk to virtualdomains
but I'm not sure how to get any incoming emails sent off to the SMTP
server on port 1615 rather than a particular user.

Thanks in advance for any help. 

Myles




Would like: Qmail send automatically incoming email to remote server

2000-11-13 Thread Christophe . Andreoli



Hello !

 I would like that Qmail forward automatically all the incoming email to
mailboxes an another Server.

What is the fastest way to do it ?


 thanks





Re: Would like: Qmail send automatically incoming email to remote server

2000-11-13 Thread Markus Stumpf

On Mon, Nov 13, 2000 at 03:24:40PM +0100, [EMAIL PROTECTED] wrote:
  I would like that Qmail forward automatically all the incoming email to
 mailboxes an another Server.

Add the line to /var/qmail/control/smtproutes:

:another.mailserver

\Maex
-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Forwarding mail to another SMTP server on the same machine

2000-11-13 Thread Peter Green

* Myles Chippendale [EMAIL PROTECTED] [001113 09:05]:
 I have a domain (call it mydom.co.uk) whose email is handled by qmail on
 a server (call it myserver.com). What I want to do is have email
 sent to [EMAIL PROTECTED] sent to a custom SMTP server
 running on myserver.com (on port 1615). I can get the ISP to create
 an MX record pointing boards.mydom.co.uk to myserver.com. I
 assume I then want to add boards.mydom.co.uk to virtualdomains
 but I'm not sure how to get any incoming emails sent off to the SMTP
 server on port 1615 rather than a particular user.

On myserver.com, set up qmail to listen on port 25. Add ``mydom.co.uk'' to
rcpthosts. Add:

  mydom.co.uk:myserver.com:1615

to smtproutes. Remove *all* other instances of ``mydom.co.uk'' from the
control files, including and especially locals and virtualdomains.

Alternatively, depending on how much you trust the custom SMTP server on
1615, you might make it listen *only* to localhost (127.0.0.1) and alter the
smtproutes line above to deliver it to localhost. This will prevent people
from randomly probing and attacking the server on that port... YMMV...

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)




Re: perl script acting funny

2000-11-13 Thread Peter Green

* Timothy Legant [EMAIL PROTECTED] [001112 19:28]:
 On Sun, Nov 12, 2000 at 12:55:08PM -0500, Peter Green wrote:
  program with either [EMAIL PROTECTED] (the literal user and machine
  name where the mail is originating) or the argument to the ``-f'' flag as
  specified above.
 
 Does the sendmail wrapper ignore Return-Path and instead use
 [EMAIL PROTECTED]? Certainly qmail-inject doesn't, but I haven't
 experimented with /var/qmail/bin/sendmail to check

I was insinuating that it does, contrary to your statements. That had been
my experience, but if I was mistaken (which I don't doubt for a second :)
then I apologize for spreading vicious lies. ;)

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Linux is obsolete
(Andrew Tanenbaum)




how to send out local and remote mail immedately

2000-11-13 Thread Mark Lo

Hi,

 I have 3 messages in remote queue and 1 message in local queue.  I
would like to know how to send out those messages immediately ?

Thank you so much for your attentions,

Mark Lo




Re: Backups ??

2000-11-13 Thread Casey Allen Shobe


 Is anyone here using QMail with IMAP ?

Yes, IMAP, POP3, SMTP, and a PHP Webmail interface to IMAP (using Courier-
IMAP)

 How do you backup your users email ?

I have an array of machines on a network.  3 machines make a backup twice 
daily, and several other machines feed off of them to store backups for 
every day up to 5 days ago.

-- 
Casey Allen Shobe
[EMAIL PROTECTED]
http://aixos.net

**Using AixOS.net Webmail Interface**




Re: how to send out local and remote mail immedately

2000-11-13 Thread Ruprecht Helms

At 23:27 13.11.00 +0800, Mark Lo wrote:
Hi,

  I have 3 messages in remote queue and 1 message in local queue.  I
would like to know how to send out those messages immediately ?

Using a permanet internetconnection and don't use serialmail.
I think that must be all.

Regards,
Ruprecht

---
INTERNOLIX   Standards for eBusiness


INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20Tel: +49-[0]7533-9945-71
78465 Konstanz   Fax: +49-[0]7533-9945-79




Re: Script for adding new qmailusers

2000-11-13 Thread Travis Turner

Thanks to all

Regards,
Travis

At 07:29 PM 11/10/2000 -0700, Andy Bradford wrote:
Thus said defender of the protocol on Fri, 10 Nov 2000 21:24:59 EST:

  someone correct me if im wrong, but when i add a user (to users/assign, i
  have all virtualdomains), i run qmail-newu and SIGHUP qmail-send, so yeah

There is no need to HUP qmail-send unless virtualdomains or locals has
changed.  You can add and remove users from users/assign at will
without restarting anything.  The only thing that needs to be done is
create the new cdb with qmail-newu.

Andy
--
[---[system uptime]]
   7:29pm  up 8 days, 21:49,  4 users,  load average: 1.22, 1.32, 1.29

Travis Turner
Information Technology Manager
Applied Integration Corporation
Tucson, Arizona  U.S.A.
Phone (520) 743-3095
Fax (520) 623-1683



pine.conf /Pine 4.20 patched/Maildir

2000-11-13 Thread Abel Lucano

Hi there,

I've patched my pine and I can read user Maildir format without any additional
conf.

inbox-path = No Value Set: using "inbox"
incoming-archive-folders = No Value Set
pruned-folders = No Value Set
read-message-folder = No Value Set 

But I can't read ~alias/Maildir (I tried the obvious guesses in "setup")
Could you point me the right conf to read ~alias/Maildir with pine 4.20 patched
please?

Thanks in advance

Abel Lucano
Aolsa
email: [EMAIL PROTECTED]




Re: RFC822 compliant?

2000-11-13 Thread Russ Allbery

briank [EMAIL PROTECTED] writes:

 Thanks for the response.  I'm still a bit confused, though:  If I
 attempt to inject a piece of mail with a valid, RFC822-compliant
 address, and qmail rejects it due to some sort of internal formatting it
 does, does this not defeat the purpose of having an Internet standard to
 begin with?

No, because the purpose of RFC 822 isn't to determine a user interface.
It's to establish a protocol for *computers* to talk to each other.  As
soon as you're dealing with user input, you're outside its scope.

That being said, it would somewhat surprise me if qmail-inject with a sane
configuration would reject or mishandle any RFC 822 compliant address.

 BTW, this isn't flamebait (comment for Felix). I'm just trying to figure
 out why qmail is unable to correctly resolve an address in the format

 someone@domain

Do you mean "someone@domain" as the complete address with no dots on the
right-hand side?  Bear in mind that RFC 822 contains *no* address
canonicalization provisions; if you're expecting your local domain to be
appended to the RHS, you're outside the scope.  Under RFC 822, the above
address indicates that one should deliver the mail to the MX record for
"domain." (and as a general rule, TLDs don't have MX records, although it
is technically legal).

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/



EZMLM Domain Change

2000-11-13 Thread cmoewes

I cant seem to find any referene to doing this anywhere so here
goes. I have a couple of lists that have about 6 months worth of
archives that I don't want to lose, but for political reasons I need
to change the domain name of the list. Nothing else will be changing
(including the server or the list name.. nothing) All I need to change
is the domain name the list operates under. How can I do this?? Or how
can I recreate the list and move the archives over. I know/hope there
must be a way to do this.


-- 

Christopher R. Moewes-Bystrom
[EMAIL PROTECTED]
http://www.moewes.com
http://www.linuxnovice.org



Re: No local deliveries

2000-11-13 Thread Ben Beuchler

On Mon, Nov 13, 2000 at 10:59:58AM -0600, Chris Olson wrote:

 two days trying to diagnose the problem, but so far no luck.  qmail will
 accept mail from remote servers and from local clients that is destined
 for a local mailbox, but it never gets delivered to the local mailbox. 
 It appears to end up in the queue and it stays there.  I'm using the

What Do The Logs Say? (TM)

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



Re: No local deliveries

2000-11-13 Thread Frank Tegtmeyer

Now for me: "What do the logs say? (tm)"



Linuxconf popusers

2000-11-13 Thread Travis Turner

Hello All,

I gave out some information and I do not even know if it is the best 
way.  Can you create popusers under linuxconf and then use the 
qmail-pw2u/qmail-newu commands.  It seems to work after the Maildir is 
created under that user when you telnet to localhost 110 but qmail is not 
getting the messages sent to that user to the right mailbox.  Should I just 
use the normal useradd command instead?

Regards,
Trav
Travis Turner
Information Technology Manager
Applied Integration Corporation
Tucson, Arizona  U.S.A.
Phone (520) 743-3095
Fax (520) 623-1683



No local deliveries

2000-11-13 Thread Chris Olson

I'm running qmail on a linux (Debian) machine.  I'm getting no local
deliveries.  When sending an email local2remote it seems to go thru with
no problem.  I've been studying the flow charts in /etc/qmail/doc for
two days trying to diagnose the problem, but so far no luck.  qmail will
accept mail from remote servers and from local clients that is destined
for a local mailbox, but it never gets delivered to the local mailbox. 
It appears to end up in the queue and it stays there.  I'm using the
Maildir system instead of Mailbox, and have changed the line in
/etc/qmail/rc to reflect that, and in addition, the Maildir directory is
installed in each user's home directory at /home/~user/Maildir with the
appropriate subdirectories /new /temp /cur

I've also tried with the conventional Mailbox/mbox structure and local
delivery still doesn't happen.

I have the qmail users and groups set up correctly, according to the
documentation.  The /home directory is owned by root, and each
individual user directory ( /home/~user ) is owned by the user.  These
directories are not group and world writeable, and the group on all
these directories is group: users

Any help in getting local deliveries fixed would be greatly
appreciated.  You may email me off-list if desired.

Regards,
-- 
Chris Olson



Re: how to send out local and remote mail immedately

2000-11-13 Thread Dave Sill

"Mark Lo" [EMAIL PROTECTED] wrote:

 I have 3 messages in remote queue and 1 message in local queue.  I
would like to know how to send out those messages immediately ?

Send qmail-send and ALRM signal. If that doesn't work, check your
logs.

-Dave



Re: No local deliveries

2000-11-13 Thread Chris Olson

Frank Tegtmeyer wrote:
 
 Now for me: "What do the logs say? (tm)"

OK, I'm feeling stupid now G.  Here's one line of many (they all say
the same thing except for the message ID.):

tcpserver: fatal: unable to bind: address already used

This came from /var/log/qmail/qmail-smtpd

Now I'm trying to figure out what that means.  I'm brand new to Linux,
having migrated here from Windows NT.  Sorry if my question seems less
than intelligent, but I AM in a learning process here.

Thanks much,
-- 
Chris Olson




Date: field rewritten?

2000-11-13 Thread Enrique Vadillo

Hi,

Some of my users are complaining that Qmail is rewriting dates showing
in the "Date:" field, for instance, if someone write some message from
France right now being 1 pm here and 7 pm in Paris, it shows our 1 pm
local time under qmail, a copy of the *SAME* message in a sendmail-based
box shows me 7 pm as the "Date:" field which is -i believe- accurate.

What do i have to dso so shat Qmail does NOT rewrite Date: fields??

Thanks!

Enrique-



Re: Date: field rewritten?

2000-11-13 Thread markd

On Mon, Nov 13, 2000 at 01:02:14PM -0500, Enrique Vadillo wrote:
 Hi,
 
 Some of my users are complaining that Qmail is rewriting dates showing
 in the "Date:" field, for instance, if someone write some message from
 France right now being 1 pm here and 7 pm in Paris, it shows our 1 pm
 local time under qmail, a copy of the *SAME* message in a sendmail-based
 box shows me 7 pm as the "Date:" field which is -i believe- accurate.
 
 What do i have to dso so shat Qmail does NOT rewrite Date: fields??

It sounds like you didn't both to check the complaint. Did you actually
look at the mails? Did you try and reproduce the problem? Did you check
the qmail documentation? Did you search the qmail archives for similar
questions?

Qmail doesn't modify headers. UAs sometimes convert headers to something
they think you want to see.


Regards.



meaning of the log files

2000-11-13 Thread Mark Lo

Hi,

In my /var/log/qmail/current file, I got some error messages that i
would like to know what is the meaning.
   That is, "warning: trouble opening local/8/16131; will try again lager."

Thank you so much for your help.

Mark Lo




fetchmail signal 13 again

2000-11-13 Thread Sebastian Steinlechner



I know that this has been discussed really often. But all the answers to 
earlier messages didn't help me at all. So here is what I want to do: I've got a 
multiple drop account atmail.hi.shuttle.de. All the messages come in as [EMAIL PROTECTED]and 
should be delivered to xyz on my local machine. If there is no local user named 
xyz, the mail should not be sent to postmaster or something like that, but the 
sender of the mail should receive an error message. But I didn't even get this 
far...Here's what fetchmail says:--- snip --- 
fetchmail: POP3 28 9810fetchmail: 5.0.3 querying mail.hi.shuttle.de 
(protocol POP3) at Mon, 13 Nov 2000fetchmail: POP3 +OK POP3 Welcome to 
GNU POP3 Server Version 0.9.8 16928.974118fetchmail: POP3 USER 
ss1014fetchmail: POP3 +OKfetchmail: POP3 PASS *fetchmail: 
POP3 +OK opened mailbox for ss1014fetchmail: POP3 STATfetchmail: 
POP3 +OK 31 869518fetchmail: POP3 LASTfetchmail: POP3 -ERR 
Invalid commandfetchmail: POP3 UIDLfetchmail: POP3 
+OKfetchmail: POP3 1 
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.
fetchmail: POP3 2 
LYRIS-640430-346918-2000.10.24-01.53.59--nicolek#gysar.hi.ni.fetchmail: 
POP3 3 bulk.22232.20001029200314
--- I deleted some lines here (it just goes on from4 to 
28)

fetchmail: POP3 29 3A0E9ADA.13284F65fetchmail: POP3 30 
003101c04ce0$7eab1360$0100a8c0fetchmail: POP3 31 
bulk.25086.20001113093440fetchmail: POP3 .31 messages for ss1014 at 
mail.hi.shuttle.de (869518 octets).fetchmail: POP3 LISTfetchmail: 
POP3 +OKfetchmail: POP3 1 481fetchmail: POP3 2 
30861fetchmail: POP3 3 9212

--- I deleted some lines here (it just goes on from4 to 
28)

fetchmail: POP3 29 1359fetchmail: POP3 30 1535fetchmail: 
POP3 31 10677fetchmail: POP3 .fetchmail: POP3 TOP 1 
fetchmail: POP3 +OKreading message 1 of 31 (481 
octets)fetchmail: retainedfetchmail: POP3 TOP 2 
fetchmail: POP3 +OKreading message 2 of 31 (30861 
octets)fetchmail: SMTP 220 senfpott.gysar ESMTPfetchmail: SMTP 
EHLO localhostfetchmail: SMTP 250-senfpott.gysarfetchmail: SMTP 
250-PIPELININGfetchmail: SMTP 250 8BITMIMEfetchmail: SMTP MAIL 
FROM:[EMAIL PROTECTED]fetchmail: 
SMTP 250 okfetchmail: SMTP RCPT TO:steini@localhostfetchmail: SMTP 
250 okfetchmail: SMTP DATAfetchmail: SMTP 354 go 
aheadfetchmail: terminated with signal 13--- snip ---Of 
course I'm running fetchmail with forcecr turned on (it's in myfetchmailrc 
and it's listed with fetchmail --version).Anyone?Thanks in 
advance,Sebastian Steinlechner


Re: No local deliveries

2000-11-13 Thread Frank Tegtmeyer


 tcpserver: fatal: unable to bind: address already used
 
 This came from /var/log/qmail/qmail-smtpd

That means that a second process is listening on port 25. Either you have 
still another MTA (sendmail, exim, smail, ...) running or you bound  inetd 
to this port.

To disable inetd comment out the line that begins with "smtp" in 
/etc/inetd.conf. After that look for the process id of inetd and issue the 
command:   kill -HUP pid_of_inetd

If this doesn't help it's the first thing (still running MTA).

Please test local delivery with qmail-inject, like the installation doc 
says. This eliminates other problems with SMTP.

Regards Frank



Re: EZMLM Domain Change

2000-11-13 Thread Jan Knepper

There is a ezmlm list [EMAIL PROTECTED] where they might know more about
this.
I personally would just create a list with the same name in the new
domain, COPY the original list's directory and replace old-domain with
new-domain in all the config, archive, etc files. Than send a couple of
messages to the newly created list and see what happens. I guess it's EZ
enough to determine whether or not it works. If it does, just repeat the
same steps, i.e. copy+change and do something about the old list address.

HTH

Don't worry, be Kneppie!
Jan



[EMAIL PROTECTED] wrote:

 I cant seem to find any referene to doing this anywhere so here
 goes. I have a couple of lists that have about 6 months worth of
 archives that I don't want to lose, but for political reasons I need
 to change the domain name of the list. Nothing else will be changing
 (including the server or the list name.. nothing) All I need to change
 is the domain name the list operates under. How can I do this?? Or how
 can I recreate the list and move the archives over. I know/hope there
 must be a way to do this.

 --

 Christopher R. Moewes-Bystrom
 [EMAIL PROTECTED]
 http://www.moewes.com
 http://www.linuxnovice.org

--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
-- Charles Forsythe [EMAIL PROTECTED]





Clear the queue of qmail

2000-11-13 Thread Pedro Pires

Hello

Can anyone tell me how do i clear the queue of qmail?

thanks
Pedro Pires



Re: Oversize DNS Patch

2000-11-13 Thread David Dyer-Bennet

Russell Nelson [EMAIL PROTECTED] writes on 10 November 2000 at 16:31:26 -0500
  Eric Wang writes:
   Do I still need the Oversize DNS Patch?
 No.
why don't need anymore?
  
  Because AOL realized their mistake.  Not even AOL can get away with
  DNS replies larger than 512 bytes.

They've flopped back and forth a few times, though.  And while they
seem to be okay at the moment, I wouldn't consider this closed.  I
want to keep the oversize DNS patch in my system.
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



RE: perl script acting funny

2000-11-13 Thread Wesley Wannemacher

I could be a little bit off-base, but it might be a bad idea to
approach your problem this way. For instance, what if a person enters
somewhere in the form:
`cat /etc/passwd | mail -s "You dumb f***, you just got hacked"
[EMAIL PROTECTED]`
It is notoriously bad to /usr/lib/sendmail from a CGI script. Try
using the Net::SMTP module instead. It uses sockets, so you wouldn't
even have to worry about your local MTA.

/Wes

Wesley A. Wannemacher
[EMAIL PROTECTED]
Instructor, Network Administrator
University of Northwestern Ohio
http://www.unoh.edu

 -Original Message-
 From: Greg Kopp [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, November 12, 2000 12:56 AM
 To: [EMAIL PROTECTED]
 Subject: perl script acting funny


 I have qmail and vpopmail installed on RH 6.2. I have a
 perl subroutine that
 we use to send e-mail. Here is the code snipit:

 sub mailto
 {  $mailprog = '/usr/lib/sendmail';
open(MAIL,"|$mailprog -t");
my @args = @_;
print MAIL "To: $args[0]\n";
print MAIL "Bcc: $args[4]\n";
print MAIL "From: $args[1]\n";
print MAIL "Subject: $args[2]\n";
print MAIL "$args[3]\n";
close MAIL;
 }

 BUT when a mail message gets bounced, the message comes
 back to the user
 that the web server is running as. Looking at the bounce, I
 see this:

 Hi. This is the qmail-send program at ideastar.com.
 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]:
 128.11.69.53 failed after I sent the message.
 Remote host said: 554 delivery error: dd This user doesn't
 have a yahoo.com
 account ([EMAIL PROTECTED]) - mta129.mail.yahoo.com

 --- Below this line is a copy of the message.

 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 509 invoked by uid 1001); 9 Nov 2000 20:20:12 -
 Date: 9 Nov 2000 20:20:12 -
 Message-ID: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 Subject: Thank you


 Any ideas what could be causing this and any possible solutions?

 Thanks,

 Greg





Re: Oversize DNS Patch

2000-11-13 Thread Adam McKenna

On Mon, Nov 13, 2000 at 01:58:48PM -0600, David Dyer-Bennet wrote:
 Russell Nelson [EMAIL PROTECTED] writes on 10 November 2000 at 16:31:26 -0500
   Eric Wang writes:
Do I still need the Oversize DNS Patch?
  No.
 why don't need anymore?
   
   Because AOL realized their mistake.  Not even AOL can get away with
   DNS replies larger than 512 bytes.
 
 They've flopped back and forth a few times, though.  And while they
 seem to be okay at the moment, I wouldn't consider this closed.  I
 want to keep the oversize DNS patch in my system.

Also, AOL isn't the only one who has been doing this, there have been a few
other places I've had this problem with, on-and-off.

--Adam

-- 
Adam McKenna [EMAIL PROTECTED] | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA|  connected to a bunch of other wires."
 38B0 05D0 8BF7 2C6D 110A|  Joe Rogan, _NewsRadio_
  3:03pm  up 156 days, 13:19, 10 users,  load average: 0.09, 0.05, 0.01



no ESMTP prompt after some messages

2000-11-13 Thread Davide Giunchi



Hi all.

I'm using qmail-1.03 on a linux slackware 7.1 Atlhon server, after some
time and some mail sent 
perfectly from the smtpd server i don't get the "ESMTP ..." prompt of qmail

if i do a "telnet server smtp"  i get the "escape caracter is..." line and
after that nothing, this continue
until i reboot the server. I get the following error in another qmail
server 

Here it's my startup line:
---
 csh -cf '/var/qmail/rc '
  QMAILUID=`id -u qmaild` 
  NOFILESGID=`id -g qmaild`
  /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u$QMAILUID
-g$NOFIL
ESGID 0 smtp /var/qmail/bin/qmail-smtpd   /dev/null 2/dev/null
---

in the /var/log/mail.log there's nothing interesting.
What can i do?

Hello.
Davide.



Re: perl script acting funny

2000-11-13 Thread Peter Green

* Wesley Wannemacher [EMAIL PROTECTED] [001113 15:09]:
 I could be a little bit off-base, but it might be a bad idea to
 approach your problem this way. For instance, what if a person enters
 somewhere in the form:
 `cat /etc/passwd | mail -s "You dumb f***, you just got hacked"
 [EMAIL PROTECTED]`

Where exactly would that line be exec'd? There is only one place in the
included code where stuff gets executed...there isn't any place to sneak
your little command to the shell.

 It is notoriously bad to /usr/lib/sendmail from a CGI script. Try

Nah, it isn't all that bad. Especially since he isn't passing any
possibly-tainted data to the shell (in the open() line).

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
The wise man can pick up a grain of sand and envision a whole universe. But 
the stupid man will just lay down on some seaweed and roll around until he's 
completely draped in it. Then he'll stand up and go: Hey, I'm Vine Man.
 (Jack Handey)




Re: perl script acting funny

2000-11-13 Thread Markus Stumpf

On Mon, Nov 13, 2000 at 03:04:27PM -0500, Wesley Wannemacher wrote:
 It is notoriously bad to /usr/lib/sendmail from a CGI script. Try
 using the Net::SMTP module instead. It uses sockets, so you wouldn't
 even have to worry about your local MTA.

But you have to worry about connection failures, temporary errors, ...
By using Net::SMTP from a cgi you'd have to rebuild a complete
queuing strategy in case the mailserver doesn't accept the message.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: meaning of the log files

2000-11-13 Thread Uwe Ohse

On Tue, Nov 14, 2000 at 02:19:29AM +0800, Mark Lo wrote:

 In my /var/log/qmail/current file, I got some error messages that i
 would like to know what is the meaning.
That is, "warning: trouble opening local/8/16131; will try again lager."

qmail-send either failed to open the file /var/qmail/queue/local/8/16131
or to open, read or understand /var/qmail/queue/info/8/16131.

Check especially the second one: for existance, readability and content
(Fsender@domain\0 - the last character being an ASCII 0)

Regards, Uwe



Re: EZMLM Domain Change

2000-11-13 Thread Jeremy McLeod

H: line in DIR/config.

Auf Nov 13, 2000, an 09:51, [EMAIL PROTECTED] besagt dieses:

I cant seem to find any referene to doing this anywhere so here
goes. I have a couple of lists that have about 6 months worth of
archives that I don't want to lose, but for political reasons I need
to change the domain name of the list. Nothing else will be changing
(including the server or the list name.. nothing) All I need to change
is the domain name the list operates under. How can I do this?? Or how
can I recreate the list and move the archives over. I know/hope there
must be a way to do this.


-- 

Christopher R. Moewes-Bystrom
[EMAIL PROTECTED]
http://www.moewes.com
http://www.linuxnovice.org


-jeremy
--
I think, therefore I am... I think.




Re: no ESMTP prompt after some messages

2000-11-13 Thread Ben Beuchler

On Mon, Nov 13, 2000 at 09:07:07PM +0100, Davide Giunchi wrote:

 if i do a "telnet server smtp"  i get the "escape caracter is..." line and
 after that nothing, this continue
 until i reboot the server. I get the following error in another qmail
 server 
 
 Here it's my startup line:
 ---
  csh -cf '/var/qmail/rc '
   QMAILUID=`id -u qmaild` 
   NOFILESGID=`id -g qmaild`
   /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u$QMAILUID
 -g$NOFIL
 ESGID 0 smtp /var/qmail/bin/qmail-smtpd   /dev/null 2/dev/null

Is it possible that you have hit your concurrency limit?  If so, that's
exactly what happens:  It accepts the connection but will not launch the
qmail-smtpd process until a session becomes available.

Ben

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



RE: perl script acting funny

2000-11-13 Thread Wesley Wannemacher

I have not tested this, but I was under the impression that the shell
might present the problem on the last print statement:

--print MAIL "$args[3]\n";

I'll have to check the O'Reilly book on CGI programming, but this is
pretty bad if I remember correctly. I know that the formail code from
Matt's Script Archive was exploited this way. The only way to be sure
is to test it. As far as I can tell the flow of the program would be
as follows

HTML Form - PERL Code - shell.

The backticks would preparsed by the shell. The output of the backtick
statement would then be sent in the email. I am still somewhat of a
perl newbie, so I could be wrong.

Although at this point you may be interacting with the sendmail
wrapper program. If this were the case, there is no risk.

I will try it later tonight and let everyone know.

/Wes

Wesley A. Wannemacher
[EMAIL PROTECTED]
Instructor, Network Administrator
University of Northwestern Ohio
http://www.unoh.edu

 -Original Message-
 From: Peter Green [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 13, 2000 3:16 PM
 To: [EMAIL PROTECTED]
 Subject: Re: perl script acting funny


 * Wesley Wannemacher [EMAIL PROTECTED] [001113 15:09]:
  I could be a little bit off-base, but it might be a bad idea to
  approach your problem this way. For instance, what if a
 person enters
  somewhere in the form:
  `cat /etc/passwd | mail -s "You dumb f***, you just got hacked"
  [EMAIL PROTECTED]`

 Where exactly would that line be exec'd? There is only one
 place in the
 included code where stuff gets executed...there isn't any
 place to sneak
 your little command to the shell.

  It is notoriously bad to /usr/lib/sendmail from a CGI script. Try

 Nah, it isn't all that bad. Especially since he isn't passing any
 possibly-tainted data to the shell (in the open() line).

 /pg
 --
 Peter Green : Gospel Communications Network, SysAdmin :
 [EMAIL PROTECTED]
 ---
 The wise man can pick up a grain of sand and envision a
 whole universe. But
 the stupid man will just lay down on some seaweed and roll
 around until he's
 completely draped in it. Then he'll stand up and go: Hey,
 I'm Vine Man.
  (Jack Handey)





[OT]Help trying to understand rfc822!

2000-11-13 Thread martin langhoff

hi,

I know it's a bit OT here, but given the collective knowledge on RFC822
that gathers here, I hope someone can help me a bit. Besides, its MTA
related after all   ;)


I'm sending mail from a perl script and I have one var (or config
setting) for the 'To:' field. This script uses Net::SMTP to deliver its
load directly into a sendmail box. 

Now if I insert 2 addresses, like '[EMAIL PROTECTED],
[EMAIL PROTECTED]', and there's a qmail at scim.net everything's
allright. Now some hosts don't like this: I'm having problems because
relay.sion.com rejects my 'To: [EMAIL PROTECTED] [EMAIL PROTECTED]'. 

I've tried it with qmail-inject, manually feeding it with a 'To:
[EMAIL PROTECTED] [EMAIL PROTECTED]' and it doesn't bounce!

Reading RFC822 (at http://www.cis.ohio-state.edu/htbin/rfc/rfc822.html)
I can see the appendix A, in the item A.1.5., it looks like it should be
valid. In fact at A.3.3. there's an example that looks very much like
mine...

I'll find a workaround in the meantime, but, am I wrong to think its
allright to have a comma-delimited To: field?


martin



Re: meaning of the log files

2000-11-13 Thread Rod... Whitworth

On Tue, 14 Nov 2000 02:19:29 +0800, Mark Lo wrote:

 trouble opening local/8/16131; will try again lager."
  ^ ^^

Were you in the pub directory? I'll slip down to my 
local and have a beer!

My many typos don't usually have a smile as a result. 
Thank your fingers for this one!



In the beginning was The Word
and The Word was Content-type: text/plain
The Word of Rod.






Long Local Delivery Delays

2000-11-13 Thread Jamin A. Brown

Hello,

We have just completed migrating a sendmail installation for roughly 15000
users to qmail. After doing so, we are experiencing longish delays on the
delivery of incoming messages.

We currently have qmail-smtpd starting from tcpserver using:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -c 512 -v -pR -x /usr/local/etc/tcp.smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp \
 /usr/local/bin/rblsmtpd -b -r \
 "relays.mail-abuse.org:Open relay problem - see
 http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%" \
 -r dialups.mail-abuse.org \
 -r rbl.maps.vix.com \
 /var/qmail/bin/qmail-smtpd 21

And logging using:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s250
/var/log/qmail/qmail-smtpd


I have increased our conncurrencylocal and concurrencyremote to 50 each.
The qmail-send log we have seems to indicate that we aren't coming close
to this limit:

@40003a105ba216072edc status: local 1/50 remote 3/50
@40003a105ba21626288c end msg 695835
@40003a105ba2196aff04 new msg 695707
@40003a105ba21a78f464 info msg 695707: bytes 8004 from  qp 18635 uid
59
@40003a105ba21dda6ee4 starting delivery 18024: msg 695707 to remote
[EMAIL PROTECTED]
@40003a105ba21ddd7454 status: local 1/50 remote 4/50


Our architecture is setup as:

mx0.gwi.net - Incoming server, BDS/OS, Dual PIII 550, 256 MB RAM. This
server writes incoming mail to a NetApp NFS server. Unfortunately also
running qmail-pop3d right now for some of our customers. Will be disabling
this ASAP.
pop0.gwi.net - POP server. (Same hardware). Just running qmail-pop3d and
reading from the NetApp.

The delay seems to occur from when mx0 accepts the message to when mx0
writes it to the user's Maildir. My guess would be that the queue is not
being processed fast enough.

We are NOT yet using the big-todo patch at this time.

We are seeing delays of up to a couple hours on messages, so any
assistance or pointers in the right direction would be appreciated.

If you would be so kind as to CC any responses to [EMAIL PROTECTED] (to
get to me directly rather than through the qmail server) it would be
appreciated.


-
Jamin A. Brown  Systems Operations Department
[EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:  http://www.gwi.net/~jamin/pgp/jamin.asc




Re: RFC822 compliant?

2000-11-13 Thread Louis Theran

[EMAIL PROTECTED] (Russ Allbery) writes:

 Bruno Wolff [EMAIL PROTECTED] writes:
 
  He probably means a domain with no dots. For example: discuss@opennic
 
 That's a dumb idea.
 
 Anyway, qmail's behavior for such domain names is documented in
 qmail-header(5):
 
  All host names should be fully qualified.  qmail-inject appends the
  default domain name to any name without dots:
 
   djb@silverton  -  [EMAIL PROTECTED]
 
 So qmail-inject currently cannot handle mail to such domains.  

If you make defaultdomain the empty string, then you get:

  box@host - box@host.

and if the host's name really is ``host.'', there's no problem.  (If
you want this behavior only on occasion, you can use the
QMAILDEFAULTDOMAIN environment variable.)

^L





MX routing question

2000-11-13 Thread Oliver Menzel

Hi,

I'm trying to make all mail incoming for a bunch of hosts to be
delivered to this one mail host.

So i've setup an MX record for each one of those domains to be that
mail host.  

Problem is, the mail is always delivered for that host, ie: if I send
mail to [EMAIL PROTECTED], and the MX is mx.host.com, the mail will be
delivered to host.com, regardless of the MX entry.

Is this a DNS problem, or the way qmail delivers mail?

Thanks in advance,
Oliver

__
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/



Re: MX routing question

2000-11-13 Thread Chris Johnson

On Mon, Nov 13, 2000 at 05:50:26PM -0800, Oliver Menzel wrote:
 I'm trying to make all mail incoming for a bunch of hosts to be
 delivered to this one mail host.
 
 So i've setup an MX record for each one of those domains to be that
 mail host.  
 
 Problem is, the mail is always delivered for that host, ie: if I send
 mail to [EMAIL PROTECTED], and the MX is mx.host.com, the mail will be
 delivered to host.com, regardless of the MX entry.
 
 Is this a DNS problem, or the way qmail delivers mail?

It's a DNS problem. Why don't you tell us what the domain names are? Then maybe
someone can help you.

Chris



Re: MX routing question

2000-11-13 Thread Oliver Menzel

oops, sorry about that.

The domain is integrationsoft.com

 set type=mx
 integrationsoft.com
Server:  localhost
Address:  127.0.0.1

integrationsoft.com preference = 30, mail exchanger =
mr3.integrationsoft.com
integrationsoft.com preference = 10, mail exchanger =
mr1.integrationsoft.com
integrationsoft.com preference = 20, mail exchanger =
mr2.integrationsoft.com
integrationsoft.com nameserver = ns1.integrationsoft.com
integrationsoft.com nameserver = ns2.integrationsoft.com
mr3.integrationsoft.com internet address = 64.75.21.89
mr1.integrationsoft.com internet address = 64.75.21.88
mr2.integrationsoft.com internet address = 64.75.21.87
ns1.integrationsoft.com internet address = 64.75.21.87
ns2.integrationsoft.com internet address = 64.75.21.88

Shouldn't delivery be to mr1.integrationsoft.com? Which is 64.75.21.88,
but the mail delivery is always to: 64.75.21.87. Which is the host
itself


Thanks in advance,
Oliver



--- Chris Johnson [EMAIL PROTECTED] wrote:
 On Mon, Nov 13, 2000 at 05:50:26PM -0800, Oliver Menzel wrote:
  I'm trying to make all mail incoming for a bunch of hosts to be
  delivered to this one mail host.
  
  So i've setup an MX record for each one of those domains to be that
  mail host.  
  
  Problem is, the mail is always delivered for that host, ie: if I
 send
  mail to [EMAIL PROTECTED], and the MX is mx.host.com, the mail will be
  delivered to host.com, regardless of the MX entry.
  
  Is this a DNS problem, or the way qmail delivers mail?
 
 It's a DNS problem. Why don't you tell us what the domain names are?
 Then maybe
 someone can help you.
 
 Chris


__
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/



Re: MX routing question

2000-11-13 Thread Chris Johnson

On Mon, Nov 13, 2000 at 06:24:18PM -0800, Oliver Menzel wrote:
 oops, sorry about that.
 
 The domain is integrationsoft.com

This might be the reason:

[cjohnson@shemp cjohnson]$ telnet mr1.integrationsoft.com 25
Trying 64.75.21.88...
telnet: Unable to connect to remote host: Connection refused

Since mr1.integrationsoft.com is unreachable, the next higher preference mail
exchanger is used, mr2.integrationsoft.com. This one is reachable:

[cjohnson@shemp cjohnson]$ telnet  mr2.integrationsoft.com 25
Trying 64.75.21.87...
Connected to mr2.integrationsoft.com.
Escape character is '^]'.
220 gs400.phate.com ESMTP
quit
221 gs400.phate.com

Chris



How do I route to another host?

2000-11-13 Thread mark

My qmail host, mail.sidell.org, is the MX host for domain sidell.org.
I have another host named lyris.sidell.org.  (Actually, it's another
IP address on the same host, being handled by Lyris.)

If I SMTP to mail.sidell.org and send a message addressed to
[EMAIL PROTECTED], qmail replies with the bounce:

Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local.
(#5.4.6)

If I add lyris.sidell.org to the locals file for qmail, it of course
says "foo" is not a local user.

So...  How do I get qmail, running on mail.sidell.org to forward mail
addressed to x@lyris.sidell.org?

Sorry if I'm being dense.

-- 
Mark Sidell
Chief Programmer
Forte Agent



Re: MX routing question

2000-11-13 Thread Oliver Menzel

OOPS, what a trivial error.

Sorry about that, and thanks for your help!


--- Chris Johnson [EMAIL PROTECTED] wrote:
 On Mon, Nov 13, 2000 at 06:24:18PM -0800, Oliver Menzel wrote:
  oops, sorry about that.
  
  The domain is integrationsoft.com
 
 This might be the reason:
 
 [cjohnson@shemp cjohnson]$ telnet mr1.integrationsoft.com 25
 Trying 64.75.21.88...
 telnet: Unable to connect to remote host: Connection refused
 
 Since mr1.integrationsoft.com is unreachable, the next higher
 preference mail
 exchanger is used, mr2.integrationsoft.com. This one is reachable:
 
 [cjohnson@shemp cjohnson]$ telnet  mr2.integrationsoft.com 25
 Trying 64.75.21.87...
 Connected to mr2.integrationsoft.com.
 Escape character is '^]'.
 220 gs400.phate.com ESMTP
 quit
 221 gs400.phate.com
 
 Chris


__
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/



Re: RFC822 compliant?

2000-11-13 Thread Russ Allbery

Louis Theran [EMAIL PROTECTED] writes:

 If you make defaultdomain the empty string, then you get:

   box@host - box@host.

 and if the host's name really is ``host.'', there's no problem.

Well, yes, there is, because box@host. is an invalid mailbox per RFC 822.
Trailing periods are not permitted.

(My guess is that djb would call an empty defaultdomain an unsupported
configuration.)

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/



Re: Long Local Delivery Delays

2000-11-13 Thread Ricardo Cerqueira

Try disabling host resolution in tcpserver (by adding the -H option).
That's what usually stalls smtp deliveries with tcpserver.

RC


On Mon, Nov 13, 2000 at 04:39:11PM -0500, Jamin A. Brown wrote:
 Hello,
 
 We have just completed migrating a sendmail installation for roughly 15000
 users to qmail. After doing so, we are experiencing longish delays on the
 delivery of incoming messages.
 
 We currently have qmail-smtpd starting from tcpserver using:
 
 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -c 512 -v -pR -x /usr/local/etc/tcp.smtp.cdb \
  -u $QMAILDUID -g $NOFILESGID 0 smtp \
  /usr/local/bin/rblsmtpd -b -r \
  "relays.mail-abuse.org:Open relay problem - see
  http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%" \
  -r dialups.mail-abuse.org \
  -r rbl.maps.vix.com \
  /var/qmail/bin/qmail-smtpd 21
 
 And logging using:
 
 #!/bin/sh
 exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s250
 /var/log/qmail/qmail-smtpd
 
 
 I have increased our conncurrencylocal and concurrencyremote to 50 each.
 The qmail-send log we have seems to indicate that we aren't coming close
 to this limit:
 
 @40003a105ba216072edc status: local 1/50 remote 3/50
 @40003a105ba21626288c end msg 695835
 @40003a105ba2196aff04 new msg 695707
 @40003a105ba21a78f464 info msg 695707: bytes 8004 from  qp 18635 uid
 59
 @40003a105ba21dda6ee4 starting delivery 18024: msg 695707 to remote
 [EMAIL PROTECTED]
 @40003a105ba21ddd7454 status: local 1/50 remote 4/50
 
 
 Our architecture is setup as:
 
 mx0.gwi.net - Incoming server, BDS/OS, Dual PIII 550, 256 MB RAM. This
 server writes incoming mail to a NetApp NFS server. Unfortunately also
 running qmail-pop3d right now for some of our customers. Will be disabling
 this ASAP.
 pop0.gwi.net - POP server. (Same hardware). Just running qmail-pop3d and
 reading from the NetApp.
 
 The delay seems to occur from when mx0 accepts the message to when mx0
 writes it to the user's Maildir. My guess would be that the queue is not
 being processed fast enough.
 
 We are NOT yet using the big-todo patch at this time.
 
 We are seeing delays of up to a couple hours on messages, so any
 assistance or pointers in the right direction would be appreciated.
 
 If you would be so kind as to CC any responses to [EMAIL PROTECTED] (to
 get to me directly rather than through the qmail server) it would be
 appreciated.
 
 
 -
 Jamin A. Brown  Systems Operations Department
 [EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
 RSA PGP Key:  http://www.gwi.net/~jamin/pgp/jamin.asc
 

-- 
+---
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010  - Fax: +351 2 1010 4459

 PGP signature


Interfacing qmail with Netscape LDAP

2000-11-13 Thread Aashish Kumar A Saxena

Hi,

I need some help on the above.  I have searched the Internet extensively but could not 
locate a definitive document on the subject.

Can someone help me in terms of how to go about it?  A step-by-step procedure would be 
really helpful and appreciated.

Thanks in advance.

Aashish.

_
Get a free private 6MB email account for life! - http://WebEmails.com



Very Urgent Pls Help

2000-11-13 Thread rupak

Can Any Suggest How to Recover the data once you have drop the table.

I used command 
drop table tbl_name

I am using Linux 5.2 and mysql Ver 9.33 Distrib 3.22.25.

With Regds,

Rupak






pop3 isn't finding Maildir

2000-11-13 Thread Ruprecht Helms

Hi,

I have the problem that the qmail-popserver isn't finding the user's maildir.
After entering the password it's comming no $HOME/Maildir für user

Something what I don't understand I have one testaccount that haven't these
problems. 

Regards,
Ruprecht



Re: Long Local Delivery Delays

2000-11-13 Thread markd

On Mon, Nov 13, 2000 at 04:39:11PM -0500, Jamin A. Brown wrote:
 Hello,
 
 We have just completed migrating a sendmail installation for roughly 15000
 users to qmail. After doing so, we are experiencing longish delays on the
 delivery of incoming messages.

What sort of passwd technology are you using? /etc/passwd? NIS, NIS+?

 The delay seems to occur from when mx0 accepts the message to when mx0
 writes it to the user's Maildir. My guess would be that the queue is not
 being processed fast enough.

If you showed us some log entries from start of delivery to completion
we'd be able to tell you whether they seem slow or not.

 We are seeing delays of up to a couple hours on messages, so any
 assistance or pointers in the right direction would be appreciated.

Show us the specific log entries for some of these deliveries. We can only
speculate in the absence of information.


Regards.



RE: Long Local Delivery Delays

2000-11-13 Thread Greg Owen

 The delay seems to occur from when mx0 accepts the message to when mx0
 writes it to the user's Maildir. My guess would be that the 
 queue is not being processed fast enough.

Have you checked the trigger?

http://web.infoave.net/~dsill/lwq.html#trigger

Sounds like a classic case of a bad trigger.

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



Re: RFC822 compliant?

2000-11-13 Thread Bruno Wolff III

On Mon, Nov 13, 2000 at 08:05:20AM -0800,
  Russ Allbery [EMAIL PROTECTED] wrote:
 
 Do you mean "someone@domain" as the complete address with no dots on the
 right-hand side?  Bear in mind that RFC 822 contains *no* address
 canonicalization provisions; if you're expecting your local domain to be
 appended to the RHS, you're outside the scope.  Under RFC 822, the above
 address indicates that one should deliver the mail to the MX record for
 "domain." (and as a general rule, TLDs don't have MX records, although it
 is technically legal).

He probably means a domain with no dots. For example:
discuss@opennic



Re: RFC822 compliant?

2000-11-13 Thread Russ Allbery

Bruno Wolff [EMAIL PROTECTED] writes:

 He probably means a domain with no dots. For example: discuss@opennic

That's a dumb idea.

Anyway, qmail's behavior for such domain names is documented in
qmail-header(5):

 All host names should be fully qualified.  qmail-inject appends the
 default domain name to any name without dots:

  djb@silverton  -  [EMAIL PROTECTED]

So qmail-inject currently cannot handle mail to such domains.  This is
arguably a flaw in the interface.  qmail itself can handle such mail
without any difficulties at the protocol level, as I think could be
established by using the qmail-queue interface directly.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/



Re: [OT]Help trying to understand rfc822!

2000-11-13 Thread Russ Allbery

martin langhoff [EMAIL PROTECTED] writes:

 I'm sending mail from a perl script and I have one var (or config
 setting) for the 'To:' field. This script uses Net::SMTP to deliver its
 load directly into a sendmail box.

I assume that Net::SMTP is breaking this up into multiple separate MAIL TO
commands at the protocol level?

 Now if I insert 2 addresses, like '[EMAIL PROTECTED],
 [EMAIL PROTECTED]', and there's a qmail at scim.net everything's
 allright. Now some hosts don't like this: I'm having problems because
 relay.sion.com rejects my 'To: [EMAIL PROTECTED] [EMAIL PROTECTED]'.

Addresses should be separated by commas; your second example doesn't have
a comma.

 Reading RFC822 (at http://www.cis.ohio-state.edu/htbin/rfc/rfc822.html)
 I can see the appendix A, in the item A.1.5., it looks like it should be
 valid. In fact at A.3.3. there's an example that looks very much like
 mine...

 I'll find a workaround in the meantime, but, am I wrong to think its
 allright to have a comma-delimited To: field?

Comma-delimited To: headers are fine.  You can't send a comma-delimited
address in the MAIL TO command, but Net::SMTP may do the right thing
there.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/



Re: Long Local Delivery Delays

2000-11-13 Thread Jamin A. Brown



On Mon, 13 Nov 2000 [EMAIL PROTECTED] wrote:

 On Mon, Nov 13, 2000 at 04:39:11PM -0500, Jamin A. Brown wrote:
  Hello,
 
  We have just completed migrating a sendmail installation for roughly 15000
  users to qmail. After doing so, we are experiencing longish delays on the
  delivery of incoming messages.

 What sort of passwd technology are you using? /etc/passwd? NIS, NIS+?

/etc/passwd at this point.

  The delay seems to occur from when mx0 accepts the message to when mx0
  writes it to the user's Maildir. My guess would be that the queue is not
  being processed fast enough.

It seems that the problem may have been related to the number of open
files that BSD/OS allows by default. After increasing this number by quite
a bit, qmail-send is finally showing us approach our concurrency limits.

If things continue to seem slow, I will email the list with logfile
entries.

Jamin


-
Jamin A. Brown  Systems Operations Department
[EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:  http://www.gwi.net/~jamin/pgp/jamin.asc




Re: RFC822 compliant?

2000-11-13 Thread Russell Nelson

[EMAIL PROTECTED] writes:
  BTW, this isn't flamebait (comment for Felix). I'm just trying to
  figure out why qmail is unable to correctly resolve an address in the
  format
  
  someone@domain

What are you defining as correct, and why?

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | The best way to help the poor
521 Pleasant Valley Rd. | +1 315 268 1925 voice | is to help the rich build
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | up their capital.



Re: RFC822 compliant?

2000-11-13 Thread Russell Nelson

Brian writes:
  Maybe I can simplify the issue here by asking a question:
  
  Is it the consensus here that the following is RFC822 compliant:

Why do you think RFC822 has anything to do with it?

  defaultdomain: empty
  QMAILDEFAULTDOMAIN=""
  
  qmail-inject converts you@somewhere - you@somewhere. (note the period)

What does it mean to send Internet mail to a bare hostname?  I don't
think there's any standard which defines what should happen to that
mail.  As a hostname, a dotless name uses /etc/resolv.conf to get an
IP address, and it does so by either applying a fixed domain, or by
searching a list of domains, depending on how you've configured it.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | The best way to help the poor
521 Pleasant Valley Rd. | +1 315 268 1925 voice | is to help the rich build
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | up their capital.