RE: Qmail-remote stopped up?

2001-06-06 Thread Troy Settle


Absolutely nothing in the logs.  Hardware is fine, all other processes are
working flawlessly.  This box is well worked, but not even close to loaded
(load avg stays around 0.25 to 0.30) except when restarting qmail.

I just can't think of any reasonable explanation why qmail-remote would just
sit there like that and not honor it's timeout.

Oh, and one thing I forgot to mention.  Top shows all these processes in a
sbwait state.


--
  Troy Settle
  Pulaski Networks
  540.994.4254


** -Original Message-
** From: Jörgen Persson [mailto:[EMAIL PROTECTED]]
** Sent: Wednesday, June 06, 2001 1:56 AM
** To: [EMAIL PROTECTED]
** Subject: Re: Qmail-remote stopped up?
**
**
** On Tue, Jun 05, 2001 at 09:15:30PM -0400, Troy Settle wrote:
**  For the last several months, I've been having some severe problems with
**  qmail-remote.  I've rebuilt from fresh sources and updated my system
**  (FreeBSD 4.2-STABLE) several times.  Nothing seems to help.
** You can see
**  what I'm seeing at http://home.psknet.com/troy/qmail-remote.txt.
**
**
** I've never seen anything like it...
**
** What does the logs say?
** Have you checked your hardware??
**
** Jörgen
**
**




RE: SSL

2001-06-06 Thread Troy Settle



Sean,

I'm 
using stunnel for this. Works very well.

-- Troy Settle Pulaski Networks 
540.994.4254

  -Original Message-From: SeanW 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 05, 2001 11:05 
  PMTo: [EMAIL PROTECTED]Subject: 
  SSL
  Can qmail handle passing pop password via SSL 
  ?
  
  
  Sean 
Weissensee


Re: Qmail-remote stopped up?

2001-06-06 Thread Alex Pennace

On Wed, Jun 06, 2001 at 02:20:40AM -0400, Troy Settle wrote:
 
 Absolutely nothing in the logs.

Then either you didn't understand the question, or your logging is
broken.

To help us diagnose your hung qmail-remote problem, include all
relevant log entries for remote deliveries, including the starting
delivery lines.



Aliases

2001-06-06 Thread Michael Cartmel



Hi,

I'm using qmail aliases to create simple mailing 
lists. Does anyone know how to stop qmail from sending you a copy of your own 
message whenyou post to an alias that has your addressincluded in 
the alias?

  
Cheers, -mic


softdnserror problem

2001-06-06 Thread Joel Uckelman

Today I noticed an unusual delay when sending mail between two of my 
computers, along with something I'd never seen before in one of the 
Received headers. Quoted here is the relevant header:

Received: from scylla.ellipsis.cx ([EMAIL PROTECTED]) by softdnserror 
with SMTP; 6 Jun 2001 06:15:47 -

This would seem to indicate some sort of a DNS problem, I gather. 
Charybdis, the machine receiving the mail, is also my DNS server, which is 
working fine, as far as I can tell.

Just now, when I tried to generate another example of the problem, I 
noticed that it seems to have fixed itself, at least for mail being sent 
from scylla to charybdis. The Received header I got this time is just like 
the ones I was getting before the problem started:

Received: from scylla.ellipsis.cx ([EMAIL PROTECTED]) by 192.168.254.101 
with SMTP; 6 Jun 2001 06:54:31 -

But I still get the softdnserror header when sending mail from charybdis to 
scylla, and I know this wasn't happening yesterday.

Any ideas about what's going on here? I'm stumped.

-- 
J.





RE: Qmail-remote stopped up?

2001-06-06 Thread Troy Settle


Very well, here's the log entry for the last message:

2001-06-04 21:04:21.325080500
  new msg 7513010
2001-06-04 21:04:21.325300500
  info msg 7513010: bytes 3585 from [EMAIL PROTECTED] qp 46253 uid 82
2001-06-04 21:04:21.399088500
  starting delivery 95298: msg 7513010 to remote [EMAIL PROTECTED]
2001-06-04 21:04:21.399269500
  status: local 0/10 remote 13/30

There is no other reference to this message since, but there have been other
messages from this user successfully sent to the same destination without
problem:

2001-06-05 17:19:07.461645500
  new msg 7512978
2001-06-05 17:19:07.461858500
  info msg 7512978: bytes 4139 from [EMAIL PROTECTED] qp 73680 uid 82
2001-06-05 17:19:07.534486500
  starting delivery 104112: msg 7512978 to remote [EMAIL PROTECTED]
2001-06-05 17:19:07.534665500
  status: local 0/10 remote 18/30
2001-06-05 17:19:09.393097500
  delivery 104112: success: 208.11.16.8_accepted_message./
  Remote_host_said:_250_Ok:_queued_as_E206B64C83/
2001-06-05 17:19:09.399108500
  status: local 0/10 remote 17/30
2001-06-05 17:19:09.399599500
  end msg 7512978


Log entries for the other 'stuck' messages are the same: new, info,
starting, status, then nothing.  I have checked the entire log file and
subsequent logs.  Logging is working fine, qmail-remote is not.

One question though... is there an identifier that links each log entry for
a specific message?  This has been one thing that bugs the hell out of me
with qmail.

Thanks,

--
  Troy Settle
  Pulaski Networks
  540.994.4254


** -Original Message-
** From: Alex Pennace [mailto:[EMAIL PROTECTED]]
** Sent: Wednesday, June 06, 2001 2:35 AM
** To: Troy Settle
** Cc: [EMAIL PROTECTED]
** Subject: Re: Qmail-remote stopped up?
**
**
** On Wed, Jun 06, 2001 at 02:20:40AM -0400, Troy Settle wrote:
** 
**  Absolutely nothing in the logs.
**
** Then either you didn't understand the question, or your logging is
** broken.
**
** To help us diagnose your hung qmail-remote problem, include all
** relevant log entries for remote deliveries, including the starting
** delivery lines.
**
**




Re: mailquotacheck program exit code meaning?

2001-06-06 Thread Paul Gregg

In article 9fjudv$dss$[EMAIL PROTECTED] you wrote:
 Hello all:
   I has read mailquotacheck.sh .but I can't understand some exit code ,example ,exit 
111,exit 100,Would you can explain ? where can found these code define ?
 and I want to specify some return to sender message how to do? 
 
 Thank you.


man qmail-command
 
EXIT CODES
   command's exit codes are interpreted as follows:  0  means
   that the delivery was successful; 99 means that the deliv-
   ery was successful, but that qmail-local should ignore all
   further delivery instructions; 100 means that the delivery
   failed permanently (hard error); 111 means that the deliv-
   ery  failed  but  should  be tried again in a little while
   (soft error).
 
Paul.

-- 
| Paul Gregg|T: +44 (0) 28 90424190
| Technical Director|F: +44 (0) 28 90424709
| The Internet Business Ltd |W: http://www.tibus.com
| Holywood House, Innis Court   |E: [EMAIL PROTECTED]
| Holywood, Co Down, BT18 9HF   |P: [EMAIL PROTECTED]




Re: softdnserror problem

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 02:05:54AM -0500, Joel Uckelman wrote:
[snip]
 But I still get the softdnserror header when sending mail from charybdis to 
 scylla, and I know this wasn't happening yesterday.
 
 Any ideas about what's going on here? I'm stumped.

My wildest guess is that the resolver listed in /etc/resolv.conf is
broken.

Greetz, Peter.



Re: AntiVirus

2001-06-06 Thread Daniel Riera

The best antivirus for qmail is AVP  www.avp.ru

D. Riera

GARGIULO Eduardo INGDESI wrote:

Hi all.

Where can I find information about antivirus for qmail
(scan incomming and outgoing messages)?

thanks

--yapedu






pop3 login

2001-06-06 Thread Andrea Cerrito

Hi

I'm having a cluster of two pop3 servers using vpopmail+qmail. My monitoring
program is mon, because I've a LVS solution.
Sometimes, I have mon reporting false alarms about pop3 login on just one
server: with false alarm I mean an alarm about the pop3 server at first
attempt and an ok situation at second one. Controls are done every minute.

The monitoring program (written in perl) is doing:

telnet server port
HELO monhost
quit

My logs about the pop3 program show no problems even when I've got the error
(i'm sure about the event because all machines are syncronized with ntp):

2001-06-06 10:53:14.759320500 tcpserver: status: 1/50
2001-06-06 10:53:14.759856500 tcpserver: pid 20437 from monitor
2001-06-06 10:53:14.759990500 tcpserver: ok 20437 servername:serverip:port
:monitormachienip::port
2001-06-06 10:53:14.768756500 tcpserver: end 20437 status 256
2001-06-06 10:53:14.768840500 tcpserver: status: 0/50

I tried to sets timeout to 5 seconds but (1) doesn't solve the problem, (2)
makes no sense cause the telnet from the monitor machine is 1 sec.

What can be the problem? TCPSERVER isn't spawn a qmail-pop3 well or there
can be other problems?
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372




about omail web based email

2001-06-06 Thread KIM


HI,

I know this is not the right mailling list, but anybody here knows if
omail-webmail is possible to run as sudo and in  mod_perl? if yes how can i
configure it?

thank you!





Using Qmail as an exchange server ??

2001-06-06 Thread Tonino Greco

Hi ALL,

I have been asked a question - and I have no idea on how to answer.  Maybe you-all can 
help :

Can a qmail server be used as a replacement for an MS Exchange server ??

What the idea is  - MS EXchange does not work that good :) - and we need to replace it 
- but the exchange server does a poll to another Primary server at a ISP.  This hold 
the mail spool -  and when the exchange server dials in - gets the mail and the 
distributes it locallly .  Can this be done with qmail ???

Many thanks
Tonino



How to make a qmail hub relay ?

2001-06-06 Thread NICOLAS Jean-Michel \(@ HoME\)



I search in archive's list but I didn't find how to 
make a qmail hub relay. Anybody can elp me how to makea hub.
I want my qmail server to receive mail for a lot 
domain (know domain :) ) and to redirect to different mail server (foreign mail 
server).

Thx for your help.


Re: Using Qmail as an exchange server ??

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 01:20:47PM +0200, Tonino Greco wrote:
 Hi ALL,
 
 I have been asked a question - and I have no idea on how to answer.  Maybe you-all 
can help :
 
 Can a qmail server be used as a replacement for an MS Exchange server ??
 
 What the idea is  - MS EXchange does not work that good :) - and we need to replace 
it - but the exchange server does a poll to another Primary server at a ISP.  This 
hold the mail spool -  and when the exchange server dials in - gets the mail and the 
distributes it locallly .  Can this be done with qmail ???

Probably. How does it poll?

Greetz, Peter.



How I can analysis address in all incoming mail.

2001-06-06 Thread robert.skup

I want drop one my domain name (I can't use one my old domain name).
I want make some temporary change in my configuration. If qmail receive (via
SMTP) mail with address having this old domain name send automaticly to
sender mail-info (eg. You use old name of our domain (), Your mail was
delivered correctly, but next time send mail using domain ).
But I want delivery all mail to user.
I can't add to all aliasses .qmail-* some line (commands). I want make some
preprocessing every mail (send or not bounce) and next make standard
delivery.

Robert Skup
[EMAIL PROTECTED]

PS. Maybe temporary changing qmail-smptd (add some linie) is not stiupid ?




Re: How to make a qmail hub relay ?

2001-06-06 Thread Johan Almqvist

* NICOLAS Jean-Michel (@ HoME) [EMAIL PROTECTED] [010606 13:25]:
 I search in archive's list but I didn't find how to make a qmail hub
 relay. Anybody can elp me how to make a hub.
 I want my qmail server to receive mail for a lot domain (know
 domain :) ) and to redirect to different mail server (foreign mail server).

This is very simple in qmail. Install qmail, put all of the domains you
will be a hub for in /var/qmail/control/rcpthosts (and NOT in locals or
virtualdomains) and make one line for each domain in
/var/qmail/control/smtproutes like this:

the.do.main:[ip.of.real.server]

man qmail-control is your friend.

For advanced users: use morerctphosts

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: How to make a qmail hub relay ?

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 01:25:36PM +0200, NICOLAS Jean-Michel (@ HoME) wrote:
 I search in archive's list but I didn't find how to make a qmail hub 
 relay. Anybody can elp me how to make a hub.
 I want my qmail server to receive mail for a lot domain (know domain 
 :) ) and to redirect to different mail server (foreign mail server).

