No local delivery??? HELP!

2000-02-01 Thread Erwin van Kroonenburg


Hi,

I've just upgraded qmail from 0.94 to 1.03 and now there's no local 
delivery of email!
When I sent email from anywhere on the internet to our mailhost it 
immediately delivers.
When I sent email from inside our LAN to an account on the mailhost the 
message is put in the queue and as far as I can see it isn't deliverd!

What to do?

Regards,

Erwin




ISP and qmail

2000-02-01 Thread jandj

Hello
   We are setting up an small ISP and would like to use qmail for our
mail server. I have installed and tested qmail # echo to: me |
/var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
specified users mail box..Where I get stuck is with pop3. I have also
installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
receive mail to and from remote hosts. I have MX records setup in our name
server.. Can some point me in the right direction I don't want to go back to
M.S.

Jerry



unsubscribe qmail

2000-02-01 Thread ChangHyun Bang

unsubscribe qmail by [EMAIL PROTECTED]

--

ChangHyun-Bang [EMAIL PROTECTED] http://kldp.org/~winchild




qmail + UUCP address

2000-02-01 Thread Okky

Could anyone suggest me how to make qmail understand
addresses such as [EMAIL PROTECTED], and then deliver
it accordingly?

TIA
Okky



subscribe qmail

2000-02-01 Thread ChangHyun Bang

subscribe qmail

--

ChangHyun-Bang [EMAIL PROTECTED] http://kldp.org/~winchild




where is the mistake

2000-02-01 Thread Andreas Altenburg

this is my boot script:

-
ulimit -v 2048
csh -cf '/var/qmail/rc '
supervise /var/lock/qmail-smtpd
tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \
rblsmtpd qmail-smtpd 21 | stuidgid qmaill accustamp | \
setuidgid qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd 
echo "."
;;

-

an error occurs with the command "setuidgid qmaill cyclog "
cyclog cannot be found.

what is the meaning of this line? how can I replace it??



tcpserver

2000-02-01 Thread Andreas Altenburg

can anyone send me a boot script for the tcpserver which logs not to the
console, but into the logfiles???




tcpserver

2000-02-01 Thread Andreas Altenburg



i did and use this 
script:

start) echo -n "Starting 
qmail: svscan" cd 
/var/qmail/supervise env - PATH="$PATH" svscan 
 echo $!  
/var/run/svscan.pid echo "." 
;; 
There is no error 
message during startup, qmail-send etc. are running, but i am not able to send 
mails from a client using the qmail server (error: server not 
reachable).

When using the 
comman "tcpserver ..." it works just fine, but the traffic is logged to the 
console.

Do I have to add a 
line in the script above?


RE: No local delivery??? HELP!

2000-02-01 Thread Erwin van Kroonenburg


I looked in my logs and discovered a file not found... this was a mailquotacheck 
script which I forgot to copy. The problem is solved.



-Oorspronkelijk bericht-
Van:Erwin van Kroonenburg [SMTP:[EMAIL PROTECTED]]
Verzonden:  Tuesday, February 01, 2000 9:23 AM
Aan:'[EMAIL PROTECTED]'
Onderwerp:  No local delivery??? HELP!


Hi,

I've just upgraded qmail from 0.94 to 1.03 and now there's no local 
delivery of email!
When I sent email from anywhere on the internet to our mailhost it 
immediately delivers.
When I sent email from inside our LAN to an account on the mailhost the 
message is put in the queue and as far as I can see it isn't deliverd!

What to do?

Regards,

Erwin




Is there anyt imap server work with (qmail + mySQL)?

2000-02-01 Thread BAE SUNG SIK

Dear qmail lover.

I installed MySQL + qmail 1.03 on RedHat 6.0 (Intel CPU).

And it has worked well last 2 months.


Now I want to IMAP service for users.

But I don't know if there is IMAP server or its patches for ( MySQL + qmail ).


You know (MySQL + qmail) system stores user infomations - HOME DIR etc - in MySQL DB.

So I'm looking for IMAP server which is supporting qmail's MySQL patch.


Thank you for reading...




Re: qmail + UUCP address

2000-02-01 Thread Anand Buddhdev

On Tue, Feb 01, 2000 at 04:12:49PM +0700, Okky wrote:

 Could anyone suggest me how to make qmail understand
 addresses such as [EMAIL PROTECTED], and then deliver
 it accordingly?

Look at FAQ 2.3 and also at the example on www.qmail.org

-- 
See complete headers for more info



Re: Filtering out email addresses with pipe symbol

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 12:43:59AM +0100, Martin Lesser wrote:
 "Charles Leeds" [EMAIL PROTECTED] writes:
 
  We were audited and one of the findings was that our qmail server allowed
  addresses with the pipe symbol in them, which was reported in our audit as a
  bad practice.
 
 IIRC this test is sendmail-specific. I.e. Nessus reports problems with
 the pipe symbol addressing (AFAIK was the pipe symbol important for
 mailing with uucp). The test results positive if the MTA accepts
 RCPT TO: |[EMAIL PROTECTED] I don't know whether other auditing
 tools use the same way, but in any case you won't have a problem with
 qmail - it delivers such false adressed mails to the postmaster.

The pipe-symbol is not UUCP-related. The problem is that sendmail doesn't
(or at least didn't) do enough checks on program delivery so that every once
in a while a hole is found that allows remote users to do program delivery
as root.

Very old sendmails accept the '|blah@domain' syntax to have stuff executed.

 Perhaps the auditor doesn't know the qmail-features as well?

The actual 'feature' that he's barfing on, is qmail not reporting 'User not
found' when somebody mails to a non-existing/invalid address.

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: smtp-poplock question

2000-02-01 Thread David Harris


Adam Michaud [mailto:[EMAIL PROTECTED]] wrote:
 I'm experimenting with smtp-poplock to provide smtp-after-pop.  Looks to
 be working like a charm (thanks, David!), but I've got a question about
 the smtp-poplock.static_allowed file -- specifically, are wildcards
 (or addresses with netmasks) allowed here?  For example, could I do any
 of the following (if 12.34.56.* were a class C that I owned):

 12.34.56.
 12.34.56.*
 12.34.56.0/24

 to specify the entire range of addresses in that class C network?

 The output of "showallowed" heads the IP address column with "ipaddr (and
 netmask)", which makes me think that something like this is possible, but
 I'm not sure what the syntax would be.

Yes, in the smtp-poplock.static_allowed you can specify an address and netmask
in the form:

12.34.56.0/24
12.34.56.0/255.255.255.0

or you can just specify the address without a netmask.

 - David Harris
   Principal Engineer, DRH Internet Services




RE: Is there anyt imap server work with (qmail + mySQL)?

2000-02-01 Thread David Harris


BAE SUNG SIK [mailto:[EMAIL PROTECTED]] wrote:
 Dear qmail lover.

 I installed MySQL + qmail 1.03 on RedHat 6.0 (Intel CPU).

 And it has worked well last 2 months.


 Now I want to IMAP service for users.

 But I don't know if there is IMAP server or its patches for ( MySQL +
qmail ).


 You know (MySQL + qmail) system stores user infomations - HOME DIR etc - in
MySQL DB.

 So I'm looking for IMAP server which is supporting qmail's MySQL patch.


 Thank you for reading...

If some people want to create this patch, I've already done the hard part of
patching UW-IMAP to accept virtual users and creating a clean C interface to
authenticate them. If somebody wants to write an authentication function that
uses the MySQL backend, they can grab my work and add to it.

