qmail Digest 13 Dec 2000 11:00:00 -0000 Issue 1212

Topics (messages 53908 through 53949):

Re: Qmail source files - developer version
        53908 by: Felix von Leitner
        53913 by: Greg Owen

Qmail and RFC1894 - Delivery Status Notifications
        53909 by: James Morgenstein
        53929 by: Peter van Dijk

Attachment-based relaying
        53910 by: Brett Randall
        53930 by: Felix von Leitner
        53932 by: Brett Randall
        53938 by: Felix von Leitner

a problem about hostname/virtual domain
        53911 by: qmail.col7.metta.lk
        53912 by: Charles Cazabon
        53914 by: qmail.col7.metta.lk
        53915 by: Tim Hunter

Problems with MASQ IP's
        53916 by: Corey Jarvis
        53917 by: Tim Hunter

Remove a message
        53918 by: Ari Arantes Filho
        53944 by: andrew.tic.ch
        53945 by: ari.doctordata.com.br

Re: Outlook Express Prank
        53919 by: Aaron L. Meehan
        53920 by: James Stevens
        53947 by: Einar Bordewich
        53948 by: Einar Bordewich

Amavis + MySQL on Qmail :)
        53921 by: Antonio S. Martins Jr.
        53922 by: Piotr Kasztelowicz
        53927 by: Rainer Link

Re: Email all with Qmail
        53923 by: Markus Stumpf
        53928 by: Markus Stumpf
        53943 by: andrew.tic.ch

Re: qmail sending to local users before a piped alias?
        53924 by: Markus Stumpf

Re: FreeBSD, Qmail, and NFS
        53925 by: Markus Stumpf
        53926 by: Delanet Administration

Re: qmail, linux and large scale environment
        53931 by: Henning Brauer

How to configure Qmail to Received Mail in place of  another domain temporaly ?
        53933 by: yves.mybutler.com
        53934 by: joshua stein

QMAIL SMTP OPEN RELAY
        53935 by: Jimmy Newell
        53936 by: joshua stein
        53937 by: Brett Randall
        53939 by: Frank Precissi
        53940 by: defender of the protocol
        53949 by: Henning Brauer

Re: alias account problem, pls help!
        53941 by: mok swee loong

add account name after X-foo:
        53942 by: Murakami, Keiko

Re: about setting up the disklist.conf
        53946 by: Albert Hopkins

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]


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


Thus spake Alex Kramarov ([EMAIL PROTECTED]):
> Maybe I am asking on the wrong forum, but boes anybody know, if there
> is a "developer" version of qmail sources with at lease some remarks
> and functionality description in the code so it would be more readable
> ? Or if there is a site that has some description on the way qmail is
> written. I want to write an addon to qmail, so it could forward mail
> to another server before it hits the queve, splitted to several
> copies, one for each recipient domain. I think many could benefit from
> this feature, in terms of bandwidth conservation.

This feature can (and should) be implemented externally, i.e. without
editing the qmail sources at all.

Just take the qmail-smtpd sources and write a new smtpd.

Felix




  Felix von Leitner [mailto:[EMAIL PROTECTED]] said:
> Thus spake Alex Kramarov ([EMAIL PROTECTED]):
> > I want to write an addon to qmail, so it could forward mail
> > to another server before it hits the queve, splitted to several
> > copies, one for each recipient domain. I think many could 
> > benefit from this feature, in terms of bandwidth conservation.
> 
> This feature can (and should) be implemented externally, i.e. without
> editing the qmail sources at all.
> 
> Just take the qmail-smtpd sources and write a new smtpd.

        Whoa, whoa, let's not get too excited here.  Before you go
rewriting, you should read FAQ 8.2:

] 8.2. How do I keep a copy of all incoming and outgoing mail messages?
] 
] Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h.
] Recompile qmail. Put ./msg-log into ~alias/.qmail-log.

        Using this to forward copies however you want is left as a
straightforward exercise for the reader.  'man dot-qmail' will be helpful.  

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]
              SoftLock.com is now DigitalGoods!




All-

I have a need to process mail server bounces in an automated fashion and
planned to make use of RFC1894 - An Extensible Message Format for Delivery
Status Notifications.

This appears to be used by most of the public mail servers that I have
tested against, but when a mail bounces out of one of my local qmail
machines (e.g., cannot connect after the maximum queue time), the message
that I am receiving back from qmail does not appear to follow the RFC
specification for reporting this error.

