Re: QSBMF -

2001-01-30 Thread Scott Gifford

Scott Gifford [EMAIL PROTECTED] writes:

[ a bunch of stuff about changing qmail's default bounce message]

 We made a change like this nearly a year ago, and have had zero
 issues.

  I got a question off-list about how to make this change, from a
person whose email is at usa.net.  Since usa.net has, from all
accounts, a completely insane policy of blocking mail servers, I
cannot respond directly, so I'll send the response here.  It might be
of general interest anyways.

  Pretty much the whole trick is to go into qmail-send.c, around line
708 (search for "Hi"), and just change the message that is output.  As
with any source change, you'll want to test it first, and make sure
the message is reasonably formatted, has all important information,
and the proper headers and envelope.

-ScottG.



qmail Digest 30 Jan 2001 11:00:01 -0000 Issue 1260

2001-01-30 Thread qmail-digest-help


qmail Digest 30 Jan 2001 11:00:01 - Issue 1260

Topics (messages 56230 through 56333):

Re: DotFiles
56230 by: Webmaster

which operation system us the best use of qmail
56231 by: hari_bhr
56232 by: Robin S. Socha
56233 by: Brett Randall
56249 by: Peter van Dijk
56259 by: Dave Sill

rblsmtpd patch
56234 by: Robert Sander

Re: Secure IMAP server
56235 by: Greg Owen
56250 by: Peter van Dijk
56258 by: Andy Bradford
56276 by: Greg Owen
56298 by: Robin S. Socha
56306 by: Sam Trenholme

doubts about re-compile
56236 by: J.J.Gallardo
56243 by: Jose AP Celestino
56247 by: Alex Kramarov
56248 by: Jose AP Celestino
56251 by: Peter van Dijk
56252 by: J.J.Gallardo

Hi
56237 by: Gonçalo Gomes
56238 by: Greg Owen
56239 by: Brett Randall
56241 by: Greg Owen
56242 by: Jose AP Celestino
56244 by: Richard Zimmerman
56246 by: Robin S. Socha
56299 by: Brett Randall

Re: rblsmtpd
56240 by: Mate Wierdl
56254 by: Martin Randall

appliing Bruce Guenter's patch
56245 by: Michel Boucey

Delivery notification
56253 by: suporte
56256 by: Peter van Dijk
56257 by: Alex Pennace
56260 by: LocaWeb

Re: 2 problems with QMAIL
56255 by: Dave Sill

Re: qmail problem
56261 by: Dave Sill
56263 by: NDSoftware
56264 by: Dave Sill
56265 by: Peter van Dijk
56269 by: Markus Stumpf
56272 by: NDSoftware

Re: is there a filter to scan message header and reject accordingly
56262 by: Dave Sill
56275 by: Wolfgang Zeikat

Moving qmail servers
56266 by: Steve Woolley
56267 by: Alex Kramarov
56271 by: Markus Stumpf
56279 by: Steve Woolley
56283 by: Mark Delany

Sorry about the size of my prevous e-mail (I have beem flamed on this before).
56268 by: Alex Kramarov
56270 by: Alex Pennace
56273 by: Alex Kramarov
56277 by: Markus Stumpf
56278 by: Vince Vielhaber
56280 by: Peter Woods
56281 by: Peter Woods
56285 by: Alex Kramarov
56291 by: Aaron L. Meehan
56293 by: Andy Bradford
56297 by: Matt Bailey

filter
56274 by: Pablo Martin De Natale
56330 by: Sam Trenholme

Re: SOMEONE GET ME OFF THIS LIST
56282 by: Henry Ong
56286 by: Vince Vielhaber
56289 by: Martin Randall
56307 by: Medi Montaseri
56310 by: Wolfgang Zeikat
56318 by: David Young

Re: Why so few qmail-remote processes
56284 by: Paul Jarc

test ignore please
56287 by: bogus.chaossolutions.net

QSBMF -
56288 by: Chris McDaniel
56290 by: Dave Sill
56292 by: Scott Gifford
56294 by: Mark Delany
56301 by: Peter van Dijk
56303 by: Dan Egli
56304 by: Peter van Dijk
56312 by: Michael T. Babcock
56315 by: Michael T. Babcock
56331 by: Sam Trenholme
56333 by: Scott Gifford

Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 o r 127.0.0.1)
56295 by: Paul Jarc
56296 by: Greg White
56302 by: Peter van Dijk
56320 by: Scott Gifford

too much headers [was: Re: Moving qmail servers]
56300 by: Peter van Dijk

unsubscribe ??
56305 by: kevin.oceania.net
56319 by: Peter Cavender
56328 by: Sam Trenholme

translating or remapping domains to another domain?
56308 by: Lincoln Yeoh
56309 by: Brett Randall
56313 by: Chris Johnson
56314 by: Lincoln Yeoh
56316 by: Brett Randall
56317 by: Lincoln Yeoh

qmail or postfix for high volume mailing list?
56311 by: Philip Mak
56326 by: Sam Trenholme

Max message size on aliases
56321 by: Raymond Orchison

redirecting to ezmlm
56322 by: Uri Guttman

relay-ctrl-age problem
56323 by: Boz Crowther
56324 by: Boz Crowther

Re: Error: #4.4.2 - connected but connection died
56325 by: Sam Trenholme

Attachment stripping
56327 by: usenet-qmail.ipsware.com

qmail queue problems .. help
56329 by: José Carreiro

Urgent Help
56332 by: Qmail User

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--




 I am not sure what you are asking.

 ~username/.qmail is the file that determines how to process mail sent to
 [EMAIL PROTECTED] (where yourmachine.example.org is your
 machine, e.g. globalred.com).  ~username/.qmail-foo is the file the
 determines how to process mail sent to
 [EMAIL PROTECTED]


