qmail Digest 22 May 1999 10:00:01 -0000 Issue 648

Topics (messages 25916 through 25947):

strange errorcode
        25916 by: Peter van Dijk <[EMAIL PROTECTED]>

suervising apache, squid, etc
        25917 by: "Robin Bowes" <[EMAIL PROTECTED]>
        25925 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        25926 by: "Robin Bowes" <[EMAIL PROTECTED]>
        25937 by: Anand Buddhdev <[EMAIL PROTECTED]>

Segmentation fault
        25918 by: Fred Backman <[EMAIL PROTECTED]>

Disk Quota+Qmail
        25919 by: Anand Buddhdev <[EMAIL PROTECTED]>

Is it possible to reject mail from sites with incorrect inverse DNS records
        25920 by: Anand Buddhdev <[EMAIL PROTECTED]>
        25921 by: Anand Buddhdev <[EMAIL PROTECTED]>

Unable to run qmail-remote??
        25922 by: Anand Buddhdev <[EMAIL PROTECTED]>

Virtual domains and ezmlm-idx
        25923 by: Anand Buddhdev <[EMAIL PROTECTED]>
        25927 by: [EMAIL PROTECTED]
        25928 by: "Fred Lindberg" <[EMAIL PROTECTED]>

order of operations
        25924 by: [EMAIL PROTECTED]

Which RFCs?
        25929 by: Stephen Anderson <[EMAIL PROTECTED]>
        25930 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        25938 by: Magnus Bodin <[EMAIL PROTECTED]>
        25939 by: "Sam" <[EMAIL PROTECTED]>
        25945 by: "Jay D. Dyson" <[EMAIL PROTECTED]>

Backup mail server, MANY MAIL servers
        25931 by: ivan <[EMAIL PROTECTED]>
        25934 by: [EMAIL PROTECTED]

qmail/fictitious domain/ppp connection
        25932 by: Eric Berg <[EMAIL PROTECTED]>

open smtp performance
        25933 by: Krzysztof Dabrowski <[EMAIL PROTECTED]>
        25935 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
        25936 by: Krzysztof Dabrowski <[EMAIL PROTECTED]>

qmail and lotus notes
        25940 by: [EMAIL PROTECTED]
        25944 by: "Fred Lindberg" <[EMAIL PROTECTED]>

ssh and checkpassword
        25941 by: Nuno Andrade <[EMAIL PROTECTED]>

Multiple Domains with Aliases
        25942 by: Donna Phillips <[EMAIL PROTECTED]>

Qmail quotas with mailquotacheck.sh
        25943 by: "Peter Janett" <[EMAIL PROTECTED]>

Automated vmkpasswd from vchkpw
        25946 by: Adam H <[EMAIL PROTECTED]>
        25947 by: Chris Johnson <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


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


On Fri, May 21, 1999 at 11:52:57AM +0200, Van Liedekerke Franky wrote:
> there are no disk errors reported on my mailserver, the queue is certainly
> not full and all other mail with big attachments are coming in just fine.
> Can I thus conclude the problem is remote server related?

It is definitely remote.

Greetz, Peter
-- 
| 'He broke my heart,    |                              Peter van Dijk |
     I broke his neck'   |                     [EMAIL PROTECTED] |
   nognikz - As the sun  |        Hardbeat@ircnet - #cistron/#linux.nl |
                         | Hardbeat@undernet - #groningen/#kinkfm/#vdh |




Has anyone used supervise to control apache, or squid, or mysql?

Any sample scripts would be appreciated...

R.
-- 
Robin Bowes - System Development Manager - Room 405A
E.O.C., Overseas House, Quay St., Manchester, M3 3HN, UK.
Tel: +44 161 838 8321  Fax: +44 161 835 1657




+ "Robin Bowes" <[EMAIL PROTECTED]>:

| Has anyone used supervise to control apache, or squid, or mysql?

Not me, but I'll offer an observation, since people frequently
misunderstand this (I am not saying you are one of these people):

You cannot use supervise to control daemons that fork to put
themselves in the background.  If the program has an option to run in
the foreground, use it (though that sometimes has the side effect of
turning on tons of debugging).  Otherwise, you must modify the program
to run in the foreground, or else abandon the supervise idea.

- Harald