The archives might not explain it but the FAQ[1] does.

Jörgen
[1] http://cr.yp.to/qmail/faq.html



Multiple Location

2001-06-06 Thread Lye On Siong Johnny

Hi,

I can't really think of a good subject, so i just name it that way.

I have the follow scenario. Assuming my office is separate into 10 
different locations,
with about 50 staff in each location. Is that anyway whereby I can 
configure a mail server or
something equivalent at each location such that the machine will know which 
are the local user, and
send it to the local machine, and if not, they will send it out. This is to 
reduce the amount of out-going traffic


Johnny




TCP Server Question

2001-06-06 Thread Duncan MacMillan

I'm sorry if this is off topic for this list, but I'm assuming that there
will be people here that can answer this question.

I have a box that runs QMail  TCPServer. The box has multiple external
addresses that are used to route various port connections to internal
network addresses using redir. My problem is that I now find that I need to
route a port 25 connection into the network. The problem I am having is that
TCPServer is binding to all the interface addresses and as such redir can
not bind to the address and port I need.

My question is how do I limit TCPServer to a specific address when it starts
listening on ports 25 and 110.

Thanks
Duncan




Re: qmail is slow

2001-06-06 Thread Federico Edelman Anaya

Charles:
Hi ..Thanks for the reply!

Charles Cazabon wrote:

 Federico Edelman Anaya [EMAIL PROTECTED] wrote:
  Dave Sill wrote:
 
   You might also want to set up a second qmail installation on the central
   server to do nothing but handle messages injected via SMTP. That will
   allow the qmail-send sending the ezmlm messages to go full speed by
   offloading bounce messages delivery to another qmail-send process.
 
  Ummmh.. I don't understand how can I install 2 qmail in the same server??

 Unpack the qmail source in a separate place.  Change conf-qmail to
 /var/qmail2.  Do make setup check.  Start qmail-smtpd from the second
 instance to receive bounces.



Ok ... but, what do I need with the /var/qmail/queue? Must be the same or
linked? How can I do for the connection two Qmails?

Thanks!


 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 Any opinions expressed are just that -- my opinions.
 ---




Re: TCP Server Question

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 03:27:49PM +0200, Duncan MacMillan wrote:
 I'm sorry if this is off topic for this list, but I'm assuming that there
 will be people here that can answer this question.
 
 I have a box that runs QMail  TCPServer. The box has multiple external
 addresses that are used to route various port connections to internal
 network addresses using redir. My problem is that I now find that I need to
 route a port 25 connection into the network. The problem I am having is that
 TCPServer is binding to all the interface addresses and as such redir can
 not bind to the address and port I need.
 
 My question is how do I limit TCPServer to a specific address when it starts
 listening on ports 25 and 110.

Somewhere in the tcpserver line, there is a '0'. Change that to the IP
you want it to bind to.

Greetz, Peter.



Re: TCP Server Question

2001-06-06 Thread Karsten W. Rohrbach

Duncan MacMillan([EMAIL PROTECTED])@2001.06.06 15:27:49 +:
 I'm sorry if this is off topic for this list, but I'm assuming that there
 will be people here that can answer this question.
 
 I have a box that runs QMail  TCPServer. The box has multiple external
 addresses that are used to route various port connections to internal
 network addresses using redir. My problem is that I now find that I need to
 route a port 25 connection into the network. The problem I am having is that
 TCPServer is binding to all the interface addresses and as such redir can
 not bind to the address and port I need.
 
 My question is how do I limit TCPServer to a specific address when it starts
 listening on ports 25 and 110.

yes, read the docs to tcpserver
replace the 0 witht he ip and everything will be fine.
of course you will have to start a supervise with tcpserver for every
single address you are binding to on every prot you are binding to.
/k

 
 Thanks
 Duncan

-- 
 Things can only really be scientifically true if they could also be false
 with different data. --Karl Popper 
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karstenrohrbach.de -- alphangenn.net -- alphascene.org -- [EMAIL PROTECTED]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46

 PGP signature


pop server

2001-06-06 Thread GARGIULO Eduardo INGDESI

is there any pop server for qmail better than qpopper 4.0?

--yapedu



RE: TCP Server Question

2001-06-06 Thread Travis L. Leuthauser

I'm assuming you're calling tcpserver in a similar manner:

/usr/local/bin/tcpserver -u  -g  0 smtp /var/qmail/bin/qmail-smtpd 
 ^
change the 0 to the address that you want tcpserver to bind to.

Hope this helps,

Travis L. Leuthauser
Network Administrator
Broadband IP, Inc.

-Original Message-
From: Duncan MacMillan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 8:28 AM
To: [EMAIL PROTECTED]
Subject: TCP Server Question


I'm sorry if this is off topic for this list, but I'm assuming that there
will be people here that can answer this question.

I have a box that runs QMail  TCPServer. The box has multiple external
addresses that are used to route various port connections to internal
network addresses using redir. My problem is that I now find that I need to
route a port 25 connection into the network. The problem I am having is that
TCPServer is binding to all the interface addresses and as such redir can
not bind to the address and port I need.

My question is how do I limit TCPServer to a specific address when it starts
listening on ports 25 and 110.

Thanks
Duncan





unsubscribe andy@angelsk.ru

2001-06-06 Thread Andrey Shirshov







Re: TCP Server Question

2001-06-06 Thread Russell Nelson

Peter van Dijk writes:
  On Wed, Jun 06, 2001 at 03:27:49PM +0200, Duncan MacMillan wrote:
   I'm sorry if this is off topic for this list, but I'm assuming that there
   will be people here that can answer this question.
   
   I have a box that runs QMail  TCPServer. The box has multiple external
   addresses that are used to route various port connections to internal
   network addresses using redir. My problem is that I now find that I need to
   route a port 25 connection into the network. The problem I am having is that
   TCPServer is binding to all the interface addresses and as such redir can
   not bind to the address and port I need.
   
   My question is how do I limit TCPServer to a specific address when it starts
   listening on ports 25 and 110.
  
  Somewhere in the tcpserver line, there is a '0'. Change that to the IP
  you want it to bind to.

Yep.  In fact, I strongly recommend that an ISP always run two
instances of qmail-smtpd.  One should be bound to the IP address whose 
hostname is published in MX records.  The other should be bound to an
IP address bound to a name like smtp.example.com, which users
configure into their email clients for outgoing relaying.

This is not to solve the problem of open relays, but instead to solve
the problem of external denial of service attacks.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | John Hartford, RIP
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



RE: about omail web based email

2001-06-06 Thread Tim Hunter


* There are currently 2 mailing lists :

  - omail-news : read-only announce mailing list (for new release announces)
   http://lists.sourceforge.net/mailman/listinfo/omail-news 

  - omail-devel : public mailing list for devel  support.
   http://lists.sourceforge.net/mailman/listinfo/omail-devel 


-Original Message-
From: KIM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: about omail web based email



HI,

I know this is not the right mailling list, but anybody here knows if
omail-webmail is possible to run as sudo and in  mod_perl? if yes how can i
configure it?

thank you!






Re: pop server

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 10:43:55AM -0300, GARGIULO Eduardo INGDESI wrote:
 is there any pop server for qmail better than qpopper 4.0?

qmail-pop3d, ofcourse.

Greetz, Peter.



QmailLDAP/Control Patch

2001-06-06 Thread Mike Cathey

The faq for qmail-ldap (see below) provides a link to download the
qmail-ldap-control patch, but the directory on the server is empty.  I
checked google's cached copy and it had files dating 2001050n.  Are
there any official mirrors?

The FAQ:

http://www.lifewithqmail.org/ldap/#The qmail-ldap-control patch

The link is:

http://qmail.bayour.com/patches_ldap/


Thanks,

Mike



Re: Multiple Location

2001-06-06 Thread Adrian Ho

On Wed, 6 Jun 2001, Lye On Siong Johnny wrote:

 I have the follow scenario. Assuming my office is separate into 10
 different locations, with about 50 staff in each location. Is that
 anyway whereby I can configure a mail server or something equivalent
 at each location such that the machine will know which are the local
 user, and send it to the local machine, and if not, they will send it
 out. This is to reduce the amount of out-going traffic

You can either have a central server that knows where everyone is, and the
10 local servers simply relay non-local mail to it, or replicate that
knowledge amongst the 10 local servers.  Either way:

http://cr.yp.to/qmail/pictures/PIC.local2alias

-- 
Adrian Ho   [EMAIL PROTECTED]




Re: Multiple Location

2001-06-06 Thread Adrian Ho

On Wed, 6 Jun 2001, Adrian Ho wrote:

 You can either have a central server that knows where everyone is, and the
 10 local servers simply relay non-local mail to it, or replicate that
 knowledge amongst the 10 local servers.  Either way:

 http://cr.yp.to/qmail/pictures/PIC.local2alias

And for the central routing server:

http://cr.yp.to/qmail/faq/incominguser.html#luser-relay

-- 
Adrian Ho   [EMAIL PROTECTED]




Re: qmail is slow

2001-06-06 Thread Charles Cazabon

Federico Edelman Anaya [EMAIL PROTECTED] wrote:
 
 Charles Cazabon wrote:
 
  Federico Edelman Anaya [EMAIL PROTECTED] wrote:
   Dave Sill wrote:
  
You might also want to set up a second qmail installation on the central
server to do nothing but handle messages injected via SMTP. That will
allow the qmail-send sending the ezmlm messages to go full speed by
offloading bounce messages delivery to another qmail-send process.
  
   Ummmh.. I don't understand how can I install 2 qmail in the same server??
 
  Unpack the qmail source in a separate place.  Change conf-qmail to
  /var/qmail2.  Do make setup check.  Start qmail-smtpd from the second
  instance to receive bounces.
 
 Ok ... but, what do I need with the /var/qmail/queue? Must be the same or
 linked?

No, no, no -- that would break lots of things.  Your first instance of qmail
lives in /var/qmail/ and handles all your outgoing list mail.  It's mail queue
is in /var/qmail/queue/, the binaries are in /var/qmail/bin/, control files in
/var/qmail/control, etc.  You don't run qmail-smtpd for this instance.

The second instance of qmail lives in /var/qmail2/ .  The queue is in
/var/qmail2/queue/ .  Binaries are in /var/qmail2/bin/ .  Control files are in
/var/qmail2/control/ .  You run /var/qmail2/bin/qmail-smtpd (through
tcpserver) on port 25 to accept bounces from the outgoing list mails from the
other qmail instance.  That way, bounces are injected into /var/qmail2/queue/
instead of /var/qmail/queue/ -- and you don't run into the problem where
qmail-send from the first instance of qmail has to pause processing of
outgoing messages to handle incoming ones.

 How can I do for the connection two Qmails?

There is no connection, really.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail receiving mail from outside OK - please validate

2001-06-06 Thread Charles Cazabon

Ashe Coutts [EMAIL PROTECTED] wrote:
 Thanks VERY much to those who responded to my call for help  
 regarding qmail: 
  qmail ONLY selectively receiving mail from outside 
 
 I've modified the hosts.allow as follows. This, I think, should do what 
 I  wish -- allow relaying for our local Lan (204.48.149.x) users while, 
 for all  other users, allow receiving mail while preventing relaying. 
 
 ===  Start /etc/hosts.allow excerpt = 
 tcp-env  :  204.48.149.:  setenv RELAYCLIENT 
 tcp-env  :  ALL   
 ===  End /etc/hosts.allow excerpt= 
 
 I would appreciate anyone confirming that I've now got it set up  
 correctly for my needs (I have read all your tcpserver suggetions and  
 may try this next). 

It looks right.  Is that what you wanted to hear?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



[OT] qmail php

2001-06-06 Thread Bill Andersen

When I installed qmail, I obviously removed sendmail.  Now
when I build php(4) and try to use the the mail() function,
I get mail() not supported in this PHP build because
sendmail was not found during the configure (I assume).

The only reference I could find in the php archives was to
put sendmail_path=path to qmail-inject, but it didn't
work.

Has anyone had any luck using php with qmail?