Do I have something mis-configured?  Is there a patch to bounce using
RFC1894 standards?

Thanks for the help.

James





On Tue, Dec 12, 2000 at 09:56:55AM -0500, James Morgenstein wrote:
[snip how to get qmail to use DSN]

Don't use DSN. VERP provide a much more reliable way of detecting
bounces. qmail supports VERP natively, and any remote hosts need not
even support it.

If you *really* want DSN, any available patches should be listed on
www.qmail.org.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me




Hi all, I did a bit of a search in the archives but with no answer to
this interesting question.

My boss wants to relay all outgoing mail which has large attachments
through our other, less used, connection to the Internet. I don't mind
placing another mail server on that link, but what I need to know is
how to intercept mail that our users send through our mail server,
check the size of the mail, and if it exceeds a certain size (say,
5mb), then it relays the mail to another qmail relay, otherwise the
current relay treats it as normal outgoing e-mail.

Does anyone have ideas as to how I would implement this? TIA
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
    brett    _ @ _    ipsware.com




Thus spake Brett Randall ([EMAIL PROTECTED]):
> Hi all, I did a bit of a search in the archives but with no answer to
> this interesting question.

> My boss wants to relay all outgoing mail which has large attachments
> through our other, less used, connection to the Internet. I don't mind
> placing another mail server on that link, but what I need to know is
> how to intercept mail that our users send through our mail server,
> check the size of the mail, and if it exceeds a certain size (say,
> 5mb), then it relays the mail to another qmail relay, otherwise the
> current relay treats it as normal outgoing e-mail.

> Does anyone have ideas as to how I would implement this? TIA

Use an smtproute and write a small filter that looks at the size and
injects the mail at the proper server.

Felix




On Tue, 12 Dec 2000, [EMAIL PROTECTED] wrote:

> Use an smtproute and write a small filter that looks at the size and
> injects the mail at the proper server.

Need I say that is kind of obvious... In fact that's basically
condensing my original e-mail into a sentence (well done!) But HOW is
what I asked. 'Use an smtproute' - I presume you mean the
smtproutes file? OK I can dynamically create that (I think) with my
filter, but where do I place my filter in the system? And I don't
think it is overly safe changing smtproutes on a per-email basis. If
concurrencyremote was only 1, then OK. But since multiple processes
could be reading the file at the one time, that isn't overly safe.

The other key word I see you use is 'inject'. OK AFAIK qmail-inject
doesn't have an option to send the mail using a specific server. The
only way I could see to do this is send all e-mails that the filter
passes to a Maildir via NFS, and the server on which the e-mail is now
located has a cron job run every few minutes to process the Maildir
and queue it all locally, with this machine having a different
smtproute.

But surely there has to be an easier (and more reliable) method than
this that I can use...

Thanks for your help
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
    brett  _ @ _  ipsware.com




Thus spake Brett Randall ([EMAIL PROTECTED]):
> > Use an smtproute and write a small filter that looks at the size and
> > injects the mail at the proper server.
> Need I say that is kind of obvious... In fact that's basically
> condensing my original e-mail into a sentence (well done!) But HOW is
> what I asked.

There is no built-in mechanism to filter all incoming email, but there
are several virus scanner packets you might want to look at.

Or you could patch your smtpd so that it calls filter-inject.pl instead
of qmail-inject.  You have to write filter-inject yourself, though.

Be creative.

Many people have thought about doing input and/or output filtering with
qmail, but noone has done a generic package AFAIK.

Felix




Hi all,

I have installed qmail, sqwebmail, vpopmail, vqsignup.
My machine name is "mail.metta.lk"

The installation has been done on a Redhat 7.0 
and sqwebmail is in the dir /home/vpopmail/
I have generated the domain name  "metta.lk" in the dir below using the
given program.

/home/vpopmail/domains/metta.lk/

I can login to the webserver, 
create accounts on the server, 
and send mail from the server.

But the server does not deliver mail to the virtual domain "metta.lk"
The MX has been set correctly in the dns and mail is going to
mail.metta.lk but returned. see message below.

I have a feeling that the conflict is because the domain name "metta.lk" 
and the virtual domain name "metta.lk" is the same,
and I have not told qmail correctly that it should
deliver incoming mail addressed to "metta.lk"  to a virtual domain,
it instead tries to deliver that mail to itself.

