Re: softhome.net qmail smtp server error

2000-04-17 Thread Giulio Orsero

On Mon, 17 Apr 2000 00:12:30 +0200, hai scritto:

 I notice that the working case has angle brackets, and the two broken
 ones don't.

a.k.a. qmail-1.02 IIRC.

Note: softhome.net is not my server, is where I have some free email
accounts.

Could 
554 RCPT first (#5.5.1)
mean something else, like unknown user, access denied, .?


$ telnet mx0a.softhome.net 25
Trying 204.144.231.54...
Connected to mx0a.softhome.net.
Escape character is '^]'.
220 softhome.net ESMTP
MAIL FROM: [EMAIL PROTECTED]
250 ok
RCPT TO: [EMAIL PROTECTED]
250 ok
DATA
554 RCPT first (#5.5.1)


The smtp server thing started some days ago, together with the pop3
thing:

fetchmail: 5.1.0 querying pop.softhome.net (protocol POP3) at Mon, 17
Apr 2000 0
8:39:41 +0200 (CEST)
fetchmail: POP3 +OK [EMAIL PROTECTED]
fetchmail: POP3 USER *
fetchmail: POP3 +OK
fetchmail: POP3 PASS *
fetchmail: POP3 -ERR unknown username: chkpoppass
fetchmail: unknown username: chkpoppass
fetchmail: Authorization failure on [EMAIL PROTECTED]

The user supplied is definitely NOT "chkpoppass"


-- 
[EMAIL PROTECTED]



Re: Sender domain must resolve error for some sites...

2000-04-17 Thread Anthony White

Hi there,

Here comes the final installment on my problems with
sending mail to certain domains.

The problem, as mentioned, was that our domain name
records were set up as non-authoritative.  I don't
know how our ISP managed that, but they have changed
the records so that the DNS records are authoritative.

Sending mail to the domains mentioned earlier now works.

Thanks to all here for their patience.

Best regards

Anthony

PS. Qmail is a great program, I don't think I will go back to
sendmail again.






Start Qmail

2000-04-17 Thread Mike Alexander Sauvain



hello, my problem is follow:

i compiled qmail, i'havent installed before. all 
works fine, mysql patch work also but now where im confusing about 
qmail:

HOWTO START?

itried different things out, im confused. fact: 
i have suse 6.2

1. isnt possbile to start qmail par inetd 
?
1a. the smtpd 
works, but the pop server not ?i saw in the 
manual howto put smtpd in the inetd line,
but not pop3d or thaths the other 
quest:

2. i was installing the 
tool of ftp://koobera.math.uic.edu/www/ucspi-tcp.html 
(and the other deamon tools)
the tool works fine, butcant really i find 
the ONE qmail manual (surly one of these lot of tons)
how to start, i have alltimes some failures, but i 
dont know where to search the failure, because im confused...

3. it's the same file that i use for pop, when i 
use mysql support
3a. and when, it depends if i use clear text or 
crypted passwords in the mysql table ??

thanks...


Move qmail and directories to new system - how...?

2000-04-17 Thread Anthony White


I have a quick question about moving a complete working
qmail setup to a new disk drive.

My server has outgrown itself and now needs to be put on
larger drives.

Are there any problem moving ./Maildir/ directories
in the users home dirs to a new drive?

Are there any issues moving qmail itself?

I plan to move from my RedHat system from
2 2.1G drives to 2 9.1G drives that will
be running in RAID 1 configuration.

Anthony




qmail-pop3d

2000-04-17 Thread John P. Looney

 For some reason, qmail-pop3d has stopped work for us.

 One of the other admins rebuilt the /home disk, and that's about all I
can think of, that changed. We are also running courier-imap and UW-IMAP,
and they both work fine.

 When I run:

qmail-popup checkpassword  qmail-pop3d Maildir

 To test what's happening, it keeps saying 

-ERR this user has no $HOME/Maildir

 I stuck a simple 'system("pwd");' into the die_nomaildir function, and it
prints that it's trying to run it from whereever the tcpserver program is
started from. Should it not try and chdir into the directory owned by the
username it's just gotten the password from, before looking for the
Maildir ?

Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"-- Zen Master Greg

 PGP signature


Re: qmail-pop3d

2000-04-17 Thread James Raftery

On Mon, Apr 17, 2000 at 12:04:30PM +0100, John P. Looney wrote:
  For some reason, qmail-pop3d has stopped work for us.
 
  One of the other admins rebuilt the /home disk, and that's about all I
 can think of, that changed. We are also running courier-imap and UW-IMAP,
 and they both work fine.
 
  When I run:
 
 qmail-popup checkpassword  qmail-pop3d Maildir
 
  To test what's happening, it keeps saying 
 
 -ERR this user has no $HOME/Maildir

The hostname on the command line is missing.
e.g.  qmail-popup pop3.ucd.ie checkpassword qmail-pop3d Maildir

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



Re: qmail-pop3d

2000-04-17 Thread John P. Looney

On Mon, Apr 17, 2000 at 12:07:53PM +0100, James Raftery mentioned:
 On Mon, Apr 17, 2000 at 12:04:30PM +0100, John P. Looney wrote:
   For some reason, qmail-pop3d has stopped work for us.
  
   One of the other admins rebuilt the /home disk, and that's about all I
  can think of, that changed. We are also running courier-imap and UW-IMAP,
  and they both work fine.
  
   When I run:
  
  qmail-popup checkpassword  qmail-pop3d Maildir
  
   To test what's happening, it keeps saying 
  
  -ERR this user has no $HOME/Maildir
 
 The hostname on the command line is missing.
 e.g.  qmail-popup pop3.ucd.ie checkpassword qmail-pop3d Maildir

 ?

 Hmm.  "/var/qmail/bin/dnsfq  servername" doesn't work. "nslookup
servername" doesn't work. GH! Someone changed my /etc/resolve.conf
and broke it. What an obscure error - DNS is broken, and qmail-pop3d
reports that the user's Maildir is missing ;)

Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"-- Zen Master Greg

 PGP signature


log/spam/smpt/pop

2000-04-17 Thread octave klaba

Hi,
I have the vpopmail-check-relay system on qmail (have to check
the pop to be allowed to use smtp).

A customer spams thought and I can not find out him :/

How to see the logs the vpopmail and see how is using the smtp relay ?
How to make 4 kinds of logs:
- an email -- pop/ml
- ml - send
- smtp relay
- check pop
How to change the log files to have more that 10 files
of 100Ko ?

thanks
octave

Amicalement,
Octave 
 no swap allowed 



qmail startup problems help

2000-04-17 Thread Madhav

Hi all,
We have installed qmail step by step till starting qmail as given in the
qmail-HOWTO. I created sysm. links to /var/qmail/supervise/* in
/var/run/svscan.
But when we start qmail using  "/etc/rc.d/init.d/svscan start", the qmail
processes
(qmail-send,
qmail-lspawn,
qmail-rspawn and
qmail-clean) are  starting as given in the HOWTO.
But It keeps on throwing the message "multilog: fatal: unable to lock
directory  /var/log/qmail:temporary failure".  Why is this message
coming?
Also if the machine is rebooted, do I need to create the above symlinks
again? because they are not persistent. I am using redhat 6.1 linux with
qmail 1.03.

Thanks in advance,
Madhav






Re: qmail startup problems help

2000-04-17 Thread Patrick Ohiomoba

I am having the same problem with non-persistant links...
I placed the command for creating links in rc.local and everything works
fine, but I'd like to know why the created links aren't persistant.  Using
RH 6.2.

Patrick

On Mon, 17 Apr 2000, Madhav wrote:

 Hi all,
 We have installed qmail step by step till starting qmail as given in the
 qmail-HOWTO. I created sysm. links to /var/qmail/supervise/* in
 /var/run/svscan.
 But when we start qmail using  "/etc/rc.d/init.d/svscan start", the qmail
 processes
 (qmail-send,
 qmail-lspawn,
 qmail-rspawn and
 qmail-clean) are  starting as given in the HOWTO.
 But It keeps on throwing the message "multilog: fatal: unable to lock
 directory  /var/log/qmail:temporary failure".  Why is this message
 coming?
 Also if the machine is rebooted, do I need to create the above symlinks
 again? because they are not persistent. I am using redhat 6.1 linux with
 qmail 1.03.
 
 Thanks in advance,
 Madhav
 
 
 
 




Qmailqueue patch?!?

2000-04-17 Thread Jesper Ekberg

Hi!!

I have tried to install the qmailqueue patch a couple of times. But when
I try to send mail through SMTP I keep getting "qq internal bug" all the
time. 

I have done the following things:
1. Applied the qmailqueue patch to qmail-1.03 source. (no error messages)
2. Recompiled and reinstalled qmail 1.03
3. edited the /etc/tcp.smtp and added
QMAILQUEUE="/var/qmail/bin/qmail-qftest".
4. recompiled /etc/tcp.smtp to /etc/tcp.smtp.cdb
5. edited the /var/qmail/bin/qmail-qftest and added qmail-qfilter as a
command.
6. Downloaded, edited and compiled qmail-qfilter.
7. restarted server.


When I rename qmail-qftest to something else I get "qq exec error", so the
qmailqueue patch should be alright. 

The system is a debian linux with kernel 2.2.1

Does anyone have any idea on what could be wrong??

Regards,
Jesper Ekberg




help for documentation?

2000-04-17 Thread cdowns

can anyone steer me to a good howto? this is what im trying to do: i all
ready have qmail and ezmlm-idx running but i need the cgi interface for
configuration.




qmail startup help

2000-04-17 Thread Madhav

Hi all,
I have got impersistent symlinks problem resolved thanls to Patrick. I am
trying to test the setup. I sent a mail as suggested in TEST.deliver (echo
to : root | /var/qmail/bin/qmail-inject). To see whether it came or not, I
was trying to telnet to 127.0.0.1 port 110 without any success. What may be
the problem? (I am using checkpassword ).

Thanks in advance,
Madhav





Re: Move qmail and directories to new system - how...?

2000-04-17 Thread Chris Hardie


On Mon, 17 Apr 2000, Anthony White wrote:

 My server has outgrown itself and now needs to be put on larger
 drives.
 
 Are there any problem moving ./Maildir/ directories
 in the users home dirs to a new drive?
 
 Are there any issues moving qmail itself?
 
 I plan to move from my RedHat system from
 2 2.1G drives to 2 9.1G drives that will
 be running in RAID 1 configuration.

I once had to move the qmail queue to another device/disk drive, and wrote
the below step-by-step.  It could probably use some reviewing, and makes
some assumptions that might not be true (that you're using inetd, that you
can wait until all the messages in your queue have been delivered,
etc).  In short, it's very rough, but might be of help:


Wait till late at night
Make sure there are no messages in the queue
  /var/qmail/bin/qmail-qread
If there are, wait until they are delivered!  Very important.
Modify /etc/inetd.conf to stop incoming mail (comment out smptd)
Kill -HUP inetd
Kill -KILL qmail-send
backup the queue, probably the whole qmail directory for that matter.
Create a symbolic link from /var/qmail/queue to the new directory
cd /usr/src/qmail-1.03
Remake the queue structure (you should not do this by hand, puny mortal):
  # make setup check
Startup qmail
  /var/qmail/rc
Re-allow incoming connections through inetd
TEST IT OUT!
--

I also used the below script (don't have the original author info, sorry -
anyone want to own up to it?) to readjust the queue directory after the
move.  qmail names the files in the queue directory based on the file's
inode number, so this script moves the old files in ./queue.old/ (which is
on the old device) to ./queue/ (which is on the new device) with the
proper names.  Again, use at your own risk, and could probably use some
refining:


#!/bin/sh -x
cd /var/qmail || exit 1
find queue.old/mess -type f -printf '%f %i\n' |
 awk '{print $1, $1%23, $2, $2%23}' |
 while read oldi oldd newi newd; do
  mv queue.old/mess/$oldd/$oldi queue/mess/$newd/$newi
  mv queue.old/info/$oldd/$oldi queue/info/$newd/$newi
  test -f queue.old/local/$oldd/$oldi 
   mv queue.old/local/$oldd/$oldi queue/local/$newd/$newi
  test -f queue.old/remote/$oldd/$oldi 
   mv queue.old/remote/$oldd/$oldi queue/remote/$newd/$newi
  test -f queue.old/bounce/$oldi 
   mv queue.old/bounce/$oldi queue/bounce/$newi
  test -f queue.old/todo/$oldi 
   mv queue.old/todo/$oldi queue/todo/$newi
 done


I'm not sure about the Maildir directories.  I believe they too have some
sort of inode number dependency built in - anyone have advice for Anthony
on moving these?

Hope this helps,
Chris



-- Chris Hardie -
- mailto:[EMAIL PROTECTED] --
 http://www.summersault.com/chris/ --





Re: 2 questions?

2000-04-17 Thread Dave Sill

cdowns [EMAIL PROTECTED] wrote:

1: to create a list with the likes of [EMAIL PROTECTED] instead of the
normal [EMAIL PROTECTED] what needs to be done to do this?

Put the list under the control of the user "alias".

-Dave



Re: Qmail does not start at system start up

2000-04-17 Thread Dave Sill

Scott Wilson [EMAIL PROTECTED] wrote:

I'm running Red Hat 6.1 and qmail 1.03. I have followed LWQ step by step.
However, I am unable to get qmail to start when the system starts. I have
done all of the rcX.d links just as LWQ specifies and I have no problem
running the "qmail  start" command from the command line.

LWQ says:

  The intricacies of the startup directory tree are beyond the scope
  of this document, so if these simplified instructions don't suffice, 
  consult your system documentation.

The links LWQ "specifies" are just examples.

Did you try:

  find RCDIR -name "*sendmail" -print

like LWQ suggests?

What I did try was adding
"ln -s ../init.d/qmail  /etc/rc.d/rc3.d/S80qmail" . When I did this qmail
started when the system was rebooted. This is not in LWQ and I was wondering
if it might cause a problem?

Nope, that's fine.

-Dave



Re: LWQ: Problem when starting qmail with the script

2000-04-17 Thread Dave Sill

Aled Treharne [EMAIL PROTECTED] wrote:

Ok, I've been following the steps in LWQ word by word and editing where
necessary for my system (uname -a: FreeBSD marilyn.cmgww.com 3.4-RELEASE
FreeBSD 3.4-RELEASE #1: Fri Feb 18 17:54:53 EST 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/MARILYN  i386). 

My problem is when I run 'qmail start'. I get a message from multilog :
Fatal error : cannot change to current directory : access denied

This goes to stderr. I've changed the permissions on /var/log/qmail and
below to a+rwx temporarily and that doesn't help. I've noticed that I don't
have setuidgid on my system. Is there a way I can work around this, or
somehow get it working? Any help would be greatly appreciated.

If you followed LWQ carefully, you installed daemontools, which
contains setuidgid. Why would want to work around this? None of the
LWQ qmail startup stuff will work without daemontools.

-Dave



Re: Start Qmail

2000-04-17 Thread Dave Sill

"Mike Alexander Sauvain" [EMAIL PROTECTED] wrote:

1. isnt possbile to start qmail par inetd ?

No. You can run qmail-smtpd and qmail-pop3d from inetd (not
recommended), but qmail-start has to be run once when the system
starts up.

1a.  the smtpd works, but the pop server not ? i saw in the manual
 howto put smtpd in the inetd line, but not pop3d or thaths the
 other quest:

You'll have to show us exactly what you put in inetd.conf.

2. i was installing the tool of
   ftp://koobera.math.uic.edu/www/ucspi-tcp.html  (and the other
   deamon tools) the tool works fine, but cant really i find the ONE
   qmail manual (surly one of these lot of tons) how to start,

"Life with qmail", http://Web.InfoAve.Net/~dsill/lwq.html

3. it's the same file that i use for pop, when i use mysql support
3a. and when, it depends if i use clear text or crypted passwords in
the mysql table ?? 

Beats me. I've never used the mysql stuff.

-Dave



newbie question

2000-04-17 Thread Les Higger

hello one and all... 
I have been running mercury mail for several years.. it runs on an ol
novell puppy. I would like to build a mail server using a linux box.
I have 12 linux servers but never ventured into the mail realm.
how easy would it be to use qmail ? can it be a pop server ? I only have
80 clients so were a pretty small shop.. 
mail volume is pretty low.. 

thanks for any advise ;-)

*++*
* Les Higger ITAF ,
* Local Area Network Coord.  
* [EMAIL PROTECTED]
* Francisco Bravo Medical Magnet High School
* Los Angeles Unified School District
 --- Old men can give flawless advice, for they nolonger can set bad 
examples --- 





Re: newbie question

2000-04-17 Thread Patrick Ohiomoba

Qmail isn't hard to set up, although I recommend having at it a couple of
times before you install your production server.  Migrating from mercury
mail may be more difficult, I don't know enough about mercury mail to give
you an idea about how its features might affect migration.

Qmail allows many pop options, including its own qmail-pop3d, but also
Cyrus, Qpopper, imap-4.5, etc...

Other applications such as vpopper and Squebmail allow this flexible mta
to serve more functions, like a webmail server.

Finally, there's a patch allowing ldap support.


On Mon, 17 Apr 2000, Les Higger wrote:

 hello one and all... 
 I have been running mercury mail for several years.. it runs on an ol
 novell puppy. I would like to build a mail server using a linux box.
 I have 12 linux servers but never ventured into the mail realm.
 how easy would it be to use qmail ? can it be a pop server ? I only have
 80 clients so were a pretty small shop.. 
 mail volume is pretty low.. 
 
 thanks for any advise ;-)
 
 *++*
 * Les Higger ITAF ,
 * Local Area Network Coord.  
 * [EMAIL PROTECTED]
 * Francisco Bravo Medical Magnet High School
 * Los Angeles Unified School District
  --- Old men can give flawless advice, for they nolonger can set bad 
 examples --- 
 
 
 




Re: Need someone to contract for qmail/ezmlm - db integration

2000-04-17 Thread Florian G . Pflug


We have a client who runs a number of mailing lists.  Data and
subscription information is kept on our Sybase database server.

We have another machine (mail server) running qmail + ezmlm + vpopmail. 
The setup works great.

We need a module that we can put into the list-subscribe and
list-unsubscribe stream and have it perform a SQL call or two on our
existing database tables.  Right now we have one direction
synchronization.. the website/database server adds/removes people from the
ezmlm subscriber list.  We want to close the loop and have the ezmlm
process also update the database tables/website.  This may or may not mean
just converting our ezmlm setup to run strictly from the DB but we're
looking for some recommendations.  

If anyone has some experience with this and would like some work, please
drop me a line off-list.
Hi

First there is an ezmlm list (www.ezmlm.org), which is more appropriate 
for this question.
Do you use ezmlm oder ezmlm-idx?
ezmlm-idx supports keeping its subscriber db in an sql-RDBMS - I don't 
know if sybase is supported at the moment, but adding support should not 
be hard.

Greetings, Florian Pflug



Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Chris Johnson

On Mon, Apr 17, 2000 at 07:28:08PM +0300, Gabriel Ambuehl wrote:
 Now I'm wondering if I should install ucspi in order to use qmail on FreeBSD
 4.0. Any comments would be greatly appreciated.

Yes, install it. It works better than inetd, and will always have better
support on this list than inetd.

Chris



RE: Qmail on FreeBSD 4.0

2000-04-17 Thread Soffen, Matthew

You will be able to get more support running ucspi and qmail (inetd is no
longer supported on any platform for qmail).

Matt Soffen 
Web Intranet Developer
http://www.iso-ne.com/
==
Boss- "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss- "Well, if the company nurse comes by, tell her I said 
 never mind."
   - Dilbert -
==


 -Original Message-
 From: Gabriel Ambuehl [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, April 17, 2000 12:28 PM
 To:   [EMAIL PROTECTED]
 Cc:   [EMAIL PROTECTED]
 Subject:  Qmail on FreeBSD 4.0
 
 Hello,
 well, we're currently in the migration from SuSE Linux to FreeBSD
 (atleast our 'testnuke' boxes for learning purposes) and during that
 I saw that the tcpwrapper port is forbidden because the functions have
 been
 integrated into FreeBSD itself. Now I'm wondering if I should install
 ucspi in order to use qmail on FreeBSD 4.0. Any comments would be
 greatly appreciated.
 
 
 
 
 Best regards,
  Gabriel
 



RE: qmail, ucsi-tcp inetd

2000-04-17 Thread Próspero, Esteban


It worked! Thanks!!

Esteban Javier Próspero



-Original Message-
From:   Keith Warno [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, April 14, 2000 4:50 PM
To: [EMAIL PROTECTED]
Subject:Re: qmail, ucsi-tcp  inetd

On Solaris try something like

zcat blah.tar.gz | tar xf -


- Original Message -
From: "Próspero, Esteban" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 14, 2000 10:22 AM
Subject: RE: qmail, ucsi-tcp  inetd


What is the z option for? my Solaris tar doesn't understand
it...


Esteban Javier Próspero







Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Patrick Bihan-Faou

Hi,

I am using qmail on FreeBSD with ucspi and daemontools as decribed in LWQ
and everything is great...

There is one patch you need to implement on the FreeBSD kernel in order to
not suffer a buffer overflow in one of the function that qmail uses. This
buffer overflow will effectively replace the address for the MAIL FROM
command of outgoing smtp session with crap leading in email rejections from
remote smtp servers.

Note that this bug affects FreeBSD, but may also be present in other BSD
based TCP/IP implementations.

The file to patch is /usr/src/sys/net/if.c, the attached patch is against
the current RELENG_4 version.

Have fun with FreeBSD...


Patrick.

 if.c.patch


qmail as secondary MX.

2000-04-17 Thread Mario Rafael

Hi, I am trying to configure qmail as a secondary MX for severeal domains
I am responsible for, the DNS es configured okey, what I need to know is
HOW do I tell qmail that the mail it is receiving is not local, that is has
to be sent to the primary MX.

I thought that the domains could be configured as virtualdomains an
instead of sending the mail to a user sending it to a host, but HOW?, any
help would be appreciated ;).

Thanks in advance. :)

Mario Rafael
e-Mail : [EMAIL PROTECTED]



Re: qmail as secondary MX.

2000-04-17 Thread Dave Sill

Mario Rafael [EMAIL PROTECTED] wrote:

   Hi, I am trying to configure qmail as a secondary MX for
severeal domains I am responsible for, the DNS es configured okey,
what I need to know is HOW do I tell qmail that the mail it is
receiving is not local, that is has to be sent to the primary MX.

Put the domains in control/rcpthosts, but *not* in control/locals.

That's all there is to it.

-Dave



Re: qmail as secondary MX.

2000-04-17 Thread Russell Nelson

Mario Rafael writes:
   Hi, I am trying to configure qmail as a secondary MX for severeal domains
  I am responsible for, the DNS es configured okey, what I need to know is
  HOW do I tell qmail that the mail it is receiving is not local, that is has
  to be sent to the primary MX.

Es no problemo: solamente put the domain in neither locals nor
virtualdomains, but instead just in rcpthosts.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Newbie.....

2000-04-17 Thread Eduardo Moor

Hi list:

I have been running qmail for Internet mail for almost a year without
special problems :-).
Could anyone tell me if there is any way to  restrict access outside the
local domain for some users,
I don't want to allow them to send mail to the internet, but yes to the
local domain.

Thanks.
Eduardo Moor
Extech SRL
Argentina




Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Ben Beuchler

On Mon, Apr 17, 2000 at 01:57:33PM -0400, Patrick Bihan-Faou wrote:

 There is one patch you need to implement on the FreeBSD kernel in order
 to not suffer a buffer overflow in one of the function that qmail uses.
 This buffer overflow will effectively replace the address for the MAIL
 FROM command of outgoing smtp session with crap leading in email
 rejections from remote smtp servers.
 
 Note that this bug affects FreeBSD, but may also be present in other BSD
 based TCP/IP implementations.
 
 The file to patch is /usr/src/sys/net/if.c, the attached patch is
 against the current RELENG_4 version.

Has anyone else encountered this?  Is this a major problem?

Ben

-- 
"There is no spoon"
-- The Matrix



Re: Qmail on FreeBSD 4.0

2000-04-17 Thread S.P. Hoeke

On Mon, Apr 17, 2000 at 01:56:47PM -0500, Ben Beuchler wrote:
 On Mon, Apr 17, 2000 at 01:57:33PM -0400, Patrick Bihan-Faou wrote:
 
  There is one patch you need to implement on the FreeBSD kernel in order
  to not suffer a buffer overflow in one of the function that qmail uses.
[snip]
  Note that this bug affects FreeBSD, but may also be present in other BSD
  based TCP/IP implementations.
 
 Has anyone else encountered this?  Is this a major problem?
I've been running qmail on OpenBSD 2.x for about a month now, and haven't
had any problems (yet)
 
 Ben
Steffan



Re: Re[2]: Qmail on FreeBSD 4.0

2000-04-17 Thread Patrick Bihan-Faou

Hi,

- Original Message -
From: "Gabriel Ambuehl" [EMAIL PROTECTED]
  buffer overflow will effectively replace the address for the MAIL FROM
  command of outgoing smtp session with crap leading in email rejections
from
  remote smtp servers.

 Hmm that's bad...

Well, it's been around forever. I first noticed the bug in FreeBSD
3.4-STABLE. I have sent the patch to the FreeBSD team and code to test if a
particular installation is vulnerable.

The issue is as much with qmail as with the FreeBSD code. Most application
that try to discover the interfaces present on a given system use the same
system call as qmail, but with a large buffer (usually around 8k). This
buffer is big enough in 99.99% of the case. Qmail on the other hand tries to
save a few bytes here and there, so it uses the system call with a very
small buffer (256 bytes) and then increases it by a few bytes until it knows
that it got all the interfaces.

The only advantage of qmail's way is that is save some memory. The main
drawbacks are:
- it is vulnerable to the BSD socket bug (which is not limited to FreeBSD)
- it uses a fairly high number of system calls to do something that should
be done
  in one system call.

Qmail can be patched for that problem as well.

(here it is)

--- ipme.c.orig  2000/04/08 18:49:08
+++ ipme.c  2000/04/09 08:14:11
@@ -48,7 +48,7 @@

   if ((s = socket(AF_INET,SOCK_STREAM,0)) == -1) return -1;

-  len = 256;
+  len = 8092; /* any value big enough to get all the interfaces in one read
is good */
   for (;;) {
 if (!stralloc_ready(buf,len)) { close(s); return 0; }
 buf.len = 0;
@@ -60,7 +60,7 @@
 break;
   }
 if (len  20) { close(s); return -1; }
-len += 100 + (len  2);
+len *= 2;
   }
   x = buf.s;
   while (x  buf.s + buf.len) {



  The file to patch is /usr/src/sys/net/if.c, the attached patch is
against
  the current RELENG_4 version.

 Do you mean 4.0 Current or 4.0 Release (we'll use the later, if WC
 sends us the CDs.. Ordered them since they're scheduled but nothing
 yet arrived)?


This is for any FreeBSD to date. And as for the CD's we got ours last week,
so yours should not be too far away...

Patrick.








next release

2000-04-17 Thread S.P. Hoeke

Hi,

It's probably been asked, but .

Is there a scheduled release timeframe for the next qmail version ?

Greetz,
 Steffan



Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Patrick Bihan-Faou

Hi,


- Original Message -
From: "S.P. Hoeke" [EMAIL PROTECTED]
  Has anyone else encountered this?  Is this a major problem?
 I've been running qmail on OpenBSD 2.x for about a month now, and haven't
 had any problems (yet)


Looking quickly at the NetBSD and the FreeBSD code, I would say that they
are not affected by that bug. Also solaris 2.5 is clean. I don't know about
any of the linux...



Patrick.





Re: next release

2000-04-17 Thread Dave Sill

"S.P. Hoeke" [EMAIL PROTECTED] wrote:

Is there a scheduled release timeframe for the next qmail version ?

No.

-Dave



greeting message

2000-04-17 Thread quanta

Hello, I'am trying to set up the greeting message when you pop your mail.

If someone could tell me how to do it, i am using qmail-pop3d.


THX.

Mikael chambon.



smtpgreeting

2000-04-17 Thread quanta

Hello, i've a smtpgreeting file in /var/qmail/control.

The message has some space inside, and the server replace them by ?, does
someone know why??




Maildir format

2000-04-17 Thread quanta

Sorry I have one more question, I am using The Maildir format to make it
works with qmail-pop3d
but I can't find any client like pine or elm to work with it, do I have to
patch something??

THX
Mikael




Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Delanet Administration

Running FreeBSD 3.4 stable here..not affected either. 4.0 is still release
code and not part of the stable branch, I'd avoid using it for any production
servers till it's migrated to the stable tree.


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





Patrick Bihan-Faou wrote:

 Hi,

 - Original Message -
 From: "S.P. Hoeke" [EMAIL PROTECTED]
   Has anyone else encountered this?  Is this a major problem?
  I've been running qmail on OpenBSD 2.x for about a month now, and haven't
  had any problems (yet)
 

 Looking quickly at the NetBSD and the FreeBSD code, I would say that they
 are not affected by that bug. Also solaris 2.5 is clean. I don't know about
 any of the linux...

 Patrick.




Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Mike

Patrick Bihan-Faou wrote:
 
 Hi,
 
 - Original Message -
 From: "S.P. Hoeke" [EMAIL PROTECTED]
   Has anyone else encountered this?  Is this a major problem?
  I've been running qmail on OpenBSD 2.x for about a month now, and haven't
  had any problems (yet)
 
 
 Looking quickly at the NetBSD and the FreeBSD code, I would say that they
 are not affected by that bug. Also solaris 2.5 is clean. I don't know about
 any of the linux...
 
 Patrick.

Well, now that you mention it, does NetBSD also mean OpenBSD by
extension? I didn't see any references to a patch in their (OpenBSD)
port.
-- 
  _  __  __  ___
 / \/ \  | |/ / / O \   
/_/\/\_\o|_|\_\o\___/o  
M I C H A E L O W E N S



Re: Maildir format

2000-04-17 Thread Paul Schinder

At 9:41 PM +0200 4/17/00, quanta wrote:
Sorry I have one more question, I am using The Maildir format to make it
works with qmail-pop3d
but I can't find any client like pine or elm to work with it, do I have to
patch something??

Try mutt.  http://www.mutt.org.


THX
Mikael

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]



Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Vince Vielhaber

On Mon, 17 Apr 2000, Ben Beuchler wrote:

 On Mon, Apr 17, 2000 at 01:57:33PM -0400, Patrick Bihan-Faou wrote:
 
  There is one patch you need to implement on the FreeBSD kernel in order
  to not suffer a buffer overflow in one of the function that qmail uses.
  This buffer overflow will effectively replace the address for the MAIL
  FROM command of outgoing smtp session with crap leading in email
  rejections from remote smtp servers.
  
  Note that this bug affects FreeBSD, but may also be present in other BSD
  based TCP/IP implementations.
  
  The file to patch is /usr/src/sys/net/if.c, the attached patch is
  against the current RELENG_4 version.
 
 Has anyone else encountered this?  Is this a major problem?

First I've heard of it and I'm running 4.0.  Where did that come from?

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: Maildir format

2000-04-17 Thread Steve Wolfe

 Sorry I have one more question, I am using The Maildir format to make it
 works with qmail-pop3d
 but I can't find any client like pine or elm to work with it, do I have
to
 patch something??

 Try mutt.  http://www.mutt.org.

   Any pop3 mail client should work fine with the qmail-pop3d server, and I
use a patched version of IMAP for things like Pine to connect to.  Although
you don't have all the capabilities that some mailers would give you by
them bypassing the server, it does provide a transparen way for any
standard pop3 or IMAP client to work.

steve




Re: smtpgreeting

2000-04-17 Thread Dave Sill

"quanta" [EMAIL PROTECTED] wrote:

Hello, i've a smtpgreeting file in /var/qmail/control.

The message has some space inside, and the server replace them by ?, does
someone know why??

My smtpgreeting files have spaces that don't get replaced by ?'s.

-Dave



Re: Maildir format

2000-04-17 Thread Dave Sill

"quanta" [EMAIL PROTECTED] wrote:

Sorry I have one more question, I am using The Maildir format to make it
works with qmail-pop3d
but I can't find any client like pine or elm to work with it, do I have to
patch something??

Accessed via POP, the native mailbox format is tranparent and
irrelevant. You only need Maildir-compatible MUA's for people *not*
using POP.

-Dave



Re: Maildir format

2000-04-17 Thread lluisma

quanta wrote:

 Sorry I have one more question, I am using The Maildir format to make it
 works with qmail-pop3d
 but I can't find any client like pine or elm to work with it, do I have to

pop3 clients don't have to know anything about maildir. I use netscape pop3
client and it just work fine.


 patch something??

 THX
 Mikael




Read and Delivery Receipts

2000-04-17 Thread Scott Wilson

Is there a way to make qmail send a "Read Receipt" and/or a "Delivery
Receipt" when it is requested by the sender?







Re: Read and Delivery Receipts

2000-04-17 Thread Gabriel Ambuehl

Hello Scott,

Monday, April 17, 2000, 11:09:11 PM, you wrote:
 Is there a way to make qmail send a "Read Receipt" and/or a "Delivery
 Receipt" when it is requested by the sender?

Hard thing to implement. The only thing which would be possible is a
'I sent the mail to the client' from qmail-pop3d what should be pretty
easy to implement if it's not already there. A real "Read Receipt"
would have to be done by the reader...

Best regards,
 Gabriel





Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Patrick Bihan-Faou

Hi,

- Original Message -
From: "Mike" [EMAIL PROTECTED]
 Patrick Bihan-Faou wrote:
  Looking quickly at the NetBSD and the FreeBSD code, I would say that
they
  are not affected by that bug. Also solaris 2.5 is clean. I don't know
about
  any of the linux...

 Well, now that you mention it, does NetBSD also mean OpenBSD by
 extension? I didn't see any references to a patch in their (OpenBSD)
 port.

Oops I meant, NetBSD and OpenBSD are not affected. FreeBSD is for all
version (including 3.x).

Patrick.





Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 03:41:41PM -0400, Delanet Administration wrote:
 Running FreeBSD 3.4 stable here..not affected either. 4.0 is still release
 code and not part of the stable branch, I'd avoid using it for any production
 servers till it's migrated to the stable tree.

4.0 went STABLE a couple of weeks ago.

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



mailbox not found

2000-04-17 Thread Joel Dudley

I have atrange problem.  I have set up one domain on my qmail system and it
is working well. I tried to set up another so I did
/home/vpopmail/bin/vadddomain lrpr.com.  Then did vadduser [EMAIL PROTECTED]
laura.  The mailbox is there and I can log into it with SQwebmail, however,
when I try to send mail to the address and I get the following:

Hi. This is the qmail-send program at nixmail.silverw.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]:
Sorry, no mailbox here by that name. (#5.1.1)

I tried comparing the domain that was not working to the domain that is and
the only difference I noticed was that for the domain that is working, the
.qmail-default file has the line bounce-no-mailbox, where the bad domain has
the path of the postmaster mailbox instead.  Any ideas?  This is driving me
nuts.  Thanks.

- Joel




Re: Read and Delivery Receipts

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 10:14:18PM +0300, Gabriel Ambuehl wrote:
 Hello Scott,
 
 Monday, April 17, 2000, 11:09:11 PM, you wrote:
  Is there a way to make qmail send a "Read Receipt" and/or a "Delivery
  Receipt" when it is requested by the sender?
 
 Hard thing to implement. The only thing which would be possible is a
 'I sent the mail to the client' from qmail-pop3d what should be pretty
 easy to implement if it's not already there. A real "Read Receipt"
 would have to be done by the reader...

man qreceipt

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



Re[2]: Qmail on FreeBSD 4.0

2000-04-17 Thread Gabriel Ambuehl

Hello Peter,
 code and not part of the stable branch, I'd avoid using it for any production
 servers till it's migrated to the stable tree.
 4.0 went STABLE a couple of weeks ago.

So should I go for 4.0 stable directly instead of 4.0 Release?

Best regards,
 Gabriel





Re: Qmail on FreeBSD 4.0

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 10:31:51PM +0300, Gabriel Ambuehl wrote:
 Hello Peter,
  code and not part of the stable branch, I'd avoid using it for any production
  servers till it's migrated to the stable tree.
  4.0 went STABLE a couple of weeks ago.
 
 So should I go for 4.0 stable directly instead of 4.0 Release?

You can't. There is no 4.0-STABLE release. That's wat 4.0-RELEASE is called
RELEASE for.

Get 4.0-RELEASE mfsroot and kern disks, FTP-install 4.0-RELEASE, and then
cvsup to 4.0-STABLE and make world and install a new kernel.

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



mail-abuse.org

2000-04-17 Thread Luis Bezerra


Hello averyone:
Anyone has one solution for this situation:
When I execute one Telnet session to mail-abuse.org, this relay problem
is described:
Relay test 10
>>> RSET
 250 flushed
>>> MAIL FROM:spamtest@[200.194.96.32]>
 250 ok
>>> RCPT TO:[EMAIL PROTECTED]@[200.194.96.32]>
 250 ok
Relay test result
Uh oh, host appeared to accept a message for
relay.
The host may reject this message internally,
however
Connection closed by foreign host.
Could you help me for to resolve this problem?
regards

--
-
Lus Bezerra de A. Junior
[EMAIL PROTECTED]
SecrelNet Informtica LTDA
Fortaleza - Cear - Brasil
Fone: 021852882090
-




Re: SPAMCONTROL not work properly

2000-04-17 Thread Erwin Hoffmann

Hi,

after some discussion with Bernat and Luis I updated the SPAMCONTROL patch
to fix the problems mentioned so far. It took a while because I was busy to
start a new web-page.

The SPAMCONTROL patch moved to: http://www.fehcom.de/qmail_en.html/

One basic problem left:

In case QMAIL-SMTPD 
1) has been addressed (Mail from:) by means of the MTA's IP address [IP
address] and/or
2) sees a RECIPIENT address (RCPT to:) with its's [IP address]
QMAIL-SMTPD subsitutes this to its FQDN. I mentionend this in the new
README. However, this behavior makes it impossible (whether TCPSERVER or
QMAIL + SPAMCONTROL patch) to filter those address-schemes, which are used
by ORBS to test a MTA.

