qmail Digest 18 Sep 2000 10:00:00 -0000 Issue 1127
Topics (messages 48833 through 48850):
qmail and procmail
48833 by: Johan Almqvist
Re: [vmailmgr] [Announce] oMail-admin 0.95
48834 by: Olivier M.
need some help...
48835 by: Simo Lakka
48836 by: Magnus Bodin
Re: sending messages by common user
48837 by: QBA
48840 by: Ludvig Omholt
Trouble starting qmail on boot
48838 by: Gadoury
48839 by: wolfgang zeikat
Re: Why Qmail could is slow?
48841 by: Peter van Dijk
cute mail checking program
48842 by: Petre Rodan
Re: Stopping "user@virtualdomain" from receiving mail as "user@actualdomain"
48843 by: Felix von Leitner
Re: conf-spawn and FD_SET question
48844 by: Peter van Dijk
48845 by: James T. Perry
48846 by: Peter van Dijk
48848 by: James T. Perry
48849 by: P.Y. Adi Prasaja
help allo
48847 by: GINTRU.aol.com
Mail delivery problem
48850 by: Paul Tan
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!
I've hade quite some success using qmail and procmail together,
especially using spambouncer (http://www.spambouncer.org/),
and, even more, |bouncesaying formail -D 8000 .foo.msgid.file
[That's really neat...]
However, my procmail logs are filled to the level of unusability
with the following lines:
procmail: Extraneous deliver-head flag ignored
How can I make them go away (and go back to tail -f .procmail-log
for biff)?
-Johan
--
Johan Almqvist
On Sun, Sep 17, 2000 at 02:38:57AM +0200, Olivier M. wrote:
> Project homepage: http://omail.omnis.ch (with old, but working live demo)
Btw, just updated screenshot page, and online demo:
* Demo: http://admin.omnis.ch/omail/ (test.com - test)
* Screenshots: http://omail.omnis.ch/screenshots95.shtml
Regards,
Olivier
--
_________________________________________________________________
Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
PGP signature
hello
my problem is:
if i start pop3 with this:
env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0 pop-3
/var/qmail/bin/qmail-popup my.host.blah /var/qmail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir &
It starts fine, but if I logout then whoops it doesnt work anymore :P
how to fix that..
and howto add alias to pop3 like this
[EMAIL PROTECTED], I mean what you can ever invent @ domain.com
- zrx
On Sun, Sep 17, 2000 at 05:20:50PM +0300, Simo Lakka wrote:
>
> hello
>
> my problem is:
>
> if i start pop3 with this:
> env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0 pop-3
> /var/qmail/bin/qmail-popup my.host.blah /var/qmail/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir &
>
> It starts fine, but if I logout then whoops it doesnt work anymore :P
> how to fix that..
try to add "nohup" before that:
nohup env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0 pop-3
/var/qmail/bin/qmail-popup my.host.blah /var/qmail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir &
And for aliasing:
check out the .qmail-default-file in your domain directory.
And read this:
http://www.inter7.com/vpopmail/doc/vdelivermail.html
/magnus
--
http://x42.com/
On Sun, Sep 17, 2000 at 11:19:26AM +0200, Ludvig Omholt wrote:
> Just edit the file /etc/ppp/ip-up.local with your favorite editor (as
> root). If the file doesn't exist I think it should be safe to add it.
> This is the line I use on my home machine:
>
> # Try to deliver queued mail
> /usr/bin/killall -ALRM qmail-send
>
> Hope this helps.
>
> /Ludde
I added this command to my ip-up.local file but it doesn't work.
Could you send me your all ip-up script, maybe I have something
wrong there.
Thanks for help,
QBA
QBA wrote:
>
> On Sun, Sep 17, 2000 at 11:19:26AM +0200, Ludvig Omholt wrote:
> > Just edit the file /etc/ppp/ip-up.local with your favorite editor (as
> > root). If the file doesn't exist I think it should be safe to add it.
> > This is the line I use on my home machine:
> >
> > # Try to deliver queued mail
> > /usr/bin/killall -ALRM qmail-send
> >
> > Hope this helps.
> >
> > /Ludde
>
> I added this command to my ip-up.local file but it doesn't work.
> Could you send me your all ip-up script, maybe I have something
> wrong there.
Hmmm... I don't have anything else in there... It just looks as follows.
You might want to check if it is executable though. In my /etc/ppp/ip-up
file which calls ip-up.local there is a check [ -x /etc/ppp/ip-up.local
] to see that the script exists and is executable before it is run.
ip-up.local:
---8<---
#!/bin/bash
# Try to deliver queued mail
/usr/bin/killall -ALRM qmail-send
---8<---
/Ludde
--
_ _ _ __ __ ___
| | | | | \| \| __| Ludvig Omholt .................. http://ludde.net
| |_| | | D | D | _| 070-310 08 71 ................... [EMAIL PROTECTED]
|___|___|__/|__/|___| ++++++++ linux kernel 2.2.17 on an i686 +++++++++
Hi,
My qmail setup is based on the HOW-TO from www.flounder.net. I am using RH
6.2. When I run /etc/rc.d/init.d/svscan start Qmail starts up without any
trouble, however when I restart my server, Qmail is not being started up. I
then have to log into the server and run /etc/rc.d/init.d/svscan start.
Here is the first part of init.d/svscan:
#!/bin/sh -e
#/etc/rc.d/init.d/svscan : start or stop svcan.
case "$1" in
start)
echo -n "Starting djb services: svscan"
env - PATH="/usr/local/bin:$PATH" svscan /service &
echo $! > /var/run/svscan.pid
echo "."
;;
The perms for init.d/svscan are:
-rwxr-xr-x 1 root root 548 Sep 16 04:01 svscan
I have created symlinks in all of my /etc/rc.d/rc*.d files to init.d/svscan
the perms for those symlinks are:
lrwxrwxrwx 1 root root 16 Sep 14 08:17 K30svscan ->
../init.d/svscan
When looking at the other scripts in init.d/ I see that they all have lines
containing:
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
if [ ${NETWORKING} = "NO" ]
.
.
[ - f /usr/sbin/named ] || exit 0 ]
[ -f /etc/named.conf ] || exit 0 ]
Do I need entries like this in init.d/svscan or does something need to be in
/etc/inittab?
Any pointers to a HOW_TO or guide for using rc.d and init would be
appreciated.
Thanks
David
the K* symlinks kill the processes on shutdown,
for startup you need the S* symlinks in /etc/rc.d/rc*.d, e.g. S95svscan
wolfgang
Also sprach Gadoury <[EMAIL PROTECTED]> on 17.09.2000:
lrwxrwxrwx 1 root root 16 Sep 14 08:17 K30svscan ->
../init.d/svscan
On Fri, Sep 15, 2000 at 09:55:58PM -0400, Chris Johnson wrote:
> On Fri, Sep 15, 2000 at 09:48:08PM -0700, Tim Hunter wrote:
> > What do you mean by qmail-send went down? there should be a message in the
> > logs as to why it "just went down"
>
> Actually, it's "want down." I was a bit surprised that svstat was saying this,
> but I looked in the svstat source, and sure enough "want down" is in there.
> Without digging too deeply into the source, I'd guess that this means that the
> service is currently running, but that supervise is waiting for it to stop.
Which would make perfect sense on a qmail restart. qmail needs to go
down before it can go up again, and running deliveries keep it from
going down.
Greetz, Peter
--
dataloss networks
'/ignore-ance is bliss' - me
Hi ppl!
I've made a super-simple super-small super-alpha_version *sh script that
checks a Maildir for any new mail. If there is something there it pops
up an animated gif somewhere on you screen.
I have no idea if this will actually work for you, it's my first script
ever.
I made this because I needed it (it uses about 40k of non-shared mem)
and I guess maybe someone else out there will like it.
So have fun !
Peter
PS I have a way-out OFF-QMAIL-TOPIC (c) question which I have to ask ;)
If you feel like responding, please use mailto:[EMAIL PROTECTED] .
Is there any Linux c\c++ editing program out there that resembles (or
exceeds) a Borland editor/compiler (for mickeysoft) ? This would mean:
F9 to compile the source ;)
highlight the errors found during compile in the editor,
alt-F1 to get help from C-C++ reference on the currently selected
function.
Many thanks,
Peter
postalion-0.0.1.tgz
> I got the virtual domain working, users in the virtual domain are able to
> get mail as "user@virtualdomain". How do I stop the user from getting mail
> assigned to "user@actualdomain"?
$ echo @actualdomain >> /var/qmail/control/badmailfrom
You cannot stop internal mails from being delivered to your actual
domain.
Or use a filter in your .qmail that prohibits mails not address to
virtualdomain.
Felix
On Sat, Sep 16, 2000 at 11:23:59AM +0900, James T. Perry wrote:
[snip]
>
> I got curious and was poking around with my qmail setup,
> and a simple 'grep -r FD_SET' into the kernel sources gave
> me (amongst many similar) a line in:
> /usr/src/linux-2.2.17/include/linux/posix_types.h
> which said:
> #define __FD_SETSIZE 1024
>
> I know that I shouldn't be screwing with kernels, but
> I was just curious if this was safe/the right place to
> change, or if I could change the 1024 to say 2048 (or
> something appropriate?) and recompile the kernel and
> also be safe to run everything.
FD_SETSIZE is not a kernel variable, it's just used by the macro's
for handling select() fdlists. Adding a -DFD_SETSIZE=2048 (yes,
that's without the __) to the correct conf-file in the qmail source
should do the trick.
Ok, found it. This is what I do in my installscripts:
echo Fixing $QMAIL/conf-cc...
echo 'cc -O2 -DFD_SETSIZE=4096' > $QMAIL/conf-cc
Greetz, Peter.
--
[ircoper] [EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student] Undernet:#groningen/wallops | IRCnet:/#alliance
[developer] _____________
[disbeliever - the world is backwards] (__VuurWerk__(--*-
Hi Peter,
Thanks for your response.
Peter van Dijk wrote:
> FD_SETSIZE is not a kernel variable, it's just used by the macro's
> for handling select() fdlists. Adding a -DFD_SETSIZE=2048 (yes,
> that's without the __) to the correct conf-file in the qmail source
> should do the trick.
oops (*blush*cough*). OK :)
I'm glad I didn't go diving into the kernel sources.
> echo Fixing $QMAIL/conf-cc...
> echo 'cc -O2 -DFD_SETSIZE=4096' > $QMAIL/conf-cc
I tried this above, and "make setup" still gives me the
"Oops. Your system's FD_SET() has a hidden limit of
1024 descriptors..." error message from chkspawn.
I tried it also with 2048 and still the same error msg.
Do you think some system environment variable is
affecting this, or kernel parameters in /proc maybe?
This isn't mission critical but I was just curious
if I could change conf-spawn to 1000 or so for future
reference (e.g. bulk-email performance tests for ball
park figures -> not for abuse, I hate spammers)
my setup:
linux kernel 2.2.17
qmail 1.03
+ localtime, DNS, big-todo, big-concurrency patches
changes in qmail configuration:
lspawn rspawn both set to 100
conf-spawn set to 250
ucspi-tcp-0.88
daemontools-0.70
Thanks again,
jamie
> [disbeliever - the world is backwards] (__VuurWerk__(--*-
Yes, I must agree that I have felt that way many times :)
#---------#---------#---------#---------#---------#---------#---------#
-- If somebody can help create a search engine for my room,
I will call them a Saint...
GUI == Graphical User Interference
On Mon, Sep 18, 2000 at 03:00:53PM +0900, James T. Perry wrote:
> > that's without the __) to the correct conf-file in the qmail source
> > should do the trick.
>
> oops (*blush*cough*). OK :)
> I'm glad I didn't go diving into the kernel sources.
>
> > echo Fixing $QMAIL/conf-cc...
> > echo 'cc -O2 -DFD_SETSIZE=4096' > $QMAIL/conf-cc
>
> I tried this above, and "make setup" still gives me the
> "Oops. Your system's FD_SET() has a hidden limit of
> 1024 descriptors..." error message from chkspawn.
>
> I tried it also with 2048 and still the same error msg.
Hmm. Could be that the linux select() isn't as flexible as the FreeBSD
select (yes, wild speculation here ;)
Did you try with __FD_SETSIZE? It looks like the GNU libc include
structure is more complicated and obscure.
> > [disbeliever - the world is backwards] (__VuurWerk__(--*-
> Yes, I must agree that I have felt that way many times :)
Hmm and it's not even a stolen quote :)
Greetz, Peter.
--
[ircoper] [EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student] Undernet:#groningen/wallops | IRCnet:/#alliance
[developer] _____________
[disbeliever - the world is backwards] (__VuurWerk__(--*-
Hi Peter,
Thank you again for your input again.
Peter van Dijk wrote:
> Hmm. Could be that the linux select() isn't as flexible
> as the FreeBSD select (yes, wild speculation here ;)
> Did you try with __FD_SETSIZE? It looks like the GNU libc include
> structure is more complicated and obscure.
Still no success.
I tried this time with -D__FD_SETSIZE with 2048 and 4096 and
I got a lot of compiler warning messages like:
/usr/include/bits/types.h:92: warning: `__FD_SETSIZE` redefined
so this proves that -D__FD_SETSIZE is the right args, but
chkspawn still says the same thing.
I was reading stuff on the net referenced from the Kernel docs
in /usr/src/linux/Documentation/ and didn't quite understand
all of it but gave me the impression that the recent linux
kernels are limited to 1024 descriptors.
I/O Event Handling Under Linux
http://www.atnf.csiro.au/~rgooch/linux/docs/io-events.html
The C10k problem
http://www.kegel.com/c10k.html
This URI below gave me some references about giving the kernel
extra params through /proc/sys/fs/, which could be irrelevant
for all I know...
http://www.volano.com/linux.html
Well,
I think this is at the point where its not related directly
to qmail anymore so I should stop wasting everyones bandwidth.
If any one who knows what might be of this, I would
gladly like to have a discussion in private.
If any success, I will post just the results for the record.
I apologize, but also thank all of you.
jamie
I never dreamed going this far, but its very exciting.
I guess my first step towards kernel hacking starts here? :)
#---------#---------#---------#---------#---------#---------#---------#
-- If somebody can help create a search engine for my room,
I will call them a Saint...
GUI == Graphical User Interference
On Mon, Sep 18, 2000 at 05:50:59PM +0900, James T. Perry wrote:
> I got a lot of compiler warning messages like:
> /usr/include/bits/types.h:92: warning: `__FD_SETSIZE` redefined
> so this proves that -D__FD_SETSIZE is the right args, but
> chkspawn still says the same thing.
How about raising the __FD_SETSIZE value on /usr/include/bits/types.h
itself? And, don't forget to touching chkspawn.c ...
Salam,
P.Y. Adi Prasaja
help allo
Hi,
I'm using Qmail+vpopmail+qmailadmin on linux server with reiserfs. My
problem is intermitten, local users can send mail to remote users without
problems, but occasionally they cannot send to other local users, there are
no error msgs but the postmaster gets all the mail ! I really do not know
what is going on.
what other information do you guys need to solve this??
Thks a Million
Paul