Harald Hanche-Olsen wrote:
> 
> + "Robin Bowes" <[EMAIL PROTECTED]>:
> 
> | Has anyone used supervise to control apache, or squid, or mysql?
> 
> Not me, but I'll offer an observation, since people frequently
> misunderstand this (I am not saying you are one of these people):
> 
> You cannot use supervise to control daemons that fork to put
> themselves in the background.  If the program has an option to run in
> the foreground, use it (though that sometimes has the side effect of
> turning on tons of debugging).  Otherwise, you must modify the program
> to run in the foreground, or else abandon the supervise idea.

I am aware of this limitation; in fact, it's one of the main reasons I
am asking the question!

R.
-- 
Robin Bowes - System Development Manager - Room 405A
E.O.C., Overseas House, Quay St., Manchester, M3 3HN, UK.
Tel: +44 161 838 8321  Fax: +44 161 835 1657




On Fri, May 21, 1999 at 11:13:11AM +0100, Robin Bowes wrote:

I've used supervise in control squid in the past, and it was a life-saver,
since my squid had a tendency to crash unexpectedly. Supervise kept it
alive. I started it the usual way:

supervise /usr/local/squid/supervise /usr/local/squid/bin/squid &

With apache, I didn't have much luck. I'm sure I was doing something wrong,
but after starting up, supervise would keep complaining that it was unable
to start the service. Yet I could see http processes running. This is how I
started it:

supervise /usr/local/apache/supervise /usr/local/apache/bin/httpd &

I haven't used mysql and supervise.

> Has anyone used supervise to control apache, or squid, or mysql?
> 
> Any sample scripts would be appreciated...

-- 
System Administrator
See complete headers for address, homepage and phone numbers




Robin Bowes wrote:

> Fred Backman wrote:
> >
> > I sure will, but not for the time being. I will have to apply the patches
> > to v1.03 as well and this will take too long time to do now.
>
> Just out of curiousity, what do your patches do?

Mainly interface with a custom made user db. Totally independent of the
patches on www.qmail.org.




On Fri, May 21, 1999 at 03:27:27PM +0500, Shashi Dahal wrote:

The mail should bounce back. However, when you set the queue lifetime to 2
days, the message will not bounce at exactly 2 days. qmail will make one
last attempt to deliver the email, after the 2 days are up, and if it
fails, then it will bounce. In your case, maybe the 2 days are up, but the
message has not reached its retry time. Try sending an ALRM signal to
qmail-send, and see if it bounces.

> Dear All !
> 
> I have Redhat 5.2 with Qmail as the MTA. Each user of the system has
> limited disk quota. When I send mails to any user whose quota is finished,
> Qmail just loggs "Temporary Deferral on Mail Delivery" and the mails just
> remains on queue. I want the mails to be bounced back to the sender. My
> /var/qmail/control/queuelifetime is set to 2 days. I epected the mail to be
> bounced back after 2 days, but didn't worked.

-- 
System Administrator
See complete headers for address, homepage and phone numbers




On Fri, May 21, 1999 at 05:52:17PM +0800, Yusuf Goolamabbas wrote:

These days spammers are quite clever, and use hosts that have proper
reverse DNS. You are more likely to succeed in spam protection if you use
things like RBL.

> Thanks, for the info
> 
> > However, note that in my experience i have not seen any adverse effects of
> > allowing connections from sites which have no PTR records. Why do you want
> > to reject these connections?
> 
> Wouldn't spammers be likely to come from sites with such credentials,
> OTOH, It might affect people whose ISP's are unwilling/not clued in to
> set reverse maps for them
> 
> Thanks, yusuf
> 

-- 
System Administrator
See complete headers for address, homepage and phone numbers




On Fri, May 21, 1999 at 03:46:38PM +0800, Yusuf Goolamabbas wrote:

No patch needed.

Run tcpserver with the -p (PARANOID) option. Now, if it receives a
connection, and there is no PTR for that IP, tcpserver will unset the
TCPREMOTEHOST variable. Then instead of running qmail-smtpd directly, run a
shell script, like this:

#!/bin/sh
[ "X$TCPREMOTEHOST" = "X" ] && exit
exec /path/to/qmail/bin/qmail-smtpd

If you like, you can use echo to send some text to stderr before exiting
when there is no PTR record. Then, if you're logging tcpserver's activity,
you can log when connections are dropped.

However, note that in my experience i have not seen any adverse effects of
allowing connections from sites which have no PTR records. Why do you want
to reject these connections?

> Hi, I run a mail server with an upatched qmail-1.03 and tcpserver with rblsmtpd.
> 
> Is it possible to reject mail from sites which don't have correct inverse DNS 
> records (PTR records). If there is patch for qmail/tcpserver, would appreciate
> a pointer to it and a usage example

