Re: host masquerading.

2000-06-30 Thread asantos

From: Russell Davies [EMAIL PROTECTED]
I realise that, however I want to deliver to _real_ recipients in
some.domain, if I put some.domain in locals, then all mail going there
will be delivered locally.


Also check http://cr.yp.to/qmail/faq/incominguser.html#luser-relay , the
last FAQ there can solve your problem in yet another way: let qmail deliver
locally, forwarding unrecognized users elsewhere. There's a trick to it,
tough, if I remember correctly: I replace the remote mail server address by
its IP, like this

 | forward "$LOCAL@[192.168.1.1]"

I think that the [ ] are mandatory.

I'll be able to check exactly how I did it in a few days, if the above
doesn't work.

Armanfo

 smime.p7s


Re: CNAME-Lookup-Failure

2000-06-30 Thread Robert Sander

On Thu, Jun 29, 2000 at 10:33:50AM -0400, Christopher K Davis wrote:
 Have you installed one of the qmail "big DNS" patches such as
 URL: http://www.ckdhr.com/ckd/qmail-103.patch ?  It looks like their
 ANY response can easily be larger than 512 octets.

But does qmail not just do a MX lookup?

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



qmail Digest 30 Jun 2000 10:00:00 -0000 Issue 1048

2000-06-30 Thread qmail-digest-help


qmail Digest 30 Jun 2000 10:00:00 - Issue 1048

Topics (messages 43887 through 43951):

Re: limit to RCPT TO
43887 by: Rodrigo Severo
43889 by: Ricardo Cerqueira
43898 by: Rodrigo Severo
43900 by: Ricardo Cerqueira
43901 by: Rodrigo Severo

How to forward mail using qmail
43888 by: Lavender
43890 by: Ricardo Cerqueira

Maildir problem
43891 by: Lavender
43892 by: Ricardo Cerqueira
43912 by: Dave Sill

Re: How to log all incoming and outgoing emails for a specific domain.
43893 by: Johan Almqvist
43913 by: Dave Sill

Re: Building very large Qmail instalations...
43894 by: Toens Bueker

NEWBYE QUESTION
43895 by: Giuliano Cocchi
43914 by: Dave Sill

Re: vacation program for qmail/vpopmail/qmailadmin
43896 by: Ken Jones

Re: sqwebmail with oracle?..
43897 by: Ken Jones

Deleted messages from queue
43899 by: Mark Drummond
43917 by: Dave Sill

Re: CNAME-Lookup-Failure
43902 by: Christopher K Davis
43951 by: Robert Sander

Rewrite "Return Path" or other host information?
43903 by: Edward Tsang

[NEWBIE] Header Re-Writing
43904 by: Jeremy Stanley

Re: how do I resync two machines after MX confusion ?
43905 by: Scott Gifford
43906 by: markd.bushwire.net
43907 by: Scott Gifford
43909 by: asantos
43910 by: markd.bushwire.net

Qmail - Switch from ISP to in-house server DNS Stuff
43908 by: Steven M. Klass
43916 by: Dave Sill

Re: Multilog: fatal: the final answer (hopefully)
43911 by: Dave Sill
43930 by: Steffan Hoeke

ucspi-tcp man pages
43915 by: Vincent Danen

Qmail performance question...
43918 by: Ian Layton
43922 by: markd.bushwire.net
43923 by: Mattias Paulsson

test
43919 by: Hand, Brian C.
43920 by: markd.bushwire.net
43921 by: Dave Sill

TCPSERVER
43924 by: Marcilio Jorgensen Cassella
43928 by: Dave Sill

Re: file permissions problems
43925 by: clemensF

Qmail and virus scanning server
43926 by: Larry Henshaw

Netscape + Maildir
43927 by: Nico Schottelius
43929 by: Dave Sill

Problem with me.
43931 by: Eric Dahnke

Why no queues on NFS?
43932 by: Ihnen, David
43944 by: John White

Re: fastforward, redirection and truncating messages
43933 by: Lisa Phillips

Forwarding entire domain
43934 by: Vincent Danen
43935 by: Vincent Danen

sending mail outside local domain
43936 by: John Steniger

Re: filehandle
43937 by: Sylwester S. Biernacki

Re: manpages for ucspi-tcp
43938 by: Sylwester S. Biernacki

Re: Limit Traffic
43939 by: Sylwester S. Biernacki

header rewriting
43940 by: Adam McKenna

Sorry newbie question
43941 by: eradan.lanbash.com
43943 by: asantos

Re: blocking aliases
43942 by: Eddy Fafard

Anybody for a Distributed-Email-HOWTO?
43945 by: Brett Randall

host masquerading.
43946 by: Russell Davies
43947 by: asantos
43948 by: Russell Davies
43949 by: asantos
43950 by: asantos

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]


--





