qmail Digest 31 Jan 2001 11:00:01 -0000 Issue 1261

Topics (messages 56334 through 56399):

how to delete messages from the queue?
        56334 by: Peter Peltonen
        56341 by: Dave Sill
        56397 by: Peter Peltonen

Re: SOMEONE GET ME OFF THIS LIST
        56335 by: Henning Brauer

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

Re: qmail queue problems .. help
        56337 by: Charles Cazabon
        56340 by: Joel Gautschi

qstat
        56338 by: Jacques <Frip'> WERNERT

Re: Secure IMAP server
        56339 by: Felix von Leitner
        56352 by: Andy Bradford

Relay and mail lists.
        56342 by: Paco Martinez
        56345 by: Charles Cazabon
        56347 by: Paco Martinez
        56350 by: Charles Cazabon

vhost user
        56343 by: Emilis Trinskis
        56344 by: Charles Cazabon

pop3 / vhosts
        56346 by: Gon�alo Gomes
        56386 by: Sam Trenholme

Re: doubts about re-compile
        56348 by: J.J.Gallardo

pop3d logs
        56349 by: Miles Scruggs
        56361 by: Robin S. Socha

Re: Qmail and GFS
        56351 by: Paul Jarc
        56354 by: Charles Cazabon

Re: is there a filter to scan message header and reject accordingly
        56353 by: Paul Jarc

Memphis RSS service will be cancelled
        56355 by: Mate Wierdl
        56356 by: Jamin A. Brown
        56357 by: Mate Wierdl
        56370 by: Chris Johnson
        56373 by: Andy Dustman

Warning Message
        56358 by: Antonio Ferri Charbone
        56359 by: Charles Cazabon

Re: qmail or postfix for high volume mailing list?
        56360 by: Robin S. Socha

Qmail with 'tcpserver'
        56362 by: Roger Walker
        56363 by: Mark Delany
        56364 by: Robin S. Socha
        56365 by: Roger Walker
        56366 by: Mark Delany
        56367 by: Peter van Dijk
        56368 by: Mark Delany
        56369 by: Roger Walker

QMail permission error
        56371 by: Nitro
        56372 by: Matthew Patterson

unable to acquire log/supervise/lock !!
        56374 by: dennis
        56375 by: Rahsheen Porter

Re: Moving qmail servers
        56376 by: M. Yu

Qmail Error
        56377 by: Gary Tremblay
        56378 by: Chris Johnson
        56379 by: Chris Johnson
        56380 by: Gary Tremblay
        56381 by: Charles Cazabon

vmailmgr to vpopmail
        56382 by: Miles Scruggs

ucspi-rss.diff
        56383 by: Mate Wierdl
        56387 by: Vincent Schonau
        56388 by: Mate Wierdl

pop domain issue
        56384 by: kh

the rss patch to rblsmtpd
        56385 by: Mate Wierdl
        56394 by: Robert Sander

installation problem
        56389 by: Daniel Yip
        56392 by: Robin S. Socha
        56393 by: Daniel Yip
        56395 by: Robin S. Socha

qmail with mysql patch - solaris
        56390 by: Rudel Sun-woo

Re: RAID & Qmail.
        56391 by: John White

How sending log messages in absence of Qmail or Sendmail?
        56396 by: Mohamed Ould
        56398 by: Franco Galian

Clean out /var/qmail/queue/pid + send automatic reply
        56399 by: Filip Sneppe \(Yucom\)

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]


----------------------------------------------------------------------



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




Peter Peltonen <[EMAIL PROTECTED]> wrote:

>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. 
>
>In the process there seem to be messages left in the queue, that are accepted
>for local delivery for domain fivetec.com:

Virtual domain deliveries *are* local.

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

What Do The Logs Say? (tm)

>How do I delete the message from the queue?

1) Stop qmail.
2) Delete the queue files associated with the message. See:
     http://www.faqts.com/knowledge_base/view.phtml/aid/1219/fid/286
   There are also some queue management tools available from
   www.qmail.org.
3) Restart qmail.

-Dave




Dave Sill wrote:

> Virtual domain deliveries *are* local.

Yes... I just tried to explain that I used to have non-virtual domains and
virtual domains. And called the non-virtual domain as a local delivery. Sorry.


> What Do The Logs Say? (tm)

They complained that the home directory was writeable. As the complaints were
for my non-virtual domain (which should receive no mail anymore) I started
wondering and typed qmail-qread which gave me the information I listed in the
previous message.


> 1) Stop qmail.
> 2) Delete the queue files associated with the message. See:
>      http://www.faqts.com/knowledge_base/view.phtml/aid/1219/fid/286
>    There are also some queue management tools available from
>    www.qmail.org.
> 3) Restart qmail.

I used qmHandle-0.4.1 which worked very well. Got my messages deleted from the
queue. Thanks for the tip.

Though I did not stop / start qmail, I just used the tool. Could have I
achieved some harm to my system by doing so?