-- 
System Administrator
See complete headers for address, homepage and phone numbers




On Fri, May 21, 1999 at 09:46:51AM +0200, Ralf Guenthner wrote:

Check permissions on qmail-remote by running "make check" in the qmail source
directory. They might be wrong. If so, run "make setup" to fix it.

Also check to see that your computer's not running out of file
descriptors. A section of the log showing the exact error message
would be useful the next time you ask for help, so that we don't
have to guess what the problem might be.

> Hi
> 
> I had some undeliverable messages this morning and the reason stated by qmail was 
> 
> Unable to run qmail-remote. 
> 
> What could be the reason? System is qmail 1.03, running supervised as suggested in 
>the FAQ: supervise /var/run/qmail /var/qmail/rc
> 
> Thanks for any hints
> Ralf
> 

-- 
System Administrator
See complete headers for address, homepage and phone numbers




On Fri, May 21, 1999 at 09:48:40AM +0100, Petr Novotny wrote:

> I have a virtual domain jpcad.cz which is mapped to an existing 
> used jpcadcz. There is a list called beta in that domain; that list 
> should also exist in digest version. When I post to the list, the 
> message is distributed to all the regular subscribers but in my log I 
> have
> 1999-05-20 09:37:56.631164 delivery 3516: success: ezmlm-send:_info:_qp_2141/
> ezmlm-tstdig:_fatal:_I_don't_accept_messages_at_this_address_
> (inlocal_and/or_inhost_don't_match)_(#5.1.1)/did_0+0+7/
> which scares me a bit - and also nothing is ever sent to the
> digesters. inlocal contains "beta" and inhost contains "jpcad.cz".

inlocal should contain jpcadcz-beta, because that's the username seen by
ezmlm (because of virtual mapping). However, the latest ezmlm-idx can work
without this manual tweaking, if you use it with qmail 1.03. Try to upgrade
to ezmlm-idx 0.32.

-- 
System Administrator
See complete headers for address, homepage and phone numbers




On Fri, May 21, 1999 at 09:48:40AM +0100, Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I have a virtual domain jpcad.cz which is mapped to an existing 
> used jpcadcz. There is a list called beta in that domain; that list 
> should also exist in digest version. When I post to the list, the 
> message is distributed to all the regular subscribers but in my log I 
> have
> 1999-05-20 09:37:56.631164 delivery 3516: success: ezmlm-send:_info:_qp_2141/
> ezmlm-tstdig:_fatal:_I_don't_accept_messages_at_this_address_
> (inlocal_and/or_inhost_don't_match)_(#5.1.1)/did_0+0+7/
> which scares me a bit - and also nothing is ever sent to the
> digesters. inlocal contains "beta" and inhost contains "jpcad.cz".
> 
> What am I doing wrong?

I had the same problem. Which virutal domain package are you using?

edit the inlocal file in the mailing list directory and prepend
"jpcad.cz-" to the name of the list. So it should say jpcad.cz-beta

Cheers
Ken Jones
http://www.inter7.com/qmail/






On Fri, 21 May 1999 09:48:40 +0100, Petr Novotny wrote:

>I have a virtual domain jpcad.cz which is mapped to an existing 
>used jpcadcz. There is a list called beta in that domain; that list 
>should also exist in digest version. When I post to the list, the 
>message is distributed to all the regular subscribers but in my log I 
>have
>1999-05-20 09:37:56.631164 delivery 3516: success: ezmlm-send:_info:_qp_2141/
>ezmlm-tstdig:_fatal:_I_don't_accept_messages_at_this_address_
>(inlocal_and/or_inhost_don't_match)_(#5.1.1)/did_0+0+7/
>which scares me a bit - and also nothing is ever sent to the
>digesters. inlocal contains "beta" and inhost contains "jpcad.cz".

This really is for the [EMAIL PROTECTED] Edit DIR/inhost to contain
"xxx-beta" where your virtual domain definition is "jpcad.cz:xxx" (for
details, see the ezmlm-make man page or the ezmlm-idx FAQ under
"virtual domain").

Laternatively, upgrade your installation to ezmlm-idx-0.315 or -0.322
which should not require inlocal/inhost at all, provided that you run
qmail>=1.02. Send me private E-mail if this doesn't fix it.

If you don't know your qmail version, do:

% strings /var/qmail/bin/qmail-local | grep DEFAULT

If it's there, your version is ok.

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






hey, im running qmail 1.03 and have my smtproutes set up like so

.quintiles.com:[10.1.1.1]
quintiles.com:[10.1.1.1]

but when qmail sends to domains like

somedomain.quintiles.com
it seems to be doing a dns lookup to find out where to send the mail to..
isnt this supposed to be captured in the first line? .quintiles.com:[10.1.1.1]
I want it set up so that ANY domain.quintiles.com goes to 10.1.1.1

regards,
Jason






I'm having a hard time finding out which RFCs document various protocols.
I was hoping someone could point me where to look to find the applicable
RFCs for:

SMTP, POP3, LDAP, HTML, and MIME.

If anyone could help me out, I'd appreciate it!





+ Stephen Anderson <[EMAIL PROTECTED]>:

| I'm having a hard time finding out which RFCs document various protocols.
| I was hoping someone could point me where to look to find the applicable
| RFCs for:
| 
| SMTP, POP3, LDAP, HTML, and MIME.
| 
| If anyone could help me out, I'd appreciate it!

Read rfc-index.txt, available from all good RFC repositories.  Also,
for well-established standards there is std-index.txt, which is a lot
quicker when what you need is there.

- Harald




On Fri, 21 May 1999, Harald Hanche-Olsen wrote:

> + Stephen Anderson <[EMAIL PROTECTED]>:
> 
> | I'm having a hard time finding out which RFCs document various protocols.
> | I was hoping someone could point me where to look to find the applicable
> | RFCs for:
> | 
> | SMTP, POP3, LDAP, HTML, and MIME.
> | 
> | If anyone could help me out, I'd appreciate it!
> 
> Read rfc-index.txt, available from all good RFC repositories.  Also,
> for well-established standards there is std-index.txt, which is a lot
> quicker when what you need is there.

reverse chrological order with hyperlinks here:

http://rfc.x42.com/

/magnus

-- 
"MOST USELESS site of the year 1998" 
     --> http://x42.com/urlcalc/





Stephen Anderson writes:

> I'm having a hard time finding out which RFCs document various protocols.
> I was hoping someone could point me where to look to find the applicable
> RFCs for:
> 
> SMTP, POP3, LDAP, HTML, and MIME.
> 
> If anyone could help me out, I'd appreciate it!

SMTP: RFC821
MIME: RFC2045 - RFC2048

The rfc-editor.org's web pages contain a search function where you can find
the rest.


-- 
Sam





-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 21 May 1999, Stephen Anderson wrote:

> I'm having a hard time finding out which RFCs document various
> protocols.  I was hoping someone could point me where to look to find
> the applicable RFCs for: 
> 
> SMTP, POP3, LDAP, HTML, and MIME. 

        See the Internet Engineering Task Force website for the full list
of RFCs.  All the goods are there.

        http://www.ietf.org/

- -Jay

   (                                                              ______
   ))   .--- "There's always time for a good cup of coffee" ---.   >===<--.
 C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) |   = |-'
  `--'  `- Superman had Kryptonite, I have NT.  Life is real. -'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN0YV5s2OVDpaKXD9AQEzwAQA0sWBmOkwtL2kapbg6MgzcmQz8FUEr6er
zFYmtM6IpA+XlimVrStfCQnYS54SnzQSLoFPMbi9l3gxX1j3XFAhBJqkx680uMBq
sIrxscLVtOMmt/YMsrrAxa5iIdI4TXrQnakJUvbSbGqf0pLnxLkBhfs8mhwBFHL0
q7lPZIR93sM=
=O/LL
-----END PGP SIGNATURE-----





hi,

How can I setup a QMAIL as a backup mail server, what I have in mind ?!

I have other email server (under NT) and I want if it is down the second mail
server (in this case QMAIL) to recieve and send mail and second, users still to
have access to their POP3 mail boxes.
If this is not posiblle with different mail servers then how with 2 QMAIL
servers. What about of synchronizing them if they use a separate storage space
(2 diff. HDD on 2 diff. computers.).
What about many mail servers ?!?!

Any thoughts, proposals, opinions ..... are welcome.

Thanx alot in advance
=====
[EMAIL PROTECTED]
=====  




On Fri, May 21, 1999 at 05:44:39PM +0300, ivan wrote:
> hi,
> 
> How can I setup a QMAIL as a backup mail server, what I have in mind ?!
> 
> I have other email server (under NT) and I want if it is down the second mail
> server (in this case QMAIL) to recieve and send mail and second, users still to
> have access to their POP3 mail boxes.
> If this is not posiblle with different mail servers then how with 2 QMAIL
> servers. What about of synchronizing them if they use a separate storage space
> (2 diff. HDD on 2 diff. computers.).
> What about many mail servers ?!?!

One way is to have an nfs server and two qmail servers. Put all
the user maildirs on the nfs server and mount them on the two
mail servers. Each mail server should have a qmail queue installation
on thier local disk. 

Ken Jones
Inter7
http://www.inter7.com/qmailadmin/ - web admin of vchkpw virtual domains




I did two things to resolve this issue.

Remember that there are only two hosts in this scenario:  an internal
sendmail host and a qmail/gateway host. 

/etc/sendmail.cf go this to set my official domain name
Dj$w.nylug.org

and I per Adam McKenna's advice, I "put a domain that resolves into
/var/qmail/control/helohost."

Thanks again for all of your help.

-Eric.


Eric Berg: [Wednesday 19-May]:

> Once again, no network is an island, and I'm being reminded of that by
> bounced mail.
> 
> Scenario:
> 
> I'm connecting one of my linux boxes to the net via a UU.net ppp account.
> Internally, I've got 2 linux boxes:  1 is the PPP host, mail host, DNS host
> and soon to be IP Masquerade host, and the other one is my general
> workstation all nicely configured for all of my computing needs.
> 
> I've got fetchmail configured to retrieve mail from several different
> accounts and send the mail directly to my workstation, bypassing the
> qmail/ppp host, though qmail on the qmail/ppp host is configured with an
> alias which forwards all mail to my workstation.  Fine.
> 
> The one other issue is that I've set up DNS on the qmail/ppp host as both a
> caching as well as the nameserver for my fictitious internal network,
> ericberg.com.  Now, here's where I think that I run into problems.
> 
> Problems:
> 
> Most mail works just fine, but some domains require the domain from which
> mail originates to resolve -- a reasonable requirement.  Anyway, ericberg.com 
> doesn't.  
> 
> Here's the log entry for the failure:
> 
> May 19 08:57:37 moby qmail: 927118657.368399 delivery 1: deferral: 
>Connected_to_199.182.120.56_but_sender_was_rejected./Remote_host_said:_451_<[EMAIL PROTECTED]>..._Domain_must_resolve/
> 
> How should a qmail Admin go about thinking about this and solving the
> problem?
> 
> -Eric.

-- 
Eric Berg                                http://www.nylug.org/~eberg
Vice President, New York Linux Users Group           [EMAIL PROTECTED]




i have a little question regarding open smtp's performance under heavy load.
Running a separate shell process and then recreate tcprules for every pop3
connection looks like an overkill for me. We have a 3000+ users serer here
and we HAVE to implement some kind of authentication before relaying and we
can not just allow certain IP's as few of our customers are using IPass or
public dialups here.
If opensmtp is not suitable for us then could you poing me to any alternative?

Krzysztof Dabrowski





I am using Russel Nelson's POP3 before SMTP very successfully here on a
single server handling > 10,000 users.  I had to modify it slightly
though.  My tcprules update code makes sure that I have not already got a
rule that covers the new IP before adding it.

This works well and I will be expanding it in the next month to handle
multiple mail servers working off of a common tcprules set.  I will post
my results when I am done. :)