Jason Ingham wrote:
 
 There is purportedly a patch for this but the link on the qmail website
 is stale. (The site exists but the file isn't there anymore.)
 
 Search for "limits the number of RCPT TO: commands" on:
 
   http://www.qmail.org/top.html
 
 I'm in need of this myself, does anyone have it lying around?

Just found it through ftpsearch at
ftp://ftp.comunit.net/pub/soft/qmail/qmail-1.01-maxrcpt.patch for
example. There are other places.

I couldn´t find the 1.03 version Ricardo Cerqueira mentioned. Does
anybody knows how it´s called?


Rodrigo

-- 
---
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
---




Here:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html

RC

On Thu, Jun 29, 2000 at 09:00:33AM -0300, Rodrigo Severo wrote:
 
 
 Jason Ingham wrote:
  
  There is purportedly a patch for this but the link on the qmail website
  is stale. (The site exists but the file isn't there anymore.)
  
  Search for "limits the number of RCPT TO: commands" on:
  
http://www.qmail.org/top.html
  
  I'm in need of this myself, does anyone have it lying around?
 
 Just found it through ftpsearch at
 

too many files

2000-06-30 Thread Kimberly Vher



hi,

im almost finished thanks to all of you guys, but 
i noticed that if im using ./Maildir/ qmail creat one file for all the
incoming mail meaning one mail one file. if i have so many users then many
incoming mail for every users meaning i have so many many files in my
system in their home directory right? do i need to worry in filehandle error? 

anyone give me a suggestion to adjust the filehandle in linux?

thanks again





RE: sending mail outside local domain

2000-06-30 Thread Andrew Richards

John,

Does the domain tester.samhill.com exist in the DNS? - and
is there a PTR record for the IP address of your sending mail
server?

It sounds like the remote machine is checking for one of the
above, and is alarmed that it can't determine who's sending
mail, probably as part of spam or relaying protection - I suspect
you can mail to other less 'Strict' external mail servers...

cheers,

Andrew.

--
From:   John Steniger[SMTP:[EMAIL PROTECTED]]
Sent:   29 June 2000 21:35
To: '[EMAIL PROTECTED]'
Subject:sending mail outside local domain

I've recently set up qmail 1.03 on an OpenBSD 2.6 system.  I can send and
receive e-mail locally, but when sending out to the internet I get the
following error:

Connected to 198.23.2.45 but sender was rejected.
Remote host said: 501 [EMAIL PROTECTED] ... Sender domain must
exist

I have no MX record for tester, as it isn't the default mail server for the
domain (using it for testing).  
Any idea how to fix this?  Would a second MX record at lower priority do?

Thanks







RE: delivery

2000-06-30 Thread Andrew Richards

Kimberly,

control/databytes or the environment variable DATABYTES is
used by qmail-smtpd to check the size of the message, so
qmail does not accept the message in the first place.

man qmail-smtpd for more details or see "The Big Qmail
Picture" by Andre Opperman somewhere on www.qmail.org
to see how the different bits of Qmail fit together.

cheers,

Andrew.

--
From:   Kimberly Vher[SMTP:[EMAIL PROTECTED]]
Sent:   29 June 2000 07:39
To: [EMAIL PROTECTED]
Subject:delivery


guys,

lets say i have a quota limit then when there is an incoming mail that
exceed my quota of course the mail will be bounce. does qmail accept the
mail before bouncing it back or check first if its exceed the qmail wont
acept it (i mean no need to put in the queue)








clean all mail in mail queue

2000-06-30 Thread Edward Tsang

Hi there,

There are many dead mail in my qmail mail queue. How can I clean it up ?
(completely erase them)

I tried to use qmail-clean but seem that it need to use qmail-start...

Regards,
Edward.




Change hostname IP Address

2000-06-30 Thread Iman Budi Setiawan

Dear all,

I have problem with qmail when changing my hostname and IP address.
Please, tell me the steps to set my qmail's configuration (like change the 
files in /var/qmail/control directory).

Regards,

~iman




Problems writing to Mailbox

2000-06-30 Thread Antonino Bascone

Hi all,

how must the rights set to the Mailbox in Users Homedir? Qmail-local has
problems to open and write the Mailbox file.
The qmail ist started as root and the in the rc script ist a ./Mailbox
entry.

Qmail was compiled with its default settings ver. 1.03 on Linux Kernel
shipped with suse 6.3 (2.2.13?).

Thanks and Greetings
Antonino Bascone





desperately looking for solution to this virtual domain problem

2000-06-30 Thread reach_prashant

  

   hi  everybody 

I know this is a tense subject on the mailing list, but please bear with
me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it on
my RedHat 6.1 box than the stock sendmail that's full of holes. However, my
dilemma is that I'm going to be running multiple virtual domains on one
qmail server and dont want to use /etc/passwd rather i am planning to use
LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
follow to get the setup completed with qmail. , I have read through the
FAQ's and found them a little confusing. I also searched through the
mailing list archives and am even more confused. What I'm looking for here
is a way to set up my server to accept mail for
 domain1.com,
 domain2.com and 
domain3.com ... etc, to
 domainn.com. 
Each domain should have its own unique users. 
That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED] 
Is this going to be a problem?  This is the issue that I fail to see
(easily) addressed from what I've read so far  for each of the domains so
that each user can login using POP/IMAP to retrieve their mail( i am
planning to use Maildir rather then Mailbox . I'd also like an way to
handle Email aliasing so that 
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need
it to go.
 I'm not new to Linux, but I'm new to the idea of setting up multiple
domains on a single host using qmail and directory server , so any
hand-holding would be appreciated. Thanks much, 


thanks in advance , with warmest regards 
Prashant Desai





desperately looking for solution to this virtual domain problem

2000-06-30 Thread reach_prashant

  

   hi  everybody 

I know this is a tense subject on the mailing list, but please bear with
me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it on
my RedHat 6.1 box than the stock sendmail that's full of holes. However, my
dilemma is that I'm going to be running multiple virtual domains on one
qmail server and dont want to use /etc/passwd rather i am planning to use
LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
follow to get the setup completed with qmail. , I have read through the
FAQ's and found them a little confusing. I also searched through the
mailing list archives and am even more confused. What I'm looking for here
is a way to set up my server to accept mail for
 domain1.com,
 domain2.com and 
domain3.com ... etc, to
 domainn.com. 
Each domain should have its own unique users. 
That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED] 
Is this going to be a problem?  This is the issue that I fail to see
(easily) addressed from what I've read so far  for each of the domains so
that each user can login using POP/IMAP to retrieve their mail( i am
planning to use Maildir rather then Mailbox . I'd also like an way to
handle Email aliasing so that 
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need
it to go.
 I'm not new to Linux, but I'm new to the idea of setting up multiple
domains on a single host using qmail and directory server , so any
hand-holding would be appreciated. Thanks much, 


thanks in advance , with warmest regards 
Prashant Desai





Re: Qmail performance question...

2000-06-30 Thread Ken Jones

Ian Layton wrote:
 
 Hello.
 
 I have recently installed Qmail on an Alpha box for my boss. I got it to
 send a simulated 100K message per hour through a dirty benchmark I wrote. My
 boss wants more than that. I believe that the slow up is in qmail-inject. Is
 there any way to make qmail-inject faster or bypass it totally? If so...how
 is it done. Also, has anyone else gotten qmail to send anything in the range
 I have?
 
 Ian Layton

It's all because of disk I/O. Anything you can do to speed up disk 
I/O will help, including:

1) Apply the big todo patch
2) Increase the number in the conf-split file and re-install
3) Change conf-spawn to 255 and reinstall
4) Get a Flash IDE disk for your queue ... or..
5) Run qmail's queue on a disk drive all by itself
6) send qmail's log output to /dev/null