I try to investigate this for the next release of SPAMCONTROL. 
That subject keeps me busy.

regards.
eh.
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



Re: Newbie.....

2000-04-17 Thread Markus Fischer

On Mon, Apr 17, 2000 at 03:03:10PM -0300, Eduardo Moor wrote : 
 I have been running qmail for Internet mail for almost a year without
 special problems :-).
 Could anyone tell me if there is any way to  restrict access outside the
 local domain for some users,
 I don't want to allow them to send mail to the internet, but yes to the
 local domain.

I'm not an expert in this. For those users, remove access
to qmail-queue by chmod'ing it 4750 , chgrp into a group which is
allowed to send email and put every user in this group.

However, you can't prevent those users to send mail
directory from your host to internet via port 25. At least not if
you don't use smtp-auth.

Anyone else comment about this thoughts ?

kind regards,
Markus

-- 
Markus Fischer,  http://josefine.ben.tuwien.ac.at/~mfischer/
EMail: [EMAIL PROTECTED]
PGP Public  Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0
- Free Software For A Free World -



RE: mail-abuse.org

2000-04-17 Thread Soffen, Matthew

This has been discussed many times on this list.

This test is erroneous.  As the message says "It appeared to accept ..."
This doesn't mean that it DID accept the message.

This is a non-problem (as it is not a TRUE indication of your machine being
an open relay).  Only if it actually DOES deliver the mail should you worry
(and unless you installed a patch to allow you to do this, then you
shouldn't worry(.

Matt Soffen 
Web Intranet Developer
http://www.iso-ne.com/
==
Boss- "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss- "Well, if the company nurse comes by, tell her I said 
 never mind."
   - Dilbert -
==




 -Original Message-
 From: Luis Bezerra [SMTP:[EMAIL PROTECTED]]
 Sent: Saturday, April 15, 2000 4:42 PM
 To:   qmail list
 Subject:  mail-abuse.org
 
 Hello averyone: 
 
 Anyone has one solution for this situation: 
 
 When I execute one Telnet session to mail-abuse.org, this relay problem is
 described: 
 
 Relay test 10 
  RSET 
  250 flushed 
  MAIL FROM:spamtest@[200.194.96.32] 
  250 ok 
  RCPT TO:[EMAIL PROTECTED]@[200.194.96.32] 
  250 ok 
 Relay test result 
 Uh oh, host appeared to accept a message for relay. 
 The host may reject this message internally, however 
 Connection closed by foreign host. 
 
 Could you help me for to resolve this problem? 
 
 regards 
   
 
 -- 
 - 
 Luis Bezerra de A. Junior 
 [EMAIL PROTECTED] 
 SecrelNet Informatica LTDA 
 Fortaleza - Ceara - Brasil 
 Fone: 021852882090 
 - 
  



Re: Newbie.....

2000-04-17 Thread John Gonzalez/netMDC admin

I've never tried this however, i have a couple ideas.

You could setup 2 qmail machines or 2 qmail processes on one machine.
Force one process/machine to use the other as a relay. Dont give the
machine relay access for that IP, and it will only allow you to deliver
mail to domains that are 'local' to it, or are in the rcpthosts file.

What i've said might be totally confusing, or i might be trying to think
of one of the most difficult ways to solve a simple problem, and i just
dont know it =)