how to delete messages from the queue?

2001-01-30 Thread Peter Peltonen


Browsing through the FAQ and "Life with Qmail" I didn't see the answer for
this question (problem) I have:

I used to run qmail with one local domain fivetec.com.

I switched to using vmailmgr and made the fivetec.com domain a virtual one. 

My switch from real domains to virtual domains was quite painful and I didn't
get everything working right away. 

In the process there seem to be messages left in the queue, that are accepted
for local delivery for domain fivetec.com:


[root@mail config]# qmail-qread
26 Jan 2001 09:01:43 GMT  #1975510  534  [EMAIL PROTECTED] 
  done  local   [EMAIL PROTECTED]
local   [EMAIL PROTECTED]


As fivetec.com is no longer local qmail can't deliver the message. 

How do I delete the message from the queue? Or how do I deliver it to the
virtual domain?


Regards,
Peter



Re: SOMEONE GET ME OFF THIS LIST

2001-01-30 Thread Henning Brauer

On Mon, Jan 29, 2001 at 12:40:39PM -0800, Henry Ong wrote:
 haha. i sent email to [EMAIL PROTECTED] a few times 
 but i'm still getting mail messages from the list server

Then just use the correct envelope sender and don't forget to answer the
following mail.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Re: Re: Sorry about the size of my prevous e-mail (I have beem flamed on this before).

2001-01-30 Thread Henning Brauer

Your "great new multimedia MUA" is totally broken. To advise only the three
things annoying me most (apart from the html nonsense):
-missing reference headers
-multiple "Re:"'s
-lines not wrapped

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: qmail queue problems .. help

2001-01-30 Thread Charles Cazabon

Jos Carreiro [EMAIL PROTECTED] wrote:
 
 i'm wondering if exists some binaries or scripts to cleanup/fix
 the qmail queue

Read www.qmail.org.  There's several links there that do precisely this.

 i'm also receiving messages from foreign hosts about outgoing messages 
 bouncing from my server ...

You'll need to be more descriptive for us to help you with this.  Try actually
posting the messages you're receiving, for a start.  You should also tell us
the hostname of your mailserver, as many common problems can be diagnosed
with a simple DNS query and possibly telnetting to your SMTP port.

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



qstat

2001-01-30 Thread Jacques Frip' WERNERT

Hello,

is there any way to know how many messages in the queue are in "retry" mode
(ie an attempt has already been made)

Thanx in advance

Frip'




Re: Secure IMAP server

2001-01-30 Thread Felix von Leitner

Thus spake Andy Bradford ([EMAIL PROTECTED]):
 While courier-imap isn't coded in the same style that DJB uses, I do
 believe that it has been built with security in mind.

That is not sufficient.
Windows is also built with security in mind, according to Microsoft.

I have not done a code audit of Courier.

That said, I use the imapd myself.
While I would not trust it as much as an imapd from djb, it seems to be
the best alternative.  Please note that IMAP is a large and complicated
protocol.  It is difficult to make it right because of the complexity.
If you just want to retrieve email, use pop-3.

Felix



Re: qmail queue problems .. help

2001-01-30 Thread Joel Gautschi

i'm wondering if exists some binaries or scripts to cleanup/fix
the qmail queue
( /opt/qmail/queue/mess
  /remote
  /info
  /bounce)

Have a look at:
http://www.faqts.com/knowledge_base/view.phtml/aid/1217/fid/206 :
--
How can I delete a lot of spam mail from the qmail queue?
May 9th, 2000 06:35

Howard Jones, Nathan Wallace
Magnus Bodin





Take a look at qmhandle:

http://www.io.com/~mick/soft/qmhandle.html

Don't forget to stop qmail before you mess around in the queue.



An alternative that I've used successfully is to
1) Stop qmail, qmail-smtpd and anything else that might try to deliver
messages - leave qmail-pop3d, then at least users can get their
existing mail.
2) Delete the offending messages from the /var/qmail/queue/mess
directories with something like:
find /var/qmail/queue/mess -type f -exec grep "^Subject: Want a
University Diploma" {} \; -print -exec rm {} \;
3) run queue-fix to clean up the appropriate related files in todo,
intd etc.
4) restart qmail.

qmhandle requires individual message numbers to delete messages. When
you have 100,000 messages, this is impractical! queue-fix is written by
Eric Huss, and is available at
http://www.netmeridian.com/e-huss/queue-fix.tar.gz

It's also worth knowing that the find command will still potentially
take hours to delete all that junk - be prepared for some phonecalls!
--

cya
Joel





Relay and mail lists.

2001-01-30 Thread Paco Martinez



Estimated gurus.

First of all, excuses owing to my bad level english 
!!!.

I have two machines, one NT and another one with 
Red Hat 6.2 and Qmail.

IP address NT is 192.168.1.3 and IP address Linux 
is 192.168.1.10.

192.168.1.10 -Linux- sends mail with no problem 
using qmail.
192.168.1.3 -NT sends mail using 192.168.1.3 like 
SMTP server.

From 192.168.1.3 -NT- I can use "telnet 
192.168.1.10 25" and send mail with no problem.
Even from 192.168.1.3 -NT- and Outlook Express I 
can use SMTP 192.168.1.10 -Linux-.
From any other IP I can't send mail because I only 
allow send mail to "127.0.0.1" and "192.168.1.3".

Suddenly, the problemm is that I can't send a mail 
users lists from 192.168.1.3 -NT- using like SMTP server 192.168.1.3, 
indeed
The program I use worked on with sendmail but no 
with qmail.

This program is complied is C++ using SMTP.h 
library and when I execute SMTP.Connect from NT is there an error 
!!!