Thanks for your help,
Peter




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




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




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




>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






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'





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




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





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




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




Even another error message from EXE in NT

*** ERROR *** SMTP.SendMessage(): Socket Error

----- Original Message -----
From: Charles Cazabon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 5:25 PM
Subject: Re: Relay and mail lists.


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






Paco Martinez <[EMAIL PROTECTED]> wrote:
> 
> and in /var/log/qmail/smpt/current 
> 
> @400000003a6f0d180395ee3c tcpserver: pid 23042 from 192.168.1.3
> @400000003a6f0d180df426b4 tcpserver: ok 23042 machine.examples.com:192.168.1.10:25 
>otros.examples.com:192.168.1.3
> @400000003a6f0d3c19116d54 tcpserver: end 23042 status 0
> 
> But nothin
[...]
> > 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.

> Sorry but I don´t understand you aoubt "bare linefeeds"...  What do you say
> ???

All lines in an SMTP conversation must end with '\r\n'.  Ending a line with
'\n' is illegal.  If qmail sees a bare linefeed (just '\n') ending a line,
it will reject the message.

Make sure your program uses '\r\n' for line endings, everywhere.  If it
just times out, you may be sending '\n.\n' for "end of message", but the
RFC requires '\r\n.\r\n'.  Some MTAs won't even detect the end of the message
if you use the incorrect form.

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




Hi all,
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


Sorry my english is pure.
Emilis






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




Hello,

i got a problem, i'm trying to switch from sendmail to qmail, and been
trying qmail for somedays..
but, i'm having a problem...

i have defusion.org resolving to 213.22.7.252 , where i am trying qmail, i'm
using ipop3d and qmail smtpd daemon with
"Mailbox" mailbox format, i've added "defusion.org:goncalo" to
virtualdomains and rcpthosts control file's

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

whats the way i have to do it?

thanks in advance,
Gonçalo Gomes





On Tue, 30 Jan 2001, Gonçalo 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






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)





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





* 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 2>&1 \
| softlimit -d250000 \
| 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 ;-) 




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




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




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 2>&1; 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




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




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





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




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




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





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




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




* 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/>




        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>






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




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




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>





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.





On Tue, Jan 30, 2001 at 09:14:20PM +0000, 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.




On Tue, Jan 30, 2001 at 10:16:25PM +0100, Peter van Dijk wrote:
> On Tue, Jan 30, 2001 at 09:14:20PM +0000, 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.




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>





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





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




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





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.






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






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-7400        FAX: 714-708-7401
    E-mail:  [EMAIL PROTECTED]
*********************************************************




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




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




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]                             
*********************************************************




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




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





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




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. 




On Wed, Jan 31, 2001 at 06:58:37AM +0000, 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




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 :)





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  




On 31 Jan 2001 06:59:09 +0100,
 Mate Wierdl <[EMAIL PROTECTED]> wrote:
>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?

They changed the script on the webserver, it now expects a query-var.
So the full URL now should read like
http://www.mail-abuse.org/cgi-bin/nph-rss?query=192.203.178.70

I think everyone should change their qmail-start script...

Greetings
-- 
Robert Sander
Computer Scientist                                       Epigenomics AG
Bioinformatics R&D        www.epigenomics.com         Kastanienallee 24
+493024345330                                              10435 Berlin




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




* Daniel Yip <[EMAIL PROTECTED]> [010131 03:04]:
> 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

sh -x /usr/local/sbin/qmail start




It gave me the same error. I had also check all the execute right and they look find. 
I am using "root" all along. Any other suggestions?

-----Original Message-----
From: Robin S. Socha [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: installation problem


* Daniel Yip <[EMAIL PROTECTED]> [010131 03:04]:
> 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

sh -x /usr/local/sbin/qmail start




* Daniel Yip <[EMAIL PROTECTED]> [010131 03:54]:
> Robin S. Socha [mailto:[EMAIL PROTECTED]]
> * Daniel Yip <[EMAIL PROTECTED]> [010131 03:04]:

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

>> sh -x /usr/local/sbin/qmail start

> It gave me the same error. I had also check all the execute right and
> they look find. I am using "root" all along. Any other suggestions?

softlimit is mentioned three times in the document. In two scripts.
You've either got a typo there or installed the software in other
places. Or the command is not in your path, or... Or you're using
SuSE... It all boils down to this: if you're not even able to debug a
shell script (or know how to enter debug information into an existing
script), why on earth would you want to run a mail server?

Furthermore: 
Message Editing and Quoting FAQ  aka http://learn.to/edit_messages
HowTo Use Reply-To               aka http://learn.to/usereplyto

And while your're at it:
http://www.math.fu-berlin.de/~guckes/outlookexpress/

Last, I DO NOT WANT TO BE Cc:'d. I would set a reply-to if I wanted to.




i am trying to set up qmail under following conditions

OS       : solaris8 (SUN OS 5.8)
Hardware : e3500
Compiler : gcc-2.95.2
MySQL Patches :
- qmail-mysql-1.2.1-lain.patch (OR)
- qmail-mysql-0.6.6.patch

however, when i run qmail-getpw after compiling, i get this error message:

Segmentation Fault (Memory Dump)

Error

please help!

----------------------------
Wizard Rudel
ICQ    : 61722029
E-Mail: [EMAIL PROTECTED]
----------------------------






On Fri, Jan 19, 2001 at 04:59:33PM -0500, Steve Fulton wrote:
> I've searched the archives extensively, and I've learned quite a lot, but
> I'd like advice on this question:
> 
> Assuming RAID 1+0 is not an option (due to the expense), what level of
> RAID is best for storing /Maildir's on a file server (that will be
> accessible to the SMTP & POP servers via NFS).  Redudancy is the big
> issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
> because they don't know better - and won't listen.
 