On Mon, 17 Apr 2000, Markus Fischer wrote:

On Mon, Apr 17, 2000 at 03:03:10PM -0300, Eduardo Moor wrote : 
 I have been running qmail for Internet mail for almost a year without
 special problems :-).
 Could anyone tell me if there is any way to  restrict access outside the
 local domain for some users,
 I don't want to allow them to send mail to the internet, but yes to the
 local domain.

   I'm not an expert in this. For those users, remove access
to qmail-queue by chmod'ing it 4750 , chgrp into a group which is
allowed to send email and put every user in this group.

   However, you can't prevent those users to send mail
directory from your host to internet via port 25. At least not if
you don't use smtp-auth.

   Anyone else comment about this thoughts ?

  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  2:45pm  up 83 days, 21:42,  4 users,  load average: 0.06, 0.17, 0.36




RE: mail-abuse.org

2000-04-17 Thread Bruce

 From: Luis Bezerra [mailto:[EMAIL PROTECTED]]

 Hello averyone: 
 Anyone has one solution for this situation: 
 When I execute one Telnet session to mail-abuse.org, this relay problem
  is described: 
 Relay test 10 
  RSET 
  250 flushed 
  MAIL FROM:spamtest@[200.194.96.32] 
  250 ok 
  RCPT TO:[EMAIL PROTECTED]@[200.194.96.32] 
  250 ok 
 Relay test result 
 Uh oh, host appeared to accept a message for relay. 
 The host may reject this message internally, however 
 Connection closed by foreign host. 
 Could you help me for to resolve this problem? 
 regards 