Please reply off-list as I realize this is really a php issue.
The php mailing list is down per their web site, but I
figure someone on this list is bound to be running php...

 (Sorry!)

./bill

BTW: RH7, php4-apache



Re: Aliases

2001-06-06 Thread Charles Cazabon

Please don't post a new question by replying to a previous message -- it
really messes up the threading in our MUAs and in the mailing list archives.
Post a new message instead.

Michael Cartmel [EMAIL PROTECTED] wrote:
 
 I'm using qmail aliases to create simple mailing lists. Does anyone know how
 to stop qmail from sending you a copy of your own message when you post to
 an alias that has your address included in the alias?

qmail doesn't do this; it's a broken sendmail-ism.  If you don't want to see
messages in your inbox that come from you, you can filter them out with a
simple shellscript in your .qmail file.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Using Qmail as an exchange server ??

2001-06-06 Thread Scott Gifford

Tonino Greco [EMAIL PROTECTED] writes:

[...]

 What the idea is - MS EXchange does not work that good :) - and we
 need to replace it - but the exchange server does a poll to another
 Primary server at a ISP.  This hold the mail spool - and when the
 exchange server dials in - gets the mail and the distributes it
 locallly .  Can this be done with qmail ???

  You could probably do this with a combination of qmail and
fetchmail.  Fetchmail is at

http://www.tuxedo.org/~esr/fetchmail/

-ScottG.



Re: Multiple Location

2001-06-06 Thread Charles Cazabon

Lye On Siong Johnny [EMAIL PROTECTED] wrote:
 
 I have the follow scenario. Assuming my office is separate into 10 different
 locations, with about 50 staff in each location. Is that anyway whereby I
 can configure a mail server or something equivalent at each location such
 that the machine will know which are the local user, and send it to the
 local machine, and if not, they will send it out. This is to reduce the
 amount of out-going traffic

One typical way to handle this would be to have separate subdomains for each
of the ten offices.  For instance, if you operate foo.com, and you have
offices in Sydney, Istanbul, Toronto, Atlanta, and Milan, you might have
separate mail servers in each of those locations.  You create subdomains like
sydney.foo.com, milan.foo.com, etc.  Joe Smith is [EMAIL PROTECTED]
while Mary Black is [EMAIL PROTECTED].

You could probably also do this all transparently with qmail-ldap, but I've
never used it.  See (I think) lifewithqmail.org/ldap/ or find a pointer from
qmail.org.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: pop server

2001-06-06 Thread Charles Cazabon

GARGIULO Eduardo INGDESI [EMAIL PROTECTED] wrote:
 is there any pop server for qmail better than qpopper 4.0?

qmail includes qmail-pop3d, which does everything I need it to.  What is your
criteria for better?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: pop server

2001-06-06 Thread Tim Hunter

qmail-pop3d?
comes with qmail, only works for ./Maildir/
what could be better?