The contents of /var/qmail/control is as follows:
-------------------------------------------------
-rw-r--r--    1 root     root           11 Nov 28 11:45 defaultdelivery
./Maildir/
-rw-r--r--    1 root     root            9 Nov 28 11:34 defaultdomain
mail.metta.lk
-rw-r--r--    1 root     root           34 Dec 12 14:05 locals
localhost
mail.metta.lk
metta.lk
-rw-------    1 root     root            0 Dec  8 18:33 locals.lock
-rw-r--r--    1 root     root           14 Nov 28 11:34 me
-rw-r--r--    1 root     root            9 Nov 28 11:34 plusdomain
-rw-r--r--    1 root     root           49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
dhamma.metta.lk
-rw-------    1 root     root            0 Dec  8 18:33 rcpthosts.lock
-rw-r--r--    1 root     root           18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk
-rw-------    1 root     root            0 Dec  8 18:33 virtualdomains.lock

I suspect the virtualdomains incorrect.
below is the returned message.

Your advice is much appriciated
Mettavihari
Sri Lanka.


-------------------------------------
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Date: 12 Dec 2000 08:14:59 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mail.metta.lk.
I tried to deliver a bounce message to this address, but the bounce
bounced!

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

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 886 invoked for bounce); 12 Dec 2000 08:14:59 -0000
Date: 12 Dec 2000 08:14:59 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice


Hi. This is the qmail-send program at mail.metta.lk.
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)

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

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

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 879 invoked by uid 508); 12 Dec 2000 08:14:58 -0000
Message-ID: <[EMAIL PROTECTED]>
From: "metta" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: test after putting metta.lk in locals
Date: Tue, 12 Dec 2000 08:14:58 GMT
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit


Test after putting metta.lk in
/var/qmail/control/locals

-----------------------------------------------
Get a free webmail account from http://metta.lk
If one holds oneself dear, one should protect oneself well. During every
one of the three watches the wise man should keep vigil. Random Dhammapada
Verse 157

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