Easy.  Install sendmail.




Re: mail-abuse.org

2000-04-17 Thread Peter van Dijk

On Sat, Apr 15, 2000 at 05:42:19PM -0300, Luis Bezerra wrote:


Yeah. I agree.

Try it without the HTML.

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



Re: mail-abuse.org

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 02:01:46PM -0700, Bruce wrote:
[snip]
 
 Easy.  Install sendmail.

Please, don't say thing like these unless you really mean them. And if you
do, don't say 'm here.

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



pop3 greeting message

2000-04-17 Thread quanta

Hello , Does someone know how to set up greeting message with qmail-pop3d???

THX



RE: mail-abuse.org

2000-04-17 Thread Bruce

 From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
 
 On Mon, Apr 17, 2000 at 02:01:46PM -0700, Bruce wrote:
 [snip]
  
  Easy.  Install sendmail.
 
 Please, don't say thing like these unless you really mean 
 them. And if you
 do, don't say 'm here.
 
 Greetz, Peter.

Well, Peter, I must say that you are a far more gracious
person than I will ever be.  This appears to be the third
time this month that Luis has asked about qmail accepting
spam, and looking at the archives, the only time to date
that he responded to any advice given him was when he said
to you, "Peter Pan, I not want your opinion. I want one
solution[sic]"

