RE: RCPTHOSTS error

1999-10-04 Thread Chris Nelson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

you really should be running tcpserver, it takes about 10 minutes (or
less) to setup and is much more reliable than inetd.

- -Chris


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 04, 1999 9:23 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: RCPTHOSTS error
> 
> 
> 
> 
> and if I am not using TCPSERVER?  I just need to get this 
> runing ASAP so an
> open relay would be fine for the time being, how do I do that?
> 
> 

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

iQA/AwUBN/l/DJudIvOxcSM4EQIbOQCfXiI61KVJ65QJpJWuAkcuyJQO7W4An3Ju
+CxaARusrROoWWj9kctskIZ6
=GezP
-END PGP SIGNATURE-



RE: RCPTHOSTS error

1999-10-04 Thread Chris Nelson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Check the FAQ

ftp://koobera.math.uic.edu/www/qmail/faq/servers.html#authorized-relay

- -Chris


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 04, 1999 8:07 PM
> To: [EMAIL PROTECTED]
> Subject: RCPTHOSTS error
> 
> 
> 
> 
> Hey all I just put a new Qmail server online at Z100 Radio in 
> New York city
> for all of ou listener e-mail (about 500,000 mails/day) and I have
> everything working except one little thing- when I try and 
> send mail to
> addresses outside my domain (eg aol.com, mindspring.com, etc. I get
> an error saying "sorry, that domain is not in my list of allowed 
> rcpt hosts #5.7.1" anyone have any ideas as to why this is
> happening???  
> 
> Thanks in advance,
> Bernie Courtney
> Z100 New Yok Engineering
> 
> PS: fist person to help me solve the problem gets a station 
> T-Shirt  :-)))
> 
> 
> 

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

iQA/AwUBN/lsyZudIvOxcSM4EQLpzgCdHtesMBNmgrEPVn7u9ayB8Lm2HJ0AoPn0
NUatGZg6fsMa1F79dye69BAi
=KGuN
-END PGP SIGNATURE-



RE: Bash Script help

1999-09-29 Thread Chris Nelson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> In general, since I didnt start with that little project yet... and
> if someone has anything like this, or heard of it, I would
> appreciate  any informations.  
> 
> I dont feel a big need to re-invent the wheel ;-), thus if 
> something is out
> there that already does the parsing of emails, let me know ;-)

What exactly are you trying to do with this script?

- -Chris

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

iQA/AwUBN/MOC5udIvOxcSM4EQIUFgCcDthJqNjEq7Ki9+BtuShqDJlvGC4An0M/
vODjHCNyrEak5yeNOtTZDPAj
=1MjU
-END PGP SIGNATURE-



qmail-pop3d not reporting messages

1999-02-27 Thread Chris Nelson

Hi,

I have a lot of experience with qmail, I've written custom backends for
delivery (sql,etc).  However I've got a really simple problem, I can't
solve and I must be over looking something.  I've got a small computer
fetching internet mail with fetchmail delivering it to qmail which qmail
then delivers successfully into /home//Maildir/new/, however when one
tries to pop the mail from the server qmail-pop3d lists 0 messages.  I can
do an ls in /home//Maildir/new/ and see all the mail files in there,
but qmail-pop3d reports nothing.  I'm straced qmail-pop3d and it stats all
of the files in the dir, so it is seeing them, but I just can't figure it
out


Any Suggestions?

-Chris




Re: Moving post office to qmail

1999-02-17 Thread Chris Nelson

I'm in the process of doing this right now.

The answer is: You Can't.

I've spent weeks with the post.office technical support staff, just to
have them finally give me that answer.  They told me something stupid like
"This is a proprietary algorithm and for ours and our customers security,
we can not divulge the algorithm"

This has forced me to do this:

I've written a checkpassword implementation in perl that checks a sql
database first (replacement for post.office) if the users has all his
info, then the authentication proceeded normally.  If the user exists but
has no password then it goes out and passes then authentication to the old
post.office server and checks if it is valid, if so it crypts the password
and places it into the database so this only has to be done once for each
post.office user.

The overhead is a little more than I'd like but, I couldn't come up with a
better solution.

We all know how secure proprietary algorithms are, I plan to try and figure
out their process after having a large plain text->post.office encryption
table built.  If I can figure out what they are doing I will post my
results on the Internet.