Tim Mayo

On Fri, 21 May 1999, Krzysztof Dabrowski wrote:

> i have a little question regarding open smtp's performance under heavy load.
> Running a separate shell process and then recreate tcprules for every pop3
> connection looks like an overkill for me. We have a 3000+ users serer here
> and we HAVE to implement some kind of authentication before relaying and we
> can not just allow certain IP's as few of our customers are using IPass or
> public dialups here.
> If opensmtp is not suitable for us then could you poing me to any alternative?
> 
> Krzysztof Dabrowski
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





At 11:14 99-05-21 -0400, you wrote: 
>I am using Russel Nelson's POP3 before SMTP very successfully here on a 
>single server handling > 10,000 users. I had to modify it slightly 
>though. My tcprules update code makes sure that I have not already got a 
>rule that covers the new IP before adding it. 
> 
Good. can you send me that modifications? I've got a simple c routine to 
remove duplicates but it requires a sorting of the input file so it takes 
too much time. 
Could you respond right now as i have to leave work and i would like to 
test it while i'm at home.
Kris





anyone using qmail to relay to louts notes? we are doing this now by using qmail
to relay to our internal lotus notes server.
The notes server only allows 8 incomming smtp sessions at a time.. when i dump
my queue by sending -ALRM to qmail-send, it only seems to dump a few messages..
the notes guy says that notes can only accept a session from 1 ip address at a
time, but that it can reveive multiple messages with that 1 session.. anyway, my
qmail queue that forwards to the notes box just keeps growing..