If you can still be polite, I should sit back and learn
from your example.  In my heart of hearts, though, I may
still wish he took up another MTA, so he can ask some other
list for advice to ignore.

Doesn't sound like I'm learning much does it?  Ok, I'll try
to be quiet and accept any flames I may deserve.

Sorry,
- Bruce




Re: softhome.net qmail smtp server error

2000-04-17 Thread rogers-qmail

   From: Giulio Orsero [EMAIL PROTECTED]
   Date: Mon, 17 Apr 2000 09:42:03 +0200

   Could 
   554 RCPT first (#5.5.1)
   mean something else, like unknown user, access denied, .?

I think it must.  mx0a.softhome.net seems to have its error messages
screwed up.  I tried several variations on your example, and all of them
failed, until I tried using a valid address:

rgr telnet mx0a.softhome.net 25
Trying 204.144.231.54...
Connected to mx0a.softhome.net.
Escape character is '^]'.
220 softhome.net ESMTP
HELO h0050da615e79.ne.mediaone.net
250 softhome.net
MAIL FROM:[EMAIL PROTECTED]
250 ok
RCPT TO:[EMAIL PROTECTED]
250 ok
DATA
354 go ahead
Terminated
rgr 

(I killed telnet to avoid spamming the postmaster.)

   Just for grins, I tried it again with varying syntax, and discovered
that the angle brackets are optional, but the colon is not.

. . .
RCPT TO [EMAIL PROTECTED]
553 envelope recipient address invalid (#5.7.1)
RCPT TO: [EMAIL PROTECTED]
250 ok
DATA
354 go ahead
Terminated
rgr 

So it appears that "RCPT first" was a broken, delayed version of "No
such user", and had nothing to do with SMTP command syntax.  Feel free
to forward to [EMAIL PROTECTED] . . .

-- Bob



Re: mail-abuse.org

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 02:45:01PM -0700, Bruce wrote:
  From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
  
  On Mon, Apr 17, 2000 at 02:01:46PM -0700, Bruce wrote:
  [snip]
   
   Easy.  Install sendmail.
  
  Please, don't say thing like these unless you really mean 
  them. And if you
  do, don't say 'm here.
 
 Well, Peter, I must say that you are a far more gracious
 person than I will ever be.  This appears to be the third
 time this month that Luis has asked about qmail accepting
 spam, and looking at the archives, the only time to date
 that he responded to any advice given him was when he said
 to you, "Peter Pan, I not want your opinion. I want one
 solution[sic]"

Urgh. I did not recall it was him. I was serious about that 'killfile'
thing back then, but was unlucky I did not find an easy way.

I will try again :)

 If you can still be polite, I should sit back and learn
 from your example.  In my heart of hearts, though, I may
 still wish he took up another MTA, so he can ask some other
 list for advice to ignore.

Hmmm my acceptance of abuse does stretch very far, but he is pushing the
line. Depending on how he asks next time, I might even give serious
answers.

 Doesn't sound like I'm learning much does it?  Ok, I'll try
 to be quiet and accept any flames I may deserve.

You don't. I just didn't recognize him as the person being so abusive last
time, if I did I would have given a different answer :)

 Sorry,