http://www.davideous.com/imapvpop/

 - David Harris
   Principal Engineer, DRH Internet Services




IMP and Qmail

2000-02-01 Thread andhy

Hello,

I am already configured QMail and Maildir , migrating from sendmail
from last month.
A Horde IMP Webmail already configured before, so I get imapd + mail
dir patch as mentioned in qmail site.

The problem is , each time I create new folder, the folder create 
as a Maildir structure ( I believe its done via IMAP) but no e-mail
can be copied nor moved to that new folder (with Maildir structure)
via IMP. I believe I need a quick hack to IMP source code but how ?



Andhy Setiyo Nugroho
~
Imol Sarana Global Yogyakarta 
http://www.imols.net



Re: init script

2000-02-01 Thread Dave Sill

"Andreas Altenburg" [EMAIL PROTECTED] wrote:

o.k. the script runs without error. Its said "Starting qmail: svscan." How
can I put in if it is done?

When looking up with ps it is not shown. How can I test, if qmail is
running?

/usr/local/sbin/qmail stat

-Dave



Re: init script

2000-02-01 Thread Dave Sill

"Andreas Altenburg" [EMAIL PROTECTED] wrote:

yeah, qmail-send and qmail-smtp are running. But I am nor able to send mails
with the use of this smtp server. My client reports (server nor found). It
is definitely not a client problem, it worked when running qmail as inetd.

So what did I miss?

Beats me. How could I possibly determine that from the information
you've provided? For example:

1) What client are you using?
2) Is it running on the qmail system?

Since you installed using "Life with qmail", you did the post
installation tests from:

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

Right? :-)

-Dave



Re: tcpserver docs

2000-02-01 Thread Dave Sill

A Hoffman [EMAIL PROTECTED] wrote:

 I am looking for info on tcpserver config. The files that come with it
are kind of sparse on syntax and examples. Is there a site that has mroe
info?

LWQ has examples, but no real documentation for ucspi-tcp.

 Also, is it better used in place of, or in combination with tcp wrappers?

In place of, at least for each service. In other words, tcpserver and
tcp_wrappers coexist on the same system, but each service should only
use one or the other.

-Dave



Re: înit script

2000-02-01 Thread Dave Sill

"Andreas Altenburg" [EMAIL PROTECTED] wrote:

env: svscan no such file or directory

i do not understand exactly the meaning of "svscan". Where is my
mistake???

If you installed according to the current version of LWQ, you should
also have installed daemontools 0.61, which contains svscan. From this 
and your other messages to the list, it appears you have a mismatch
between LWQ and daemontools versions. The old LWQ used daemontools
0.53, which included cyclog and setuser. The current LWQ uses
daemontools 0.61, which includes multilog, setuidgid, and svscan.

I think you need to stop, count to ten, re-download the current
version of LWQ from http://Web.InfoAve.Net/~dsill/lwq.html, and start
over from scratch following the directions *very* carefully.

-Dave



Re: SMTP problem

2000-02-01 Thread Dave Sill

"Andreas Altenburg" [EMAIL PROTECTED] wrote:

The command telnet localhost 25 shows a message : Connection refused.

Whith ps I see that qmail-send etc. are running.

Why is the connection refused? Do I have to configuer tecpserver??

If you followed LWQ, tcpserver would be serving qmail-smtpd on port
25. Your test indicates that this isn't the case, so you probably
botched the installation. When this happens, the thing to do is to go
back over the directions and make sure everything is right, then kill
and restart the daemons.

-Dave



Re: dot-forward?

2000-02-01 Thread Dave Sill

"Jacob Joseph" [EMAIL PROTECTED] wrote:

Would it be possble for someone to suggest what I may have wrong?  Here's
the log:

Jan 31 17:15:31 mail qmail: 949367731.106074 delivery 373: deferral:
/bin/sh:_dot-forward:_command_not_found/

~alias/.qmail file contains:

 |dot-forward

but "dot-forward" wasn't found. Is it installed? In what directory?

-Dave



RE: ISP and qmail

2000-02-01 Thread Dave Kitabjian


Try Q-Cards:

http://www.kitabjian.com/dave/qmailhelp/

It will walk you through step by step. Let me know how it works out for you.

Dave

On Tuesday, February 01, 2000 3:44 AM, jandj [SMTP:[EMAIL PROTECTED]] wrote:
 Hello
We are setting up an small ISP and would like to use qmail for our
 mail server. I have installed and tested qmail # echo to: me |
 /var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
 specified users mail box..Where I get stuck is with pop3. I have also
 installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
 receive mail to and from remote hosts. I have MX records setup in our name
 server.. Can some point me in the right direction I don't want to go back to
 M.S.
 
 Jerry
 



Re: a Questing

2000-02-01 Thread Dave Sill

"Md. Sifat Ullah Patwary" [EMAIL PROTECTED] wrote:

Does qmail support ETRN, then how?

See:

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

You want to use AutoTURN.

-Dave



Re: qmail-qstat - problem with queue??

2000-02-01 Thread Dave Sill

[EMAIL PROTECTED] wrote:

Can someone explain the following - I do a qmail-qstat and I get the
following reply:
find: cannot open queue/todo/*: No such file or directory
messages in queue: 330
messages in queue but not yet processed: -1

You sure about that? My qmail-qstat contains the following two "find"
commands:

messfiles=`find queue/mess/* -print | wc -w`
todofiles=`find queue/todo -print | wc -w`

But your error message matches neither.

There has been 330 messages in the queue for 3 days now and even though
I use the kill -ALRM qmail-send it still does not deliver those
messages??

What does the qmail-send log say?

I have also tried the queue-fix prog and still no luck in fixing the
above problem

There may not be anything broken.

-Dave



Re: ISP and qmail

2000-02-01 Thread Dave Sill

"jandj" [EMAIL PROTECTED] wrote:

   We are setting up an small ISP and would like to use qmail for our
mail server. I have installed and tested qmail # echo to: me |
/var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
specified users mail box..Where I get stuck is with pop3. I have also
installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
receive mail to and from remote hosts. I have MX records setup in our name
server.. Can some point me in the right direction I don't want to go back to
M.S.

How does sending and receiving mail to and from remote hosts fail,
exactly? Provide exact error messages, please. Also, how did you
install qmail? LWQ, rpm, HOWTO, INSTALL, ...? Did you test the
installation?

Assuming a working qmail installation, you can go to:

  http://Web.InfoAve.Net/~dsill/lwq.html#pop-imap-servers

For information about running a POP server.

-Dave



Re: using fetchmail on qmail

2000-02-01 Thread Paul Schinder

At 11:11 AM +0600 2/1/00, Md. Sifat Ullah Patwary wrote:
Thanks Okky,
But I need fetchmail not to use pop account rather Queued mail from an SMTP
(qmail smtp) server. (Off line basis)

But, as you showed us, the remote server does not support ETRN, so 
you can't do what you're trying to do.  And it's not qmail, so no 
AUTOTURN.



Any solution please.

Find another way to get your mail.  Does the remote server support 
POP or IMAP or UUCP?  At this point you should be asking your ISP, 
not us.  qmail really has nothing to do with your problem.




At 12:09 PM 2/1/00 +0700, you wrote:
  I use qmail on my server, and run fetchmail as daemon to
  check my external POP account.
  
  Here's my command line:
  fetchmail -u user --monitor -v my.external.pop.server
  
  Without -p, fetchmail will try every available protocol to
  use and if there's none, it exits with an error.
  
  -Okky
  
  On Tue, 1 Feb 2000, Md. Sifat Ullah Patwary wrote:
  
   Hi all,
  
   I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
   the result as below: (The mail.xxx.com is a qmail server)
  
   fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
   fetchmail: client/server protocol error while fetching from
mail.spnetctg.com
   fetchmail: Query Status=4
  
  
  
   Any help?
  
   Sifat.
  
  
  
  
  
  
  

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



Re: where is the mistake

2000-02-01 Thread Paul Schinder

At 11:54 AM +0100 2/1/00, Vincent Schonau wrote:
From your emails to the list it seems that you're attempting to use 
qmail using serveral different approaches. You should probably start 
over, and follow the instructions at
URL:http://web.infoave.net/~dsill/lwq.html#installation *exactly*.

Actually, I was helping a guy get qmail running on Yellow Dog Linux 
(runs on PPC's, i.e. Macs), and it was failing precisely *because* he 
was following the instructions exactly.   The problem turned out to 
be this

exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
  -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
21

The memory limit was too small for tcpserver (takes about 1.5 M) to 
load a copy of glibc (about 1M), so getservbyname was failing, so no 
smtp service could be found.

Dave, you should make clear that 200 may need adjusting.  This 
would likely have failed on my new Sun Ultra 5's as well, although I 
use my own scripts there, so I've never actually tried it.

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



cgi

2000-02-01 Thread Andreas Altenburg

does anybody know a perl script that supports form handling with the use of
qmail???



Enforcing a min. delay between POP3-polling

2000-02-01 Thread Jochen Tuchbreiter

Hi,

I was wondering if anybody on this list has a solution to enforce a minimum
delay a user has to wait for polling his pop3 box. A lot of users on my
POP3-Server are polling it every 30secs while being online 24/7. This
produces unnecassary load on the pop3 machine.

Does anybody have scripts/a patch to make qpop3d print an error message and
deny the pop3-access for a certain time (like 1minute) if the user is
"hammering" the pop3 Server ? I think this could be implemented just like a
smtp-after-pop3 solution with the only difference that it is "the other way
round" (you lock out users for a certain time window instead of giving them
access to a service for a certain time).

Thanks in advance,

Jochen




php3 and qmail

2000-02-01 Thread Andreas Altenburg



in php there is a 
function called "mail()". In the docs it is described how to use it with 
sendmail. Does anybody know how to use this with 
qmail??


Re: php3 and qmail

2000-02-01 Thread Chris Johnson

On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote:
 in php there is a function called "mail()". In the docs it is described how
 to use it with sendmail. Does anybody know how to use this with qmail??

Probably the same way, as long as you've linked /usr/sbin/sendmail to
/var/qmail/bin/sendmail.

Chris



Re: cgi

2000-02-01 Thread Steve Wolfe

 does anybody know a perl script that supports form handling with the use
of
 qmail???

   Most any of the scripts will work with a properly set-up Qmail
installation, as Qmail provides a clone for sendmail.

steve



RE: cgi

2000-02-01 Thread Julian L.B. Cardarelli



-Original Message-
From: Andreas Altenburg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 01, 2000 10:22 AM
To: qmail Liste
Subject: cgi


does anybody know a perl script that supports form handling with the use of
qmail???

Any perl script (such as formmail (http://www.scriptarchive.com)) supports
sendmail supports qmail.  Qmail installs a Sendmail frontend for you that
mimicks the functionality of /usr/lib/sendmail




Local users connecting from home.

2000-02-01 Thread Gaziz Nugmanov

Hello qmail fans,

Let me ask you how can I configure qmail in order to relay
for local users (based on "mail from" field).


---
Best regards,
Gaziz
Nugmanov




IMAP command

2000-02-01 Thread andhy

I am looking for references of IMAP comand line, so I can try
it via telnet to port 143 , where I could find it?

I am testing imapd with maildir support
from IMP WebMail , ( IMAP list command ? ) shows only the
Maildir folders . copy, rename , move works fine

From Outlook , ( IMAP list again? ) now shows the mailbox
format folders , but cannot open any mail on the folder
how can it happen ?


regards,
Andhy Setiyo Nugroho
-
Imol Sarana Global
Gejayan Mrican 33 Yogyakarta
ph 0274-545694


--
This mail sent through Imol Webmail: http://www.imols.net/



Can it be done ?

2000-02-01 Thread Adil Tahiri

Is it possible to get a copy of messages a certain user sends and receives ?

Many thanks



mail to all@domain.com password protected

2000-02-01 Thread Marco Leeflang

is it possible to secure mail to [EMAIL PROTECTED] with a password so only
people who knows the user/password or just the password could mail to
this emailaddress.
.qmail-all will hold all users within this domain.
i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
ok with plain text, but i also want send attachements to everyone.

marco leeflang



init script svc issue

2000-02-01 Thread A Hoffman


 At LWQ 2.8.5, I ran into a problem where I couldn't get sv to do anythign
useful with QMail. I'm certain this is a pretty boneheaded mistake,
but for some reason, svc won't recognize the run scripts. For example,
this is what I get. I include the first entry in the interest of being
thorough.

# svc -d /var/qmail/supervise/qmail-smtpd
svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file
does not exist

# svc -d /var/qmail/supervise/qmail-smtpd/run
svc: warning: unable to chdir to /var/qmail/supervise/qmail-smtpd/run: not
a directory

# ls /var/qmail/supervise/qmail-smtpd/
log  run

# ls -l /var/qmail/supervise/qmail-smtpd/
total 2
drwxrwxr-x   2 root root 1024 Feb  1 10:08 log
-rwxr-xr-x   1 root root  238 Feb  1 10:06 run

 Tips, clues, advice, welcome. THanks.

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:





Re: mail to all@domain.com password protected

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote:
 is it possible to secure mail to [EMAIL PROTECTED] with a password so only
 people who knows the user/password or just the password could mail to
 this emailaddress.
 .qmail-all will hold all users within this domain.
 i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
 ok with plain text, but i also want send attachements to everyone.

Where do you intend to put the password-check dialog?

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++



Notice-Requested-Upon-Delivery-To

2000-02-01 Thread Andrés



Hello.

I've seen in the documentation of qmail that it has 
qreceipt, to use if a mail comes with the header:
Notice-Requested-Upon-Delivery-To

Can it be used if the header has this other 
option?:
Return-Receipt-To

Anyway, they both doesn't work on my server because 
they say:
502 unimplemented (#5.5.1)

I suppose I have to recomplie qmail with some 
option, but which one?

Thanks.


Re: bogus mail from??

2000-02-01 Thread Ronny Haryanto

On 01-Feb-2000, [EMAIL PROTECTED] wrote:
  I'm just wondering if
  
  MAIL FROM: 
  
  in SMTP session is valid or not? From what I understand is that qmail
 
 Yes it's valid, it's actually even the required sender of a bounce.

Hi Peter, thanks for your response. I thought I saw an RFC about this,
but I can't recall which.

  I have contacted a rep from IMail, but no response. Here's the
  website: http://www.ipswitch.com/products/IMail_Server/index.asp
 
 It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
 pole (no don't start a holy war on me now :)

Hmm. Apparently they fixed it(?) in their new version of IMail:

[~]$ host -t mx ipswitch.com
ipswitch.com mail is handled (pri=10) by imail.ipswitch.com
ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com
[~]$ telnet imail.ipswitch.com 25
Trying 156.21.1.5...
Connected to imail.ipswitch.com.
Escape character is '^]'.
220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1)
helo blah
250 hello imail.ipswitch.com
mail from: 
250 ok
quit
221 Goodbye
Connection closed by foreign host.

Oh well.. *shrug*..

-- 
Ronny Haryanto



Re: mail to all@domain.com password protected

2000-02-01 Thread Marco Leeflang

First a pop validation and then mail to this account.

marco leeflang

[EMAIL PROTECTED] wrote:

 On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote:
  is it possible to secure mail to [EMAIL PROTECTED] with a password so only
  people who knows the user/password or just the password could mail to
  this emailaddress.
  .qmail-all will hold all users within this domain.
  i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
  ok with plain text, but i also want send attachements to everyone.

 Where do you intend to put the password-check dialog?

 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++



bogus mail from??

2000-02-01 Thread Ronny Haryanto

Hi,

I'm just wondering if

MAIL FROM: 

in SMTP session is valid or not? From what I understand is that qmail
uses that to send bounce messages. However some sites (particulary
ones using IMail v5) rejects that sender saying "501 bogus mail from".

I don't care if the sender doesn't receive the bounce back, heck I
tried to send bounce message but they rejects it. It's just annoying,
especially if this is valid, not bogus.

I have contacted a rep from IMail, but no response. Here's the
website: http://www.ipswitch.com/products/IMail_Server/index.asp

-- 
Ronny Haryanto



Re: bogus mail from??

2000-02-01 Thread Adam McKenna

This is _not_ an IMail problem.  This is a user-configurable setting.

If mail from  is bouncing that means the admin of that site has chosen to
enable that setting.  (It might be the default, but I'm pretty sure it's
not.)

--Adam

On Tue, Feb 01, 2000 at 12:41:10PM -0600, Ronny Haryanto wrote:
 On 01-Feb-2000, [EMAIL PROTECTED] wrote:
   I'm just wondering if
   
 MAIL FROM: 
 
   in SMTP session is valid or not? From what I understand is that qmail
  
  Yes it's valid, it's actually even the required sender of a bounce.
 
 Hi Peter, thanks for your response. I thought I saw an RFC about this,
 but I can't recall which.
 
   I have contacted a rep from IMail, but no response. Here's the
   website: http://www.ipswitch.com/products/IMail_Server/index.asp
  
  It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
  pole (no don't start a holy war on me now :)
 
 Hmm. Apparently they fixed it(?) in their new version of IMail:
 
 [~]$ host -t mx ipswitch.com
 ipswitch.com mail is handled (pri=10) by imail.ipswitch.com
 ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com
 [~]$ telnet imail.ipswitch.com 25
 Trying 156.21.1.5...
 Connected to imail.ipswitch.com.
 Escape character is '^]'.
 220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1)
 helo blah
 250 hello imail.ipswitch.com
 mail from: 
 250 ok
 quit
 221 Goodbye
 Connection closed by foreign host.
 
 Oh well.. *shrug*..
 
 -- 
 Ronny Haryanto
 



Blocking Spam in qmail?

2000-02-01 Thread Bill Parker

Hello All,

I have the following addresses which generate some periodic
spam to my system:

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

How does one go about dealing with this mess, as much as I would love
to block the aol.com domain 8^), I can't do it cause we have customers
who use AOL to get to our website..:(

Any ideas?

-Bill

p.s. - Where is the qmail book? (hint, hint)



Re: Blocking Spam in qmail?

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 09:40:45AM -0800, Bill Parker wrote:
 Hello All,
 
   I have the following addresses which generate some periodic
 spam to my system:
 
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
 How does one go about dealing with this mess, as much as I would love
 to block the aol.com domain 8^), I can't do it cause we have customers
 who use AOL to get to our website..:(

Put 'm in /var/qmail/control/badmailfrom

 p.s. - Where is the qmail book? (hint, hint)  

I went looking for it at ora.com yesterday, all I could find was 'second
half of next year' in a message from 1998.. the book is late, therefore..

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 to all@domain.com password protected

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
 First a pop validation and then mail to this account.

First of all: don't Cc me, I'm on the list.

Second: http://leerquoten.nijntje.net/ (Dutch).

And then, to quote djb: 'What problem are you trying to solve?'

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: php3 and qmail

2000-02-01 Thread Paul Farber

use the sendmail wrapper that comes with qmail?

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

 in php there is a function called "mail()". In the docs it is described how
 to use it with sendmail. Does anybody know how to use this with qmail??
 



Re: bogus mail from??

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 12:25:01PM -0600, Ronny Haryanto wrote:
 Hi,
 
 I'm just wondering if
 
   MAIL FROM: 
   
 in SMTP session is valid or not? From what I understand is that qmail

Yes it's valid, it's actually even the required sender of a bounce.

 uses that to send bounce messages. However some sites (particulary
 ones using IMail v5) rejects that sender saying "501 bogus mail from".

They suck.

 I don't care if the sender doesn't receive the bounce back, heck I
 tried to send bounce message but they rejects it. It's just annoying,
 especially if this is valid, not bogus.

It is valid, and required, to prevent bounces bouncing :)

 I have contacted a rep from IMail, but no response. Here's the
 website: http://www.ipswitch.com/products/IMail_Server/index.asp

It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
pole (no don't start a holy war on me now :)

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: bogus mail from??

2000-02-01 Thread Ronny Haryanto

On 01-Feb-2000, Adam McKenna wrote:
 This is _not_ an IMail problem.  This is a user-configurable setting.
 
 If mail from  is bouncing that means the admin of that site has chosen to
 enable that setting.  (It might be the default, but I'm pretty sure it's
 not.)

But if  is valid, what is the reason to make this behaviour
user-configurable in the first place? In other words, when is  not
valid?

-- 
Ronny Haryanto



Re: bogus mail from??

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
 On 01-Feb-2000, Adam McKenna wrote:
  This is _not_ an IMail problem.  This is a user-configurable setting.
  
  If mail from  is bouncing that means the admin of that site has chosen to
  enable that setting.  (It might be the default, but I'm pretty sure it's
  not.)
 
 But if  is valid, what is the reason to make this behaviour
 user-configurable in the first place? In other words, when is  not
 valid?

Never.

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 to all@domain.com password protected

2000-02-01 Thread Marco Leeflang

[EMAIL PROTECTED] wrote:

 On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
  First a pop validation and then mail to this account.

 First of all: don't Cc me, I'm on the list.

ok.



 Second: http://leerquoten.nijntje.net/ (Dutch).


just read it.


 And then, to quote djb: 'What problem are you trying to solve?'


i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
so thats why


 Greetz, Peter.

marco leeflang



yet another question about Virtual domains

2000-02-01 Thread Ian Douglas

I know this is a tense subject on the mailing list, but please bear with me.
;o)

I haven't even INSTALLED qmail yet, but would much rather use it on my RedHat
6.1 box than the stock sendmail that's full of holes.

However, my dilemma is that I'm going to be running multiple virtual domains on
one server, web, mail, ftp, etc. and am curious to know what steps exactly I
should follow to get the setup completed with qmail.

Before you start ranting about "RTFM", I have read through the FAQ's and found
them a little confusing. I also searched through the mailing list archives and
am even more confused.

What I'm looking for here is a way to set up my server to accept mail for
domain1.com, domain2.com and domain3.com ... etc, to domainn.com.

Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT
[EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail
to see (easily) addressed from what I've read so far.

I plan to have a directory structure in place such as:
/home/domain1/mail/user1
/home/domain1/mail/user2
etc

for each of the domains so that each user can login using POP/IMAP to retrieve
their mail. I'd also like an way to handle Email aliasing so that
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it
to go.

I'm not new to Linux, but I'm new to the idea of setting up multiple domains on
a single host, so any hand-holding would be appreciated.

Thanks much,
---
Ian Douglas, System Administration
[EMAIL PROTECTED]




Re: Local users connecting from home.

2000-02-01 Thread Charles Cazabon

Gaziz Nugmanov [EMAIL PROTECTED] wrote:
 
 Let me ask you how can I configure qmail in order to relay
 for local users (based on "mail from" field).

You don't want to relay based on the SMTP envelope sender, as this is easily
spoofed by spammers.  You want to relay based on IP address.  This is
easy for customers with static IPs.  Using tcpserver, set the
RELAYCLIENT variable to "" when a user connects from one of the static
IPs you wish to allow relaying from, and don't set RELAYCLIENT to anything
for everyone else.

For dhcp'd/mobile clients, use a SMTP-after-POP solution.  There are
several, listed on qmail.org and other places.

Have you checked Life with qmail?  This is one of the most common FAQs
there is.

Charles
-- 

Charles Cazabon [EMAIL PROTECTED]
Any opinions expressed are just that -- my opinions.




RE: mail to all@domain.com password protected

2000-02-01 Thread Soffen, Matthew

Then couldn't an ezmlm list with specific people able to "post" work for a
situation like this ?

Matt Soffen 
Applications 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: Marco Leeflang [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, February 01, 2000 2:50 PM
 Cc:   qmail maillist
 Subject:  Re: mail to [EMAIL PROTECTED] password protected
 
 [EMAIL PROTECTED] wrote:
 
  On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
   First a pop validation and then mail to this account.
 
  First of all: don't Cc me, I'm on the list.
 
 ok.
 
 
 
  Second: http://leerquoten.nijntje.net/ (Dutch).
 
 
 just read it.
 
 
  And then, to quote djb: 'What problem are you trying to solve?'
 
 
 i don't want everyone to send mail to [EMAIL PROTECTED], just selected
 people.
 mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
 so thats why
 
 
  Greetz, Peter.
 
 marco leeflang



Re: bogus mail from??

2000-02-01 Thread Timothy L. Mayo

On Tue, 1 Feb 2000, Ronny Haryanto wrote:

 On 01-Feb-2000, Adam McKenna wrote:
  This is _not_ an IMail problem.  This is a user-configurable setting.
  
  If mail from  is bouncing that means the admin of that site has chosen to
  enable that setting.  (It might be the default, but I'm pretty sure it's
  not.)
 
 But if  is valid, what is the reason to make this behaviour
 user-configurable in the first place? In other words, when is  not
 valid?

It is being blocked because some SPAMers took advantage of the fact that
the RFCs require bounce messages to use the  envelope sender for error
messages.  It should NEVER be blocked, period.  If a spammer is sending
email with an  envelope sender, block their IP.

 
 -- 
 Ronny Haryanto
 

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

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



Re: mail to all@domain.com password protected

2000-02-01 Thread Ricardo Cerqueira

 i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
 mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
 so thats why
 

Instead of searching for far-fetched solutions, why don't you just install a 
mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as 
a moderated/limited list?

Regards;
Ricardo
-- 
+---
| Ricardo Cerqueira  -  [EMAIL PROTECTED]
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| FCCN/RCTS  -  Fundacao para a Computacao Cientifica Nacional 
| Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 218440100



Re: php3 and qmail

2000-02-01 Thread Julie Baumler



On Tue, 1 Feb 2000, Chris Johnson wrote:

 On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote:
  in php there is a function called "mail()". In the docs it is described how
  to use it with sendmail. Does anybody know how to use this with qmail??
 
 Probably the same way, as long as you've linked /usr/sbin/sendmail to
 /var/qmail/bin/sendmail.
 

This is what we do and it works great.

Julie



Re: yet another question about Virtual domains

2000-02-01 Thread Ian Douglas

For a little more information, I'm getting into virtual web hosting which I can
set up and maintain quite well ... but everyone's looking for Email to go with
it.

So each domain I host is going to have their own webmaster@, sales@, info@
address, etc.

I would like all root@, sysadmin@, and postmaster@ Email to be filtered into
one POP box for myself.

Again, I appreciate any helpful responses.

---
Ian Douglas, System Administration
[EMAIL PROTECTED]





what makes ezmlm fast?

2000-02-01 Thread Jeremy Hansen


Can someone explain to me what exactly makes ezmlm fast?  I
would like to try to adapt some of its functionality and speed
to a customized list processor.  Thanks for any input.

-jeremy



Re: yet another question about Virtual domains

2000-02-01 Thread Charles Cazabon

Ian Douglas [EMAIL PROTECTED] wrote:
 
 However, my dilemma is that I'm going to be running multiple virtual domains on
 one server, web, mail, ftp, etc. and am curious to know what steps exactly I
 should follow to get the setup completed with qmail.

As far as qmail is concerned, this is not a problem, although you probably
want to use a virtual user manager of some sort -- there's several to pick
from.

 What I'm looking for here is a way to set up my server to accept mail for
 domain1.com, domain2.com and domain3.com ... etc, to domainn.com.

Virtual domain support is simple and documented in Life with qmail, etc.
Essentially you create one user account for each virtual domain, although
this varies between manager systems.

 Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT
 [EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail
 to see (easily) addressed from what I've read so far.

It's not a problem for virtual mail users, _but_ ...

 I plan to have a directory structure in place such as:
 /home/domain1/mail/user1
 /home/domain1/mail/user2
 etc

This looks like you're planning on setting up home directories for virtual
mail users -- why?  Do they need shell/ftp/other access?  If so, they're
not really virtual mail users.  A virtual mail user doesn't need an account
of their own -- they just need a POP mailbox (or IMAP, etc).

 for each of the domains so that each user can login using POP/IMAP to retrieve
 their mail. I'd also like an way to handle Email aliasing so that
 [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it
 to go.

Yet here you say you only need POP/IMAP access for them.  Forget about giving
virtual users individual home directories.

 I'm not new to Linux, but I'm new to the idea of setting up multiple domains on
 a single host, so any hand-holding would be appreciated.

More details will get you more detailed responses, providing you go read
"Life with qmail", mentioned almost every day in this list.  Also read 
everything on www.qmail.org, especially concerning virtual mail user
management systems.

Charles
-- 

Charles Cazabon [EMAIL PROTECTED]
Any opinions expressed are just that -- my opinions.




Special pop accounts

2000-02-01 Thread Director tecnico del Nodo Nicarao -- Juan Navas

I trying to configure a pop mail account without using a system account:

.
.
Single-UID based POP3 box HOWTO.By Paul Gregg , 
1998Copyright Paul Gregg,1998
.
.

Te documentation told me to run the program qmail-newu to  rebuild the
database (cdb). When I do dat it respond with:

.
.
# qmail-newu
qmail-newu: fatal: bad format in users/assign  
.
.

I'm trying to find now documentation about the format that I should use on
the "assign" file. Actually I have:

.
.
=domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::
.
.

I don't see anything wrong.What do you thing may the problem be?

Does any have any experience making pop accounts without using system
accounts?




Re: yet another question about Virtual domains

2000-02-01 Thread Ian Douglas

  I plan to have a directory structure in place such as:
  /home/domain1/mail/user1
  /home/domain1/mail/user2
  etc
 
 This looks like you're planning on setting up home directories for virtual
 mail users -- why?  Do they need shell/ftp/other access?  If so, they're
 not really virtual mail users.  A virtual mail user doesn't need an account
 of their own -- they just need a POP mailbox (or IMAP, etc).

The directory structure will be used for web/ftp hosting as well... for
example:

/home/domain1/public_html/
/home/domain1/anon_ftp/
/home/domain1/mail/

Shell access is still up in the air with regards to security issues. But that's
not for this list to discuss...

Thanks for any other ideas. Ken sent me a link for Inter7 which seems to be
what I need for the virtual mail hosting. Many thanks.

Ian




Re: Special pop accounts

2000-02-01 Thread Marco Leeflang

Director tecnico del Nodo Nicarao -- Juan Navas wrote:

 I trying to configure a pop mail account without using a system account:

 .
 .
 Single-UID based POP3 box HOWTO.By Paul Gregg ,
 1998Copyright Paul Gregg,1998
 .
 .

 Te documentation told me to run the program qmail-newu to  rebuild the
 database (cdb). When I do dat it respond with:

 .
 .
 # qmail-newu
 qmail-newu: fatal: bad format in users/assign
 .
 .

 I'm trying to find now documentation about the format that I should use on
 the "assign" file. Actually I have:

 .
 .
 =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::
 .
 .


On the last line ther must be a single.
see FAQ



 I don't see anything wrong.What do you thing may the problem be?

 Does any have any experience making pop accounts without using system
 accounts?

marco leeflang



Re: Special pop accounts

2000-02-01 Thread Robbie Honerkamp

Thus spake Director tecnico del Nodo Nicarao -- Juan Navas ([EMAIL PROTECTED]):

 Te documentation told me to run the program qmail-newu to  rebuild the
 database (cdb). When I do dat it respond with:

 # qmail-newu
 qmail-newu: fatal: bad format in users/assign  
 
 I'm trying to find now documentation about the format that I should use on
 the "assign" file. Actually I have:

 =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::

Make sure the last line of the assign file is a period by itself.

Robbie



AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail

In spite of this, the mail is not send. In the http-error-log there is a
line /usr/sbin/sendmail -no such directory or file. But i do not find the
line in my php3.ini-dist file. Where can it be???



Re: bogus mail from??

2000-02-01 Thread Ronny Haryanto

On 01-Feb-2000, Timothy L. Mayo wrote:
 On Tue, 1 Feb 2000, Ronny Haryanto wrote:
  On 01-Feb-2000, Adam McKenna wrote:
   This is _not_ an IMail problem.  This is a user-configurable setting.
  
  But if  is valid, what is the reason to make this behaviour
  user-configurable in the first place? In other words, when is  not
  valid?
 
 It is being blocked because some SPAMers took advantage of the fact that
 the RFCs require bounce messages to use the  envelope sender for error
 messages.  It should NEVER be blocked, period.  If a spammer is sending
 email with an  envelope sender, block their IP.

So it _IS_ an IMail problem because it allows rejecting .

-- 
Ronny Haryanto



Re: bogus mail from??

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote:
 On 01-Feb-2000, Timothy L. Mayo wrote:
  On Tue, 1 Feb 2000, Ronny Haryanto wrote:
   On 01-Feb-2000, Adam McKenna wrote:
This is _not_ an IMail problem.  This is a user-configurable setting.
   
   But if  is valid, what is the reason to make this behaviour
   user-configurable in the first place? In other words, when is  not
   valid?
  
  It is being blocked because some SPAMers took advantage of the fact that
  the RFCs require bounce messages to use the  envelope sender for error
  messages.  It should NEVER be blocked, period.  If a spammer is sending
  email with an  envelope sender, block their IP.
 
 So it _IS_ an IMail problem because it allows rejecting .

The program is not foolproof, and those people are fools.

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 to all@domain.com password protected

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 07:58:03PM +, Ricardo Cerqueira wrote:
  i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
  mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
  so thats why
 
 Instead of searching for far-fetched solutions, why don't you just install a 
mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as 
a moderated/limited list?

That is what I was going to suggest indeed, when I understood his problem :)

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: what makes ezmlm fast?

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
 
 Can someone explain to me what exactly makes ezmlm fast?  I
 would like to try to adapt some of its functionality and speed
 to a customized list processor.  Thanks for any input.

One word: qmail.

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: bogus mail from??

2000-02-01 Thread Adam McKenna

On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
 On 01-Feb-2000, Adam McKenna wrote:
  This is _not_ an IMail problem.  This is a user-configurable setting.
  
  If mail from  is bouncing that means the admin of that site has chosen to
  enable that setting.  (It might be the default, but I'm pretty sure it's
  not.)
 
 But if  is valid, what is the reason to make this behaviour
 user-configurable in the first place? In other words, when is  not
 valid?

That's not the point.  Giving the user an option to break the RFC is not the
same as breaking the RFC.

--Adam

 
 -- 
 Ronny Haryanto
 



Re: bogus mail from??

2000-02-01 Thread Adam McKenna

On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote:
 On 01-Feb-2000, Timothy L. Mayo wrote:
  On Tue, 1 Feb 2000, Ronny Haryanto wrote:
   On 01-Feb-2000, Adam McKenna wrote:
This is _not_ an IMail problem.  This is a user-configurable setting.
   
   But if  is valid, what is the reason to make this behaviour
   user-configurable in the first place? In other words, when is  not
   valid?
  
  It is being blocked because some SPAMers took advantage of the fact that
  the RFCs require bounce messages to use the  envelope sender for error
  messages.  It should NEVER be blocked, period.  If a spammer is sending
  email with an  envelope sender, block their IP.
 
 So it _IS_ an IMail problem because it allows rejecting .

Not really.  It's possible to set up any mailer to block .  IMail just
makes it easier.

--Adam



Logging information about each email.

2000-02-01 Thread Qmail

Hi Folks,

I'm wondering the best place/way to log details about each email to a
database of some sort.
Specifically I need to log, from address, to address, and email size.

Any hints on where to start?

Thanks,

Lance



Re: bogus mail from??

2000-02-01 Thread Robbie Honerkamp

Thus spake Ronny Haryanto ([EMAIL PROTECTED]):

 On 01-Feb-2000, Timothy L. Mayo wrote:
  On Tue, 1 Feb 2000, Ronny Haryanto wrote:
   On 01-Feb-2000, Adam McKenna wrote:
This is _not_ an IMail problem.  This is a user-configurable setting.
   
   But if  is valid, what is the reason to make this behaviour
   user-configurable in the first place? In other words, when is  not
   valid?
  
  It is being blocked because some SPAMers took advantage of the fact that
  the RFCs require bounce messages to use the  envelope sender for error
  messages.  It should NEVER be blocked, period.  If a spammer is sending
  email with an  envelope sender, block their IP.
 
 So it _IS_ an IMail problem because it allows rejecting .

Only so far as rm has a problem in that it allows you to type
rm -rf / as root.

Robbie



Re: bogus mail from??

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 03:36:50PM -0500, Adam McKenna wrote:
 On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
  On 01-Feb-2000, Adam McKenna wrote:
   This is _not_ an IMail problem.  This is a user-configurable setting.
   
   If mail from  is bouncing that means the admin of that site has chosen to
   enable that setting.  (It might be the default, but I'm pretty sure it's
   not.)
  
  But if  is valid, what is the reason to make this behaviour
  user-configurable in the first place? In other words, when is  not
  valid?
 
 That's not the point.  Giving the user an option to break the RFC is not the
 same as breaking the RFC.

Indeed.

What IMail does wrong is allowing the user to do so with one click of the
mouse. qmail can be configured to break lots of RFCs, that's not even hard.
But nothing that can happen 'incidentally'.

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: Logging information about each email.

2000-02-01 Thread Magnus Bodin

On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote:
 Hi Folks,
 
 I'm wondering the best place/way to log details about each email to a
 database of some sort.
 Specifically I need to log, from address, to address, and email size.
 
 Any hints on where to start?

Hint #1: log qmail-send with cyclog or multilog. 
Hint #2: take a look on qmail-analog. Specifically matchup.

/magnus

-- 
http://x42.com/



Re: Logging information about each email.

2000-02-01 Thread petervd

On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote:
 Hi Folks,
 
 I'm wondering the best place/way to log details about each email to a
 database of some sort.
 Specifically I need to log, from address, to address, and email size.
 
 Any hints on where to start?

Your maillogs. They contain all this information.

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: what makes ezmlm fast?

2000-02-01 Thread Jeremy Hansen


I understand that qmail is the MTA, but there is also functionality
in ezmlm which takes advantage of qmail in a way which makes things
much faster.  Something about parallel smtp processes or something
like that.  There's more to it then just qmail itself.

-jeremy

 On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
  
  Can someone explain to me what exactly makes ezmlm fast?  I
  would like to try to adapt some of its functionality and speed
  to a customized list processor.  Thanks for any input.
 
 One word: qmail.
 
 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++
 


http://www.xxedgexx.com | [EMAIL PROTECTED]
-



Re: AW: php3 and qmail

2000-02-01 Thread Patrick Berry

on 2/1/00 12:27 PM, Andreas Altenburg had the thought:

 i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
 
 In spite of this, the mail is not send. In the http-error-log there is a
 line /usr/sbin/sendmail -no such directory or file. But i do not find the
 line in my php3.ini-dist file. Where can it be???
 
 

From Life with Qmail http://web.infoave.net/~dsill/lwq.html

kill PID-of-sendmail
mv /usr/lib/sendmail /usr/lib/sendmail.old # may not be needed
mv /usr/sbin/sendmail /usr/sbin/sendmail.old # may not be needed
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old
ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin

This will make sure that qmail will handle you mail.

Pat

-- 
Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610



RE: AW: php3 and qmail

2000-02-01 Thread RaTao von J


you should ask this in the php3 mailling-list ;)

anyway the correct file name is: php.ini

and you can override it's default location with a ./configure option
./configure --help to list the options!

don't forget to restart apache after making changes to the php.ini file

also:

?php phpinfo(); ?

in a file by itself will give info about php options (call it with you browser,
afterwards)

bye bye,
ratao


On 01-Feb-2000 Andreas Altenburg wrote:
 i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
 
 In spite of this, the mail is not send. In the http-error-log there is a
 line /usr/sbin/sendmail -no such directory or file. But i do not find the
 line in my php3.ini-dist file. Where can it be???

--
E-Mail: RaTao von J [EMAIL PROTECTED]
Date: 01-Feb-2000
Time: 21:46:32

This message was sent by XFMail
--



Linux kernel turning for mail performance?

2000-02-01 Thread Jeremy Hansen


Is there any kernel sysctl or otherwise parameters suggested for
performance using qmail on Linux?  Open file handle limits, share memory,
whatever?  I have a goal to send at least 1 million emails in a 
24 hour period from a single machine.

Also, has anyone done any experimentation using 2.3.x kernels and
qmail?  Any feedback on experiences with 2.3.x?

Thanks
-jeremy



AW: AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
this mail is not delivered. The host is allowed as well. Sendmail is killed
totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
of php...



Re: what makes ezmlm fast?

2000-02-01 Thread Racer X

Like the master himself says, "Profile - don't speculate."  In this case,
look at the way qmail and ezmlm work.

By "parallel SMTP processes" I'm assuming you're referring to the way qmail
handles deliveries, which is to spawn one qmail-remote process for each
recipient address.  That all happens after the mail is injected by ezmlm
into the qmail queue.

shag

- Original Message -
From: Jeremy Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tue 1 Feb 2000 13.39
Subject: Re: what makes ezmlm fast?



I understand that qmail is the MTA, but there is also functionality
in ezmlm which takes advantage of qmail in a way which makes things
much faster.  Something about parallel smtp processes or something
like that.  There's more to it then just qmail itself.

-jeremy

 On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
 
  Can someone explain to me what exactly makes ezmlm fast?  I
  would like to try to adapt some of its functionality and speed
  to a customized list processor.  Thanks for any input.

 One word: qmail.

 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++



http://www.xxedgexx.com | [EMAIL PROTECTED]
-





Re: AW: AW: php3 and qmail

2000-02-01 Thread Paul Farber

what is the log file recording? 

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

 phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
 this mail is not delivered. The host is allowed as well. Sendmail is killed
 totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
 of php...
 
 



Re: default to mailing list

2000-02-01 Thread J.M. Roth \(iip\)

Ok, then try putting a forwarder inside a .qmail-default file and try the
mess ;)

I want my default delivery to go to a mailing list.
If I simply put a forwarder instead of vdelivermail. inside
.qmail-default all mail (to any account, even if it exists) is forwarded
twice, or something like this. Tried it a few days ago and it resulted in
chaos.

-- jmr


- Original Message -
From: "Dave Sill" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 31, 2000 7:11 PM
Subject: Re: default to mailing list


 "J.M. Roth \(iip\)" [EMAIL PROTECTED] wrote:

 but what if there is a mailing list that's already defined, like:
 [EMAIL PROTECTED]
 Now, [EMAIL PROTECTED] should go to the mailing list. I don't wanna copy
 the whole thing.
 If I simply put [EMAIL PROTECTED] into .qmail-default the whole directory
 seems messed up because mails are returned and say that users that DO
exist
 didn't exist, which simply is not true.

 Putting "[EMAIL PROTECTED]" in a .qmail file is exactly what you should
 do. If that doesn't work right, you'll need to provide more details if
 you want help figuring out why.

 -Dave




AW: AW: AW: php3 and qmail

2000-02-01 Thread Andreas Altenburg

the http_access file shows "GET index.php 200 ..." Nothing unusual. The
http_error show nothing...



Re: AW: AW: php3 and qmail

2000-02-01 Thread Mark Delany

On Tue, Feb 01, 2000 at 11:23:33PM +0100, Andreas Altenburg wrote:
 the http_access file shows "GET index.php 200 ..." Nothing unusual. The
 http_error show nothing...

It sounds like you need to do a *LOT* more homework before hitting the
list with non-information like this.

If you administer a system then you'll know how important it is to
state all relevant information exactly. Paraphrasing a log file is *NOT*
stating any information exactly. Do you get frustrated when people
using your computer systems come to you with little more than "it doesn't
work!". Well, that's about what you've done here.

You should be attempting to debug this yourself. What efforts have
you made to do this? Have you put any tracing or logging information into
the php script?  If you have done so, what did you discover?

Have you tried to run the script outside of the web server? What did it show?

If you're on an OS that has a system call trace facility, what does that show?

Did you try making a wrapper for index.php to check the parameters and return
status of the real index.php? If so, what do those parameters look like?

Did you try making a wrapper around the relevant qmail program to see if it's
getting invoked and with what arguments? If so, did you invoke it manually with
the same parameters to see what happens?

If you haven't done any of this, what efforts do you expect people on this list
to make on your behalf? Apart from training in clairvoyancy that is?


Regards.



Re: IMAP command

2000-02-01 Thread Sam

[EMAIL PROTECTED] writes:

 I am looking for references of IMAP comand line, so I can try
 it via telnet to port 143 , where I could find it?

RFC 2060.


-- 
Sam




pop3 start

2000-02-01 Thread Andreas Altenburg

i read "life with qmail" and set ip my server correctly. i did not find the
part how to start the pop3d automatically. so i entered the lines of the doc
("tcpserver..." to my boot script of qmail. Now each transaction is logged
to the console. Does anybody have I working startup script for qmail-send,
qmail-smtpd and qmail-pop3???



Re: mail to all@domain.com password protected

2000-02-01 Thread Russ Allbery

Marco Leeflang [EMAIL PROTECTED] writes:

 is it possible to secure mail to [EMAIL PROTECTED] with a password so only
 people who knows the user/password or just the password could mail to
 this emailaddress.  .qmail-all will hold all users within this domain.

One way we've solved this problem in the past when we didn't need to
support user forwarding addresses was to just write a script to deliver
directly to their inboxes.  That's much faster than anything that goes
through the mail system, although you have to be careful to do the right
locking.  But that way, security is pretty straightforward; the only
person who would be able to run the script is root on the mail server.

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



Re: AW: AW: AW: php3 and qmail

2000-02-01 Thread Paul Farber

What does the qmail file look like?  The message file?  Do you have the
http server set to record at debug level?  Most are preconfigured to use
warn.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

 the http_access file shows "GET index.php 200 ..." Nothing unusual. The
 http_error show nothing...
 
 



Two smtpd/databytes?

2000-02-01 Thread Brian Baquiran

Is it possible to run two versions of qmail-smtpd (say, on different port #s),
with different control/databytes files? Boss is asking whether we can set a
limit on the size of incoming mail (easy, use databytes) but have no limit on
the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines,
but would it be possible to this up on only one machine?

I am running qmail-smtpd under tcpserver, if that is any help. 

TIA,
Brian
--
[EMAIL PROTECTED] 
http://www.baquiran.com 
US Fax: (603) 908-0727
AIM: bbaquiran



Re: Two smtpd/databytes?

2000-02-01 Thread Mark Delany

Sure. Just run two instances of qmail.

In fact, why not mutlihome your system (or alias depending on which
term you prefer) and have them both on port 25. One listens to your
internally advertised address and one listens to your MX address.

You can also control how many resources go to which service then, all
on the one machine.


Regards.


On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
 Is it possible to run two versions of qmail-smtpd (say, on different port #s),
 with different control/databytes files? Boss is asking whether we can set a
 limit on the size of incoming mail (easy, use databytes) but have no limit on
 the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines,
 but would it be possible to this up on only one machine?
 
 I am running qmail-smtpd under tcpserver, if that is any help. 
 
 TIA,
 Brian
 --
 [EMAIL PROTECTED]   
 http://www.baquiran.com 
 US Fax: (603) 908-0727
 AIM: bbaquiran



Re: Two smtpd/databytes?

2000-02-01 Thread Chris Johnson

On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
 Is it possible to run two versions of qmail-smtpd (say, on different port
 #s), with different control/databytes files? Boss is asking whether we can
 set a limit on the size of incoming mail (easy, use databytes) but have no
 limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate
 machines, but would it be possible to this up on only one machine?

That's way too hard. If your network is the 1.2.3 class C, stick something like
this in your rules file:

1.2.3.:allow,RELAYCLIENT="",DATABYTES="0"

That'll set DATABYTES to zero (meaning there's no limit) for your internal
clients. Everyone else is subject to /var/qmail/control/databytes.

Chris



Re: Two smtpd/databytes?

2000-02-01 Thread Brian Baquiran

Chris Johnson wrote:
 
 On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
  Is it possible to run two versions of qmail-smtpd (say, on different port
  #s), with different control/databytes files? Boss is asking whether we can
  set a limit on the size of incoming mail (easy, use databytes) but have no
  limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate
  machines, but would it be possible to this up on only one machine?
 
 That's way too hard. If your network is the 1.2.3 class C, stick something like
 this in your rules file:
 
 1.2.3.:allow,RELAYCLIENT="",DATABYTES="0"
 
 That'll set DATABYTES to zero (meaning there's no limit) for your internal
 clients. Everyone else is subject to /var/qmail/control/databytes.

Chris,
This is great! It'll try it out. 

Thanks!
Brian
--
[EMAIL PROTECTED] 
http://www.baquiran.com 
US Fax: (603) 908-0727
AIM: bbaquiran



A newbie's question: qfilelog and multilog

2000-02-01 Thread Wang-hua Li, Mack

Hi there,

I am having qmail-1.03 with daemontools-0.61 running and 
would like to have my logs rotated on a daily base. I learned from
the Qmail Mailing List Archive that  qfilelog could do just 
what I am expecting but all the messages there
seem to be about older version of daemontools (cyclog). 
I wonder if anyone out there had got it running 
with daemontool-0.61 (multilog). How do I set my 'run script' 
to have them work together ?

Thanks in advance !

--
Wang-hua Li



Red Hat sysV init rc.d script for qmail?

2000-02-01 Thread John Conover


Does anyone have a URL for a Red Hat SysV init rc.d script for qmail?

Thanks,

John

-- 

John Conover[EMAIL PROTECTED]   http://www.inow.com/
631 Lamont Ct.  Tel. 408.370.2688  http://www.inow.com/ntropix/
Campbell, CA 95008  Fax. 408.379.9602  http://www.inow.com/nformatix/



Bandwidth

2000-02-01 Thread Marek Narkiewicz

I hate to ask such a general question, but hat sort of bandwidth is needed to 
accomodate up to 1 home 
dialup users for smtp and pop3 services? I just need some sort o rough estimate as I 
have a budget to 
overcompensate somewhat.
Thanks for any help,
--
Marek Narkiewicz, Systems Director WelshDragon ltd
[EMAIL PROTECTED]
02/01/2000 at 04:03:50



Re: Bandwidth

2000-02-01 Thread Russell P. Sutherland

* Marek Narkiewicz ([EMAIL PROTECTED]) [ 1 Feb 2000 23:02]:

 I hate to ask such a general question, but hat sort of bandwidth is needed to 
accomodate up to 1 home 
 dialup users for smtp and pop3 services? I just need some sort o rough estimate as I 
have a budget to 
 overcompensate somewhat.

I help with an ISP that has a base of ~ 1500 users and 150 dialup
lines. We connect to the Internet with a full T1 line (1.5 Mbps).
The line gets close to saturation most evenings.

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



Sending to an IP address

2000-02-01 Thread Wilson Fletcher

I ried to send to wilson@[203.26.11.154] but it failed. Can someone tell me why ?

Thanks

Wilson



  1   2   >