another thing,  how often does qmail-send go through its queue by default? is
there any way to change it?

regards,
Jason






On Fri, 21 May 1999 12:01:16 -0400, [EMAIL PROTECTED] wrote:

>The notes server only allows 8 incomming smtp sessions at a time.. when i dump
>my queue by sending -ALRM to qmail-send, it only seems to dump a few messages..

I am, I am superman. superhuman.software. We'll IBM/Lotus at least have
a good ad agency ;-)

You can set up a seperate qmail for that host and configure it with
concurrencyremote=1. Actually, you could even install sendmail with a
private queue to deliver to that server.

Qmail is a little smarter than sendmail. It uses a quadratic backoff,
so the interval for any given message increases as the message ages.
You may be able to hack it in the source, but make sure you understand
it first. There is a lot of magic in qmail timing.

If qmail makes one successful delivery and then two attempts time out,
it will mark the host as down and not try it for 1 hour (qmail-tcpto).
You may have better luck if you do qmail-tcpok before the -ALRM.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






Hi!

[EMAIL PROTECTED] wrote:
> 
> Has anyone successfully used ssh to provide a secure channel
> for POP3 authentication?
> 
> Actually, I'm looking for a more general case of secure
> checkpassword authentication for any tcpserver app.
> 

There is an utility called sslwrap that might help. What it does is
create an SSL encrypted link for services that usualy start from inetd
(and maybe tcpserver).