The sorry is mine :)

Please flame Luis all you want. And people: don't flame Bruce for this. Or
me, please :)

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



Re: mail-abuse.org

2000-04-17 Thread Luis Bezerra

My friend:

It's not a good solution

I prefer QMail
-Original Message-
From: Peter van Dijk [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Segunda-feira, 17 de Abril de 2000 15:42
Subject: Re: mail-abuse.org


On Mon, Apr 17, 2000 at 02:45:01PM -0700, Bruce wrote:
  From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
  
  On Mon, Apr 17, 2000 at 02:01:46PM -0700, Bruce wrote:
  [snip]
   
   Easy.  Install sendmail.
  
  Please, don't say thing like these unless you really mean 
  them. And if you
  do, don't say 'm here.
 
 Well, Peter, I must say that you are a far more gracious
 person than I will ever be.  This appears to be the third
 time this month that Luis has asked about qmail accepting
 spam, and looking at the archives, the only time to date
 that he responded to any advice given him was when he said
 to you, "Peter Pan, I not want your opinion. I want one
 solution[sic]"

Urgh. I did not recall it was him. I was serious about that 'killfile'
thing back then, but was unlucky I did not find an easy way.

I will try again :)

 If you can still be polite, I should sit back and learn
 from your example.  In my heart of hearts, though, I may
 still wish he took up another MTA, so he can ask some other
 list for advice to ignore.