The "From: " mails is [EMAIL PROTECTED] and in 
/var/qmail/control directory, "defaultdomain" file has "examples.com", "locals" 
file has "machine.examples.com", "me" file has 
"machine.examples.com","plusdomain" file has "examples.com", "rcpthosts" 
file has "examples.com", "/etc/tcp.smtp" has "127.:allow,RELAYCLIENT="" 
192.168.1.3:allow,RELAYCLIENT="""

Is there any file that I have forgotten 
???
How can I allow 192.168.1.3 sends mail to mail 
users lists ???

Thank you very much !!!



Re: vhost user

2001-01-30 Thread Charles Cazabon

Emilis Trinskis [EMAIL PROTECTED] wrote:
 Question about qmail vhosts:
 
 I have a two domains: example1.com and example2.com
 And i have a user: john
 Now when i getting emails to  [EMAIL PROTECTED]  and [EMAIL PROTECTED]
 those emails goes to user john.
 I need todo: if email goes to [EMAIL PROTECTED] - it's ok
  if email goes to [EMAIL PROTECTED] - no such user

Make one or both domains virtual.  Virtual domains should be listed only
in "virtualdomains" and "rcpthosts", and _not_ in "locals".  If both
domains are virtual, make sure they are handled by different local users.

Read "Life with qmail" and djb's qmail FAQ for more details.  Also the 
man page for qmail-send.

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: Relay and mail lists.

2001-01-30 Thread Charles Cazabon

Paco Martinez [EMAIL PROTECTED] wrote:
 
 Suddenly, the problemm is that I can't send a mail users lists from
 192.168.1.3 -NT- using like SMTP server 192.168.1.3, indeed The program I use
 worked on with sendmail but no with qmail.
 
 This program is complied is C++ using SMTP.h library and when I execute
 SMTP.Connect from NT is there an error !!!
 
What error?  You haven't given us enough information to be sure about the
problem.  Post the _exact_ error message you get here, plus relevant log
entries from the qmail server.

As a wild guess, if it worked with sendmail but doesn't with qmail, it might
be that your program is sending bare linefeeds.  That's illegal, and qmail
rejects the message.

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: doubts about re-compile

2001-01-30 Thread J.J.Gallardo

Jose AP Celestino escribi:

 Yeah, right Alex.

 make
 = stop qmail =
 cp qmail-pop3d /var/qmail/bin
 chown root:qmail /var/qmail/bin/qmail-pop3d
 = start qmail =

Done. All succesfully. Thanks to Jose and Alex Kramarov (also Peter van Dijk)




pop3d logs

2001-01-30 Thread Miles Scruggs

When I have the pop3d initialized via  inetd.conf  with:

pop3stream  tcp nowait  root/var/qmail/bin/qmail-popup
qmail-popup post.3abn.org /bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir

Where is the logging taking place?  I would like to use syslog only for the
reason that I like the timestamps.  My problem is that I can't authenticate
via vmailmgrd  which is running and I have authenticated with oMail web
admin and added users etc.  Is there any way to track down why I can't login
either to pop3d or imap?  Both are installed right and worked before I moved
to vmailmgr.

Miles Scruggs




Re: Qmail and GFS

2001-01-30 Thread Paul Jarc

Charles Cazabon [EMAIL PROTECTED] writes:
 So for safety, you either have to mount the filesystem with synchonous
 metadata (as I said above),

But AIUI, you can't mount the filesystem so that *only* metadata is
synchronous.  The sync option makes *all* operations synchronous, so
performance suffers.  Do I have that right?


paul



Re: Secure IMAP server

2001-01-30 Thread Andy Bradford

On Tue, 30 Jan 2001 15:32:13 +0100, Felix von Leitner wrote:

 That is not sufficient.

That was my point.  Not having seen a security audit, nor looked at the 
code myself, there is not solid claim to security.

 That said, I use the imapd myself.

We use it here as well on production systems.

 While I would not trust it as much as an imapd from djb, it seems to be
 the best alternative.  Please note that IMAP is a large and complicated
 protocol.  It is difficult to make it right because of the complexity.

My point exactly.  Since there is no other alternative at this time 
then it wins out by default.  Compared to the rest of the imapd that 
exist courier-imap works best with the our current needs.

Andy




Re: is there a filter to scan message header and reject accordingly

2001-01-30 Thread Paul Jarc

Wolfgang Zeikat [EMAIL PROTECTED] writes:
 In the previous episode (29.01.2001), Dave Sill [EMAIL PROTECTED]
 said:
 #!/bin/bash
 #~/filter
 cat  /tmp/to$RECIPIENT.txt
 if [ "$(grep 'Subject: whatever' /tmp/to$RECIPIENT.txt)" = "Subject: whatever" ]
 then
 cat "/tmp/to$RECIPIENT.txt" | qmail-inject devnul
 else
 cat "/tmp/to$RECIPIENT.txt" | qmail-inject $USER-real
 fi
 rm -f /tmp/to$RECIPIENT.txt
 
 
 
 /var/qmail/alias/.qmail-devnul will delete every mail sent to devnul
 
 Why not just not re-inject it?
 
 i wasnt sure if i could use that "if" construction directly in a .qmail
 file (can that be done?),

Yes, but only the entire shell script is all on one line (with
commands separated by semicolons instead of newlines).  I'd rewrite
the whole thing into a .qmail file like this:
|exec  /dev/null 21; 822field subject | grep 'whatever'  exit 99; exit 0
|forward other-address

Also note that the original request was for scanning outgoing mail as
well.  .qmail files can't help there.


paul



Re: Qmail and GFS

2001-01-30 Thread Charles Cazabon

Paul Jarc [EMAIL PROTECTED] wrote:
  So for safety, you either have to mount the filesystem with synchonous
  metadata (as I said above),
 
 But AIUI, you can't mount the filesystem so that *only* metadata is
 synchronous.  The sync option makes *all* operations synchronous, so
 performance suffers.  Do I have that right?

Quite possibly.  It's not a concern for me, as I use Bruce Guenter's SRPM,
which includes an object file shim that automatically syncs the directory when
you sync a file.  Thanks to Bruce for pointing out that it is not technically
a "patch". 

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



Memphis RSS service will be cancelled

2001-01-30 Thread Mate Wierdl

Yusuf just told me that one has to pay for zone transfers of the RSS
zone.  This means, I have to cancel the RSS RBL service of
relays.msci.memphis.edu as of tomorrow, noon, US Central.

It would be great if Dan would write an official version of rblsmtpd
that supports A records.

Does anybody have any other suggestion (like an available replacement
of the RSS list I could exercise my rbldns on)?

BTWY, they have about 300 subscribers to the service; that is at least
$700 each nameserver/year = $420,000/year.  But you need to add $50
per 1000 users... Based on the listed participant ISPs, it looks like
more than a  million/year goes to support needy antispammers.

Mate



Re: Memphis RSS service will be cancelled

2001-01-30 Thread Jamin A. Brown

Mate,

There is a patch for rblsmtpd that allows it to block using A records (as
opposed to TXT records). We've applied it in order to use mail-abuse.org's
RSS list.

I would point you directly to it, but I can't seem to get to www.qmail.org
at the moment.

Jamin

On Tue, 30 Jan 2001, Mate Wierdl wrote:

 Yusuf just told me that one has to pay for zone transfers of the RSS
 zone.  This means, I have to cancel the RSS RBL service of
 relays.msci.memphis.edu as of tomorrow, noon, US Central.

 It would be great if Dan would write an official version of rblsmtpd
 that supports A records.

 Does anybody have any other suggestion (like an available replacement
 of the RSS list I could exercise my rbldns on)?

 BTWY, they have about 300 subscribers to the service; that is at least
 $700 each nameserver/year = $420,000/year.  But you need to add $50
 per 1000 users... Based on the listed participant ISPs, it looks like
 more than a  million/year goes to support needy antispammers.

 Mate



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




Re: Memphis RSS service will be cancelled

2001-01-30 Thread Mate Wierdl

On Tue, Jan 30, 2001 at 02:24:37PM -0500, Jamin A. Brown wrote:
 Mate,
 
 There is a patch for rblsmtpd that allows it to block using A records (as
 opposed to TXT records). We've applied it in order to use mail-abuse.org's
 RSS list.

Thx,  I know about the patch---but I am hoping for an official
rblsmtpd, since now there is no workaround.

Mate



Warning Message

2001-01-30 Thread Antonio Ferri Charbone

Hi,

I need to know whay mean the following message:

980850635.808667 warning: trouble opening local/9/41501; will try again
later


Thanks and regards.


begin:vcard 
n:Ferri Charbone;Antonio
x-mozilla-html:TRUE
org:Telcel Celular C.A.;Gerencia de Operaciones
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemas
x-mozilla-cpt:;-19088
fn:Antonio Ferri Charbone
end:vcard



Re: Warning Message

2001-01-30 Thread Charles Cazabon

Antonio Ferri Charbone [EMAIL PROTECTED] wrote:
 
 I need to know whay mean the following message:
 
 980850635.808667 warning: trouble opening local/9/41501; will try again
 later

Possibly your queue is corrupted.  Did you modify or remove any files from
under the /var/qmail/queue hierarchy?

Look at www.qmail.org for a link to a program called "queue-fix".  Using that
program may be easier than trying to manually repair a corrupted queue.

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 or postfix for high volume mailing list?

2001-01-30 Thread Robin S. Socha

* Sam Trenholme [EMAIL PROTECTED] writes:
 Philip Mak writes:

 Can someone tell me: Should I use qmail or postfix to run this
 discussion list?

 Oh boy, since this is cross-posted to both the qmail and to the
 Postfix list, this could become a holy war.

Since noone's mentioned s*ndm**l yet, this seems avoidable.

 I myself have never used Postfix, but have used Qmail.  

I've used both and would not mind using one over the other, but...

 My general sense:

 * Qmail apprently has slightly better performance for mailing list
   stuff, Postfix has slightly more performance for indivudal
   mailboxes.

ezmlm(-idx) is the best MLM, full stop. All other MLMs pale in
comparison. That's one hell of a good argument if you're looking into an
MTA for mailing lists. ezmlm/qmail running under tcpserver under a
softupdate'd *BSD... well... And since this is x-mailed to the postfix
list, where not everyone might be familiar with this document:

,
| Mailing list management is one of qmail's strengths. Notable features:
| 
| * qmail lets each user handle his own mailing lists. The delivery
| instructions for user-whatever go into ~user/.qmail-whatever.
| 
| * qmail makes it really easy to set up mailing list owners. If the user
| touches ~user/.qmail-whatever-owner, all bounces will come back to him.
| 
| * qmail supports VERPs, which permit completely reliable automated
| bounce handling for mailing lists of any size.
| 
| * SPEED---qmail blasts through mailing lists an order of magnitude
| faster than sendmail. For example, one message was successfully
| delivered to 150 hosts around the world in just 70 seconds, with qmail's
| out-of-the-box configuration.
| 
| * qmail automatically prevents mailing list loops, even across hosts.
| 
| * qmail allows inconceivably gigantic mailing lists. No random limits.
| 
| * qmail handles aliasing and forwarding with the same simple mechanism.
| For example, Postmaster is controlled by ~alias/.qmail-postmaster. This
| means that cross-host loop detection also applies to aliases.
| 
| * qmail supports the ezmlm mailing list manager, which easily and
| automatically handles bounces, subscription requests, and archives.
`

I run a few mailing lists (4 of them would definitly count as "high
volume") and where MajorDomo and MailMan were hitting really bad on the
CPU with Sendmail, ezmlm-idx and qmail are hardly noticeable. On a
reasonably fast machine.

 * Postfix is more open-source than Qmail

Arguable.

 * Postfix is easier to configure than Qmail

Highly arguable.

 * Qmail is more flexible than Postfix

Unfortunately, also arguable.

 You will be happy with whatever choice you make.

I'd say that heavily depends on the MLM chosen.

 And oh, I would up your RAM to 128 megs.

... per slot. As per usual.
-- 
Robin S. Socha http://socha.net/



Re: pop3d logs

2001-01-30 Thread Robin S. Socha

* Miles Scruggs [EMAIL PROTECTED] writes:

 When I have the pop3d initialized via inetd.conf with: 

 pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup \
 post.3abn.org  /bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir

 Where is the logging taking place?  

Nowhere? Have you tried using tcpserver instead of inetd (which, like
syslog) is inherently evil?

 I would like to use syslog only for the reason that I like the
 timestamps.  

man tain64nlocal

 My problem is that I can't authenticate via vmailmgrd which is running
 and I have authenticated with oMail web admin and added users etc.

,
| (robin@radioactive):(~)$ cat /service/pop3/run
| #!/bin/sh
| export PATH
| PATH="/var/qmail/bin:/usr/local/bin:$PATH"
| exec 21 \
| softlimit -d25 \
| tcpserver -u 0 -g 16 -c 20 -v -H -R -X  -x tcp.cdb -- 0 110 \
| qmail-popup `sed 1q /var/qmail/control/me` \
| checkvpw \
| /usr/sbin/relay-ctrl-allow \
| qmail-pop3d Maildir
`

This will give you nice, manageable logs in /service/pop3/log/main. 
Really ;-) 



Qmail with 'tcpserver'

2001-01-30 Thread Roger Walker

I thought I had this running once before on a since-overwritten
test system, but in redoing things, I am having problems. I want to
implement the ucspi-tcp package (with tcpserver) so that I can also
implement the RBL (which requires ucspi-tcp). My setup is almost straight
from the "running Qmail" book. The trailing ":allow" in my cdb file is
from an example given to me by someone who said it was necessary in order
to receive outside email.

Anyway, download, compile, install - all very quick and easy. I
have a single line in the boot script (within the qmail start script) that
looks like this:

/usr/local/bin/tcpserver -p -x /etc/tcpserver/tcp.smtp.cdb -u 301 -g 300 \
0 smtp /var/qmail/bin/qmail-smtpd 

301 is the qmaild uid and 300 is the nofiles gid.

The cdb file was created from what follows:

127.0.0.1:allow,RELAYCLIENT=" "
.rope.net:allow,RELAYCLIENT=" "
206.75.255.:allow,RELAYCLIENT=" "
10.:allow,RELAYCLIENT=" "
:allow

My domain is "rope.net" and my class C is 206.75.255.0/24. I am
also using some "class C" subnets from the 10. private address space that
connect via VPN.

I have a local host that periodically sends logging files to my
mail server at [EMAIL PROTECTED] and works correctly when I am set up with
inetd for smtp. However, when I try the same thing when set up for
tcpserver with qmail, the mail.log file has an entry similar to this:

starting delivery 1: msg 64822 to remote [EMAIL PROTECTED]
delivery 1: failure: Sorry,_I_couldn't_find_any_host_named_rope.net?._(#5.1.2)/

Evidently, qmail now thinks that the address domain has a trailing
"_" (or is that a space?), which is replaced as a "?" in the second line.

Any ideas as to what is happening?

Thanks.

-- 
Roger Walker http://www.rat-hole.com
Voice/Fax 1-780-440-2685 http://www.man-from-linux.com
"HIS Pain; YOUR Gain"http://www.rope.net
http://www.rope.net/signature.html





Re: Qmail with 'tcpserver'

2001-01-30 Thread Mark Delany

 127.0.0.1:allow,RELAYCLIENT=" "
 .rope.net:allow,RELAYCLIENT=" "
 206.75.255.:allow,RELAYCLIENT=" "
 10.:allow,RELAYCLIENT=" "
 :allow

qmail-smtpd appends whatever is in RELAYCLIENT to the recipient
address. You have a space in RELAYCLIENT=" ".

It should be RELAYCLIENT=""

Don't forget to remake/rebuild the cdb file.


Regards.



Re: Qmail with 'tcpserver'

2001-01-30 Thread Robin S. Socha

* Roger Walker [EMAIL PROTECTED] [010130 15:48]:
 I want to implement the ucspi-tcp package (with tcpserver) so that I
 can also implement the RBL (which requires ucspi-tcp). 

Try this: http://www.din.or.jp/~ushijima/qmail-conf.html - you'll like
it.



Re: Qmail with 'tcpserver'

2001-01-30 Thread Roger Walker

On 30 Jan 2001, Mark Delany wrote:

  127.0.0.1:allow,RELAYCLIENT=" "
  .rope.net:allow,RELAYCLIENT=" "
  206.75.255.:allow,RELAYCLIENT=" "
  10.:allow,RELAYCLIENT=" "
  :allow

 qmail-smtpd appends whatever is in RELAYCLIENT to the recipient
 address. You have a space in RELAYCLIENT=" ".

 It should be RELAYCLIENT=""

I thought that looked fishy. Maybe the typeface from the book (?)
that I don't have in front of me right now...

Makes sense, now. Many thanks.

-- 
Roger Walker http://www.rat-hole.com
Voice/Fax 1-780-440-2685 http://www.man-from-linux.com
"HIS Pain; YOUR Gain"http://www.rope.net
http://www.rope.net/signature.html




Re: Qmail with 'tcpserver'

2001-01-30 Thread Mark Delany

On Tue, Jan 30, 2001 at 02:06:06PM -0700, Roger Walker wrote:
 On 30 Jan 2001, Mark Delany wrote:
 
   127.0.0.1:allow,RELAYCLIENT=" "
   .rope.net:allow,RELAYCLIENT=" "

Er. You can't have domains in here either. Assuming you're using a
standard tcpserver. Check out cr.yp.to/ucspi-tcp.html for all the
details plus how to check the rules.


Regards.




Re: Qmail with 'tcpserver'

2001-01-30 Thread Peter van Dijk

On Tue, Jan 30, 2001 at 09:14:20PM +, Mark Delany wrote:
 On Tue, Jan 30, 2001 at 02:06:06PM -0700, Roger Walker wrote:
  On 30 Jan 2001, Mark Delany wrote:
  
127.0.0.1:allow,RELAYCLIENT=" "
.rope.net:allow,RELAYCLIENT=" "
 
 Er. You can't have domains in here either. Assuming you're using a
 standard tcpserver. Check out cr.yp.to/ucspi-tcp.html for all the
 details plus how to check the rules.

Current tcpserver versions support domains just fine.

Greetz, Peter.



Re: Qmail with 'tcpserver'

2001-01-30 Thread Mark Delany

On Tue, Jan 30, 2001 at 10:16:25PM +0100, Peter van Dijk wrote:
 On Tue, Jan 30, 2001 at 09:14:20PM +, Mark Delany wrote:
  On Tue, Jan 30, 2001 at 02:06:06PM -0700, Roger Walker wrote:
   On 30 Jan 2001, Mark Delany wrote:
   
 127.0.0.1:allow,RELAYCLIENT=" "
 .rope.net:allow,RELAYCLIENT=" "
  
  Er. You can't have domains in here either. Assuming you're using a
  standard tcpserver. Check out cr.yp.to/ucspi-tcp.html for all the
  details plus how to check the rules.
 
 Current tcpserver versions support domains just fine.

Oops. With:

=.rope.net:allow,RELAYCLIENT=""

Right? Possibly using -P to avoid unauthorized relay usage by those
who control their reverse lookups.


Regards.



Re: Qmail with 'tcpserver'

2001-01-30 Thread Roger Walker

On 30 Jan 2001, Mark Delany wrote:

  .rope.net:allow,RELAYCLIENT=" "
  
   Er. You can't have domains in here either. Assuming you're using a
   standard tcpserver. Check out cr.yp.to/ucspi-tcp.html for all the
   details plus how to check the rules.
 
  Current tcpserver versions support domains just fine.

 Oops. With:

 =.rope.net:allow,RELAYCLIENT=""

 Right? Possibly using -P to avoid unauthorized relay usage by those
 who control their reverse lookups.

I control my class C reverse lookups, also :-) so I would just
need to know the proper syntax in order to implement it.

-- 
Roger Walker http://www.rat-hole.com
Voice/Fax 1-780-440-2685 http://www.man-from-linux.com
"HIS Pain; YOUR Gain"http://www.rope.net
http://www.rope.net/signature.html




Re: Memphis RSS service will be cancelled

2001-01-30 Thread Chris Johnson

On Tue, Jan 30, 2001 at 01:17:41PM -0600, Mate Wierdl wrote:
 Yusuf just told me that one has to pay for zone transfers of the RSS
 zone.  This means, I have to cancel the RSS RBL service of
 relays.msci.memphis.edu as of tomorrow, noon, US Central.

That's too bad. Thanks for providing this service; it's worked flawlessly for
me.

 It would be great if Dan would write an official version of rblsmtpd
 that supports A records.

It would also be nice if the RSS people ran their own service with rbldns. Fat
chance of that, though--isn't mail-abuse.org an ISC operation?

Chris



QMail permission error

2001-01-30 Thread Nitro








Aright, Im
getting a permission error when I try starting Qmail. I dont know why though,
followed INSTALL fine, and as a test I chmoded the whole qmail directory to 777
and still no luck. Any help would be greatly appreciated.



Error message:



[root@www
bin]# csh -cf '/www/qmail/bin '

[1] 3320

/www/qmail/bin:
Permission denied.

[1] Exit 1
/www/qmail/bin








Re: QMail permission error

2001-01-30 Thread Matthew Patterson

On Tue, 30 Jan 2001, Nitro wrote:

Aright, I’m getting a permission error when I try starting Qmail. I don’t
know why though, followed INSTALL fine, and as a test I chmoded the whole
qmail directory to 777 and still no luck. Any help would be greatly
appreciated.

Error message:

[root@www bin]# csh -cf '/www/qmail/bin '
[1] 3320
/www/qmail/bin: Permission denied.
[1]Exit 1/www/qmail/bin



Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 


Assuming that /www/qmail is the base directory for your qmail installation, then the 
problem is that you are trying to execute a directory. Generally we want to execute
programs. Try `csh -cf '/www/qmail/bin/qmail-start '`. If that doesn't work, maybe 
you could give us some more information, such as an ls -l of /www/qmail/bin.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Memphis RSS service will be cancelled

2001-01-30 Thread Andy Dustman

On Tue, 30 Jan 2001, Chris Johnson wrote:

 On Tue, Jan 30, 2001 at 01:17:41PM -0600, Mate Wierdl wrote:
  It would be great if Dan would write an official version of rblsmtpd
  that supports A records.
 
 It would also be nice if the RSS people ran their own service with rbldns. Fat
 chance of that, though--isn't mail-abuse.org an ISC operation?

It's a Paul Vixie operation... Nearly the same thing... 

-- 
Andy Dustman PGP: 0xC72F3F1D
@   .net http://dustman.net/andy
"Normally with carbonara you use eggs, but I used lobster brains instead."
-- Masahiko Kobe (Iron Chef Italian): 30-year-old Giant Lobster Battle




unable to acquire log/supervise/lock !!

2001-01-30 Thread dennis

Hi all...

I keep getting this error when trying to start my new qmail installation.


supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary
failure

Anyone have any suggestions as to what the problem might be.

Cheers
Dennis




Re: unable to acquire log/supervise/lock !!

2001-01-30 Thread Rahsheen Porter

On Wed, Jan 31, 2001 at 10:11:36AM +1100, dennis wrote:
 Hi all...
 
 I keep getting this error when trying to start my new qmail installation.
 
 
 supervise: fatal: unable to acquire log/supervise/lock: temporary failure
 supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary
 failure
 
 Anyone have any suggestions as to what the problem might be.
 
Uhm, that usually means supervise is already running in that directory.



Re: Moving qmail servers

2001-01-30 Thread M. Yu



What I did when I changed mail servers was this:

1. deny incoming connections to old-server from my LAN (to stop my users
from sending mails)
2. allow qmail to process the queue (is there a way to force qmail to
process the queue instead of waiting for it to finish?)
3. tar the users' Maildirs
4. move the tarball to new-server and untar
5. unplug cable to old-server and plug it into new-server

That's it.  Note that old-server and new-server have the same IP so I didn't
have to do any DNS changes (make sure you unplug the old one first before
plugging in the new one or there'd be an IP conflict).  So far we haven't
noticed any problems but I may have just been lucky.  Do the filenames in
the Maildirs also correspond to inode numbers?  If so then I guess I really
am just lucky  :)  My "technique" gave us a downtime of 1 hour but this was
mostly taken up by waiting for the queue to be processed by qmail, otherwise
it would just have been at most 10 minutes.


M. Yu





Qmail Error

2001-01-30 Thread Gary Tremblay

My mail log file shows this error for 7 new users I thought I setup correctly:
Unable_to_chdir_to_maildir._(#4.2.1)

What did I do wrong?

   Gary Tremblay, MCSC, CNE
Network Manager
World Fusion Software
2900 Bristol Street, Suite H-103
Costa Mesa, CA 92626
Voice: 714-708-7400FAX: 714-708-7401
E-mail:  [EMAIL PROTECTED]
*



Re: Qmail Error

2001-01-30 Thread Chris Johnson

On Tue, Jan 30, 2001 at 05:38:06PM -0800, Gary Tremblay wrote:
 My mail log file shows this error for 7 new users I thought I setup correctly:
 Unable_to_chdir_to_maildir._(#4.2.1)

How about some details? How are you starting qmail? Did you create a Maildir
for each user (or cause one to be created by creating one in /etc/skel (or your
system's equivalent)) before creating the user? Who owns these Maildirs?

 What did I do wrong?

Obviously something, but unless you tell us what you did do, we have no way of
knowing.

Chris



Re: Qmail Error

2001-01-30 Thread Chris Johnson

On Tue, Jan 30, 2001 at 08:44:56PM -0500, Chris Johnson wrote:
 On Tue, Jan 30, 2001 at 05:38:06PM -0800, Gary Tremblay wrote:
  My mail log file shows this error for 7 new users I thought I setup correctly:
  Unable_to_chdir_to_maildir._(#4.2.1)
 
 How about some details? How are you starting qmail? Did you create a Maildir
 for each user (or cause one to be created by creating one in /etc/skel (or your
 system's equivalent)) before creating the user? Who owns these Maildirs?

Oops. That misplaced parenthesis could be confusing. Try this:

Did you create a Maildir for each user (or cause one to be created by creating
one in /etc/skel (or your system's equivalent) before creating the user)?

Chris



Re: Qmail Error

2001-01-30 Thread Gary Tremblay

At 08:47 PM 1/30/01 -0500, you wrote:
On Tue, Jan 30, 2001 at 08:44:56PM -0500,
Chris Johnson wrote:
 On Tue, Jan 30, 2001 at 05:38:06PM -0800, Gary Tremblay wrote:
  My mail log file shows this error for 7 new users I thought I
setup correctly:
  Unable_to_chdir_to_maildir._(#4.2.1)
 
 How about some details? How are you starting qmail? Did you create a
Maildir
 for each user (or cause one to be created by creating one in
/etc/skel (or your
 system's equivalent)) before creating the user? Who owns these
Maildirs?

Thanks for the quick response.

All I did was add 7 new users to a system that already had 10 users 

setup and working correctly. (Setup by somebody else, by the way)

For a windows based guy, qmail is a little difficult to figure out. I

simply copied and renamed one of the existing users Maildir 
folders.
Then I copied and renamed one of the existing Alias folders and 
edited the home directory name for each new user. I've 
checked
the permissions and owernship on the Maildir folder and sub-folders
and they are identical to the users who are working correctly.

I even traced the source of the error down in the qmail-local 
source
code, but not being a C programmer wasn't able to find the source
of the subroutine that causes case 2 to occur.

I've made the assumption that the error (chdir) refers to qmail's
inability
to change (to the users) directory but I can't find any difference
between
the working users directories from the ones I set up.

Does this help ...?



 Gary Tremblay, MCSC,
CNE

 Network
Manager

 World Fusion
Software

 2900 Bristol Street, Suite
H-103

 Costa Mesa, CA
92626

 Voice:
714-708-7400 FAX:
714-708-7401 
 E-mail:
[EMAIL PROTECTED]

*


Re: Qmail Error

2001-01-30 Thread Charles Cazabon

Gary Tremblay [EMAIL PROTECTED] wrote:
 My mail log file shows this error for 7 new users I thought I setup
 correctly:
 Unable_to_chdir_to_maildir._(#4.2.1)
[...]
 All I did was add 7 new users to a system that already had 10 users
 setup and working correctly. (Setup by somebody else, by the way)
 
 For a windows based guy, qmail is a little difficult to figure out. I
 simply copied and renamed one of the existing users Maildir folders.

Copying it might result in wrong ownership of the Maildir and it's
subdirectories.  The command `maildirmake` will create a Maildir with
its three subdirectories (tmp, new, and cur).  They all have to be owned
by the user to work.

And what do you mean by renamed?  In its simplest form, a Maildir is just
named "Maildir" and is located in the user's home directory.  Your default
delivery instruction is then "./Maildir/".  You shouldn't need to rename
the Maildir.

 Then I copied and renamed one of the existing Alias folders and
 edited the home directory name for each new user.

Again, not sure what you mean by an alias folder.  Do you mean a
.qmail-something file in the home directory of user "alias"?
These aren't necessary for local users.

 I've checked the permissions and owernship on the Maildir folder and
 sub-folders and they are identical to the users who are working correctly.

Well, there's obviously something different going on here.  For starters,
how about showing us the result of `ls -ld ~USER ~USER/Maildir ~USER/Maildir/*`
for both a user that works, and one that doesn't?  Also, post the output
of `qmail-showctl`.  And don't change any of the host/usernames for the sake
of "security".  We need the real information to find the problem.

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



vmailmgr to vpopmail

2001-01-30 Thread Miles Scruggs

How do I move a whole domain (only one) from vmailmgr to vpopmail.  I would
not like to have to enter all the users and passwords again.

Miles Scruggs




ucspi-rss.diff

2001-01-30 Thread Mate Wierdl

Does this patch to rblsmtpd result in a dropin replacement to the
original rblsmtpd?  In other words, can I just use it as

rblsmtpd -r rss.mail-abuse.org

?

Thx

Mate



pop domain issue

2001-01-30 Thread kh

I've setting a pop domain using fastforward in virtualdomain file as below:

abc.com: alias
in /etc/aliases

@abc.com: userabc

then in the client site I use ftgate smartpop features to retrieve all the
mails for @abc.com from the server, but found that when a mail contains
several email addresses for same domain @abc.com, eg:

To: [EMAIL PROTECTED], [EMAIL PROTECTED] , [EMAIL PROTECTED]

then in the server mailbox for userabc, it will 3 times of the same email,
when ftgate receive the email, it will generate again 3 times of the email
to 3 person for each same email in the server, therefor there will be 3 x 3
times emails in ftgate and each user will receive 3 time of the same
email..

any suggestiongs?
ckh :)




the rss patch to rblsmtpd

2001-01-30 Thread Mate Wierdl

When testing the patch with Russ's test, I get

220 rblsmtpd.local
helo rrss.crynwr.com
250 rblsmtpd.local
mail from:
250 rblsmtpd.local
rcpt to:[EMAIL PROTECTED]
451 Open relay problem - see?
+URL:http://www.mail-abuse.org/cgi-bin/nph-rss?192.203.178.70
Terminating conversation

But the URL just gives  me a form to enter an IP.  Is that correct?

Thx
Mate

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Re: pop3 / vhosts

2001-01-30 Thread Sam Trenholme

On Tue, 30 Jan 2001, Gonalo Gomes wrote:

 "Mailbox" mailbox format, i've added "defusion.org:goncalo" to
 virtualdomains and rcpthosts control file's

Hopefully, the line in rcpthosts is:

defusion.org

 now my problem is:
 i want create a pop3 accounts, [EMAIL PROTECTED]  and,
 [EMAIL PROTECTED] as a fetch-all

* Create a local user named rik on your machine

* ~goncalo/.qmail-rik needs to point to Rik's email address, e.g.
  give this the file the contents 'rik' (no quotes!)

* Have a ~goncalo/.qmail-default which points mail to goncalo's mailbox
  ('goncalo')

- Sam





Re: ucspi-rss.diff

2001-01-30 Thread Vincent Schonau

Mate Wierdl writes:

 Does this patch to rblsmtpd result in a dropin replacement to the
 original rblsmtpd?  In other words, can I just use it as 
 
 rblsmtpd -r rss.mail-abuse.org

No, you use
 rblsmtpd -r 'relays.mail-abuse.org:Open relay problem - see 
URL:http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%' 

This also answers your earlier question. 


Vince. 



Re: ucspi-rss.diff

2001-01-30 Thread Mate Wierdl

On Wed, Jan 31, 2001 at 06:58:37AM +, Vincent Schonau wrote:
 No, you use
  rblsmtpd -r 'relays.mail-abuse.org:Open relay problem - see 
 URL:http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%' 
 
 This also answers your earlier question. 

Then there is an incorrect info at http://mail-abuse.org/rss/how.html:

 Alternatively, apply the ucspi-rss.diff patch to ucspi-0.88 and
 change
   
 -r relays.mail-abuse.org

 to

 -r 'relays.mail-abuse.org:Open relay problem - see
 URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%'

Thx,

Mate



installation problem

2001-01-30 Thread Daniel Yip

I was following every single steps from Life with qmail to install qmail on a Linux 
server. When I typed /usr/local/sbin/qmail start, it gave me an error message of  
"softlimit: fatal: unable to run : file does not exist