They say they are using MD5 but MD5 returns a 128bit hash if I remember
right and post.office returns a 256bit hash, the only algorithm I could
find that will return a 256bit hash is GOST, and post.offfice does not
appear to be using GOST.

-Chris Nelson


On Wed, 17 Feb 1999, A.Y. Sjarifuddin wrote:

> Date: Wed, 17 Feb 1999 14:04:42 +0700
> From: "A.Y. Sjarifuddin" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Delivered-To: mailing list [EMAIL PROTECTED]
> Subject: Moving post office to qmail
> 
> We'd like to move our post office to qmail, the problem is in the users
> password.
> Post office using MD5 encryption with a seed (64 char). 
> Any idea how to change this MD5 encryption to qmail?
> 
> Thanks in advance.
> 



Re: Best way to defer mail from an application

1999-01-28 Thread Chris Nelson

Have your application exit with error 111 if the db server is down, qmail
will try the delivery again later.



On Thu, 28 Jan 1999, Michael Amster wrote:

> Date: Thu, 28 Jan 1999 10:58:27 -0800
> From: Michael Amster <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Delivered-To: mailing list [EMAIL PROTECTED]
> Cc: Fred Leeflang <[EMAIL PROTECTED]>
> Subject: Best way to defer mail from an application
> 
> Hi:
> 
> We are writing an application which takes mail and uses a database to do
> some operations before delivery.  If the database server is down (it
> happens), we'd like to defer the mail rather than build a temporary
> queue.  What's the best way to defer an incoming mail without causing
> bounces?  Is it safest to just take down the mail server until the
> database is brought back up?
> 
> Thanks,
> 
> -MA
> 
> --
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-WEBEASY-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Michael Amster [EMAIL PROTECTED]
> 4676 Admiralty Way, Suite 300   Tel: 310.576.0770
> Marina Del Rey, CA 90292   Fax: 310.576.2011
> 
> 
> 



Re: Problem with qmail-pop3d - ERR unable to scan $HOME/Maildir

1999-01-27 Thread Chris Nelson

I believe that the checkpassword program upon successful authentication
chdir()s into the user's homedir before execing qmail-pop3d.

-Chris

On Wed, 27 Jan 1999, Martin Staael wrote:

> Date: Wed, 27 Jan 1999 14:55:03 +0100
> From: Martin Staael <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Delivered-To: mailing list [EMAIL PROTECTED]
> Subject: Problem with qmail-pop3d - ERR unable to scan $HOME/Maildir
> 
> Hi
> 
> I'm having a problem with qmail-pop3d.
> 
> There is no problem starting qmail-pop3d via tcpserver, but when a user
> logs into POP3 it says unable to scan $HOME/Maildir. 
> 
> How do I tell qmail-pop3d where the users mail directory is?? In the
> qmail-pop3d.c file it only reads argument 1 which is "./" so I don't really
> know how qmail-pop3d would know where it is.
> 
> Is it a bug - or what am I doing wrong?
> 
> Example:
> 
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user martin
> +OK 
> pass 
> -ERR unable to scan $HOME/Maildir
> 
> 
> My /var/qmail/users/assign  looks like this
> 
> =martin:martin:1120:0:/webdisk/mail/martin:::
> +martin-:martin:1120:0:/webdisk/mail/martin:-::
> 
> My maildirectory is in /webdisk/mail - where all mail is stored.
> 
> The rc script file looks like this:
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./ splogger qmail
> 
> And the qmail-pop3d is started in this way.
> 
> /usr/local/bin/tcpserver 0 110/var/qmail/bin/qmail-popup qmail.xx.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d ./ &
> 
> The martin mail directory looks like this:
> /webdisk/mail/martin > la
> total 8
> drwx--5 martin   qmail 45 Jan 27 13:49 .
> drwxrwxrwx3 root qmail 24 Jan 27 11:56 ..
> drwx--2 martin   sys 4096 Jan 27 14:07 cur
> drwx--2 martin   sys9 Jan 27 14:07 new
> drwx--2 martin   sys9 Jan 27 12:09 tmp
> 
> A note is that if I start the tcpserver like this
> /usr/local/bin/tcpserver 0 110/var/qmail/bin/qmail-popup qmail.xx.net \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d /webdisk/mail/martin &
> 
> then it works fine - but this would only work in a single user pop3 mode
> :>) *lol*
> 
> 
> Martin
> 
> --- 
>  - Origin: Glace Bleu d'origine... :)([EMAIL PROTECTED])
> 
>