Why is RAID 5 and option if RAID 1+0 isn't?  The latter only requires
4 drives in the minimum configuration.  You can even do it with IDE
drives using 3ware's IDE RAID controllers.

John 




Hello,

On all my LAN , DMZ,  ISP machine servers, I desintallating Sendmail
(installed by default on RH6.2).
I have a Qmail Relay machine in the DMZ and Qmail server in my LAN.
Now, I have the problem to sent logs files, swatch, logcheck parsing,
alerts,...  from machines in the DMZ, LAN, ISP  where Qmail is not
installed. Some applications on the DMZ, ISP would be also able to send
messages to me or user on the net .
Somebody suggested me to install Sendmail  but not as root or install
Qmail on each machines. But, I don't  need Sendmail on my machines due
to security problems.
My question is: how I can do this? how I can get messages from any
machine in LAN, DMZ, ISP whitout installating Qmail on each?

Thanks





Hi, once I needed to create new users on a freebsd box, this users were
already created on a SuSE linux box, where a qmail server is running. What I
used to notify those users of their new accounts is a program called nmh, on
OpenBSD and FreeBSD is at the ports tree, and of course you can compile it
on linux. You can set an external mailserver in nmh conf file.

Hope that it helps

Franco Galian
----- Original Message -----
From: "Mohamed Ould" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 6:31 AM
Subject: How sending log messages in absence of Qmail or Sendmail?


> Hello,
>
> On all my LAN , DMZ,  ISP machine servers, I desintallating Sendmail
> (installed by default on RH6.2).
> I have a Qmail Relay machine in the DMZ and Qmail server in my LAN.
> Now, I have the problem to sent logs files, swatch, logcheck parsing,
> alerts,...  from machines in the DMZ, LAN, ISP  where Qmail is not
> installed. Some applications on the DMZ, ISP would be also able to send
> messages to me or user on the net .
> Somebody suggested me to install Sendmail  but not as root or install
> Qmail on each machines. But, I don't  need Sendmail on my machines due
> to security problems.
> My question is: how I can do this? how I can get messages from any
> machine in LAN, DMZ, ISP whitout installating Qmail on each?
>
> Thanks
>
>





Hi,

I'm a newbie qmail admin getting more and more enthousiastic about this MTA,
even though I've just spent some time troubleshooting my first qmail problem
after someone accidentally deleted a qmail user account and changed
permissions on some directories. My mail system was suffering from a "451 qq
trouble creating files in queue (#4.3.0)" message when receiving/trying to
queue mail. I found a lot of people asking what this was all about all over
the net, but no real solution to the problem. Well, I just want to add my
own 0.02 $ by saying that it's all permissions and owner-related. I found
the "make check" (which calls instcheck) from the build directory to be the
most effective tool to find out where file ownerships and permissions have
gone berserk. Note that usernames don't really matter for qmail, it's the
userids that have to match ! Recreating a deleted account with a different
userid doesn't solve things, you have to change the uid in /etc/passwd
afterwards.

I have two quick questions though:

How can I clean out /var/qmail/queue/pid after an ungraceful shutduwn ?
(you've guessed it, at some point I thought it would be useful to just
kill -9 all qmail processes) I have no idea which files shouldn't be in that
folder.

[root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/instcheck
[root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/qmail-lint
[root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/qmail-qsanity
[root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/queue-fix -N /var/qmail/queue/
Running in test mode, no changes will be made.
Found files in /var/qmail/queue/pid that shouldn't be there.
I will not remove them. You should consider checking it out.

queue-fix finished...

How do I find out what files to delete ? There are 151 files in the folder.

Also, due to a domain name change, I need to implement the following: all
people sending mail to [EMAIL PROTECTED] should receive a reply
saying that they should now use [EMAIL PROTECTED] I know it shouldn't be too
difficult to redirect mail from @subdomain.domain.com to @domain.com, but
our management really wants to have automated replies to the senders...

Regards,
Filip



Reply via email to