[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I have installed qmail, sqwebmail, vpopmail, vqsignup.
> My machine name is "mail.metta.lk"
[...] 
> I have generated the domain name  "metta.lk" in the dir below using the
> given program.
> 
> /home/vpopmail/domains/metta.lk/

Hmm, vpopmail.  It handles virtualdomains a little differently from stock
qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.

> But the server does not deliver mail to the virtual domain "metta.lk"
> The MX has been set correctly in the dns and mail is going to
> mail.metta.lk but returned. see message below.
> 
> I have a feeling that the conflict is because the domain name "metta.lk" 
> and the virtual domain name "metta.lk" is the same,
> and I have not told qmail correctly that it should
> deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> it instead tries to deliver that mail to itself.
> 
> The contents of /var/qmail/control is as follows:

Post the contents of the files
/var/qmail/control/{locals,virtualdomains,rcpthosts} .

You probably have "metta.lk" in locals, while it should be only in
rcpthosts and virtualdomains.  locals should probably only contain
'localhost' and 'mail.metta.lk'.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




On Tue, Dec 12, 2000 at 11:24:55AM -0600, Charles Cazabon wrote:

> > I have installed qmail, sqwebmail, vpopmail, vqsignup.
> > My machine name is "mail.metta.lk"
> [...] 
> > I have generated the domain name  "metta.lk" in the dir below using the
> > given program.
> > /home/vpopmail/domains/metta.lk/
> Hmm, vpopmail.  It handles virtualdomains a little differently from stock
> qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.
 
> > But the server does not deliver mail to the virtual domain "metta.lk"
> > The MX has been set correctly in the dns and mail is going to
> > mail.metta.lk but returned. see message below.
> > 
> > I have a feeling that the conflict is because the domain name "metta.lk" 
> > and the virtual domain name "metta.lk" is the same,
> > and I have not told qmail correctly that it should
> > deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> > it instead tries to deliver that mail to itself.
> > 
> > The contents of /var/qmail/control is as follows:
> 
> Post the contents of the files
> /var/qmail/control/{locals,virtualdomains,rcpthosts} .
> 
> You probably have "metta.lk" in locals, while it should be only in
> rcpthosts and virtualdomains.  locals should probably only contain
> 'localhost' and 'mail.metta.lk'.

I have tried several ways
I also just tried the setup suggested by you
but mail is still not going to domain.
below are the files /var/qmail/control/

-rw-r--r--    1 root     root            9 Nov 28 11:34 defaultdomain
metta.lk
-rw-r--r--    1 root     root           34 Dec 12 14:05 locals
localhost
mail.metta.lk
-rw-r--r--    1 root     root           49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
metta.lk
-rw-r--r--    1 root     root           18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk

Thanks for the help.
with best regards
Mettavihari
Sri Lanka.




First Excuse my Outlook 2000, corp standard.

The only files you need to be concerned with for virtual hosts using
vpopmail:
/var/qmail/control/rcthosts
metta.lk
/var/qmail/control/virtualdomains
metta.lk:metta.lk
/var/qmail/users/assign
+metta.lk-:metta.lk:512:5002:/home/vpopmail/domains/metta.lk:-::
/home/vpopmail/domains/metta.lk/vpasswd
relevant password entries

All of these changes would have been made if you added the domain with
~vpopmail/bin/vadddomain metta.lk

I would suggest deleting the domain ~vpopmail/bin/vdeldomain metta.lk
and readding it, something is severely screwed up.






Hi to anyone who can help,
The situation that I have is that I have my Linux box setup with Qmail and I am masquerading all internal IP's to 192.168.0.0/24.
Every email I send out has a header that says it is coming from unknown (windows share name) 192.168.0.3 and when this gets
sent to hotmail lets say then it gets deferred saying that it can't make an SMTP connection.  This has resulted in me not being able to
email to anyone at certain hosts due to the non-routeable IP.  Thanks ahead for anyone who has an answer.
Signed,
Corey Jarvis
 




All my users are behind a firewall with IP's 192.168.100.0/32.
I never had a problem sending to hotmail.
I recently have changed my tcpserver setting to hide the IP address and computer name:
# Local Users (hide hostname and IP address)
192.168.100.:allow,TCPREMOTEHOST="",TCPREMOTEIP="",RELAYCLIENT=""
 
Sending to hotmail from home behind a masq never had a problem (without the hidden settings) and I never remember an issue before I made my changes here.
Sounds like you might have other problems (typically hotmail servers have been quite sh*tty in the past)
 
-- Tim
-----Original Message-----
From: Corey Jarvis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 2:05 PM
To: [EMAIL PROTECTED]
Subject: Problems with MASQ IP's

Hi to anyone who can help,
The situation that I have is that I have my Linux box setup with Qmail and I am masquerading all internal IP's to 192.168.0.0/24.
Every email I send out has a header that says it is coming from unknown (windows share name) 192.168.0.3 and when this gets
sent to hotmail lets say then it gets deferred saying that it can't make an SMTP connection.  This has resulted in me not being able to
email to anyone at certain hosts due to the non-routeable IP.  Thanks ahead for anyone who has an answer.
Signed,
Corey Jarvis
 




Hi,

    The qmail is working very well.

    I'm trying to remove a message doing the following:

Script to start send:

    supervise /var/qmail/supervise/send | \
        setuidgid qmaill tai64n | setuidgid qmaill tai64nlocal | \
        setuidgid qmaill multilog s1000000 n5 /var/qmail/log/send &

Script to stop:

    svc -dx /var/qmail/supervise/send

Steps:

1) stop the send
2) ps ax | grep remote ==> to see the messages that are currently being sent
2.5) kill with -15 the qmail-remote process of the message(s) I want to
cancel
3) tail -f /var/qmail/log/send/current ==> until I see "exiting..."
4) qmail-qread to see the number of messages I want to kill
5) cd /var/qmail/queue
    find . -name NUMBER -exec rm -f {} \;
6) start the send again

Sometimes I see the following error:
multilog: fatal: unable to switch to current directory: access denied

At this time, the queue is running but no log, then I kill the send again
and try again to start it, sometimes it works, but sometimes the error is
still there...

How can I stop this error? Is the way I'm trying to delete message ok?

Thanks,

Ari






Ari,

> How can I stop this error? Is the way I'm trying to delete message ok?

I think you're re-inventing the wheel. Checkout qmHandle, on www.qmail.org.

cheers,

Andrew.






ok, but with qmHandle I need to stop qmail (send and smtp)...


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Ari Arantes Filho" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 12:02 AM
Subject: Re: Remove a message


> Ari,
>
> > How can I stop this error? Is the way I'm trying to delete message ok?
>
> I think you're re-inventing the wheel. Checkout qmHandle, on
www.qmail.org.
>
> cheers,
>
> Andrew.
>
>
>