You can find it at: http://www.rickk.com/sslwrap/

Nuno Andrade
[ Sysadmin @ Centro de Comunicacoes da Universidade do Minho ]
--
  "...we shall wrestle gravity, capture Light, shrink Time, measure
Space and
 survive, man within machine within God." - Ray Bradbury




We have just recently spun up a new mail server running qmail 1.03.
The problem I am running into is the moderate amount of email from the few hours
our main server was offline that has seemed to get stuck in the queue.
What would be the least painful and most efficient way of getting mail from the
queue on mail2 to be delivered to the mailboxes now existing on mail1
I remember not so long ago a similar problem was posted and answered on the list,
but I can't seem to find the answer I am looking for

Any help is appreciated

Thanks
Donna





I'm using Paul Gregg's checkpasswd setup to create pop users that are not system 
users.  It's working great, but now I need to add
mail quotas.  So, I'm attempting to use his mailquotacheck.sh, from
http://www.tibus.net/pgregg/projects/qmail/mailquotacheck/mailquotacheck.sh

I can't quite get it, and have a few questions I think will help.

1)  What directory should the script go in?

2)  What exactly is the format of the .qmail file when using this script?

A few more details.  I have the script in /var/qmail/bin.  My .qmail in each $HOME 
looks like this:
|mailquotacheck
./Maildir/

I've also tried:
|/var/qmail/bin/mailquotacheck.sh
./Maildir/

Should these be on the same line?  Do I need the full path to the script?  Should I 
include the ".sh".

Thanks is advance,

Peter Janett





Hi all:
I have a question.
Anyone have an idea how to automate the creation of virtual users thru a
shell script.. So I can supply the password on the command line?
like
./vadduser <account> <password>
instead of it having to prompt me?

Basiaclly I'm pulling userId's and cleartest Pw's out of an internal
database and then submitting them to vadduser 

Thanks for any ideas/help.
Adam






On Sat, May 22, 1999 at 03:09:06AM -0400, Adam H wrote:
> Hi all:
> I have a question.
> Anyone have an idea how to automate the creation of virtual users thru a
> shell script.. So I can supply the password on the command line?
> like
> ./vadduser <account> <password>
> instead of it having to prompt me?
> 
> Basiaclly I'm pulling userId's and cleartest Pw's out of an internal
> database and then submitting them to vadduser 

What are you using to manage your virtual domains? If it's vmailmgr, use
vaddusers (not vadduser). If it's not, then I don't know.

You'd probably have better luck posting this question on your virtual domain
software's mailing list. It's really not a qmail question.

Chris


Reply via email to