-Original Message-
From: GARGIULO Eduardo INGDESI [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 9:44 AM
To: qmail list
Subject: pop server


is there any pop server for qmail better than qpopper 4.0?

--yapedu




Re: pop server

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 10:43:55AM -0300, GARGIULO Eduardo INGDESI wrote:
 is there any pop server for qmail better than qpopper 4.0?

A pop3d daemon comes with qmail. The FAQ[1] describes how to install it.

Jörgen

[1] http://cr.yp.to/qmail/faq.html



RE: Qmail-remote stopped up?

2001-06-06 Thread Troy Settle


Jorgen,

Thanks for the input.  Out of 10k+ messages per day, only 5-6 qmail-remote
processes get stuck per week. To date, I've not been able to identify any
consistancy among message size, composition, or remote mail server.  It
appears to be fairly random.

Network connectivity is fine, the vast majority of mail comes and goes as
quickly as you please, I'm also doing backup MX for a couple other networks
without problem.  Internet connectivity is good as well, I'm multihomed
between Sprint and ATT and utilize 100MB Ethernet between the mail server
and router (fxp  2924  3640  world).

RAM is also fine.  Out of 256MB, I generally have 20-30mb free (this box is
also doing DNS, Radius, and some light-weight web serving).

Anything else worth looking at?

--
  Troy Settle
  Pulaski Networks
  540.994.4254



** -Original Message-
** From: Jörgen Persson [mailto:[EMAIL PROTECTED]]
** Sent: Wednesday, June 06, 2001 7:37 AM
** To: [EMAIL PROTECTED]
** Subject: Re: Qmail-remote stopped up?
**
**
** On Wed, Jun 06, 2001 at 03:06:57AM -0400, Troy Settle wrote:
** 
**  Very well, here's the log entry for the last message:
** 
**  2001-06-04 21:04:21.325080500
**new msg 7513010
**  2001-06-04 21:04:21.325300500
**info msg 7513010: bytes 3585 from [EMAIL PROTECTED] qp 46253 uid 82
**  2001-06-04 21:04:21.399088500
**starting delivery 95298: msg 7513010 to remote [EMAIL PROTECTED]
**  2001-06-04 21:04:21.399269500
**status: local 0/10 remote 13/30
** 
**  There is no other reference to this message since, but there
** have been other
**  messages from this user successfully sent to the same
** destination without
**  problem:
** [snip]
**
**
** I do not think qmail is failing, something else is...
**
** The stuck messages is not delivered, ie they ought to be in the queue.
** can you read them the CLI way?? If you can -- check your internet
** connection (DNS, load balancer, NIC and whatever might be between you
** and the rest of the world). By the way, don't forget to check your RAM.
**
** Jörgen
**
**




Re: Multiple Location

2001-06-06 Thread Jörgen Persson

On Wed, Jun 06, 2001 at 09:19:24PM +0800, Lye On Siong Johnny wrote:
 Hi,
 
 I can't really think of a good subject, so i just name it that way.
 
 I have the follow scenario. Assuming my office is separate into 10 
 different locations,
 with about 50 staff in each location. Is that anyway whereby I can 
 configure a mail server or
 something equivalent at each location such that the machine will know which 
 are the local user, and
 send it to the local machine, and if not, they will send it out. This is to 
 reduce the amount of out-going traffic


Yes it is possible and the FAQ[1] describes how to do it.

Jörgen

[1] http://cr.yp.to/qmail/faq.html



RE: pop server

2001-06-06 Thread Virginia Chism

How does vpopmail compare?

 -Original Message-
 From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 06, 2001 9:08 AM
 To: qmail list
 Subject: Re: pop server
 
 
 On Wed, Jun 06, 2001 at 10:43:55AM -0300, GARGIULO Eduardo INGDESI wrote:
  is there any pop server for qmail better than qpopper 4.0?
 
 qmail-pop3d, ofcourse.
 
 Greetz, Peter.
 



vpopmail authentication

2001-06-06 Thread Franco Vecchiato

I'm trying to use vpopmail with qmail on a Suse Linux PC, but I'm having a
problem in retrieving the emails with the POP client.

In vpopmail I created a new domain test.it, with a new user utente and
password testutente.  After setting the right stuff into my DNS server, I
sent an email to [EMAIL PROTECTED]  The email has been delivered correctly to
vpopmail/domain/test.it/utente/new directory and the logfile reports no
errors, but when I try to connect to the mailserver with a POP client
(outlook express) configured for this account, I get an authentication
failure error message from the server.



Re: Multiple Location

2001-06-06 Thread Mike Cathey

Adrian,
DISCLAIMER
I've only been playing with qmail for a few months and it's only
installed on one server, but here's what I would suggest.
/DISCLAIMER

Setup qmail/ldap at all of your pops.  Enable clustering (in qmail) and
have the local (remote POPs) mail servers replicate the core/primary
ldap server (see FAQ for OpenLDAP (slurpd i think).  You can then define
mailhost (I think that's the attribute name--somebody correct me if I'm
wrong) for each user in LDAP to the the mail server at their primary
POP.  This seems like the cleanest way to approach the problem.

You could then setup caching dns server as the remote POPs and use bind
9 views  (not very familiar with this) for each POP so that
mail.yourdomain.tld == local mail server.  This really isn't necessary,
but it would make life a little easier for your support people.

Anyone want to correct/critique this generalization?

Thanks,

Mike


Adrian Ho wrote:
 
 On Wed, 6 Jun 2001, Lye On Siong Johnny wrote:
 
  I have the follow scenario. Assuming my office is separate into 10
  different locations, with about 50 staff in each location. Is that
  anyway whereby I can configure a mail server or something equivalent
  at each location such that the machine will know which are the local
  user, and send it to the local machine, and if not, they will send it
  out. This is to reduce the amount of out-going traffic
 
 You can either have a central server that knows where everyone is, and the
 10 local servers simply relay non-local mail to it, or replicate that
 knowledge amongst the 10 local servers.  Either way:
 
 http://cr.yp.to/qmail/pictures/PIC.local2alias
 
 --
 Adrian Ho   [EMAIL PROTECTED]



RE: Local Delivery failure

2001-06-06 Thread Daniel Bakken

Thanks for all the good help. The problem was that there was no .qmail file
in the user's home directory, and that it needs to be chmod'ed to 644. I
also did a chmod -R 755 Maildir, and that did the trick. I sent two test
messages, one using IP's and the other using DNS. Both of them worked. This
is my first mail server, and this is really cool stuff!

-Original Message-
From: Daniel Bakken [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 8:38 AM
To: Qmail List
Subject: Local Delivery failure


I keep receiving the following error message in my log file when I send a
test message to the user [EMAIL PROTECTED] (my mail server)

@40003b1e30a20babb19c new msg 115977
@40003b1e30a20babc13c info msg 115977: bytes 2850 from  qp 11027 uid
507
@40003b1e30a20d805e14 starting delivery 5: msg 115977 to local
[EMAIL PROTECTED]
@40003b1e30a20d809c94 status: local 1/10 remote 0/20
@40003b1e30a20e6d0bec delivery 5: deferral:
dot-forward:_fatal:_unable_to_read_./Maildir/:_is_a_directory/
@40003b1e30a20e6d5624 status: local 0/10 remote 0/20


Below is my rc file.

#!/bin/sh

exec env - PATH=/var/qmail/bin:$PATH qmail-start '|dot-forward .forward
./Maildir/'


Any way you can make sense out of this mess? I am using maildir delivery as
you can see, which I assume should dump the mail into the subdir
/home/mailtest/Maildir/new (right?). From there pop3 should be able to
deliver to local MUA's like Outlook with no problems. What am I missing
here?


Sincerely,

Daniel Bakken, Systems Administrator
[EMAIL PROTECTED]

Encore Trading West | www.encoretrading.com

254.771.3508   phone
254.771.3786   fax




Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

 I have been searching the archives for this, but found nothing so
far.

 sendmail would send the sender a warning after 2 hours (actually, this
time was configurable) if it has been unable to send the message.  Can qmail
do this?  Currently, if our support staff sends a customer an email, they
may not find out for 5 days that the email never reached the customer for
whatever reason (badly typed email address, etc.).
 I have looked through the man pages and done several searches through
the archives to no avail.  The fact that I did not find a discussion of
why qmail does not do this (especially when someone posted a long list of
sendmail 'features' that qmail was missing, but did not list this one)
gives me hope that it is actually in there somewhere.  I also found nothing
on the web site or in the FAQ, so now I am tackling source code 8-(.

--
There is no parameter that makes it impossibleJack McKinney
 for you to perform still more excellently.   [EMAIL PROTECTED]
   -Mario Cuomo, on the lack of a clock in baseballhttp://www.lorentz.com
1024D/D68F2C07 4096g/38AEF076

 PGP signature


Install problem: local mail undelivered with unable to switch tohomedir error

2001-06-06 Thread Bob Hobbs

Hi,

I've probably missed something embarassingly obvious, but please be patient
as I've never used Qmail before.  Anyway, here is my tale:

I've just installed qmail 1.03 on a new linuxppc box (essentially RH linux
on mac hardware).  I've set up locals, rcpthosts and me; and I've created
some users and set them up for mail with qmail-pw2u and qmail-newu.

The problem:  Whenever I send mail to a user on the system (via manual
SMTP), it is queued but never delivered.  For each delivery attempt, the log
shows:

...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/

All the home directories have permissions 700 (drwx--).  However, even
if I give full permissions on the directory and mailbox, the problem does
not go away.

It also makes no difference whether I put a .qmail file in a user's home
dir.

Delivery to ~alias/Mailbox works fine, but that is the only location to
which mail is delivered.

If anyone can help with this, it would be much appreciated.  If so, please
cc the response to me, as I am not subscribed to this list.

Thanks!

Bob Hobbs




Re: [OT] qmail php

2001-06-06 Thread Gordon McDowall

I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

- Original Message -
From: Bill Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail  php


 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

 The only reference I could find in the php archives was to
 put sendmail_path=path to qmail-inject, but it didn't
 work.

 Has anyone had any luck using php with qmail?

 Please reply off-list as I realize this is really a php issue.
 The php mailing list is down per their web site, but I
 figure someone on this list is bound to be running php...

  (Sorry!)

 ./bill

 BTW: RH7, php4-apache





Re: AntiVirus

2001-06-06 Thread Mihai Serban

Hi,
RAV AntiVirus can help you:
http://www.ravantivirus.com

regards,
Mihai

GARGIULO Eduardo INGDESI wrote:
 
 Hi all.
 
 Where can I find information about antivirus for qmail
 (scan incomming and outgoing messages)?
 
 thanks
 
 --yapedu

-- 
Software Developer - GeCAD The Software Company
Tel./Fax: +40-1-321.78.03; Hotline: +40-1-321.78.59;
Please visit http://www.gecadsoftware.com; http://www.ravantivirus.com



RE: Using Qmail as an exchange server ??

2001-06-06 Thread schoon

It depends on which version of Exchange you are talking about I run
this exact same setup with Exchange 4.0 and qmail running outside the
firewall.  Exchange 4.0 does not support pop3, so there is a program
freely available called pullmail that can be run on the NT Exchange
server to pop email from qmail and shove it into Exchange SMTP This
setup isn't the best, but it's working pretty good right now... In the
mean time, I am planning on replacing Exchange with InsightServer from
Bynari. Looks to be a pretty good drop in replacement for Exchange that
runs on *NIX, and supports Outlook, as well as many other MUAs You
can find it here: http://www.bynari.com . I don't work for Bynari, I'm
just interested in their software. Good Luck!

.mark

--
From:  Scott Gifford[SMTP:[EMAIL PROTECTED]]
Sent:  Wednesday, June 06, 2001 7:30 AM
To:Tonino Greco
Cc:[EMAIL PROTECTED]
Subject:   Re: Using Qmail as an exchange server ??

Tonino Greco [EMAIL PROTECTED] writes:

[...]

 What the idea is - MS EXchange does not work that good :) - and we
 need to replace it - but the exchange server does a poll to another
 Primary server at a ISP.  This hold the mail spool - and when the
 exchange server dials in - gets the mail and the distributes it
 locallly .  Can this be done with qmail ???

  You could probably do this with a combination of qmail and
fetchmail.  Fetchmail is at

http://www.tuxedo.org/~esr/fetchmail/

-ScottG.







Re: vpopmail authentication

2001-06-06 Thread Erich Zigler

On Wed, Jun 06, 2001 at 05:24:38PM +0200, Franco Vecchiato wrote:

 In vpopmail I created a new domain test.it, with a new user utente and
 password testutente.  After setting the right stuff into my DNS server, I
 sent an email to [EMAIL PROTECTED]  The email has been delivered correctly to
 vpopmail/domain/test.it/utente/new directory and the logfile reports no
 errors, but when I try to connect to the mailserver with a POP client
 (outlook express) configured for this account, I get an authentication
 failure error message from the server.

What does the maillog say when you try to check your email?

-- 
Erich Zigler  

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.



Re: pop server

2001-06-06 Thread Charles Cazabon

Virginia Chism [EMAIL PROTECTED] wrote:
   is there any pop server for qmail better than qpopper 4.0?
 
  qmail-pop3d, ofcourse.

 How does vpopmail compare?

Not positive on this, but I belive vpopmail uses qmail-pop3d to provide POP3
access, just like vmailmgr does.  The only part that changes between a single
domain qmail-pop3d setup and a multiple virtual domains setup is the
checkpassword used to do authentication.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: pop server

2001-06-06 Thread GARGIULO Eduardo INGDESI

 
 qmail includes qmail-pop3d, which does everything I need it 
 to.  What is your
 criteria for better?
 

I said better in terms of performance.
I was using sendmail/qpopper from several years ago and last
month I switch to qmail and (thanks god ;-) it's working ok.
I'd read in the list several messages talking about pop servers
but nobody named qpopper, so I was asking for a good reason
to change qpopper.

do you think qmail-pop3d is a good choice?

PD: I'm not using Maildir
PD2: Sorry for my english!

--yapedu/xgnu



Re: Multiple Location

2001-06-06 Thread Henning Brauer

On Wed, Jun 06, 2001 at 11:26:06AM -0400, Mike Cathey wrote:
 Setup qmail/ldap at all of your pops.  Enable clustering (in qmail) and
 have the local (remote POPs) mail servers replicate the core/primary
 ldap server (see FAQ for OpenLDAP (slurpd i think).  You can then define
 mailhost (I think that's the attribute name--somebody correct me if I'm
 wrong) for each user in LDAP to the the mail server at their primary
 POP.  This seems like the cleanest way to approach the problem.

ACK.

 You could then setup caching dns server as the remote POPs and use bind
 9 views  (not very familiar with this) for each POP so that
 mail.yourdomain.tld == local mail server.  This really isn't necessary,
 but it would make life a little easier for your support people.

I'd use djbdns and its location codes...

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



mail.local problems

2001-06-06 Thread Michael Rubin

I am runnign FreeBSD 4.3. I just installed qmail and am loving
it. Everything is great except one problem.

I can get mail delivered using Maildirs. I can get mail delivered
using Mailboxes. I cannot get mail delivered to my /var/mail/user
directories.

I read the INSTALL.vsm document and know I need to use
/var/qmail/boot/binm1. But for some reason /usr/libexec/mail.local
fails to deliver mail.

The maillog complains about:

Jun  5 23:38:23 tanuki mail.local: lockmailbox /var/mail/mhr failed; error code 75
Jun  5 23:38:23 tanuki qmail: 991809503.505219 delivery 2: deferral: 
mail.local:_lockmailbox_/var/mail/mhr_failed;_error_code_75_/

Anyone know what error_code 75 is?

Or how I could find out for myself in the future?

Thanks in advance.

mhr






Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Charles Cazabon

Jack McKinney [EMAIL PROTECTED] wrote:
  I have been searching the archives for this, but found nothing so
 far.

See qmail.org.  The answer is there.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Sending a deferral warning back to the sender?

2001-06-06 Thread peter green

* Jack McKinney [EMAIL PROTECTED] [010606 13:54]:
  I have been searching the archives for this, but found nothing so
 far.

(Hint: try searching the archives on ``notify''.)

  sendmail would send the sender a warning after 2 hours (actually, this
 time was configurable) if it has been unable to send the message.  Can qmail
 do this?  Currently, if our support staff sends a customer an email, they
 may not find out for 5 days that the email never reached the customer for
 whatever reason (badly typed email address, etc.).

[http://untroubled.org/qmail-notify/]

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
All language designers are arrogant. Goes with the territory...
(By Larry Wall)




Re: Install problem: local mail undelivered with unable to switch tohomedir error

2001-06-06 Thread Sean C Truman

Bob,

Ok all the home directories are 700 bout what does the permissions on
the /home read?

Sean
- Original Message -
From: Bob Hobbs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 11:15 AM
Subject: Install problem: local mail undelivered with unable to switch
tohomedir error


 Hi,

 I've probably missed something embarassingly obvious, but please be
patient
 as I've never used Qmail before.  Anyway, here is my tale:

 I've just installed qmail 1.03 on a new linuxppc box (essentially RH linux
 on mac hardware).  I've set up locals, rcpthosts and me; and I've created
 some users and set them up for mail with qmail-pw2u and qmail-newu.

 The problem:  Whenever I send mail to a user on the system (via manual
 SMTP), it is queued but never delivered.  For each delivery attempt, the
log
 shows:

 ...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/

 All the home directories have permissions 700 (drwx--).  However, even
 if I give full permissions on the directory and mailbox, the problem does
 not go away.

 It also makes no difference whether I put a .qmail file in a user's home
 dir.

 Delivery to ~alias/Mailbox works fine, but that is the only location to
 which mail is delivered.

 If anyone can help with this, it would be much appreciated.  If so, please
 cc the response to me, as I am not subscribed to this list.

 Thanks!

 Bob Hobbs






RE: [OT] qmail php

2001-06-06 Thread Hank Wethington

Did you setup the symbolic link to the qmail-sendmail wrapper? qmail has a
sendmail wrapper so other programs will think sendmail is installed: (from
life with qmail)


ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin

or wherever your sendmail is supposed to reside, but these are common
defaults.

Should make php think sendmail is installed. It worked for me.

Hank

-Original Message-
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 8:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail  php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

- Original Message -
From: Bill Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail  php


 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

 The only reference I could find in the php archives was to
 put sendmail_path=path to qmail-inject, but it didn't
 work.

 Has anyone had any luck using php with qmail?

 Please reply off-list as I realize this is really a php issue.
 The php mailing list is down per their web site, but I
 figure someone on this list is bound to be running php...

  (Sorry!)

 ./bill

 BTW: RH7, php4-apache





Auto-responders

2001-06-06 Thread Gary MacKay

I'm more than willing to search out the answer, I just can't find the
archives. Where are the qmail archives kept? I would like to find a
simple email auto-responder. Something that doesn't require me to
install a ton of extra's. I only have one person that needs this
functionality.

- Gary



RE: [OT] qmail php

2001-06-06 Thread Michael Geier

you must install php pre-qmail.

PHP compiles with the sendmail executables and libraries.
so:
install os (w/sendmail)
install php
install qmail
follow the qmail faq for linking to qmail executables
change sendmail_path to /var/qmail/bin/qmail-inject in php.ini

This is how I did it and it works great on a machine with big.concurrency
patch and 400 remote processes.

-Original Message-
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 10:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail  php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

- Original Message -
From: Bill Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail  php


 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

 The only reference I could find in the php archives was to
 put sendmail_path=path to qmail-inject, but it didn't
 work.

 Has anyone had any luck using php with qmail?

 Please reply off-list as I realize this is really a php issue.
 The php mailing list is down per their web site, but I
 figure someone on this list is bound to be running php...

  (Sorry!)

 ./bill

 BTW: RH7, php4-apache





I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

I've got this in my queue:

5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED] 
remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
  done  remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]
remote  [EMAIL PROTECTED]

Neither mail.com nor mindless.com are my domains 

[root@austin-jump network-scripts]# more /etc/qmail/control/locals 
austin-jump.vircio.com
jump-austin.vircio.com
ns1.vircio.com
plywood.hayslumber.com
[root@austin-jump network-scripts]# more /etc/qmail/control/rcpthosts 
asistacorp.com
aus.ucrrealty.com
austin-jump.vircio.com
avails.com
beecavecontract.com
bonner-carrington.com
bonnercarrington.com
borderent.com
breakfastbuzz.com
coastaltechcorp.com
communityinvestment.com
cordesign.com
deepeddy.com
fontaine.org
hayslumber.com
hearthstonehealth.com
hillcountry.com
jcevans.com
jump-austin.vircio.com
mailhost.asistacorp.com
mailhost.aus.ucrrealty.com
mailhost.bonner-carrington.com
mailhost.bonnercarrington.com
mailhost.borderent.com
mailhost.breakfastbuzz.com
mailhost.communityinvestment.com
mailhost.cordesign.com
mailhost.deepeddy.com
mailhost.hayslumber.com
mailhost.parkbendhealth.com
mailhost.sagebrookhealth.com
mailhost.sat.ucrrealty.com
mailhost.smart-cycle.com
mailhost.stonebridgehealth.com
mailhost.tx.com
mailhost.ucr-sa.com
mailhost.vircio.com
mailhost.warrencordes.com
mailhost.yakuh.com
nevmg.com
ns1.vircio.com
nursinghomealliance.org
parkbendhealth.com
plywood.hayslumber.com
quannah.com
quannahracing.com
sagebrookhealth.com
sat.ucrrealty.com
scicomp.com
scicomp.net
scicomp.org
stonebridgehealth.com
thevanco.com
tx.com
ucr-aus.com
ucr-sa.com
usandp.com
vercio.com
vircio.com
vistaoaksal.com
vistaoakshealth.com
warrencordes.com
weaver.net
yakuh.com

my smtp.cdb contains:

10.:allow,RELAYCLIENT=
:allow

Looking at the guts of the message in the queue, I find:

[root@austin-jump network-scripts]# more /var/qmail/queue/*/*/48256|more
::
/var/qmail/queue/info/2/48256
::
[EMAIL PROTECTED]::
/var/qmail/queue/mess/2/48256
::
Received: (qmail 2993 invoked by uid 104); 5 Jun 2001 14:44:17 -
Received: from [EMAIL PROTECTED] by austin-jump.vircio.com with qmail-scanner-
0.90 (uvscan: v4.1.20/v4127. . Clean. Processed in 3.919065 secs); 05/06/2001 09
:44:13
Received: from pppa16-resaleeasternmab1-3r7830.dialinx.net (HELO oemcomputer???1
02.74.4.25???by?mtiwmhc08.worldnet.att.net??InterMail?v03.02.07.07?118-134??with
?SMTP?id??2116195506.ZOOK28505@oemcomputer??from?worldnet.att.net???12.77.19
4.15???by?mtiwmhc03.worldnet.att.netmindspring??user-3qt5hn.dialup.mindspring.co
m?99.174.150.55???by?smtp6.mindspring.com??8.9.3/8.8.5??with?SMTP?id?OAA06398??f
rom?110140321worldnet.att.net???102.70.21.32???by?mtiwmhc98.worldnet.att.net??In
terMail?v03.02.07.07?118-134??with?SMTP?id?20090116195452.ZOMX28505@110940321wor
ldnet.att.net?myrop??ew6.southwind.net??216.53.98.70???by?onyx.southwind.net?fro
m?homepage.com??114.230.197.216??by?newmail.spectraweb.ch?from?default??m202.2-2
5.warwick.net??218.242.202.80???byhost.warwick.net??8.10.0.Beta10/8.10.0.Beta10?
?with?SMTP?id?e9GKEKk19201mcpeely.concentric.net??mcfeely.concentric.net??217.15
.198.83??by?darius.concentric.net??8.9.1a/?98/12/15?5.12???id?PAA04003from?defau
lt??m202.2-25.warwick.net??218.242.202.80???byhost.warwick.net??8.10.0.Beta10/8.
10.0.Beta10??with?SMTP?id?e0GKEKk19201taffar??pool-209-138-205-92-dlls.grid.net?
?219.138.205.92???by?smtp7.atl.mindspring.net??ts029d25.nil-ny.concentric.net??2
16.173.24.181??) ([4.45.125.13]) (envelope-sender [EMAIL PROTECTED])
  by 216.30.106.234 (qmail-ldap-1.03) with SMTP
  for [EMAIL PROTECTED]; 5 Jun 2001 14:44:12 -
Message-ID: 43dd503b$74cb$57aa@oemcomputer ([102.74.4.25]) by mtiwm
hc08.worldnet.att.net (InterMail v03.02.07.07 118-134) with SMTP id 2116195
506.ZOOK28505@oemcomputer from worldnet.att.net ([12.77.194.15]) by mtiwmhc03.w
orldnet.att.netmindspring (user-3qt5hn.dialup.mindspring.com[99.174.150.55]) by 
smtp6.mindspring.com (8.9.3/8.8.5) with SMTP id OAA06398  from 110140321worldnet
.att.net ([102.70.21.32]) by mtiwmhc98.worldnet.att.net (InterMail v03.02.07.07 
118-134) with SMTP id[EMAIL PROTECTED]myrop (
ew6.southwind.net [216.53.98.70]) by onyx.southwind.net from homepage.com (114.2
30.197.216) by newmail.spectraweb.ch from default (m202.2-25.warwick.net [218.24
2.202.80]) byhost.warwick.net (8.10.0.Beta10/8.10.0.Beta10) with SMTP id e9GKEKk
19201mcpeely.concentric.net (mcfeely.concentric.net [217.15.198.83])by darius.co
ncentric.net (8.9.1a/(98/12/15 5.12)) id PAA04003from default (m202.2-25.warwick
.net [218.242.202.80]) byhost.warwick.net 

Re: Install problem: local mail undelivered with unable to switch to homedir error

2001-06-06 Thread Charles Cazabon

Bob Hobbs [EMAIL PROTECTED] wrote:
 
 The problem:  Whenever I send mail to a user on the system (via manual
 SMTP), it is queued but never delivered.  For each delivery attempt, the log
 shows:
 
 ...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/
 
 All the home directories have permissions 700 (drwx--).  However, even
 if I give full permissions on the directory and mailbox, the problem does
 not go away.

qmail switches UIDs to the user account before trying to deliver to it.
Therefore, if the message is for local user bob, qmail (well, qmail-local
actually) becomes user bob before trying the delivery.

This message means that user bob was denied access to /home/bob (if you didn't
change anything to obscure info -- a nono, by the way).  What is the output of
the following command:

  ls -ld / /home /home/bob

?

 It also makes no difference whether I put a .qmail file in a user's home
 dir.

It won't, becuase qmail isn't getting that far before it fails.

 If anyone can help with this, it would be much appreciated.  If so, please
 cc the response to me, as I am not subscribed to this list.

You really should subscribe to the list if you want help from the list.  I
generally send the reply only to the list, but I'll make an exception this
time.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: pop server

2001-06-06 Thread Charles Cazabon

GARGIULO Eduardo INGDESI [EMAIL PROTECTED] wrote:

 I was using sendmail/qpopper from several years ago and last month I switch
 to qmail and (thanks god ;-) it's working ok.  I'd read in the list several
 messages talking about pop servers but nobody named qpopper, so I was
 asking for a good reason to change qpopper.
 
 do you think qmail-pop3d is a good choice?

For me, yes.  For you, no -- qmail-pop3d supports _only_ Maildir.

 PD2: Sorry for my english!

Your English is fine, except I think you mean P.S. instead of PD.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: softdnserror problem

2001-06-06 Thread Joel Uckelman

Quoth Peter van Dijk:
 On Wed, Jun 06, 2001 at 02:05:54AM -0500, Joel Uckelman wrote:
 [snip]
  But I still get the softdnserror header when sending mail from charybdis to
  
  scylla, and I know this wasn't happening yesterday.
  
  Any ideas about what's going on here? I'm stumped.
 
 My wildest guess is that the resolver listed in /etc/resolv.conf is
 broken.
 
 Greetz, Peter.

[Sorry, Peter, I'd meant to send this to the list, not just you.] 

Hmmm. That seems weird, since the only nameserver I have listed is mine, 
and it appears to be working. If it is broken, it must be something rather 
subtle, since I've had no trouble doing all sorts of DNS-heavy things like 
web surfing, and the few hundred messages my mail server handles daily all 
seem to be getting through.

Furthermore, the IP that shows up in the header when it's working is a 
local IP---192.168.254.101---which it should find in /etc/hosts without 
needing to resort to DNS. The lookup order in /etc/host.conf has hosts 
before dns, so it should be looking there first.

Does this give anyone an idea about what, specifically, is broken w/r/t the 
resolver?

-- 
J.





Qmail-Inject syntax

2001-06-06 Thread Matt Simonsen

I would like to send a message from an account named admin, but with the
name CareerCast in the sender field instead of just
[EMAIL PROTECTED] It is possible that my terminology here is
slightly off, but I hope what I want to do is somewhat clear.

I read in the man page that I could set the variables QMAILNAME and
QMAILUSER as below, but it doesn't seem to be working when I send test
messages to myself. They still say [EMAIL PROTECTED] Any tips?
Thanks!

Matt


Here's my command sequence--

[admin@email admin]$ QMAILUSER=CareerCast
[admin@email admin]$ QMAILNAME=CareerCast
[admin@email admin]$ echo test | mail [EMAIL PROTECTED]
[admin@email admin]$ echo test | /var/qmail/bin/qmail-inject
[EMAIL PROTECTED]




RE: [OT] qmail php

2001-06-06 Thread Jeremy Suo-Anttila

I have a machine with apache_mod_ssl+php4+mod_jk and the MTA is qmail and i
have yet to have any problems using php scripts on it. I am using a FreeBSD
4.1.1 Box and for the sendmail mailwrapper i used this

If the system undergoes a 'make world', its going to replace the sendmail
link to /var/qmail/bin/sendmail, qmail and break the package. Dj-vapor
kindly pointed out that linking to the qmail's sendmail binary
at/var/qmail/bin/sendmail is a not the best solution, there's an even more
fun way of doing it. He suggests using mailwrapper to link to qmail's
sendmail binary. First we'll link the old sendmail binary to mailwrapper.
Lastly, we'll edit /etc/mail/mailer.conf and replace the old sendmail binary
locations with qmail's sendmail binary.


# ln -s /usr/sbin/sendmail /usr/sbin/mailwrapper

# pico -w /etc/mail/mailer.conf

Replace the following lines:

   sendmail /usr/libexec/sendmail/sendmail
   send-mail /usr/libexec/sendmail/sendmail
   mailq /usr/libexec/sendmail/sendmail
   newaliases /usr/libexec/sendmail/sendmail

With:

   sendmail /var/qmail/bin/sendmail
   # send-mail /var/qmail/bin/sendmail -bp
   # mailq /var/qmail/bin/sendmail
   # newaliases /var/qmail/bin/newaliases

If you want more information on mailwrapper, then type the line below on
your FreeBSD machine.:

# man mailwrapper

If you don't want to use mailwrapper, then you can simply link the old
sendmail binary to qmail's sendmail binary using one of the methods below

Good Luck

Jps





-Original Message-
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 10:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail  php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

- Original Message -
From: Bill Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail  php


 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

 The only reference I could find in the php archives was to
 put sendmail_path=path to qmail-inject, but it didn't
 work.

 Has anyone had any luck using php with qmail?

 Please reply off-list as I realize this is really a php issue.
 The php mailing list is down per their web site, but I
 figure someone on this list is bound to be running php...

  (Sorry!)

 ./bill

 BTW: RH7, php4-apache






qmail-inject error

2001-06-06 Thread Brian Moon

I ocassionally (once a week) am getting:

qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)

I found this list of possible problems:

-out of disk space

 3.1G free.

-out of inodes

I don't see how.  There are 56800 files in 1365 dirs on that partition.
That partition is ReiserFS.

-permissions on the queue directories are wrong
-ownership of the queue directories are wrong

Those are fine.  Like I said it is only once in week of sending  1
emails.  Seems like I would see a more cronic problem if this were true.


I can tell you that this does happen while we are doing a large mailing of
individual messages (not spam) to our readers.  It is not a newsletter, but
unique information for each user so we are issuing say 700-1600 mail()
commands from PHP over a period of time.  For those not familiar with PHP,
this would be one call to the sendmail alias in qmail for each call to
mail().  Perhaps I need to change PHP to use qmail-inject directly?

I do know from the logs that no more than 20-30 messages are ever in the
queue at a time.  concurrencyremote is 120 and is never approached by this
mailing.

Anyone have any ideas?

Brian Moon
--
dealnews.com, Inc.
Makers of dealnews  dealmac
http://dealnews.com/ | http://dealmac.com/





Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Wed, 06 Jun 2001 13:44:56 -0500

For the record, I've added that envelope to my badmailfrom and deleted a bunch 
of stuff by hand, but I'd still like to know how they managed to use me as a 
relay.  My configuration hasn't changed. 

It also seems to me that this list is running very slow right now.  Is it 
possible that some spammer found an exploit and is also hitting 
muncher.math.uic.edu in the same way I was being hit?

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: [OT] qmail php

2001-06-06 Thread Balazs Nagy

On Wed, Jun 06 2001, Bill Andersen [EMAIL PROTECTED] wrote:

 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

'ts not just a PHP issue but a sendmail-compatibility issue either. It's
safe to link /var/qmail/bin/sendmail to /var/lib/sendmail and
/usr/sbin/sendmail (other crack-brained place could be /etc/sendmail) which
helps sendmail-aware software (like php and mailx) to run.
---jul



RE: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-06 Thread Joshua Nichols


 like volume wise

 what is the space for /
 what is the space for /boot
 what is the space for /home
 what is the space for /usr
 what is the space for /var
 what is the space for /swap
 what is the space for /tmp

 thanks for the help in advance

If you use Red Hat, it will try to set up appropriate server partitions
for you, but it will fail:

/usr will be WAY too big
/home will probably be too big
/var will be WAY too small to accommodate any serious volume of qmail
traffic

I can say this with some confidence, because my server (using the 'standard'
partition sizes) has quite a bit of software installed on /usr, and is 90%
free, but after one week of qmail use, /var filled up (from both queue and
logs).



--joshua.




RE: Install problem: local mail undelivered with unable to switch tohomedir error

2001-06-06 Thread Willy De la Court

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

And what is the ownership of those dirs

Willy De la Court
Quint NS NV

On Wednesday, June 06, 2001 20:17, Sean C Truman 
[SMTP:[EMAIL PROTECTED]] wrote:
 Bob,
 
 Ok all the home directories are 700 bout what does the permissions on
 the /home read?
 
 Sean
 - Original Message -
 From: Bob Hobbs [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 06, 2001 11:15 AM
 Subject: Install problem: local mail undelivered with unable to switch
 tohomedir error
 
 
  Hi,
 
  I've probably missed something embarassingly obvious, but please be
 patient
  as I've never used Qmail before.  Anyway, here is my tale:
 
  I've just installed qmail 1.03 on a new linuxppc box (essentially RH linux
  on mac hardware).  I've set up locals, rcpthosts and me; and I've created
  some users and set them up for mail with qmail-pw2u and qmail-newu.
 
  The problem:  Whenever I send mail to a user on the system (via manual
  SMTP), it is queued but never delivered.  For each delivery attempt, the
 log
  shows:
 
  ...deferral:Unable_to_switch_to_/home/bob:_access_denied._(#4.3.0)/
 
  All the home directories have permissions 700 (drwx--).  However, even
  if I give full permissions on the directory and mailbox, the problem does
  not go away.
 
  It also makes no difference whether I put a .qmail file in a user's home
  dir.
 
  Delivery to ~alias/Mailbox works fine, but that is the only location to
  which mail is delivered.
 
  If anyone can help with this, it would be much appreciated.  If so, please
  cc the response to me, as I am not subscribed to this list.
 
  Thanks!
 
  Bob Hobbs
 
 
-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOx6Hj/4IaGw3x6aJEQIU4ACeJrhC1RqpzQhysn0y0fRyao5P46sAniZy
+alufCnFBV/CvRTrzOfUzucz
=cDrZ
-END PGP SIGNATURE-




Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that Charles Cazabon wrote:
 Jack McKinney [EMAIL PROTECTED] wrote:
   I have been searching the archives for this, but found nothing so
  far.
 
 See qmail.org.  The answer is there.

As I indicated, I did search there.  I found nothing.  Could you be
more specific?


 PGP signature


Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that peter green wrote:
 * Jack McKinney [EMAIL PROTECTED] [010606 13:54]:
   I have been searching the archives for this, but found nothing so
  far.
 
 (Hint: try searching the archives on ``notify''.)
 
 [http://untroubled.org/qmail-notify/]
 
Thank you.  I'll check this out.

 PGP signature


ANNOUNCE: qmail now works with the diet libc

2001-06-06 Thread Felix von Leitner

I recently did a few updates to my diet libc
(http://www.fefe.de/dietlibc/) and it can now compile and link qmail.
Since the diet libc can also compile and link openssl, the STARTTLS
patch also works.

What's the difference, you ask?  This ps listing is on a box with qmail
dynamically linked against the glibc:

USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
qmaill   29527  0.0  0.1  1228   224  ?  S N Mar 12   0:16 splogger qmail 
qmailq   29543  0.0  0.0  1208   104  ?  S N Mar 12   0:03 qmail-clean 
qmailr   29529  0.0  0.1  1216   176  ?  S N Mar 12   0:00 qmail-rspawn 
qmails   29521  0.0  0.1  1260   172  ?  S N Mar 12   0:22 qmail-send 
root 29528  0.0  0.0  121680  ?  S N Mar 12   0:08 qmail-lspawn ./Maildir/ 


And this ps listing is from my home box, statically linked against the
diet libc:

USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND
qmails 103  0.0  0.064   56 ?S18:55   0:00 qmail-send
qmaill 109  0.0  0.044   20 ?S18:55   0:00 splogger qmail
root   110  0.0  0.036   24 ?S18:55   0:00 qmail-lspawn ./Maildir/
qmailr 111  0.0  0.036   24 ?S18:55   0:00 qmail-rspawn
qmailq 112  0.0  0.024   16 ?S18:55   0:00 qmail-clean
root 11747  1.0  0.056   40 ?S22:46   0:00 
/usr/local/bin/tcpserver -u qmaild -g nofiles 0 smtp /var/qmail/b


Please note the drastically reduced memory requirements.  As you can
see, the process are running for many days on the first box, so unused
memory is already swapped out.  Not so on the second box.


Why is this significant?  Because it allows a much larger concurrency on
the same hardware.  More POP3 users, more concurrent local and remote
deliveries, more incoming SMTP connections.


How to reproduce.

  1. get the current diet libc from CVS, compile and install the diet
 wrapper program in your $PATH.
  2. get qmail, extract and possibly apply your favourite patches.
  3. set up conf-cc and conf-ld
   $ echo diet gcc -pipe -Os -fomit-frame-pointer  conf-cc
   $ echo diet gcc -static -s  conf-ld
  4. make and make setup qmail as usual.

That's it.  Good luck!

Felix



Re: Auto-responders

2001-06-06 Thread Charles Cazabon

Gary MacKay [EMAIL PROTECTED] wrote:
 I'm more than willing to search out the answer, I just can't find the
 archives. Where are the qmail archives kept?

There are pointers to the archives at qmail.org and in Life with qmail
(lifewithqmail.org).

 I would like to find a simple email auto-responder. Something that doesn't
 require me to install a ton of extra's. I only have one person that needs
 this functionality.

I recommend Bruce Guenter's implementation.  His software is all available at
untroubled.org .

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: softdnserror problem

2001-06-06 Thread Chris Garrigues

 From:  Joel Uckelman [EMAIL PROTECTED]
 Date:  Wed, 06 Jun 2001 14:15:11 -0500

 Furthermore, the IP that shows up in the header when it's working is a 
 local IP---192.168.254.101---which it should find in /etc/hosts without 
 needing to resort to DNS. The lookup order in /etc/host.conf has hosts 
 before dns, so it should be looking there first.

Red Herring.  qmail (and most MTAs, I believe) only use the DNS and never look 
in /etc/hosts.

Is it possible that this is your issue?  Try checking things out with dig or 
nslookup.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Charles Cazabon

Chris Garrigues [EMAIL PROTECTED] wrote:
 I've got this in my queue:
 
 5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED] 
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
 
 Neither mail.com nor mindless.com are my domains 

Okay so far.

 [root@austin-jump network-scripts]# more /etc/qmail/control/rcpthosts 

[no mindless.com]

 my smtp.cdb contains:
 
 10.:allow,RELAYCLIENT=
 :allow


 Looking at the guts of the message in the queue, I find:
[...] 
 Received: (qmail 2993 invoked by uid 104); 5 Jun 2001 14:44:17 -
 Received: from [EMAIL PROTECTED] by austin-jump.vircio.com with
 qmail-scanner- 0.90 (uvscan: v4.1.20/v4127. . Clean. Processed in 3.919065
 secs); 05/06/2001 09 :44:13
 Received: from pppa16-resaleeasternmab1-3r7830.dialinx.net (HELO
 oemcomputer???1
 02.74.4.25???by?mtiwmhc08.worldnet.att.net??InterMail?v03.02.07.07?118-134??with
 ?SMTP?id??2116195506.ZOOK28505@oemcomputer??from?worldnet.att.net???12.77.19
 4.15???by?mtiwmhc03.worldnet.att.netmindspring??user-3qt5hn.dialup.mindspring.co
 m?99.174.150.55???by?smtp6.mindspring.com??8.9.3/8.8.5??with?SMTP?id?OAA06398??f
 rom?110140321worldnet.att.net???102.70.21.32???by?mtiwmhc98.worldnet.att.net??In
 terMail?v03.02.07.07?118-134??with?SMTP?id?20090116195452.ZOMX28505@110940321wor
[...]

That's a lot of garbage.  It's either the world's worst attempt at forging
Received: headers, or perhaps qmail-scanner is broken in this instance?  Any
other rewriting going on?


 so it appears that the message arrived from 
 pppa16-resaleeasternmab1-3r7830.dialinx.net at 4.45.125.13.

I didn't get that far in the headers; there appeared to be a lot more garbage,
so I'm not sure I agree with you.

 I don't know why this wasn't rejected by tcpcontrol.

You aren't rejecting anything with tcpserver; you're accepting all
connections.  How it got relayed is another matter.

To trace this, you need to find the qmail qid in this message, then go through
your qmail-send logs to find out where this message originated and how.  Based
on the timestamp you find there for new msg ..., look in your qmail-smtpd
logs.  That will tell you exactly where the message originated.

Perhaps you have a CGI script which sends mail, and contains a security hole?
Or something else is letting people into your 10. address space?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Qmail-Inject syntax

2001-06-06 Thread Charles Cazabon

Matt Simonsen [EMAIL PROTECTED] wrote:
 
 [admin@email admin]$ QMAILUSER=CareerCast
 [admin@email admin]$ QMAILNAME=CareerCast
 [admin@email admin]$ echo test | mail [EMAIL PROTECTED]
 [admin@email admin]$ echo test | /var/qmail/bin/qmail-inject
 [EMAIL PROTECTED]

Export those variables so they're visiable in the child's (qmail-inject)
environment.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: [OT] qmail php

2001-06-06 Thread Bill Andersen

OK, I hate to go back on list with this, but since I got about
30 replies, it's easier to go back to the list then to reply to each
of you.  THANKS for all the replies though.

Almost all the replies were did you set up links to qmail's sendmail
wrapper... Yes!  I've had qmail running for 6 months without any
problems.  Followed LWQ to the letter and have since re-verified the
links are in place...

[bill@mail bill]$ cd /usr/lib
[bill@mail lib]$ ls -l sendmail
lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
/var/qmail/b
in/sendmail
[bill@mail lib]$ cd /usr/sbin
[bill@mail sbin]$ ls -l sendmail
lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
/var/qmail/b
in/sendmail

I even did the following:

1) Stopped qmail and removed the symlinks
2) Installed sendmail (from RPM)
3) Did a complete install (./configure blah blah, make, make install) for
   both PHP and Apache (per their instructions)
4) Uninstalled sendmail using RPM
5) Re-create the symlinks to qmail's sendmail
6) Restarted qmail (actually restared the machine, qmail's working)

STILL, get the error: mail() is not supported in the PHP build

The only thing I haven't tried is the suggestion from Michael Geier below.
Nothing personal Michael, but Hell, I don't want to have to start from
scratch... surely I don't need to re-install Linux!

Anybody else?

Bill

(OK, back to off list mode!)

-Original Message-
From: Michael Geier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 1:47 PM
To: Gordon McDowall; Bill Andersen; [EMAIL PROTECTED]
Subject: RE: [OT] qmail  php


you must install php pre-qmail.

PHP compiles with the sendmail executables and libraries.
so:
   install os (w/sendmail)
   install php
   install qmail
   follow the qmail faq for linking to qmail executables
   change sendmail_path to /var/qmail/bin/qmail-inject in php.ini

This is how I did it and it works great on a machine with big.concurrency
patch and 400 remote processes.





Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Kourosh Ghassemieh


Actually, it looks like they tried to send to those users but
you don't have them and they bounced.  If they forged the
sender then the bounce can't go through and you'll eventually
get a double bounce to postmaster.  That's happened to me
a couple of times.  Check the logs to see what they say.
According to your tcp.smtp.cdb file you're not an open relay.

Regards.

At 01:44 PM 6/6/2001 -0500, you wrote:
I've got this in my queue:

5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
   done  remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]
 remote  [EMAIL PROTECTED]