Quoting James Stevens ([EMAIL PROTECTED]):
> Without going into a 20 page technical look at every bug here's some 
> simple tips even biggeners should know.
> 
> 1. Don't use the 'Preview' plane.
> 2. Don't let or set Outlook to open messages automatically.
> 3. Don't open any executable or any other microsoft attachement unless 
> it's from someone you know and trust. VBS bugs are kewl but are a 'PAIN 
                        ^^^^^^^^^^^^^^

Well there is precisely the biggest bitch about Lookout: most VBS
worms you get _are_ from someone you know and trust, like your mom,
since the worms scour Lookout's blasted address book, eh?  Note that I
could write a shell script to do the same thing to mutt, but the
problem is that the unwashed masses are the ones running Upchuck
products.  We strongly recommend our customers not use it,
unfortunately many do.

Aaron




Laugh, I have tried.... In vein I might add as anyone knows. 

But still they persist.. (sigh)

BTW- Best way to not get a VBS worm is to add a couple of filters and 
rework your reg. But I don't recommend that for the light of heart.. 
hehehe

--JT

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 12/12/00, 11:22:18 AM, Aaron "L." Meehan <[EMAIL PROTECTED]> wrote 
regarding Re: Outlook Express Prank:


> Quoting James Stevens ([EMAIL PROTECTED]):
> > Without going into a 20 page technical look at every bug here's some
> > simple tips even biggeners should know.
> >
> > 1. Don't use the 'Preview' plane.
> > 2. Don't let or set Outlook to open messages automatically.
> > 3. Don't open any executable or any other microsoft attachement unless
> > it's from someone you know and trust. VBS bugs are kewl but are a 'PAIN
>                         ^^^^^^^^^^^^^^

> Well there is precisely the biggest bitch about Lookout: most VBS
> worms you get _are_ from someone you know and trust, like your mom,
> since the worms scour Lookout's blasted address book, eh?  Note that I
> could write a shell script to do the same thing to mutt, but the
> problem is that the unwashed masses are the ones running Upchuck
> products.  We strongly recommend our customers not use it,
> unfortunately many do.

> Aaron




----- Original Message -----
From: "Robin S. Socha" <[EMAIL PROTECTED]>
To: "Qmail-List" <[EMAIL PROTECTED]>
Sent: Monday, December 11, 2000 10:19 PM
Subject: Re: Outlook Express Prank


> * Hubbard, David <[EMAIL PROTECTED]> writes:
> > What does the MUA have to do with an MTA?
>
> Show me a competent Unix admin using Outlook or a similar abomination
> and I won't show you the difference.
<snip>

So what you are saying, is that to be a good unix admin, you can't use
Windows?
I consider myself a pretty ok unix admin, but I can't live without my W2K
laptop.
It does it's job, and my linux machines are doing theirs. Something I prefer
doing on my W2K laptop, and then agin other I prefer doing on one of my
linux'es.

Just another "MAC is bether than PC", "FreeBSD rulez linux" etc..... Can't
beat them, join them!

BTW: I know my way around on Windows, MAC, Linux, FreeBSD, NextSTEP, etc....
and feel pretty good about it ;-)
--
--------------------------------------------
IDG New Media        Einar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:              eibo(at)newmedia.no
--------------------------------------------






I'll guess MS has fixed that problem, since my OE5.5 did'nt freeze or react
at all on that mail. But then again, I'm preety eager on fixes for my W2K
machine.

--
--------------------------------------------
IDG New Media        Einar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:              eibo(at)newmedia.no
--------------------------------------------

----- Original Message -----
From: "Chris Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 11, 2000 11:11 PM
Subject: Re: Outlook Express Prank