Hmmm my acceptance of abuse does stretch very far, but he is pushing the
line. Depending on how he asks next time, I might even give serious
answers.

 Doesn't sound like I'm learning much does it?  Ok, I'll try
 to be quiet and accept any flames I may deserve.

You don't. I just didn't recognize him as the person being so abusive last
time, if I did I would have given a different answer :)

 Sorry,

The sorry is mine :)

Please flame Luis all you want. And people: don't flame Bruce for this. Or
me, please :)

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





Re: mail-abuse.org

2000-04-17 Thread Adam McKenna

On Mon, Apr 17, 2000 at 06:57:58PM -0300, Luis Bezerra wrote:
 My friend:
 
 It's not a good solution
 
 I prefer QMail

You don't seem to understand -- this is the way qmail handles messages.

If you don't like it, you can either write a patch, or run another MTA.

--Adam



Re: mail-abuse.org

2000-04-17 Thread Peter van Dijk

On Mon, Apr 17, 2000 at 06:57:58PM -0300, Luis Bezerra wrote:
 My friend:
 
 It's not a good solution
 
 I prefer QMail

So stop acting clueless and start taking advice from us. There is no
relaying problem, unless you have proof that your machine actually
_delivered_ the message in question.

I will make an effort to filter mail from you into oblivion if you don't
take the above-mentioned hint.

Oh, and please take some quoting-lessons. We like to communicate
efficiently.

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



Re: mail-abuse.org

2000-04-17 Thread Len Budney

"Luis Bezerra" [EMAIL PROTECTED] wrote:
 
 It's not a good solution
 
 I prefer QMail

Luis, people have answered your questions. Also, your questions are
already answered in the documentation AND in the qmail archive. Are you
1) thick headed, 2) a troll, or 3) having trouble understanding English?

Or are you an autoresponder? If so, are you available under the GPL?
Maybe I can run you from procmail, to annoy people who annoy me.

Len.

--
Any _widely used_ spam-detection system is a waste of time, because the
spammers can and will avoid it. It ends up doing more harm than good.
-- Dan Bernstein



uscpi / deamontools

2000-04-17 Thread Mike Alexander Sauvain



where are the best howto's for uscpi / deamontools 
?

please send referrs to : [EMAIL PROTECTED]


Thanks.

. if you have something nice about the qmail 
 mysql i qould be happy to...


.. cu... 
mike...


Re: uscpi / deamontools

2000-04-17 Thread Peter van Dijk

On Tue, Apr 18, 2000 at 01:14:12AM +0200, Mike Alexander Sauvain wrote:
 where are the best howto's for uscpi / deamontools ?

http://cr.yp.to/
http://www.qmail.org/

 please send referrs to : [EMAIL PROTECTED]

No. You ask the list, you read the list for replies.

 . if you have something nice about the qmail  mysql i qould be happy to...

http://www.qmail.org/ should have some about that too.

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



Outlook + UW IMAP + mbox + qmail

2000-04-17 Thread Eric M. Johnston

Hi,

I was having some users complain about the times shown in their Outlook 2000
e-mail listings being 'incorrect' (UTC) while when they opened the message,
the times were correct.  They were seeing this situation when using IMAP (UW
IMAP server), but not with POP (qpopper).

After doing some experimentation, I discovered that the IMAP server is
getting its time from the "From " header in the mbox, not the "Received:" or
"Date:" headers, and passing this on to Outlook.  When using POP, Outlook
evidently gets the time itself from a "Received:" header.

Since qmail delivers mail to mboxes with a "From " header that looks like
this:

From [EMAIL PROTECTED] Mon Apr 17 20:13:21 2000

IMAP or Outlook (didn't dig in deep enough to figure out who does this)
evidently assumes that the date/time given is local time.  To rectify this
problem, I patched the qmail myctime.c to append " -" to the time, like
this:

From [EMAIL PROTECTED] Mon Apr 17 20:13:21 2000 -

This 'fixes' the time seen in Outlook, I guess because either IMAP or
Outlook can now figure out the local time.  My question is this: does this
solution violate any standards or will it break anything obvious?  Why
doesn't qmail give some indication that the date/time given in this header
is not local time?

Thanks,

Eric




Re: Outlook + UW IMAP + mbox + qmail

2000-04-17 Thread Eric M. Johnston

Peter van Dijk wrote:
 
  After doing some experimentation, I discovered that the IMAP server is
  getting its time from the "From " header in the mbox, not the "Received:" or
  "Date:" headers, and passing this on to Outlook.  When using POP, Outlook
  evidently gets the time itself from a "Received:" header.
 
 a From: header, I think. There is no common standard for Received-headers.
 Also, in qmail, these will be UTC as well :)

Umm, there isn't a timestamp in the "From:" header, just the mailbox
"From " header (I assume that's what you meant).  Anyway, Outlook seems
to be able to cope with UTC in "Received:" headers, as in the POP case;
just not in the "From " header that IMAP passes, because there's no
indication that "From " is in UTC.

  This 'fixes' the time seen in Outlook, I guess because either IMAP or
  Outlook can now figure out the local time.  My question is this: does this
  solution violate any standards or will it break anything obvious?  Why
  doesn't qmail give some indication that the date/time given in this header
  is not local time?
 
 I can't find anything about this in RFC822, probably because RFC822 doesn't
 describe mailbox formats, only message formats :)

Yeah, this was my experience.

 I don't know. I don't think it will break anything. I do think IMAPd is
 broken for supplying the user with that info. But UW IMAP is broken anyway.
 You do know that _another_ buffer overflow in UW IMAP was found somewhere
 in the last few days?

I agree completely.  I'd much rather not use mailbox or UW IMAP, but
circumstances require them at this point.  Perhaps sometime in the
future...

Thanks,

Eric



Compile Error

2000-04-17 Thread Nathaniel L. Keeling III

I am trying to install qmail. I have a sun sparc 5 with the new solaris
8 installed. I installed the latest version of gcc (gcc2.95). I
downloaded qmail. Issued 'gunzip qmail-1.03.tar.gz' and then 'tar -xvf
qmail-1.03.tar'. I created the qmail users and groups and then I tried
to compile qmail. I received the error '/usr/ucb/cc: language optional
software package not installed' '*** Error code 1' 'make: Fatal error:
Command failed for target 'qmail-local.o' '. What does this mean and how

can I get around this?




Can you help me install Qmail?

2000-04-17 Thread Jeff Dilcher

I am installing Qmail from RPM on a Redhat 6.1 system.

I am having a bit of trouble with the following instruction:

According to the README.var-qmail:

---

4) Get the package qmail-1.03-102memphis.src.rpm from this directory.
   This package does not contain the qmail sources; it contains a
   tarball of the compiled qmail binaries and a spec file.

   Execute

   rpm --rebuild qmail-1.03-102memphis.src.rpm


--



So I do it, and here is what I get:

[root@cueva /root]# rpm --rebuild qmail-1.03-102memphis.src.rpm
Installing qmail-1.03-102memphis.src.rpm
Bad owner/group: /usr/src/redhat/SOURCES/var-qmail-1.03.tar.gz



Here is ls -la of 
/usr/src/redhat/SOURCES/


[root@cueva /root]# ls -la /usr/src/redhat/SOURCES/
total 300
drwxr-xr-x   2 root 04096 Apr 16 19:38 .
drwxr-xr-x   7 root 04096 Feb 27 03:13 ..
-rw-r--r--   1 root 0  293692 Aug 16  1999 var-qmail-1.03.tar.gz