Neither mail.com nor mindless.com are my domains
snipped

-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business





RE: [OT] qmail php

2001-06-06 Thread Bill Andersen

Jeremy,

  I got this two or three times, so I don't know if the list
  sent it more than once, or whether you just thought you hadn't
  sent it and decided to send it again.

  In any event, I'm not ignoring your reply, just thinking it
  through.  I'm not using FreeBSD, so I've got to find time to
  look into mailwrapper (if it's even available on RH Linux).
  I'm not at my Linux machine right now...

  Don't worry, I did get it... :)  Thanks.

Bill


-Original Message-
From: Jeremy Suo-Anttila [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 2:49 PM
To: Gordon McDowall; Bill Andersen; [EMAIL PROTECTED]
Subject: RE: [OT] qmail  php


I have a machine with apache_mod_ssl+php4+mod_jk and the MTA is qmail and i
have yet to have any problems using php scripts on it. I am using a FreeBSD
4.1.1 Box and for the sendmail mailwrapper i used this

If the system undergoes a 'make world', its going to replace the sendmail
link to /var/qmail/bin/sendmail, qmail and break the package. Dj-vapor
kindly pointed out that linking to the qmail's sendmail binary
at/var/qmail/bin/sendmail is a not the best solution, there's an even more
fun way of doing it. He suggests using mailwrapper to link to qmail's
sendmail binary. First we'll link the old sendmail binary to mailwrapper.
Lastly, we'll edit /etc/mail/mailer.conf and replace the old sendmail binary
locations with qmail's sendmail binary.


# ln -s /usr/sbin/sendmail /usr/sbin/mailwrapper

# pico -w /etc/mail/mailer.conf

Replace the following lines:

   sendmail /usr/libexec/sendmail/sendmail
   send-mail /usr/libexec/sendmail/sendmail
   mailq /usr/libexec/sendmail/sendmail
   newaliases /usr/libexec/sendmail/sendmail

With:

   sendmail /var/qmail/bin/sendmail
   # send-mail /var/qmail/bin/sendmail -bp
   # mailq /var/qmail/bin/sendmail
   # newaliases /var/qmail/bin/newaliases

If you want more information on mailwrapper, then type the line below on
your FreeBSD machine.:

# man mailwrapper

If you don't want to use mailwrapper, then you can simply link the old
sendmail binary to qmail's sendmail binary using one of the methods below

Good Luck

Jps





-Original Message-
From: Gordon McDowall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 10:50 AM
To: Bill Andersen; [EMAIL PROTECTED]
Subject: Re: [OT] qmail  php


I have a machine with php and qmail on it, but I can't remember which I
installed first ;o(
I will put a php form script on if you like to test it

- Original Message -
From: Bill Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:28 PM
Subject: [OT] qmail  php


 When I installed qmail, I obviously removed sendmail.  Now
 when I build php(4) and try to use the the mail() function,
 I get mail() not supported in this PHP build because
 sendmail was not found during the configure (I assume).

 The only reference I could find in the php archives was to
 put sendmail_path=path to qmail-inject, but it didn't
 work.

 Has anyone had any luck using php with qmail?

 Please reply off-list as I realize this is really a php issue.
 The php mailing list is down per their web site, but I
 figure someone on this list is bound to be running php...

  (Sorry!)

 ./bill

 BTW: RH7, php4-apache







Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

 From:  Kourosh Ghassemieh [EMAIL PROTECTED]
 Date:  Wed, 06 Jun 2001 14:36:59 -0700

 
 Actually, it looks like they tried to send to those users but
 you don't have them and they bounced.  If they forged the
 sender then the bounce can't go through and you'll eventually
 get a double bounce to postmaster.  That's happened to me
 a couple of times.  Check the logs to see what they say.
 According to your tcp.smtp.cdb file you're not an open relay.

But my point is that mindless.com isn't even my domain.  The ones that say 
'done' were relayed and shouldn't have been.  The attempt to send to 
mindless.com should have been rejected by tcpserver because it's not in my 
control/locals.

Chris

 At 01:44 PM 6/6/2001 -0500, you wrote:
 I've got this in my queue:
 
 5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
 
 Neither mail.com nor mindless.com are my domains
 snipped

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Wed, 06 Jun 2001 16:40:03 -0500

  From:  Kourosh Ghassemieh [EMAIL PROTECTED]
  Date:  Wed, 06 Jun 2001 14:36:59 -0700
 
  
  Actually, it looks like they tried to send to those users but
  you don't have them and they bounced.  If they forged the
  sender then the bounce can't go through and you'll eventually
  get a double bounce to postmaster.  That's happened to me
  a couple of times.  Check the logs to see what they say.
  According to your tcp.smtp.cdb file you're not an open relay.
 
 But my point is that mindless.com isn't even my domain.  The ones that say 
 'done' were relayed and shouldn't have been.  The attempt to send to 
 mindless.com should have been rejected by tcpserver because it's not in my 
^
I meant 'qmail-smtpd'.

 control/locals.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: qmail-inject error

2001-06-06 Thread Charles Cazabon

Brian Moon [EMAIL PROTECTED] wrote:
 I ocassionally (once a week) am getting:
 
 qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)
 
 I found this list of possible problems:
 
 -out of disk space
 
  3.1G free.

Likely not disk space then.

 -out of inodes
 
 I don't see how.  There are 56800 files in 1365 dirs on that partition.

`df -i` should tell you if you're running out of inodes.

 That partition is ReiserFS.

Ah -- perhaps the culprit.  qmail requires a small patch to run on ReiserFS
(it's buried somewhere on Hans' site; I found it through Google at one point,
although I haven't used it).  qmail does not work correctly on ReiserFS (or,
more accurately, ReiserFS doesn't work correctly enough to run a qmail queue
on it) without this patch.  Isn't there a mention of this on qmail.org?

 -permissions on the queue directories are wrong
 -ownership of the queue directories are wrong

This would be an always thing, instead of an occasional thing.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that peter green wrote:
 
 [http://untroubled.org/qmail-notify/]

OK.  I installed this and am running it from a cron job, with an
expiration of 15 minutes.  It seems to work fine.  I note two things,
though.  Firstly, it appears that there might be a race condition in
the time checking/saving code that could cause a message to slip through
the cracks and not generate a notification.  Secondly, there is only one
notification timestamp file to record when the last run is.  It would be
nice to be able to specify it on the command line, that way I can run
multiple versions in order to generate, for example, a 15m warning, a 4h
warning, and a 3d warning.
Before I get too far into proving a race condition and writing around
this, has this issue come up before?


 PGP signature


Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Charles Cazabon

Chris Garrigues [EMAIL PROTECTED] wrote:
 
 For the record, I've added that envelope to my badmailfrom and deleted a
 bunch of stuff by hand, but I'd still like to know how they managed to use
 me as a relay.

You still haven't shown the log entries that would prove this is what
happened.  I asked for those in my last message.

 My configuration hasn't changed. 

If you were used as a relay, then your configuration was broken to begin with,
but nobody was exploiting it.  Don't take this as an insult; it's just a fact.

 It also seems to me that this list is running very slow right now.  Is it 
 possible that some spammer found an exploit and is also hitting 
 muncher.math.uic.edu in the same way I was being hit?

No.  UIC (where list.cr.yp.to is located) is running out of network bandwidth
during peak times, and the various lists there get bitten as a result.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-06 Thread Kirti S. Bajwa

Your question is more geared toward disk partitions than qmail. There are
several books available which may help you. Send me a private email if you
need some anmes. However, here is some answers:

If you install qmail, /home directory is mainly you concern because that's
where email are store. You can make a quick calculation by number of users
to megabyte per user. For example if you have 1000 users and each user is
estimated to be allocated 6 MB of disk space, then /home directory should
be at least 6GB (1000 X 6MB). 

As far as http goes, again it all depends how many web sites you are going
to service and what is the estimated allocation for each site. For example
if you are going to service 1000 web sites and each is allocated 10MB then
you need 10GB for web sites ( 1000 X 10MB ). Please remember another thing,
there is no /http directory. Web pages are stored in directories as defind
in your apache.conf file. I normally create a /www directory to store
web pages, however you may decide to use andother name. 

I am not an expert, but I use the following setting:

/ 2-3GB - I have different books tell differently
/boot 32MB
/home at least (Number of users) X (space per user) 
/usr  3GB - You need enough room to install lots of software if you so
desire
/var  1-2GB - You want enough room for log files  make sure this
directory has its own mounts or your system will hand if the log files use
up all the space
/swap twice the size of RAM. Lots of discussion about it.. 
/tmp  I normally do not create any partion for this directory but use
/usr

I waited to answer this posting because this is really not a qmail issue and
I did not want to affend anybody. I also thought of sending a private
message but then changed my mind because I am not an expert (by background
is 30 years in large IBM systems) in LINUX and somebody else might correct
me or add their own expertize.


Kirti 

-Original Message-
From: Tom Beer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 11:07 AM
To: hari_bhr; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: better methods to install qmail on linux ( Redhat 6.2 or
7.0)


The best way is to start reading
lwq. take a look at www.qmail.org where's a
link. I don't understand what you mean
with  httpd applications , but I'm sure I'm not
a guru...

Tom

- Original Message -
From: hari_bhr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 6:59 PM
Subject: better methods to install qmail on linux ( Redhat 6.2 or 7.0)


 hi all

 i have quick question for the all the gurus of linux and qmail experts.
 iam newnie for qmail and cpopmail
 i would like to know what is the best installation linux for only mail and
 http applications.

 like volume wise

 what is the space for /
 what is the space for /boot
 what is the space for /home
 what is the space for /usr
 what is the space for /var
 what is the space for /swap
 what is the space for /tmp

 thanks for the help in advance






 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com







Re: SSL

2001-06-06 Thread David Means

Yes, you can use 'stunnel'.  http://www.stunnel.org.

Works like a champ for me.

Enjoy,

David


 SeanW wrote:
 
 Can qmail handle passing pop password via SSL ?
 
 
 Sean Weissensee




Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Kourosh Ghassemieh


Well, what do the logs say?

It's possible that a spammer sent mail to random addresses
in one of your hosted domains and had them listed in the BCC:
field.  The return address being forged as to be from mindless.com.
Since the users in your domain are non-existent the messages
are trying to bounce to the sender, which is refusing some of them
as being non-existent as well.   You'll see them double-bounce
once they time out.  I'm not that experienced at reading headers
so I'm not 100% certain but sounds logical.

Again, what do the logs say?  They can help quite a bit in diagnosing
problems.  You should be able to find when they came in and from
where and why they are being refused, if they are.

What do the logs say?

At 04:40 PM 6/6/2001 -0500, you wrote:
  From:  Kourosh Ghassemieh [EMAIL PROTECTED]
  Date:  Wed, 06 Jun 2001 14:36:59 -0700
 
 
  Actually, it looks like they tried to send to those users but
  you don't have them and they bounced.  If they forged the
  sender then the bounce can't go through and you'll eventually
  get a double bounce to postmaster.  That's happened to me
  a couple of times.  Check the logs to see what they say.
  According to your tcp.smtp.cdb file you're not an open relay.

But my point is that mindless.com isn't even my domain.  The ones that say
'done' were relayed and shouldn't have been.  The attempt to send to
mindless.com should have been rejected by tcpserver because it's not in my
control/locals.

Chris

  At 01:44 PM 6/6/2001 -0500, you wrote:
  I've got this in my queue:
  
  5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
 done  remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
   remote  [EMAIL PROTECTED]
  
  Neither mail.com nor mindless.com are my domains
  snipped

--
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C
Austin, TX  78751-3709  +1 512 374 0500

   My email address is an experiment in SPAM elimination.  For an
   explanation of what we're doing, see http://www.DeepEddy.Com/tms.html

 Nobody ever got fired for buying Microsoft,
   but they could get fired for relying on Microsoft.



-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business





Re: Install problem: local mail undelivered with unable toswitch to homedir error

2001-06-06 Thread Bob Hobbs

Thanks to everyone who replied so quickly!

The permissions on /home were indeed the problem-- it was owned by root and
had the search/execute bits for 'group' and 'other' turned off.

Fixing this seems to have completely solved the problem.

Thanks again!

-Bob




Re: pop server

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 02:17:33PM -0300, GARGIULO Eduardo INGDESI wrote:
[snip]
 PD: I'm not using Maildir

You should!

Greetz, Peter.



Re: softdnserror problem

2001-06-06 Thread Peter van Dijk

On Wed, Jun 06, 2001 at 04:15:49PM -0500, Chris Garrigues wrote:
  From:  Joel Uckelman [EMAIL PROTECTED]
  Date:  Wed, 06 Jun 2001 14:15:11 -0500
 
  Furthermore, the IP that shows up in the header when it's working is a 
  local IP---192.168.254.101---which it should find in /etc/hosts without 
  needing to resort to DNS. The lookup order in /etc/host.conf has hosts 
  before dns, so it should be looking there first.
 
 Red Herring.  qmail (and most MTAs, I believe) only use the DNS and never look 
 in /etc/hosts.

Is this true for tcpserver?

Greetz, Peter.



Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

 From:  Kourosh Ghassemieh [EMAIL PROTECTED]
 Date:  Wed, 06 Jun 2001 15:30:15 -0700

 
 Well, what do the logs say?
 
 It's possible that a spammer sent mail to random addresses
 in one of your hosted domains and had them listed in the BCC:
 field.  The return address being forged as to be from mindless.com.
 Since the users in your domain are non-existent the messages
 are trying to bounce to the sender, which is refusing some of them
 as being non-existent as well.   You'll see them double-bounce
 once they time out.  I'm not that experienced at reading headers
 so I'm not 100% certain but sounds logical.

When an email message is composed, addresses are extracted from the To, CC, 
and BCC headers and placed in the envelope.  They are never again consulted.  
The envelope addresses determine where the message gets sent.  When qmail gets 
a message, it looks at the envelope and puts the contents in queue/remote 
and/or queue/local.  The contents of those files are what is displayed by 
qmail-qread, so we know that the envelope contained a bunch of mindless.com 
addresses and did not include any addresses from my domains.

 Again, what do the logs say?  They can help quite a bit in diagnosing
 problems.  You should be able to find when they came in and from
 where and why they are being refused, if they are.
 
 What do the logs say?

They're being refused because some of the addreseses were bogus and the real 
mail server for mindless.com rejected them.

Actually, I lost the logs because before I discovered this problem, I blew 
them away due to their having filled my file system to 100%.  In hind sight, I 
realize this is almost certainly because I was relaying spam at the time.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: I think I'm being relayed through, but I don't know how.

2001-06-06 Thread Chris Garrigues

 From:  Charles Cazabon [EMAIL PROTECTED]
 Date:  Wed, 6 Jun 2001 15:19:21 -0600

 Chris Garrigues [EMAIL PROTECTED] wrote:
  I've got this in my queue:
  
  5 Jun 2001 14:44:17 GMT  #48256  5651  [EMAIL PROTECTED] 
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
done  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
  remote  [EMAIL PROTECTED]
  
  Neither mail.com nor mindless.com are my domains 
 
 Okay so far.
 
  [root@austin-jump network-scripts]# more /etc/qmail/control/rcpthosts 
 
 [no mindless.com]
 
  my smtp.cdb contains:
  
  10.:allow,RELAYCLIENT=
  :allow
 
 
  Looking at the guts of the message in the queue, I find:
 [...] 
  Received: (qmail 2993 invoked by uid 104); 5 Jun 2001 14:44:17 -
  Received: from [EMAIL PROTECTED] by austin-jump.vircio.com with
  qmail-scanner- 0.90 (uvscan: v4.1.20/v4127. . Clean. Processed in 3.91906
 5
  secs); 05/06/2001 09 :44:13
  Received: from pppa16-resaleeasternmab1-3r7830.dialinx.net (HELO
  oemcomputer???1
  02.74.4.25???by?mtiwmhc08.worldnet.att.net??InterMail?v03.02.07.07?118-13
 4??with
  ?SMTP?id??2116195506.ZOOK28505@oemcomputer??from?worldnet.att.net???1
 2.77.19
  4.15???by?mtiwmhc03.worldnet.att.netmindspring??user-3qt5hn.dialup.mindsp
 ring.co
  m?99.174.150.55???by?smtp6.mindspring.com??8.9.3/8.8.5??with?SMTP?id?OAA0
 6398??f
  rom?110140321worldnet.att.net???102.70.21.32???by?mtiwmhc98.worldnet.att.
 net??In
  terMail?v03.02.07.07?118-134??with?SMTP?id?20090116195452.ZOMX28505@11094
 0321wor
 [...]
 
 That's a lot of garbage.  It's either the world's worst attempt at forging
 Received: headers, or perhaps qmail-scanner is broken in this instance?  Any
 other rewriting going on?

No.

  so it appears that the message arrived from 
  pppa16-resaleeasternmab1-3r7830.dialinx.net at 4.45.125.13.
 
 I didn't get that far in the headers; there appeared to be a lot more garbage,
 so I'm not sure I agree with you.

If you look at the line with all the garbage, and remove the stuff in the 
first parenthesis, you get:

Received: from pppa16-resaleeasternmab1-3r7830.dialinx.net () ([4.45.125.13]) 
(envelope-sender [EMAIL PROTECTED])
  by 216.30.106.234 (qmail-ldap-1.03) with SMTP
  for [EMAIL PROTECTED]; 5 Jun 2001 14:44:12 -

which was written by qmail.  I did a reverse lookup of 
pppa16-resaleeasternmab1-3r7830.dialinx.net myself getting 4.45.125.13 just 
like qmail.

  I don't know why this wasn't rejected by tcpcontrol.
 
 You aren't rejecting anything with tcpserver; you're accepting all
 connections.  How it got relayed is another matter.

Er, yeah.  I meant qmail-smtpd.

 To trace this, you need to find the qmail qid in this message, then go through
 your qmail-send logs to find out where this message originated and how.  Based
 on the timestamp you find there for new msg ..., look in your qmail-smtpd
 logs.  That will tell you exactly where the message originated.

Unfortunately, I blew away my qmail log recently because it filled my /var to 
100%.  :-(  

In hindsight I think this happened because I was relaying SPAM.

 Perhaps you have a CGI script which sends mail, and contains a security hole?

Not on this box.

 Or something else is letting people into your 10. address space?

Maybe.


-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: [OT] qmail php

2001-06-06 Thread Joel Uckelman

Quoth Bill Andersen:
 OK, I hate to go back on list with this, but since I got about
 30 replies, it's easier to go back to the list then to reply to each
 of you.  THANKS for all the replies though.
 
 Almost all the replies were did you set up links to qmail's sendmail
 wrapper... Yes!  I've had qmail running for 6 months without any
 problems.  Followed LWQ to the letter and have since re-verified the
 links are in place...
 
 [bill@mail bill]$ cd /usr/lib
 [bill@mail lib]$ ls -l sendmail
 lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
 /var/qmail/b
 in/sendmail
 [bill@mail lib]$ cd /usr/sbin
 [bill@mail sbin]$ ls -l sendmail
 lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
 /var/qmail/b
 in/sendmail
 
 I even did the following:
 
 1) Stopped qmail and removed the symlinks
 2) Installed sendmail (from RPM)
 3) Did a complete install (./configure blah blah, make, make install) for
both PHP and Apache (per their instructions)
 4) Uninstalled sendmail using RPM
 5) Re-create the symlinks to qmail's sendmail
 6) Restarted qmail (actually restared the machine, qmail's working)
 
 STILL, get the error: mail() is not supported in the PHP build
 
 The only thing I haven't tried is the suggestion from Michael Geier below.
 Nothing personal Michael, but Hell, I don't want to have to start from
 scratch... surely I don't need to re-install Linux!
 
 Anybody else?
 
 Bill
 
 (OK, back to off list mode!)

Hi, I've been using a PHP build from the source RPM on my box for a while 
without any problems, though admittedly I haven't been doing anything that 
would use the mail() function, so I might actually have the same problem 
you do, I just don't know.

Of course, my telling you that helps you not at all, so here's my 
suggestion:

(1) Test to see if the mail() function works with sendmail installed. I 
know that involves some work, but maybe it's just broken in the version of 
PHP you have.

(2) If you've done (1) and found that mail() works, leave sendmail 
installed, but just delete all of the sendmail binaries (so nothing can be 
run) and put the symlinks back, etc. That way, all of the sendmail 
libraries are still there and hopefully PHP will stop complaining.

Admittedly, this is an ugly solution, but it *might* work if you can't fix 
it any other way.

-- 
J.





Re: softdnserror problem

2001-06-06 Thread Joel Uckelman

Quoth Chris Garrigues:
 --==_Exmh_841381948P
 Content-Type: text/plain; charset=us-ascii
 
  From:  Joel Uckelman [EMAIL PROTECTED]
  Date:  Wed, 06 Jun 2001 14:15:11 -0500
 
  Furthermore, the IP that shows up in the header when it's working is a 
  local IP---192.168.254.101---which it should find in /etc/hosts without 
  needing to resort to DNS. The lookup order in /etc/host.conf has hosts 
  before dns, so it should be looking there first.
 
 Red Herring.  qmail (and most MTAs, I believe) only use the DNS and never loo
 k 
 in /etc/hosts.
 
 Is it possible that this is your issue?  Try checking things out with dig or 
 nslookup.
 
 Chris

That's good to know; I'm glad it's now documented (heh!) on the net. I'd 
be  willing to bet having this list archived on the web answers 90% of 
people's questions, actually. (I know I find answers to most of mine that 
way!)