> On Mon, Dec 11, 2000 at 05:46:02PM -0300, martin langhoff wrote:
> > I'm asking for a bit of professionalism. Whoever posted that practical
> > joke was doing it on purpose -- and that's not professional at all.
> > Professionals know that it takes a lot of work to build, and very little
> > to destroy.
> >
>
> Everyone needs to take a deep breath and just relax. The message I posted
was
> in the context of a discussion of certain types of legal addresses that
mutt
> didn't handle correctly. As an aside, I posted a message with an address
in it
> that caused Outlook Express to lock up. It didn't "destroy" anything. It
wasn't
> a virus. It didn't erase files. It simply made it necessary to kill
Outlook
> Express and restart it.
>
> If you use Windows (and I do), it's a fact of life that programs lock up
> frequently and unexpectedly. You kill them, or sometimes you have to
reboot
> (which in this case you didn't), and life goes on.
>
> So please spare me all this talk of "attacks" and "vicitms" and so forth.
If
> you want to get angry at someone, get angry at the Microsoft software
engineers
> who put out an MUA that can be locked up by messages containing certain
> sequences of ASCII characters.
>
> Chris
>





Hi,

   There are someone using Amavis with Qmail? I had a Qmail+MySQL server
and want to put Amavis on it... I had tryed, and aparently all are working
but the load of the server start to increase until the watchdog process
reboot it!

   Without Amavis all work ok! I'll begin to debug what are doing wrong.
Thanks for any info!

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








On Tue, 12 Dec 2000, Antonio S. Martins Jr. wrote:

> Hi,
>
>    There are someone using Amavis with Qmail? I had a Qmail+MySQL server
> and want to put Amavis on it... I had tryed, and aparently all are working
> but the load of the server start to increase until the watchdog process

I have made installation on Qmail but without MySQL and works excellent

Piotr
---
Piotr Kasztelowicz                 <[EMAIL PROTECTED]>
[http://www.am.torun.pl/~pekasz]





"Antonio S. Martins Jr." wrote:
>    There are someone using Amavis with Qmail? I had a Qmail+MySQL server
> and want to put Amavis on it... I had tryed, and aparently all are working
> but the load of the server start to increase until the watchdog process
> reboot it!
> 
>    Without Amavis all work ok! I'll begin to debug what are doing wrong.
> Thanks for any info!

Which version of AMaViS do you use? AMaViS 0.2.1 or AMaViS-Perl-10? How
high is your server load?!

Btw, we do run mailing lists for AMaViS (see www.amavis.org). As our
time is limited, we do not read all the mailing lists/newsgroups for the
supported MTAs on a regular basis. But of course we read our own mailing
lists :-)

best regards,
Rainer Link

-- 
Rainer Link  | Student of Computer Networking                            
[EMAIL PROTECTED] | University of Applied Sciences, Furtwangen, Germany       
rainer.w3.to | http://www.computer-networking.de/




On Fri, Dec 08, 2000 at 06:38:13PM +1100, Dennis wrote:
> All as in "all email accounts on my qmail system"
> As for where and how, thats my question.

If you only have "real" users on your system, then it's rather easy:

# awk -F: '{print $1}' > ~alias/.qmail-allusers
# chmod 644 ~alias/.qmail-allusers

send mail to   allusers@<your_local_hostname>

If you have virtualdomains and user/assign then it becomes more
complicated. That's why I asked where the information about "all"
is kept.

If you only mean POP users  by "all" you may want to have a look at
    <URL:http://www.qmail.org/>
and search for qmail-popbull in the [Yet More Qmail Addons] section.

        \Maex

-- 
SpaceNet AG               |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.




On Tue, Dec 12, 2000 at 09:21:55PM +0100, Markus Stumpf wrote:
> # awk -F: '{print $1}' > ~alias/.qmail-allusers
> # chmod 644 ~alias/.qmail-allusers

*ARGL* This should read
    # awk -F: '{print $1}' /etc/passwd > ~alias/.qmail-allusers
    # chmod 644 ~alias/.qmail-allusers

*sigh*
Sorry,  \Maex




Hi,

I don't still have the original post "Email all with Qmail" here, but methinks the
"qmail-popbull" might be a good alternative take on this issue (Advantages: Conserves
i-nodes, "Instant" delivery. Disadvantages: More work during POP3 session, tiny extra
amount of admin) - from www.qmail.org as usual...

cheers,

Andrew.





On Fri, Dec 08, 2000 at 01:52:29PM -0500, Collin B. McClendon wrote:
> I'm piping mail to listserv@ to a lsoft program. However the local user gets
> the mail not th program in the .qmail-listerv alias.
> How can I fix this? I'm doing something temporary with aliasing lists@ but
> this isn't what I really want..

Do you see any deliveries in the logs for the program?
If they are there, does the program reject the eMails?
In that case - I don't know about the software, but - maybe a 
   "| preline <program>"
would help?

        \Maex

-- 
SpaceNet AG               |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.




[ Cc: reduced to this list ]

On Mon, Dec 11, 2000 at 06:35:08PM -0500, Delanet Administration wrote:
> where the mail server is unable to read the contents of user directories
> (the NFS server can see them fine). At these times the only fix has been
> to move the contents of the directory into a temporary location and
> delete the directory, add it back and move the files back. This happens
> once every 2 or 3 months.

Hmmm ... never seen this.
If you try to do something like a "ls" in that directory, do you get
any errors? Timeout?

> This leads to the next question, is file locking necessary under Qmail
> when using the Maildir style directory structure for the mail store?

No, Maildirs are designed to work without locking.
See 
    $ man 5 maildir
and there the [RELIABILITY ISSUES] section:

   [ ... ] In contrast, in maildir, no locks are ever necessary.
   [ ... ] maildir works without trouble over NFS

qmail-pop3d doesn't use locking either and there is no prevention for
simultaneous access to the same Mailbox.

In FreeBSD a lot of NFS bugs have been fixed since the 3.2 Release and
- from my feeling, no facts ;-) - it has become more stable and reliable.

        \Maex

