qmail Digest 1 Jul 2000 10:00:00 -0000 Issue 1049

Topics (messages 43952 through 43999):

too many files
        43952 by: Kimberly Vher
        43984 by: Dave Sill

Re: sending mail outside local domain
        43953 by: Andrew Richards

Re: delivery
        43954 by: Andrew Richards

clean all mail in mail queue
        43955 by: Edward Tsang
        43967 by: Russell Nelson
        43974 by: Ben Beuchler
        43975 by: Edward Tsang

Change hostname & IP Address
        43956 by: Iman Budi Setiawan
        43983 by: Dave Sill

Problems writing to Mailbox
        43957 by: Antonino Bascone
        43961 by: Johan Almqvist

desperately looking for solution to this virtual domain problem
        43958 by: reach_prashant.zeenext.com
        43959 by: reach_prashant.zeenext.com
        43971 by: Jason Murphy

Re: Qmail performance question...
        43960 by: Ken Jones

Re: Building very large Qmail instalations...
        43962 by: Andrew Richards
        43998 by: Greg Cope

qmailq problem
        43963 by: °í¿µÈÆ
        43982 by: Dave Sill
        43988 by: Ben Beuchler

IMP with qmail-inject / qmail-pop3d
        43964 by: Antonio S. Martins Jr.

/VAR/SPOOL/MAIL
        43965 by: Giuliano Cocchi
        43981 by: Dave Sill

Softlimit Error
        43966 by: Eddie Greer
        43979 by: Rogue Eagle

Re: Hotmail 554 transaction failed
        43968 by: James R Grinter

multilog
        43969 by: Susan LB
        43970 by: asantos
        43972 by: Susan Burgee

Making servers tell bytes send/recieved
        43973 by: Johan Almqvist

digest version?
        43976 by: brandon.discontent.com
        43978 by: Steffan Hoeke

fork:cannot allocate memory
        43977 by: Luis Bezerra
        43980 by: Dave Sill

Re: Sorry newbie question
        43985 by: Dave Sill

subscribe qmail
        43986 by: Guillermo Villasana Cardoza

Re: Multilog: fatal: the final answer (hopefully)
        43987 by: Dave Sill

Re: Queue Problems
        43989 by: Dave Sill

ETRN and m$-exchange
        43990 by: Alexander Jernejcic
        43991 by: Alexander Jernejcic

Re: fastforward, redirection and truncating messages
        43992 by: Giles Lean

Newbie question
        43993 by: Chad Cranston
        43994 by: Giles Lean
        43996 by: Chad Cranston
        43997 by: Steffan Hoeke

qmail-qread
        43995 by: TD

virtual user
        43999 by: Kimberly Vher

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]


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




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






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




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








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)









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.





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?




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 05300000

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




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.






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





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




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






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




  

   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






  

   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







 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: http://www.lawinfo.com
--------------------------------------------------------------
Lawinfo.com - Legal Industry Marketing for the 21st Century
Phone: 800-397-3743                         Fax: 800-220-4546
--------------------------------------------------------------







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




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







Brett Randall wrote:
> 
> Well...I have a little 2c to chuck in as well
> 
> I have just finished designing a system (and implementing it) for our
> corporation that allows distributed e-mail across a city, with hundreds,
> possibly thousands, of different locations either dialing up or being
> permanently connected to our main relay. And all e-mail is sent to
> [EMAIL PROTECTED], no subdomains (although we have set it up to allow for
> virtual domains in the future), and is delivered to the correct location.
> 
> All the e-mail is relayed to NFS shares on client machines around Sydney,
> uing Qmail's maildir delivery format. If an NFS share is down (ie a site
> hasn't dialed up recently or an ISDN link has failed), then it is deferred
> for up to a week - simplistic but it works. All users can check their e-mail
> internally from their local server or externally from the main server (only
> internet viewable machine in the entire network, and even then through a
> router) via NIS.
> 
> Why go to all this trouble? You may say. Why not just use aliases? Because
> aliases can create excess traffic, bouncing e-mails when servers are down
> and the like. The aim of this project was to make network traffic across the
> whole network as small as possible, with reliability for as many locations
> as possible and the ability for smaller ones to only have to dial in
> (similar to UUCP). This way, the only network traffic is an e-mail being
> transferred to an NFS share, and all employees are happy. If a server goes
> down, no others are affected (except if the master server was to go down,
> but even then POP and SMTP will still work, just being deferred until it
> comes up again). We are also working on a redundant server for when a link
> goes down or the server has a failure.
> 
> If you're still reading, congratulations you might be interested in all
> this. I am considering writing a HOWTO for this (Reliable and Efficient
> Distributed e-mail (REDE) across endless locations) if anybody wants it,
> because I have to document it all anyway for the corporation. There might
> already be something already out there, I dunno. But it was a great learning
> experience for me in Qmail, NFS, NIS, network infrastructure between
> locations... If anybody is interested in a HOWTO in the future, please
> e-mail me personally.

I would be interested just out of curitosity

Greg Cope


> Regards
> 
> Brett Randall





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




"°í¿µÈÆ" <[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




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




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








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

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

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

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

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

me: My name is xxx.xxxxxx.xx.

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

plusdomain: Plus domain name is xxxxxx.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.xxxxxx.xx.
SMTP clients may send messages to recipients at xxx.xxxxxx.xx.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 xxx.xxxxxx.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.




[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




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






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/




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




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-x    4 qmaill   qmail        1024 Jun 30
08:46 /var/log/qmail
drwxr-xr-x    2 qmaill   nofiles      1024 Jun 29
21:27 /var/log/qmail/pop3d
drwxr-xr-x    2 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/





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





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





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





Is there a digest version of this mailing list?

Brandon




On Fri, Jun 30, 2000 at 05:54:18PM -0000, [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





Hello everyone:


Anyone knows this message?

FORK:CANNOT ALLOCATE MEMORY

Anyone knows this problem?

thanks in advance

Luis




[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




[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




subscribe qmail




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




"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




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





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





> 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





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







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




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
> 






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





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





        

i have a virtual domain barkada.com in my qmail machine. then i want to
make a virtual user with that domain. there is a user kaibigan but i did
not activate nery as a user in the machine. but i want it like this if
somebody send to [EMAIL PROTECTED]  the email will automatically send to
[EMAIL PROTECTED] 

i add barkada.com in my rcpthosts

then in the virtualdomain i add

barkada.com:nery 

and in my kaibigan/.qmail file i added also

&[EMAIL PROTECTED] 

then when i tried to send to [EMAIL PROTECTED] i got this error.

Hi. This is the qmail-send program at qmail.pinoyswapcentral.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

what is my mistake here?

in sendmail i can do this in my /etc/virtusertable file as

[EMAIL PROTECTED] [EMAIL PROTECTED]

thanks!







Reply via email to