Anyhow, what you and Mr. van Dijk mentioned suggested to me how I might fix 
the problem. I spent a few minutes reading the manual for BIND 9 (which I 
switched to from 8 last week), and discovered a rather neat feature called 
view. I set up two different views, one for my local network and my 
static IPs, and one for the rest of the world, and then put a zone file for 
254.168.192.in-addr.arpa in the former but not the latter. That way, qmail 
can resolve my local IPs to real domain names, and anything else that does 
reverse lookups on my domain names will get my world-recognized static IPs. 
Problem sovled.

What still perplexes me is why qmail sometimes gave me the softdnserror 
header and other times gave me one with a local IP address when using my 
old DNS configuraiton. Based on what I know now, I don't see why I ever got 
anything but softdnserror headers, actually! Of course, I don't *need* an 
explanation for this now, but I'm still curious. Chalk another one up to 
the vagaries of networking, I guess. Thanks, guys. :)

-- 
J.





backup server

2001-06-06 Thread David Ryan

G'day all,
I have looked through the archives for info about setting up a
secondary mail server. I have followed the steps in the replies I found
but I am confused about one point. I have tcpserver running on the
secondary and it accepts mail coming into it. I can see the message in
the queue. What I don't get is how it sends that message to the primary
server once the primary comes back up?