-- 
SpaceNet AG               |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.




Markus Stumpf wrote:

> [ Cc: reduced to this list ]
>
> On Mon, Dec 11, 2000 at 06:35:08PM -0500, Delanet Administration wrote:
> > where the mail server is unable to read the contents of user directories
> > (the NFS server can see them fine). At these times the only fix has been
> > to move the contents of the directory into a temporary location and
> > delete the directory, add it back and move the files back. This happens
> > once every 2 or 3 months.
>
> Hmmm ... never seen this.
> If you try to do something like a "ls" in that directory, do you get
> any errors? Timeout?
>

It locks up the session and requires me to kill that shell completely, leaving ls
still in memory hung. Likewise, qmail leaves multiple copies of vdelivermail (I'm
using vpopmail for virtual domains) stuck in memory unable to exit and I end up
having to reboot to clear them out. For busy customer accounts I've seen it tie up
400+ instances of it very quickly. This happens to any process that tries to
access the directory during that time.

I've since added soft mount and intr options to the nfs mounts which so far
appears to have fixed the processs from getting hung in memory. But that does not
explain to me how or why nor does it sound like the best solution, only a way to
avoid it which does not sit well with me.

> In FreeBSD a lot of NFS bugs have been fixed since the 3.2 Release and
> - from my feeling, no facts ;-) - it has become more stable and reliable.
>
>         \Maex
>
> --
> SpaceNet AG               |   http://www.Space.Net/   | Stress is when you wake
> Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
> Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
> D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.

--
------------------------------------------------------------
Stephen Comoletti - Network Engineer / Systems Administrator
Delanet Inc. http://www.delanet.com
Frontline Communications Corp. http://www.fcc.net
phone: (302) 326-5800 fax: (302) 326-5802 x312
262 Quigley Blvd, New Castle, DE 19720, USA
------------------------------------------------------------


S/MIME Cryptographic Signature





Am Montag, 11. Dezember 2000 23:19 schrieb [EMAIL PROTECTED]:
> I need to use ldap for the authentication.  Is
> there an LDAP attribute that I could use such that qmail would check it for
> the location of the user's home mailstore?  (say if I split the user b se
> on to 2 back end stores).  

Just use the qmail-ldap patch from www.nrg4u.com. It's great, has clustering 
support (also working great at least on OpenBSD), has some other features 
important for big servers - check it out.
Btw, running _really_ loaded server on linux is not such a good idea. You 
might wan't to check *BSD.


-- 

Henning Brauer         |  BS Web Services
Hostmaster BSWS        |  Roedingsmarkt 14
[EMAIL PROTECTED]     |  20459 Hamburg
www.bsws.de            |  Germany




Hello,

     How I can config my qmail server to "temporaly" ( 1-2 hours )
     accept all the mail for another domain, And after that 
     "relaying" theses email to the good server (now up and runnig!).

Thanks

Yves




[EMAIL PROTECTED] wrote:
> How I can config my qmail server to "temporaly" ( 1-2 hours )
> accept all the mail for another domain, And after that 
> "relaying" theses email to the good server (now up and runnig!).

put the domain in rcpthosts, but not locals.  make sure it's also a
secondary mx for the domain.  the server will accept the email but
continually try to send the email to the original server until it's back
up.

  -j