I've seen machines that at max were doing 80 qmail-remotes. 
When we put in an Flash IDE disk, that number jumped to
255 and stayed there. 

Ken Jones
inter7



Re: Problems writing to Mailbox

2000-06-30 Thread Johan Almqvist

On Fri, Jun 30, 2000 at 01:39:44PM +0100, Antonino Bascone wrote:
 Hi all,
 
 how must the rights set to the Mailbox in Users Homedir? Qmail-local has
 problems to open and write the Mailbox file.

Should be 0600

 The qmail ist started as root and the in the rc script ist a ./Mailbox
 entry.

-Johan
-- 
Johan Almqvist



RE: Building very large Qmail instalations...

2000-06-30 Thread Andrew Richards

Greg,

I concur with the others who've replied to this message - there's
no reason you can't run the size of userbase you propose on
Qmail - two of the installations I've worked with are already happy
at the half-a-million-users mark and should scale into the millions
(these run on Solaris and Linux).

The 'Classical' solution for a large installation of Qmail revolves
around NetApps, a solution that has worked very well for me - this
offers an effective FS, RAID, and nice rollback (snapshot)
functions, maximising the data-integrity of users E-mail. Also, since
NetApps have a good chunk of battery-backed memory, they can
'Sync' faster than a normal hard disk (once the NetApp says it's
written a file, you can trust it to make sure it'll do so).

The advantage with a NetApp - or probably any SAN - is that
you can have multiple qmail front-ends to it, rather than having to
buy the biggest machine you can lay your hands on (which will
still - as you are finding - have limitations in terms of the hard
disks).

With Solaris, Veritas do a journalling-style filesystem, which will
offer improved performance over UFS. Also ensure that you don't
have any huge directories: many Unix filesystems struggle with large
directories, so think about using hashing to distribute your
files (user dirs etc.) into manageably-sized directories.

It would seem Sun aren't being very imaginative with their Qmail
figures, perhaps for the reason Toens mentions... but I'd suggest
that it is necessary to have a careful Qmail design for it to scale
properly anyway (My technique, when I first had to design a
large system like this as a Qmail-newbie was to get some
consultancy from Russ Nelson: Consultancy is cheap compared
to anything you buy from Sun... ;-)

cheers,

Andrew.
--
From:   Toens Bueker[SMTP:[EMAIL PROTECTED]]
Sent:   28 June 2000 15:31
To: [EMAIL PROTECTED]
Subject:Re: Building very large Qmail instalations...

Greg Moeller [EMAIL PROTECTED] wrote:

 I'm one of the admins of a largish Qmail installation (~60,000 mailboxes)
 and the hardware we're running it on it near the limit.
 (Sun Ultra 450, dual processor, A1000 storage array)
 The system is very IO bound, sometimes with a load average of 20-25.
 (although usually between 3-8)
 
 Now, we called Sun, asking about a high capacity disk solution, one that might 
 help with the IO problems.  (cache on the disk array to take care of all the 
 fsyncs Qmail does) They told us that around 50k-60k
 mailboxes is about the limit of Qmail. 
 
 Now, my question to all of you is how expandable is Qmail, and what's the best 
 way to do it?
 
 We're looking to expand the system to 150,000-200,000 mailboxes.

Their answer was predictable - at least they have to try
and sell their SIMS.

I don't know about qmail - but as we have used a Sun U2
(two cpus) with 100,000 mailboxes for a short period of
time with sendmail, qmail should easily handle much more.

The problem - in this case - is Suns filesystem and qmails
file operations. You didn't mention the number of disks in
your A1000 - but maybe you should add some and spread the
load between them.

My suggestion, though, would be to dump the E450 and grab
a reasonable sized Intel box (maybe dual PII 500) with FreeBSD
on it. With FreeBSD, ffs and softupdates your i/o
headaches should be gone.

By
Töns
-- 
Linux. The dot in /.






qmailq problem

2000-06-30 Thread °í¿µÈÆ



Hi everyone

Two days ago, I killed qmail proceses while it has 
manyqueues for local delivery
and system was restarted.

after that , I see so many qmail-clean proceses running on my 
system owned by qmailq.

and when I run 'qmail-qstat' , it answers more than 27000 
queues are exist.
but qmaildoes not delivery mail queues 


and cause there are so many qmail-clean 
process.
my system is going to crash

what can I do? 

plase help me out!!

* I'm not good at english... I hope you all 
understand what I'm saying





IMP with qmail-inject / qmail-pop3d

2000-06-30 Thread Antonio S. Martins Jr.

Hi,

   We had a qmail based mail server, using qmail with the MySQL patches
and Courier-IMAP (also with MySQL), using maildirs. I had instaled IMP for
the Webmail but, I can't figure out what parameters I need to supply to
qmail-inject for IMP will be able to send emails! Are there anyone with
IMP/Qmail working? 

   Another point, my last POP toaster where made using Qualcomm qpopper,
and since the change (to qmail-pop3d) my customers had noticed they didn't
had the status bar when downloading their email messages, the server (or
the client) didn't inform the number of emails and what email is currently
being downloaded, there is some parameter to change on qmail-pop3d to
alter that?

  Thanks in advance,

  Antonio

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  "Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!"  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /"\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \







/VAR/SPOOL/MAIL

2000-06-30 Thread Giuliano Cocchi

I'm trying to set my qmail to deliver to /var/spool/mail/$USER, i'm replacing
SENDMAIL.
I have installed qmail correctly, and added some users.
Reading the docs, i've found that changing the file /var/qmail/rc and adding
the line:

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

it should work.
(Sorry, but i'am a novice with qmail)
Restarting qmail, and trying to post a message for one of my users, the system
continue to send the mails to /home/$USER/Mailbox and not to
var/spool/mail/$USER.
Someone can give me an hand to look at the log (i don't
know how) and resolve the problem.
The command qmail-showctl give me:


qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 105, 102, 103, 0, 104, 106, 107, 108.
group ids: 501, 500.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is apollo.solonline.it.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is solonline.it.

defaulthost: (Default.) Default host name is apollo.solonline.it.

doublebouncehost: (Default.) 2B recipient host: apollo.solonline.it.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is xxx.xx.xx.

helohost: (Default.) SMTP client HELO host name is xxx.xx.xx.

idhost: (Default.) Message-ID host name is xxx.xx.xx.

localiphost: (Default.) Local IP address becomes xxx.xx.xx.

locals: 
Messages for xxx.xx.xx are delivered locally.

me: My name is xxx.xx.xx.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is xx.xx.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at xxx.xx.xx.
SMTP clients may send messages to recipients at xxx.xx.xx.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 xxx.xx.xx.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

Thank you.



Softlimit Error

2000-06-30 Thread Eddie Greer

Hello,

I just installed qmail 1.03 for the first time, I followed the instruction
in the Life With Qmail.  When I restarted the computer I get a error that
will not stop in the console screen.  I'm running Solaris 2.7 with all the
latest patches.
The error I receive is:


softlimit: fatal: unable to run  : file does not exist


Has anyone ever seen this error before, I searched through the archive for
help but no
luck.

Any help would be greatly appreciated.


Thanks,


Eddie Greer

Network Systems Engineer
University of California San Diego

Ph: (858) 534.0526
Fax: (858) 534.7758
Pager: (619) 406.1055
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Eddie Greer

Network Systems Engineer
University of California San Diego

Ph: (858) 534.0526
Fax: (858) 534.7758
Pager: (619) 406.1055
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




Re: clean all mail in mail queue

2000-06-30 Thread Russell Nelson

Edward Tsang writes:
  Hi there,
  
  There are many dead mail in my qmail mail queue. How can I clean it up ?

What do you mean by "dead mail"?  All mail times out within 7 days by
default, and is returned to the sender.  There is no action you need
to take to cause this to happen.

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



Re: Hotmail 554 transaction failed

2000-06-30 Thread James R Grinter

"Neil Chan" [EMAIL PROTECTED] writes:
 Do any one experience similar problems ?

I see a lot of (mailing list) mail rejected by Hotmail, seemingly
temporary errors that they reject with 5xx codes. I've just put it
down to them being thoroughly broken, and I advise people to not use
them whenever the opportunity arises.

I've tried mails to [EMAIL PROTECTED], before now, but never
elicited a response.

(Sometimes their bounces are for "mailbox full" errors, but they seem
to report those correctly even if their users probably don't
appreciate that they treat those as a 5xx permanent failure too.)

James.



multilog

2000-06-30 Thread Susan LB

I am trying to get multilog up and running under
supervise.  I have the following directories/files/run
scripts.

::
/var/qmail/supervise/qmail-pop3d/log/run
::
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t /var/log/qmail/pop3d

::
/var/qmail/supervise/qmail-send/log/run
::
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t /var/log/qmail

::
/var/qmail/supervise/qmail-smtpd/log/run
::
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t /var/log/qmail/smtpd

When I start up qmail svscan definitely starts and I
can see it supervising qmail-send, qmail-smtpd, and
qmail-pop3d but the multilog facilities don't start.

My log directories are set up as follows:

drwxr-xr-x4 qmaill   qmail1024 Jun 30
08:46 /var/log/qmail
drwxr-xr-x2 qmaill   nofiles  1024 Jun 29
21:27 /var/log/qmail/pop3d
drwxr-xr-x2 qmaill   nofiles  1024 Jun 29
21:27 /var/log/qmail/smtpd

If I manually start up multilog (by going to
/var/qmail/supervise/qmail-send and executing "run")
it will start up and create lock, stat, and current
files in /var/log/qmail but *nothing* ever gets logged
in the current file (i.e. it remains empty).  I also
get no error messages when starting multilog manually
nor when I start qmail using the init.d script.

I have this same exact setup on 3 machines.  It works
fine on 2 of them (i.e. multilog starts up fine when
qmail is started) but the 3rd machine is exhibiting
this strange behavior.  I've compared the machines and
I can not find any difference between them.

help!!

Thanks
Susan

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Re: multilog

2000-06-30 Thread asantos


From: Susan LB [EMAIL PROTECTED]
I have this same exact setup on 3 machines.  It works
fine on 2 of them (i.e. multilog starts up fine when
qmail is started) but the 3rd machine is exhibiting
this strange behavior.  I've compared the machines and
I can not find any difference between them.


Check the sticky bit on the log directory... if you compare with the other
two machines you'll see the difference.

Armando



 smime.p7s


Re: desperately looking for solution to this virtual domain problem

2000-06-30 Thread Jason Murphy


 Well, it is your lucky day, or unlucky if I am wrong. However, I just
finished doing what you want to do.

I will try to make this detailed but brief.

What you are trying to do is make a POP3 Toaster (Or IMAP Toaster) with
vitural users and vitural domains. Where each user of one domain is
independent of other unrelated users on other domains. So that means
[EMAIL PROTECTED] has nothing to do with [EMAIL PROTECTED] and both get mail without
bugging each other, and more importantly, not bugging you. (IE: The first
bob as nothing to do with the second bob and their mail will be seperate of
each other.)

What my list of software and instructions will give in the end is machine
takes mail for whatever domains and put them in maildir format on your
machine.
What is cool about this setup is that you can have normal mail users like
you would regularly think of, and also have virtual users, who will never
login to the machine execpt for pop and imap. So its a duel type system
Some of the great things about this system is that you can have quotas for
vitural user based on amount of messages and/or total size of all messages
for a user. You will also only have real accounts for the vitural domains.
For example, when you host hell.com, will have a user call "hellcom" (For
example). Then VmailManger will put the vitural users in "hellcom" account.
So you can host a tons virtual domains.

The whole system is alittle clumsy at first, but it works really well and it
grows on you after a couple of days. For example, its a couple of steps to
add a new user to a virtual domain, and more steps if it is new virtual
domain you have to add.

I am kinda running out of steam, so the docs are below. Post questions and
will get replies back to the list on my second wind.


To make this system you will need all/most of these below to make this
beast.
(Note: I did not use LDAP, so that might change things.)

 Unix Box that is up and working. (www.Linux.org or www.FreeBSD.org (Just to
name two))
 qmail-1.03 (www.qmail.org)
 tcpserve (http://cr.yp.to/ucspi-tcp.html)
 Courier IMAP (http://www.inter7.com/courierimap/)
 OpenSSL (www.openssl.org) (Encrypted IMAP)
 stunnel (http://mike.daewoo.com.pl/computer/stunnel/) (Encrypted IMAP)
 VmailManager (http://www.vmailmgr.org/)
 relay-ctrl (http://em.ca/~bruceg/relay-ctrl/) (If you want to let non-local
users send mail through your server)

 You need these need these patches:
 qmail-103.patch (Big DNS patch. AKA: The AOL Patch. Just about required)
 qmail-1.03-quotas-1.1.patch (Hard quotas error patch. If you want support
hardquota independent of VmailerManager)
 big-todo.103.patch (If you have a busy high volume server)
 big-concurrency.patch (If you have a busy high volume server)
 qmail-etrn-0.1f.diff (If you want to support stupid Exchange people)
 and the LDAP directory patch if your going to use LDAP.

Install tcpserver. Apply qmail patches to qmail.
Configure, compile and install qmail.
Configure, compile and install OpenSSL and stunnel, and then Courier IMAP
(In that order).
Get VmailManger; configure, compile and install it.
Get relay-ctrl, configure, compile and install.

Make sure to read docs to all the software. This give you a good idea of
whats going on.



hi  everybody

 I know this is a tense subject on the mailing list, but please bear with
 me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it
on
 my RedHat 6.1 box than the stock sendmail that's full of holes. However,
my
 dilemma is that I'm going to be running multiple virtual domains on one
 qmail server and dont want to use /etc/passwd rather i am planning to use
 LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
 USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
 follow to get the setup completed with qmail. , I have read through the
 FAQ's and found them a little confusing. I also searched through the
 mailing list archives and am even more confused. What I'm looking for here
 is a way to set up my server to accept mail for
  domain1.com,
  domain2.com and
 domain3.com ... etc, to
  domainn.com.
 Each domain should have its own unique users.
 That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED]
 Is this going to be a problem? This is the issue that I fail to see
 (easily) addressed from what I've read so far  for each of the domains so
 that each user can login using POP/IMAP to retrieve their mail( i am
 planning to use Maildir rather then Mailbox . I'd also like an way to
 handle Email aliasing so that
 [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I
need
 it to go.
  I'm not new to Linux, but I'm new to the idea of setting up multiple
 domains on a single host using qmail and directory server , so any
 hand-holding would be appreciated. Thanks much,


 thanks in advance , with warmest regards
 Prashant Desai

--

Jason Murphy
Web Developer and Systems and Database Administrator

E-mail: [EMAIL PROTECTED]
URL: 

Re: multilog

2000-06-30 Thread Susan Burgee

That go it.  You were absolutely right - that was the only difference between
the two machines.

Thanks so much. :)

Susan


 From: Susan LB [EMAIL PROTECTED]
 I have this same exact setup on 3 machines.  It works
 fine on 2 of them (i.e. multilog starts up fine when
 qmail is started) but the 3rd machine is exhibiting
 this strange behavior.  I've compared the machines and
 I can not find any difference between them.

 Check the sticky bit on the log directory... if you compare with the other
 two machines you'll see the difference.

 Armando




Making servers tell bytes send/recieved

2000-06-30 Thread Johan Almqvist

Hi!

Does anyone have a pointer as to how i can get qmail-smtpd and qmail-pop3d
(or tcpserver, for that matter) tell how much data has been sent and
received on a per-connection basis? Or has anyone written a patch to do
this?

Yes, I could probably get the kernel to tell me that, but I don't wanna.

-Johan
-- 
Johan Almqvist



Re: clean all mail in mail queue

2000-06-30 Thread Ben Beuchler

On Fri, Jun 30, 2000 at 07:34:09PM +0800, Edward Tsang wrote:

 There are many dead mail in my qmail mail queue. How can I clean it up ?
 (completely erase them)
 
 I tried to use qmail-clean but seem that it need to use qmail-start...

As noted by others on the list, it should not be necessary as they will
expire out of the queue after about a week.  Or five days.  I can't
remember which.  

Anyway, if you want to have it delete everything from the queue on it's
next pass through, you could run this command in the /var/qmail/queue/info
directory:

find . -type f -print | xargs touch 0530

This would touch all the info files to a date of about 2 months ago.  Next
time qmail tries to send them, it will see this and delete 'em from the
queue.

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson



Re: clean all mail in mail queue

2000-06-30 Thread Edward Tsang

Hi there,

- Original Message -
From: Russell Nelson [EMAIL PROTECTED]
To: Edward Tsang [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 30, 2000 9:39 PM
Subject: Re: clean all mail in mail queue


 Edward Tsang writes:
   Hi there,
  
   There are many dead mail in my qmail mail queue. How can I clean it up
?

 What do you mean by "dead mail"?  All mail times out within 7 days by
 default, and is returned to the sender.  There is no action you need
 to take to cause this to happen.


Actually, those mail are sent from a null-client. The client did not have
sendmail/qmail listening on port 25. As a result, qmail cannot rebounce
those email to originating host.

Actually, I am finding a way so that qmail can rewrite those return-path: of
email that qmail relay.

It seem that the mess822 on another package did not suitable for this
purpose.

Regards,
Edward.





digest version?

2000-06-30 Thread brandon


Is there a digest version of this mailing list?

Brandon



fork:cannot allocate memory

2000-06-30 Thread Luis Bezerra

Hello everyone:


Anyone knows this message?

FORK:CANNOT ALLOCATE MEMORY

Anyone knows this problem?

thanks in advance

Luis



Re: digest version?

2000-06-30 Thread Steffan Hoeke

On Fri, Jun 30, 2000 at 05:54:18PM -, [EMAIL PROTECTED] wrote:
 
 Is there a digest version of this mailing list?
Nope, sorry 
Since it's a very high volume list IMHO it wouldn't be advisable

 Brandon
Steffan
-- 
http://therookie.dyndns.org




Re: Softlimit Error

2000-06-30 Thread Rogue Eagle


Can you paste a copy of your
/var/qmail/supervise/qmail-send/run 

and 

/var/qmail/supervices/qmail-smptd/run 

scripts?


I'm not expert, but I'd be happy to look at them for
you.

Steve

--- Eddie Greer [EMAIL PROTECTED] wrote:
 Hello,
 
 I just installed qmail 1.03 for the first time, I
 followed the instruction
 in the Life With Qmail.  When I restarted the
 computer I get a error that
 will not stop in the console screen.  I'm running
 Solaris 2.7 with all the
 latest patches.
 The error I receive is:
 
 
 softlimit: fatal: unable to run  : file does not
 exist
 
 
 Has anyone ever seen this error before, I searched
 through the archive for
 help but no
 luck.
 
 Any help would be greatly appreciated.
 
 
 Thanks,
 
 
 Eddie Greer
 
 Network Systems Engineer
 University of California San Diego
 
 Ph: (858) 534.0526
 Fax: (858) 534.7758
 Pager: (619) 406.1055
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Eddie Greer
 
 Network Systems Engineer
 University of California San Diego
 
 Ph: (858) 534.0526
 Fax: (858) 534.7758
 Pager: (619) 406.1055
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 


=
---Someone told me that if you play a windoze NT CD backwards, it will play satanic 
messages.
---That's NOTHING!! If you play it forwards, it will install windoze NT!

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Re: fork:cannot allocate memory

2000-06-30 Thread Dave Sill

[EMAIL PROTECTED] wrote:

FORK:CANNOT ALLOCATE MEMORY

Anyone knows this problem?

It means you've run out of memory (RAM + swap). Add RAM or swap, or
lower your concurrencies or stop unneeded processes.

-Dave



Re: /VAR/SPOOL/MAIL

2000-06-30 Thread Dave Sill

[EMAIL PROTECTED] wrote:

Reading the docs, i've found that changing the file /var/qmail/rc and adding
the line:

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

it should work.
(Sorry, but i'am a novice with qmail)
Restarting qmail, and trying to post a message for one of my users, the system
continue to send the mails to /home/$USER/Mailbox and not to
var/spool/mail/$USER.
Someone can give me an hand to look at the log (i don't
know how) and resolve the problem.

What does "ps -ef | grep qmail-start" show? Does /home/$USER/.qmail or
/home/$USER/.qmail-default exist? What do they contain?

-Dave



Re: qmailq problem

2000-06-30 Thread Dave Sill

"°í¿µÈÆ" [EMAIL PROTECTED] wrote:

Two days ago, I killed qmail proceses while it has many queues for
local delivery and system was restarted.

after that , I see so many qmail-clean proceses running on my system
owned by qmailq.

and when I run 'qmail-qstat' , it answers more than 27000 queues are
exist.  but qmail does not delivery mail queues

What Do The Logs Say? (tm)

-Dave



Re: Change hostname IP Address

2000-06-30 Thread Dave Sill

Iman Budi Setiawan [EMAIL PROTECTED] wrote:

I have problem with qmail when changing my hostname and IP address.
Please, tell me the steps to set my qmail's configuration (like change the 
files in /var/qmail/control directory).

1) stop qmail
2) for all files in /var/qmail/control
 change old hostname to new hostname 
3) restart qmail

-Dave



Re: too many files

2000-06-30 Thread Dave Sill

Kimberly Vher [EMAIL PROTECTED] wrote:

im almost finished thanks to all of you guys, but 
i noticed that if im using ./Maildir/ qmail creat one file for all the
incoming mail meaning one mail one file. if i have so many users then many
incoming mail for every users meaning i have so many many files in my
system in their home directory right? do i need to worry in filehandle error? 

Filehandles are only used on open files, so no, you don't have to
worry about them with Maildirs. Inodes, on the other hand, are used by 
all files on disk. If you run out of inodes, you can't create more
files--even if the disk has lots of free space. THe only was you can
add inodes is by backing up the filesystem, re-newfs/mkfs'ing it with
more space for inodes, and restoring from the backup.

-Dave



Re: Sorry newbie question

2000-06-30 Thread Dave Sill

[EMAIL PROTECTED] wrote:

But for some reason this install is acting very wierd. I did a "standard"
(if there is such a thing) install of qmail.

The standard qmail install is detailed in "INSTALL" in the source
tree. Is that what you did?

Everything worked fine up
until the test email.  I am using Maildir. When i try to stop/restart/start
qmail i get this message 

"qmailsvc: warning: unable to chdir to /var/qmail/supervise/run: not a
directory"

why is it trying to chdir to the that dir  ?? is that a file for running
/var/qmail/rc ? 

It's supposed to be. How are you doing things like "stop/restart/start 
qmail"? Exactly what commands are you entering? If you're running
scripts, what do they contain?

-Dave



Re: Multilog: fatal: the final answer (hopefully)

2000-06-30 Thread Dave Sill

Steffan Hoeke [EMAIL PROTECTED] wrote:

On Thu, Jun 29, 2000 at 12:21:33PM -0400, Dave Sill wrote:
 Steffan Hoeke [EMAIL PROTECTED] wrote:
 
 On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
   Steffan Hoeke:
  
   "Ok, the /var/log/qmail permissions weren't the problem
   /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
  
  why that?
 No other reason than : Before the permission change qmail start would
 freak out with unable to change to current directory.  When i changed
 the permissions on /var/qmail/supervise and it's subs to qmaill.qmail
 it worked like a charm.
 
 The real reason is that multilog runs as user qmaill.
 
 I know it's not a scientific approach, but i couldn't find anything
 in lwq about the proper permissions (Dave, if you're reading this
 ;-))
 
 It's in there:
 
   Then set up the log directories:
 
 mkdir -p /var/log/qmail/smtpd
 chown qmaill /var/log/qmail /var/log/qmail/smtpd

Nope, this talks about the /var/log/qmail subtree.
I'm talking about the /var/qmail/supervise subtree ;-)

Sorry, I read that too fast. You're right: LWQ doesn't set the owner
for the supervise directories because everything that accesses them
runs as root.

I can't explain the errors you saw...

-Dave



Re: qmailq problem

2000-06-30 Thread Ben Beuchler

On Fri, Jun 30, 2000 at 02:58:03PM -0400, Dave Sill wrote:

 
 What Do The Logs Say? (tm)
 

Could we make that some sort of auto response every time someone posts to
the list?

And is there a particular reason so many people neglect to look at their
logs when trying to research a problem?

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson



Re: Queue Problems

2000-06-30 Thread Dave Sill

"Cedric Revest" [EMAIL PROTECTED] wrote:

When I issue a /var/qmail/bin/qmail-qstat i get:

messages in queue: 4
messages in queue but not yet preprocessed: 0

Straight after I issue a /var/qmail/bin/qmail-qread and get:

nothing at all

You've probably got some junk in the queue that'll be cleaned out
automatically after a couple days. If you're concerned, look at the
files and read INTERNALS.

Also clients have been getting times out when trying to send mail...

These problems are probably unrelated. Are you logging errors? What do 
you see when you telnet to port 25 and manually inject a message?

-Dave



ETRN and m$-exchange

2000-06-30 Thread Alexander Jernejcic

hi,
is there anybody running a qmail server with the ETRN patch?
i am facing serious troubles delivering mails to an exchange server via ETRN. qmail 
delivers mails with large delay. qmail-tcpto
shows an empty list but the queue is filled with mails - some one day old...

;) a




FW: ETRN and m$-exchange

2000-06-30 Thread Alexander Jernejcic

hi,
is there anybody running a qmail server with the ETRN patch?
i am facing serious troubles delivering mails to an exchange server via ETRN. qmail 
delivers mails with large delay. 
qmail-tcpto shows an empty list but the queue is filled with mails - some one day 
old...
 
;) a



Re: fastforward, redirection and truncating messages

2000-06-30 Thread Giles Lean


 Anyway-for the brief question. Has anyone ever seen the problem of
 emails being delivered with without the body of the message?

I would try to check that the mail actaully arrives at your system in
the format the users sending it believe it should.

I have had users of one PC mailer (Eudora) complain of this type of
behaviour.  One of the users tracked this down to a "forward to"
facility in the client only sending on portions of the message.  Their
workaround was to use some other Eudora facility ("redirect to")
instead.  I didn't investigate first hand; I'd believe anything about
PC mail clients except that someone somewhere wrote one that works.

Regards,

Giles




Newbie question

2000-06-30 Thread Chad Cranston

Well,
I have been playing w/ this install ...

but i still get this message in the maillog ...

   "home qmail: 962410407.609427 delivery 33:
deferral:unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/"

Any help would be appreciated

Chad





Re: Newbie question

2000-06-30 Thread Giles Lean


"home qmail: 962410407.609427 delivery 33:
 deferral:unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/"

Presumably your delivery instruction says "./Maildir".  For maildir
delivery you need a trailing slash: "./Maildir/".

Regards,

Giles



qmail-qread

2000-06-30 Thread TD

Hi.  Can someone tell me how to clean out the outgoing message queue ?
When I run qmail-qread it says I have 45,000 messages.  How do I forcibly
process all those messages or better still erase them all.   I have tried
restarting
qmail and rebooting the server as well but the server seems to have come to
a
stand still.

Any help would be appreciated !

Tony




Re: Newbie question

2000-06-30 Thread Chad Cranston

Changed the /var/qmail/rc file to read this 

qmail-start ./Maildir/ splogger qmail

and now i get this error message in the mail log 

starting delivery 8: msg 20539 to local chad@"domain.com"
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/


do i need the ./Maildir/ to be in quotes ?? 

Chad 


- Original Message - 
From: "Giles Lean" [EMAIL PROTECTED]
To: "Chad Cranston" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 30, 2000 7:14 PM
Subject: Re: Newbie question 


 
 "home qmail: 962410407.609427 delivery 33:
  deferral:unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/"
 
 Presumably your delivery instruction says "./Maildir".  For maildir
 delivery you need a trailing slash: "./Maildir/".
 
 Regards,
 
 Giles
 





Re: Newbie question

2000-06-30 Thread Steffan Hoeke

On Fri, Jun 30, 2000 at 10:39:36PM -0700, Chad Cranston wrote:
 Changed the /var/qmail/rc file to read this 
 
 qmail-start ./Maildir/ splogger qmail
 
 and now i get this error message in the mail log 
 
 starting delivery 8: msg 20539 to local chad@"domain.com"
 deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

This error is probably due to a rights problem or a non existant $HOME/Maildir/
did you do :
su -l [username]
maildirmake $HOME/Maildir

???


 do i need the ./Maildir/ to be in quotes ?? 
You need to create the Maildir AS the user in who's home directory you're 
creating it.

 Chad 
HTH,
 Steffan
-- 
http://therookie.dyndns.org