This is a RedHat 6.1 machine
Can anyone get me past this hurdle?  
Help!

Thanks!!
Jeff Dilcher



Qmail failing ORBS test :-(

2000-04-17 Thread Mark Tippetts

Hey,

Haven't found anything about this in the archives, I've tried playing with
it to no avail.

One of my mail servers was put in ORBS today.  I can't use ORBS myself, but
I value what they're doing, and I consider the problem that got me there a
real one.  The test we failed involves a header in the format "rcpt
to:foo!bar".  qmail-send grabs this address and appends the address in
.../control/envnoathost, resulting in [EMAIL PROTECTED].  This is then
delivered in the normal way, using MX records, to the primary hub for the
lynxus.com domain, which runs sendmail.  Sendmail does it's thing with the
UUCP addressing, and I wind up in ORBS.

This seems broken.  Qmail should not treat mail as local JUST BECAUSE it has
a rcpt header with no domain.  I understand the value of being able to treat
mail without a domain in the rcpt as local (a lot of scripts assume this
will happen, and users expect it on some systems), IF that mail is actually
invoking the MTA locally.  But there should definitely be some distinction
made between actual local mail and mail that simply has no domain specified.
Maybe .../control/envnoathost should only be used if the mail originates
from 127.0.0.1?  Something.

Anyhow, I'm hoping this isn't a bug report.  I'd really like someone to tell
me, "just do -this-, and rcpts without a domain will stop being treated as
local."  The man page for qmail-send says envnoathost will default to
.../control/me, so I can't just remove the file.  I've tried copying
/dev/null into it; that doesn't work either.  I don't want to put some bogus
domain in there... doesn't seem like I should have to intentionally
misconfigure my server to protect it from spammers.

Any solutions, possible solutions, or statements of "you blithering idiot,
just..." would be greatly appreciated.

Thanks,

mark tippetts




Re: Qmail failing ORBS test :-(

2000-04-17 Thread Russ Allbery

Mark Tippetts [EMAIL PROTECTED] writes:

 One of my mail servers was put in ORBS today.  I can't use ORBS myself,
 but I value what they're doing, and I consider the problem that got me
 there a real one.  The test we failed involves a header in the format
 "rcpt to:foo!bar".  qmail-send grabs this address and appends the
 address in .../control/envnoathost, resulting in [EMAIL PROTECTED].
 This is then delivered in the normal way, using MX records, to the
 primary hub for the lynxus.com domain, which runs sendmail.  Sendmail
 does it's thing with the UUCP addressing, and I wind up in ORBS.

Sounds like your problem is with your sendmail box.  Why don't you turn
off !-addressing on your sendmail system?  That would seem to neatly solve
the problem.

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



RE: Qmail failing ORBS test :-(

2000-04-17 Thread Mark Tippetts

Hey,

Sendmail is NOT the problem.  Its presence is creating conditions where the
problem manifests, but it's not to blame.  It's simply accepting a message
from a host it trusts.  The problem is qmail relaying this message from an
untrusted host.  Even if I did turn off UUCP rewriting for sendmail, the
underlying problem remains: qmail is acting as an open relay for messages
with no @domain specified.  Yes, it takes more than this alone to actually
use it as an open relay, but that's beside the point.  We don't live in an
SMTP-only, qmail-only universe. (yet :)

The problem can be redefined as, "qmail appends envnoathost to ANY rcpt
address without a domain".  This works too:

$ telnet mx0.lynxus.com 25
Trying 12.6.137.100...
Connected to mx0.lynxus.com.
Escape character is '^]'.
220 mx0.lynxus.com ESMTP
helo
250 mx0.lynxus.com
mail from:[EMAIL PROTECTED]
250 ok
rcpt to:bishop%lynxus.net
250 ok
data
354 go ahead
test
.
250 ok 956024397 qp 28670
quit
221 mx0.lynxus.com
Connection closed by foreign host.
$ 

This gets delivered despite the fact I have not enabled percenthack, because
it's actually relayed to [EMAIL PROTECTED], and the server for
lynxus.com does percenthack processing.


BTW, since I wrote my original message, my assistant pointed out a spot on
the ORBS web site where it describes this exact problem as a bug.  So now I
have to rephrase my question:  Is there an effective work-around for this,
that will prevent qmail from automatically rewriting rcpt addresses without
a domain?

Thanks,

Mark

 -Original Message-
 From: Russ Allbery [mailto:[EMAIL PROTECTED]]
 Sent: Mon, April 17, 2000 10:07 PM
 To: 'qmail list'
 Subject: Re: Qmail failing ORBS test :-(
 
 
 Sounds like your problem is with your sendmail box.  Why 
 don't you turn
 off !-addressing on your sendmail system?  That would seem to 
 neatly solve
 the problem.
 
 -- 
 Russ Allbery ([EMAIL PROTECTED]) 
http://www.eyrie.org/~eagle/



RE: Can you help me install Qmail?

2000-04-17 Thread chuck

Jeff,

I had a similar problem, so I installed the source rpm(rpm -Uvh filename),
and built the package from the SPECS directory(rpm -ba specfilename). I also
had to add the qmail users/groups manually(prior to the build). After that,
it built and installed fine.
Hope this helps...

Regards,
Charles Werbick
The Wirehouse


-Original Message-
From: Jeff Dilcher [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2000 19:50
To: [EMAIL PROTECTED]
Subject: Can you help me install Qmail?


I am installing Qmail from RPM on a Redhat 6.1 system.

I am having a bit of trouble with the following instruction:

According to the README.var-qmail:

---

4) Get the package qmail-1.03-102memphis.src.rpm from this directory.
   This package does not contain the qmail sources; it contains a
   tarball of the compiled qmail binaries and a spec file.

   Execute

   rpm --rebuild qmail-1.03-102memphis.src.rpm


--



So I do it, and here is what I get:

[root@cueva /root]# rpm --rebuild qmail-1.03-102memphis.src.rpm
Installing qmail-1.03-102memphis.src.rpm
Bad owner/group: /usr/src/redhat/SOURCES/var-qmail-1.03.tar.gz



Here is ls -la of
/usr/src/redhat/SOURCES/


[root@cueva /root]# ls -la /usr/src/redhat/SOURCES/
total 300
drwxr-xr-x   2 root 04096 Apr 16 19:38 .
drwxr-xr-x   7 root 04096 Feb 27 03:13 ..
-rw-r--r--   1 root 0  293692 Aug 16  1999 var-qmail-1.03.tar.gz




This is a RedHat 6.1 machine
Can anyone get me past this hurdle?
Help!

Thanks!!
Jeff Dilcher




Re: Can you help me install Qmail?

2000-04-17 Thread Anthony White



Jeff Dilcher wrote:

 I am having a bit of trouble with the following instruction:

 According to the README.var-qmail:

 ---

 4) Get the package qmail-1.03-102memphis.src.rpm from this directory.
This package does not contain the qmail sources; it contains a
tarball of the compiled qmail binaries and a spec file.


Did you read the README first?  I uset Midnight Commander to read
the documentation inside the .rpm and there are some instructions
related to creating some files and directories first.

I did just that and the rpm installed just fine here.  (RedHat 6.1)

 So I do it, and here is what I get:

 [root@cueva /root]# rpm --rebuild qmail-1.03-102memphis.src.rpm
 Installing qmail-1.03-102memphis.src.rpm
 Bad owner/group: /usr/src/redhat/SOURCES/var-qmail-1.03.tar.gz

Anthony


Movielink Pty LtdE-Mail technical: [EMAIL PROTECTED]
8-10 River StreetE-Mail Sales: [EMAIL PROTECTED]
Richmond, Victoria 3121  Ph  : +(61) 3 9428 8088
AustraliaFAX : +(61) 3 9429 5918






supervise question

2000-04-17 Thread lluisma

Hi all,

I have this entry for qmail-pop3d which is under supervise:
#!/bin/sh

exec env - PATH="/var/qmail/bin:$PATH" \
tcpserver 0 110 /var/qmail/bin/qmail-popup host.name.gov \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

It is working but when I check with svstat the pid always changes every
second or less.

Thanks for any help.



LLU