How do I completely open up my qmail smtp server to be a smtp relay?
 
I've searched the archives is deleting the /var/qmail/control/rcpthosts file all I need to do?
 
What are the symptoms of not compiling the DNS patch,  I don't remember if I patched it.




Jimmy Newell wrote:
> How do I completely open up my qmail smtp server to be a smtp relay?

don't.

> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do?

no.




On Wed, 13 Dec 2000, [EMAIL PROTECTED] wrote:

> How do I completely open up my qmail smtp server to be a smtp relay?
> 
> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do?

And make sure that you aren't passing tcpserver a -x argument (checks
to make sure the originating IP address is allowed to relay)
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
    brett  _ @ _  ipsware.com




Unless you are running the server on an internal LAN, I *high*
discourage you from opening up a smtp relay.. Not only will you be
frowned upon by the internet community for being a spam-haven, but you
and your ISP could be put on the RBL (which is very bad)..  But to
answer your question, deleting the rcpthosts should do the trick.

Frank


Jimmy Newell wrote:

> How do I completely open up my qmail smtp server to be a smtp relay?
> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do? What are the
> symptoms of not compiling the DNS patch,  I don't remember if I
> patched it.

--
-=-=-=-=-=-8<-=-=-=-=-=-
'I sense much NT in you. NT leads to blue screen, blue screen leads to
downtime, downtime leads to much suffering.' --- unknown linux jedi

http://www.vadept.com/pgp-public.txt







just out of curiosity, why would you want to do that?

- jeremy

At 06:20 PM 12/12/2000 -0600, joshua stein wrote:
>Jimmy Newell wrote:
> > How do I completely open up my qmail smtp server to be a smtp relay?
>
>don't.
>
> > I've searched the archives is deleting the
> > /var/qmail/control/rcpthosts file all I need to do?
>
>no.





Am Mittwoch, 13. Dezember 2000 09:31 schrieb Jimmy Newell:

> How do I completely open up my qmail smtp server to be a smtp relay?

nice joke.

-- 

Henning Brauer         |  BS Web Services
Hostmaster BSWS        |  Roedingsmarkt 14
[EMAIL PROTECTED]     |  20459 Hamburg
www.bsws.de            |  Germany




> > and i have no problem with all the alias accounts all this while. BUT
one
> > particular alias account does give me this weird problem!
> > when someone send mail to this alias account - some of the users in this
> > list will receive MULTIPLE copies of the same mail, and some dun receive
any
> > copy at all!!
>
> > and in the log i found something suspicious:
>
> > starting delivery 74: msg 32174 to local
> > [EMAIL PROTECTED]
> > status: local 1/10 remote 0/20
> > delivery 74: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
> > status: local 0/10 remote 0/20
>
> > - obviously an alias account doesnt have any real maildir, any idea what
> > could cause this error?
>
> What's in /home/vpopmail/domains/mydomainname.com/.qmail-aliasname? Are
> there no duplicates, and do all Maildirs exist and have correct
> permissions?

no : ) i already make sure there are no duplicate entry, and yup, all have
valid Maildirs and have correct permission.

> > - and this particular alias acount contains 65 entries, is the biggest
alias
> > in my setup, could this be a problem?
>
> Only to manage them. If you have that many subscribers you might want to
> look into using ezmlm-idx with vpopmail.

Thanks for the opinion, will try the ezmlm-idx.

Thanks vince!

> Vince.
>





I'm  beginner for qmail and I have one question.
qmail can add sender's mail address after user define header X-foo: ?
EX:
X-any: [EMAIL PROTECTED]





On Tue, Dec 12, 2000 at 11:37:00PM -0500, John R. Jackson wrote:
> >   In my disklist.conf, I have set up the following:
> >
> >localhost /etc comp-root-tar
> >localhost /home comp-root-tar
> >202.85.165.88 /home comp-root-tar=20
> 
> I recommend you put a real host name in there instead of "localhost".
> If you ever need to move to a new server, that name will be wrong.

The reason I use localhost instead of the host name is that my host name 
points to the ethernet interface and localhost points to the loopback 
interface.  Therefore if I use the host name backup packets to the local 
host are going out on the ethernet, which is ineficient.  But if I am 
wrong about this let me know.

 -- 
                                                     Albert Hopkins
                                             Sr. Systems Specialist
                                              Dynacare Laboratories 
                                              [EMAIL PROTECTED]



Reply via email to