I figure it has to be qmail-send but am not sure how/where to start this
on the secondary. What have I missed?

Many thanks, Dave.



Re: [OT] qmail php

2001-06-06 Thread cfm

On Wed, Jun 06, 2001 at 06:43:03PM -0500, Joel Uckelman wrote:
 Quoth Bill Andersen:
  OK, I hate to go back on list with this, but since I got about
  30 replies, it's easier to go back to the list then to reply to each
  of you.  THANKS for all the replies though.
  
  Almost all the replies were did you set up links to qmail's sendmail
  wrapper... Yes!  I've had qmail running for 6 months without any
  problems.  Followed LWQ to the letter and have since re-verified the
  links are in place...
...
  
  1) Stopped qmail and removed the symlinks
  2) Installed sendmail (from RPM)
  3) Did a complete install (./configure blah blah, make, make install) for
 both PHP and Apache (per their instructions)
  4) Uninstalled sendmail using RPM
  5) Re-create the symlinks to qmail's sendmail
  6) Restarted qmail (actually restared the machine, qmail's working)
  
  STILL, get the error: mail() is not supported in the PHP build
  
  The only thing I haven't tried is the suggestion from Michael Geier below.
  Nothing personal Michael, but Hell, I don't want to have to start from
  scratch... surely I don't need to re-install Linux!
  
  Anybody else?

Yeah, look at the source.  yeesh.


-- 

Christopher F. Miller, Publisher [EMAIL PROTECTED]
MaineStreet Communications, Inc 208 Portland Road, Gray, ME  04039
1.207.657.5078   http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux



  1   2   >