qmail Digest 20 Dec 2000 11:00:01 -0000 Issue 1219

Topics (messages 54196 through 54265):

Re: More on relay problem, something to do with tcpserver
        54196 by: Andrew Richards

Re: 501 Badly structured mime attachment
        54197 by: Alex Kramarov

How can I change return path "Return Path?"
        54198 by: joaquim
        54207 by: Charles Cazabon

Re: smtp-auth problem
        54199 by: Clemens Hermann

Re: odd problem...
        54200 by: Dave Sill
        54215 by: defender of the protocol

Re: Life With qmail -- INCOMPLETE ???
        54201 by: Dave Sill

Re: How Using IMAP4/POP3
        54202 by: Dave Sill

Re: relay-ctrl problem
        54203 by: Charles Cazabon

Re: Trailing Spaces?
        54204 by: Charles Cazabon
        54219 by: Markus Stumpf
        54261 by: Adam Fladwood
        54262 by: Tim Hunter

Creating new aliases
        54205 by: Joao Costa
        54210 by: Peter Samuel

Re: Changing the Received line in header
        54206 by: Charles Cazabon
        54225 by: Markus Stumpf

?
        54208 by: richard morris
        54211 by: Peter Samuel
        54212 by: Tim Hunter

Re: Disable envnoathost?
        54209 by: Peter Samuel
        54218 by: Kris Kelley

Re: Qmail support in Australia ?
        54213 by: Russell Nelson
        54214 by: Peter Samuel

How User can change password
        54216 by: Ould
        54223 by: Charles Cazabon

alias and qmail-users
        54217 by: pedro
        54220 by: Peter Samuel

(no subject)
        54221 by: Hugo Escobar

Re: Potentially stupid question about bounces...
        54222 by: Kris Kelley

Re: www.abuse.net test and mail Qmail server - Help
        54224 by: Russell Nelson
        54226 by: Vince Vielhaber
        54227 by: Aaron L. Meehan
        54235 by: Roberto Samarone Araujo \(RSA\)

qmail install
        54228 by: Timothy Falardeau
        54230 by: Peter Samuel

Aliases
        54229 by: Alex Le Fevre
        54231 by: Charles Cazabon
        54232 by: Peter Samuel

accept only mails from or for local domain
        54233 by: Clemens Hermann

Help to solve DNS
        54234 by: Tim Hunter
        54236 by: Charles Cazabon
        54238 by: Markus Stumpf

Re: Qmail and Large Scale Dynamic Mailings
        54237 by: David L. Nicol

Should I try the Qmail-scanner?
        54239 by: Eric Wang
        54240 by: Markus Stumpf
        54241 by: Ruprecht Helms
        54242 by: Pat Berry
        54243 by: Mike Jackson
        54244 by: Jason Haar
        54247 by: Charles Cazabon
        54248 by: Olivier M.
        54249 by: Einar Bordewich

Re: how to ignore $HOME/.qmail ?
        54245 by: Matt Harrington

ETRN
        54246 by: richard morris

unable to install
        54250 by: Thomas Holton
        54252 by: Markus Stumpf

Redirect addresses
        54251 by: Ari Arantes Filho
        54253 by: Jamin A. Brown
        54254 by: Markus Stumpf

rcpt/backup mx based on IP ?
        54255 by: Markus Stumpf
        54256 by: Jamin A. Brown
        54257 by: Mark Delany
        54258 by: Markus Stumpf
        54259 by: Alex Pennace
        54260 by: Louis Theran

Re: anybody out there at this time ??? confused about checkpassword and pop3
        54263 by: Aijaz A. Ansari

URGENT : Forward all mails in one account.
        54264 by: Bhavesh Vakil

tai64nlocal
        54265 by: Marco

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]


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


Boz,

This is a FAQ - three options:
 - Inform the sysadmin of the offending remote machine that it's broken
 - Use fixcrio
 - Edit qmail-smtpd to return a permanent rather than a temporary
   error on receiving a bare-LF.
Search the archive for more detail on any of the above.

cheers,

Andrew.

----------
From:   Boz Crowther[SMTP:[EMAIL PROTECTED]]
Sent:   18 December 2000 19:05
To:     [EMAIL PROTECTED]
Subject:        Re: More on relay problem, something to do with tcpserver

Interesting.

I couldn't check the return from my mailer, since it didn't provide one
(VERY basic utility).  Upgrading to a new version of the mailer corrects the
problem, however.

Now, is there any way to resolve the stray-LF problem, short of upgrading
all the workstations on my network?

Thanks.

----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 16, 2000 11:31 AM
Subject: Re: More on relay problem, something to do with tcpserver


> Boz Crowther <[EMAIL PROTECTED]> wrote:
> > Ok, by checking the logs I've determined that from certain clients
(namely a
> > command-line DOS smtp mailer we use) the smtp connection ends before
getting
> > any data, with the following message in
/var/log/qmail/qmail-smtpd/current:
> >
> > tcpserver: end xxx status 256
> [...]
> > Simple question: where can I find out what the end statuses provided by
> > tcpserver mean?
>
> The status is that provided by the program tcpserver runs -- in this case,
> qmail-smtpd.
>
> Did you check what error message your DOS mailer was returning?  It should
> point you to http://cr.yp.to/docs/smtplf.html, which explains the problem.
>
> Also, please fix your mailer; your message gets a little difficult to read
with
> 200+ character lines.  On mailing lists, try to limit your line length to
> 72-78 characters.
>
> 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.
> -----------------------------------------------------------------------
>








John Logiudice wrote :
 
>I've recently set up a server on Linux using qmail 1.03.  Several =
>different users here received bounces like this one when sending mail:

>>  Hi. This is the qmail-send program at opalgroup.net.
>>  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]>:
>>  209.116.174.162 failed after I sent the message.
>>  Remote host said: 501 Badly structured mime attachment.
 
I have also encountered this, sending some stationaries (html formatted mail) with attachments  from express to sendmail (and only sendmail) servers - this happends not only from qmail - i tried to send from other servers too with the same result. anybody knows if this can be fixed from the sending server side (qmail in this case), so complicated mime-structured mail would be sent successfully to sendmail ?
 
Alex
 
Incredimail Admin.
-----Original Message-----
From: John Logiudice [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 11:35 PM
To: [EMAIL PROTECTED]
Subject: 501 Badly structured mime attachment

Hello,

I've recently set up a server on Linux using qmail 1.03.  Several =
different users here received bounces like this one when sending mail:

>  Hi. This is the qmail-send program at opalgroup.net.
>  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]>:
>  209.116.174.162 failed after I sent the message.
>  Remote host said: 501 Badly structured mime attachment.


Most attachments are going through fine, and the same users were able to =
send attachments to other recipients.  The attachments that had this =
trouble ranged in size from a 128kb .DOC file, to a 4mb .EPS file. =20

Although not a major problem -- yet -- I'd like to know if there is some =
configuration issue on my end that will prevent this.  All the users who =
had this trouble are using Outlook Express 5.

Please let me know if there is any more info I should supply.

Thanks,
John





 I am sending email from inside a firewall.  When qmail sends mail the
 Return Path: on the envelope is my hostname inside my network which is
 not valid outside this network.  This causes some site to bounce the email
 back to me.  

 My organization have five units. Each unit have a local qmail server. When a
unit send mail to another unit the return path may be the local domain
(xxx.jamef). When a unit send mail to outside of organization then domain may be
the organization domain (jamef.com.br).

how do I to change the return path to all message send outside in my firewall,
if I have a qmail in my firewall. 

thank
Joaquim ABC




joaquim <[EMAIL PROTECTED]> wrote:
>  I am sending email from inside a firewall.  When qmail sends mail the
>  Return Path: on the envelope is my hostname inside my network which is
>  not valid outside this network.  This causes some site to bounce the email
>  back to me.  

Set up your MUA so that it creates a proper envelope sender in the first place.
If qmail-inject is called with no special arguments, it will use any existing
Return-Path: header as the envelope sender.  If injecting through qmail-smtpd,
the envelope sender supplied by your MUA is what is used by qmail.

If you want to arbitrarily rewrite headers of mail injected via SMTP, look
at using the "@fixme" option in Dan's qmail FAQ.

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




Am 19.12.2000 um 10:08:05 schrieb Clemens Hermann:

Hi,

Problem solved,

> /bin/true

is /usr/bin/true in FreeBSD ;-)

thanks for the help

/clemens




Jeremy Anthony <[EMAIL PROTECTED]> wrote:

>ookay...mail being sent from users works just fine, however when a cgi 
>script or other server program tries to send mail, this happens:
>
> > ----- Transcript of session follows -----
> > 553 5.3.5 mail.mydarkness.com. config error: mail loops back to me (MX 
>problem?)
> > 554 5.3.5 [EMAIL PROTECTED] Local configuration 
>errorReporting-MTA: dns; darkestweb.com
>Arrival-Date: Mon, 18 Dec 2000 03:42:15 -0700
>
>the mail goes to root with this error...
>
>what's wrong?!?!

That's a Sendmail message.

-Dave




i know! thanks tho....

30 seconds after i sent the mail, it occured to me that the old sendmail
binary was still in place, so i replaced it with the qmail sendmail and now
all is well

jeremy


----- Original Message -----
From: Dave Sill <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 8:57 AM
Subject: Re: odd problem...


> Jeremy Anthony <[EMAIL PROTECTED]> wrote:
>
> >ookay...mail being sent from users works just fine, however when a cgi
> >script or other server program tries to send mail, this happens:
> >
> > > ----- Transcript of session follows -----
> > > 553 5.3.5 mail.mydarkness.com. config error: mail loops back to me (MX
> >problem?)
> > > 554 5.3.5 [EMAIL PROTECTED] Local configuration
> >errorReporting-MTA: dns; darkestweb.com
> >Arrival-Date: Mon, 18 Dec 2000 03:42:15 -0700
> >
> >the mail goes to root with this error...
> >
> >what's wrong?!?!
>
> That's a Sendmail message.
>
> -Dave
>





[Please don't send the identical query to every qmail-related address
you can find.]

RAGHVENDRA SHUKLA <[EMAIL PROTECTED]> wrote:

>      i have followed the life with qmail for installing 
>      the qmail . But after that i run the qmail by 
>      qmail start --> following the script.
>
>      But it didn't started sending/receiving mail with this.

Hmm. "Life with qmail" is not so incomplete that the installation
instructions don't result in a working qmail. If yours didn't work,
something was not done exactly right.

>      Then i have gone to the /var/qmail/boot and explicitly
>      and then runned the ./home script in which the 
>      the qmail-start ... was there.

That's neither necessary nor recommended with an LWQ installation.

>      Why i have to start it explicitly the qmail.

You don't...if you've followed the instructions carefully.

>      after starting the above script only the 
>  
>      3 daemons started --> lspawn , clean , rspawn.

That's because the boot script doesn't start everything that "qmail
start" does.

>      Please Read The next 4 lines after the 2.8.2.1. (The qmail Script).

Which four lines are you referring to? What's your point?

-Dave




Ould <[EMAIL PROTECTED]> wrote:

>I use actually POP3 with tcpserver.
>I Want to use IMAP4 in order to dump users message's.
>
>I'm based on LWQ. But I don't know how to include togheter
>POP3/IMAP4?

There's nothing to tricky about running POP3 and IMAP together. You
just have to install an IMAP daemon that uses the same mailbox format
and location as your POP3 daemon. LWQ has pointers to some IMAP
daemons, but if you're using qmail-pop3d, you probably want to use
courier-imap.

-Dave




Adam Stiles <[EMAIL PROTECTED]> wrote:
> 
> I installed relay-ctrl 2.5 per the instructions.
[...] 
> I get the standard '553 sorry' message about not relaying.

This isn't actually a qmail issue, so you may not get an answer here.  Try
on one of Bruce Guenter's mailing lists, which are specifically for his
software.  The one you want is probably [EMAIL PROTECTED] IIRC.  Check
the relay-ctrl web page for the subscription address:

        http://em.ca/~bruceg/relay-ctrl/

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




Adam <[EMAIL PROTECTED]> wrote:
> 
> I've read some of the archives and people have posted before about the
> trailing spaces.  I have a lot of mail that is getting rejected because if
> it, I realize that it's not qmail's fault by any means but is there a way (a
> patch perhaps?) that I can have it strip the trailing spaces.

Please explain a little more clearly.  What trailing spaces?  What rejected
mail?  Are you referring perhaps to the bare linefeed problem?

The following will help us actually determine what the problem is:

-what error message(s) you are getting, and from where
-relevant log entries from your qmail logs
-sample headers of mail which is rejected, if that is the problem
-the output of qmail-showctl is in most cases helpful
-how you installed qmail, and what patches, if any, are in use

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 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote:
> Please explain a little more clearly.  What trailing spaces?  What rejected
> mail?  Are you referring perhaps to the bare linefeed problem?

I see this occasionally. The problem ist that some idiotic mailprograms
don't remove " " or even a "\n" at the end of an email address.
(The "\n" probably happens when the user inputs the address in a 
GUI window and "incorrectly" presses <enter>).

These emails are seen by qmail-smtpd as
   RCPT TO: <[EMAIL PROTECTED] >
or
   MAIL FROM: <[EMAIL PROTECTED] >
and rejected.

And to answer the question:
- no, I don't know of any patch, but it shouldn't be hard to modify
  qmail-smtpd if you really think you have to.
- I personally wouldn't do it. The client is broken.

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




Do you (or anyone else) have any idea how I would go about making this
modification?  There are hundreds of messages being rejected because of it,
and some users arn't happy about my suggestion to upgrade to a new client.

If I can't get this solved I might have to go back to sendmail for a while.
:(

I would imagine a fix couldn't be that hard, but I don't know much about C
at all.

Thanks,
Adam


-----Original Message-----
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 10:21 AM
To: [EMAIL PROTECTED]
Subject: Re: Trailing Spaces?


On Tue, Dec 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote:
> Please explain a little more clearly.  What trailing spaces?  What
rejected
> mail?  Are you referring perhaps to the bare linefeed problem?

I see this occasionally. The problem ist that some idiotic mailprograms
don't remove " " or even a "\n" at the end of an email address.
(The "\n" probably happens when the user inputs the address in a
GUI window and "incorrectly" presses <enter>).

These emails are seen by qmail-smtpd as
   RCPT TO: <[EMAIL PROTECTED] >
or
   MAIL FROM: <[EMAIL PROTECTED] >
and rejected.

And to answer the question:
- no, I don't know of any patch, but it shouldn't be hard to modify
  qmail-smtpd if you really think you have to.
- I personally wouldn't do it. The client is broken.

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

Adam






Check the archives, I seem to remember something about fixrcio or some tool
named similar to fixup broken windows messages before they hit qmail-smtpd

----- Original Message -----
From: "Adam Fladwood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 7:36 PM
Subject: RE: Trailing Spaces?


> Do you (or anyone else) have any idea how I would go about making this
> modification?  There are hundreds of messages being rejected because of
it,
> and some users arn't happy about my suggestion to upgrade to a new client.
>
> If I can't get this solved I might have to go back to sendmail for a
while.
> :(
>
> I would imagine a fix couldn't be that hard, but I don't know much about C
> at all.
>
> Thanks,
> Adam
>
>
> -----Original Message-----
> From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Trailing Spaces?
>
>
> On Tue, Dec 19, 2000 at 08:28:28AM -0600, Charles Cazabon wrote:
> > Please explain a little more clearly.  What trailing spaces?  What
> rejected
> > mail?  Are you referring perhaps to the bare linefeed problem?
>
> I see this occasionally. The problem ist that some idiotic mailprograms
> don't remove " " or even a "\n" at the end of an email address.
> (The "\n" probably happens when the user inputs the address in a
> GUI window and "incorrectly" presses <enter>).
>
> These emails are seen by qmail-smtpd as
>    RCPT TO: <[EMAIL PROTECTED] >
> or
>    MAIL FROM: <[EMAIL PROTECTED] >
> and rejected.
>
> And to answer the question:
> - no, I don't know of any patch, but it shouldn't be hard to modify
>   qmail-smtpd if you really think you have to.
> - I personally wouldn't do it. The client is broken.
>
> \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.
>
> Adam
>
>
>





Hi,

I successfully installed qmail on Solaris 5.8 by following Dave Sill's
web-page. Now, I'd like to create an alias to specific users. I created
a file (assign) on /var/qmail/users/. What are the following
instructions?


--
Joao Costa
==========
  DevWeb







On Tue, 19 Dec 2000, Joao Costa wrote:

> Hi,
> 
> I successfully installed qmail on Solaris 5.8 by following Dave Sill's
> web-page. Now, I'd like to create an alias to specific users. I created
> a file (assign) on /var/qmail/users/. What are the following
> instructions?

Examine

    man -M /var/qmail/man qmail-users

It gives detailed instructions of the format of the assign file. Two
important things to remember

    1) the file MUST end with a single dot on a line by itself
    2) you MUST run /var/qmail/bin/qmail-newu for your changes to take effect

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





Denis Gasparin <[EMAIL PROTECTED]> wrote:
> The qmail server displays in the Received line of the header field the HELO
> command given by the remote client.  I would like to change qmail behaviour
> so that it displays the HELO command only for hosts coming from the internet
> and not for hosts coming from the internal local network.

qmail-smtpd gets that information from environment variables set up by
tcpserver (or tcp-env).  If you clear those environment variables before
qmail-smtpd gets run, it'll log blank/meaningless values.

You can do this with a tcprules file if running from tcpserver.  Set up so
your internal addresses have something like the following.  Note I've also
added the RELAYCLIENT variable, to allow relaying from the internal addresses:

192.168.1.:allow,TCPREMOTEIP="",TCPREMOTEHOST="",TCPREMOTEINFO="",RELAYCLIENT=""
:allow

Of course you'll need to compile this rules file into a cdb for tcpserver.

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 19, 2000 at 08:35:58AM -0600, Charles Cazabon wrote:
> You can do this with a tcprules file if running from tcpserver.  Set up so
> your internal addresses have something like the following.  Note I've also
> added the RELAYCLIENT variable, to allow relaying from the internal addresses:

Sorry, one cannot change the info about the HELO host via environment
variables.

from qmail-smtpd.c:
    fakehelo = case_diffs(remotehost,helohost.s) ? helohost.s : 0;
    [ ... ]
    received(&qqt,"SMTP",local,remoteip,remotehost,remoteinfo,fakehelo);

Depending how "internal" is defined adding the line
    if (relayclient) fakehelo=0;
as the last line in dohelo() (in qmail-smtpd.c) might do the trick.

Another solution is to sync the DNS entries with what the client/server
thinks he is, as the HELO info is only display for hosts where the
HELO host differs from what one get via DNS.

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





Hi,

I'm seem to be having a local delivery problem, yet external mail? The
server accepts mail but
does not deliver?

Thanks,

Richard.






On Tue, 19 Dec 2000, richard morris wrote:

> 
> Hi,
> 
> I'm seem to be having a local delivery problem, yet external mail? The
> server accepts mail but
> does not deliver?

What do the logs say (tm)?

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





How about some relevant logs and examples.

-----Original Message-----
From: richard morris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:49 AM
To: qmail help
Subject: ?



Hi,

I'm seem to be having a local delivery problem, yet external mail? The
server accepts mail but
does not deliver?

Thanks,

Richard.







On Mon, 18 Dec 2000, Charles Cazabon wrote:

> Kris Kelley <[EMAIL PROTECTED]> wrote:
> > >
> > > To save some work, you could use Bruce Guenter's QMAILQUEUE patch, and
> > > insert your filter inbetween qmail-inject and qmail-queue instead...
> > 
> > Actually, there are no local users on these boxes, per se, so the filter
> > would have to be between qmail-smtpd and qmail-queue.  Otherwise, this makes
> > sense.  I'll keep it in mind.
> 
> If I'm not mistaken, qmail-smtpd calls qmail-inject, which calls qmail-queue.

This time you are mistaken :) qmail-smtpd calls qmail-queue. See the
INTERNALS file that is shipped with the source.

> I belive Bruce's patch changes _all_ qmail programs which call qmail-queue
> to look at the contents of QMAILQUEUE (or similar) environment variable, and
> if set, to call that instead of qmail-queue directly.  Therefore it would
> work in this case.  Just have tcpserver set QMAILQUEUE to 
> "/path/to/my/filter", and filter calls qmail-queue.

Correct.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





Charles Cazabon wrote:
> If I'm not mistaken, qmail-smtpd calls qmail-inject, which calls
qmail-queue.

According to DJB's schematics, qmail-smtpd calls qmail-queue directly.
>From the INTERNALS file (also noted by Peter Samuel):

 qmail-smtpd --- qmail-queue --- qmail-send --- qmail-rspawn ---
qmail-remote
               /                     |      \
qmail-inject _/                 qmail-clean  \_ qmail-lspawn --- qmail-local

> I belive Bruce's patch changes _all_ qmail programs which call
qmail-queue...
> Therefore it would work in this case.

You're right, it would.  I was just being a tad anal. :)

Also, to be completely fair, you provided a solution that's exactly what I
asked for.  Mark Delany's solution will still result in the message being
accepted and then bounced, but in this case the bounce will have a more
accurate explanation about why it was bounced.  That's good enough for me.

Again, thanks for the help!

---Kris Kelley





Mark Delany writes:
 > If you don't need it to be onsite support, then does it matter where
 > the support comes from?

Time zones.  I have a customer in India.  If I stay up late enough,
the very end of my waking hours overlaps with their business day.
Plus, if you're needed on site, being on the same continent is a
help.  It's a twenty-hour trip to India for me.

Plus there's jet lag.  I did some qmail training the first day I got
there, after two missed flights and a four hour layover in Dubai.
About three or four times I woke myself up with the sound of my own
voice.  Very strange to wake up talking, and to realize that you have
NO IDEA what you should say next.  :)

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com | If I knew the
Crynwr sells support for free software  | PGPok | destination of the
521 Pleasant Valley Rd. | +1 315 268 1925 voice | handbasket, I never would
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | have gotten into it!




On Tue, 19 Dec 2000, Russell Nelson wrote:

> Mark Delany writes:
>  > If you don't need it to be onsite support, then does it matter where
>  > the support comes from?
> 
> Time zones.  I have a customer in India.  If I stay up late enough,
> the very end of my waking hours overlaps with their business day.
> Plus, if you're needed on site, being on the same continent is a
> help.  It's a twenty-hour trip to India for me.

It's 24 hours from Sydney to Ottawa :) And then there is the 15 or 16 hours
timezone difference.

> 
> Plus there's jet lag.  I did some qmail training the first day I got
> there, after two missed flights and a four hour layover in Dubai.
> About three or four times I woke myself up with the sound of my own
> voice.  Very strange to wake up talking, and to realize that you have
> NO IDEA what you should say next.  :)

You have to be asleep to do that? I do that when I'm wide awake! :)

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





Hello,

I want to know is possible that users can change their
password. I'm using MUA's (Netscape, Outlouk).
Actually users have not choice to change password given by
system.

Thanks

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Ould <[EMAIL PROTECTED]> wrote:
> 
> I want to know is possible that users can change their
> password. I'm using MUA's (Netscape, Outlouk).
> Actually users have not choice to change password given by
> system.

Not really a qmail question.  If you're dealing with virtual domains/users,
some of the virtual domain packages have CGIs or whatnot which allow the
user to change their POP3/IMAP password.

If you're dealing with system accounts which don't need shell access but you
want the users to be able to change their passwords, make their shell
in /etc/passwd be /usr/bin/passwd -- then they can telnet in to the mail
server and change their password.  Note of course that in this case, their
passwords are being sent in cleartext, just like with POP3.

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




Hi all,
what is the difference between .../qmail/alias and .../qmail/users ?

Thanks in advance.

Pedro.







On Tue, 19 Dec 2000, pedro wrote:

> Hi all,
> what is the difference between .../qmail/alias and .../qmail/users ?
> 
> Thanks in advance.

qmail delivers mail as follows:

    is the domain portion of the address a local or virtualdomain

        no -> deliver remotely

        yes -> deliver locally

            does the user portion of the address have an entry in
            /var/qmail/users/cdb (as built from
            /var/qmail/users/assign)

                yes -> deliver mail according to the .qmail file
                       referenced by the cdb entry

                no -> does the user portion of the address match a
                      user according to getpwnam()

                      yes -> deliver the mail to that user

                      no -> is there a corresponding .qmail-user file
                            in /var/qmail/alias

                            yes -> deliver the mail according to the
                            delivery instructions in that file

                            no -> bounce the message.

This is a little simplified as it doesn't describe user-ext style
addresses, but it gives you a good idea of the flow. Have a look at
the qmail pictures which should be in /var/qmail/doc. They give a
better description of each type of delivery. Also see the qmail-users
man page.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





unsuscribe






----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: "QMail Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 18, 2000 7:44 PM
Subject: Re: Potentially stupid question about bounces...


> Kris Kelley <[EMAIL PROTECTED]> wrote:
> > I'm trying to get an idea of exactly how qmail does bounce messages,
since I
> > will probably have to write various delivery programs to deal with
special
> > quotas and such in the near future.
>
> You're not clear on what you're trying to accomplish here.

You're right, I'm not.  Right now all sorts of exotic quota ideas are being
bandied about the office: x number of messages sent/received in y time,
different numbers for different senders and recipients, and on and on.  Any
of these ideas that gets turned into a requirement will need a custom
delivery instruction to go with it, if it's not already covered by programs
like Sam Varshavshik's deliverquota.

> qmail-local signals delivery status to qmail-lspawn with its exit codes.
> You can do things in a .qmail file and exit with the appropriate codes to
> get the behaviour you want; man qmail-command and man dot-qmail for more
> details.

I think that answers my question.  I'll study those man pages a little more
closely.  Thanks.

---Kris Kelley





Michael Boyiazis writes:
 > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large
 > blinking text on www.qmail.org so people will see it.

We have the technology, but ... do you really think it would help?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com | If I knew the
Crynwr sells support for free software  | PGPok | destination of the
521 Pleasant Valley Rd. | +1 315 268 1925 voice | handbasket, I never would
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | have gotten into it!




On Tue, 19 Dec 2000, Russell Nelson wrote:

> Michael Boyiazis writes:
>  > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large
>  > blinking text on www.qmail.org so people will see it.
>
> We have the technology, but ... do you really think it would help?

Of course not.  I've found that the more obvious the item is, the less
likely most folks will find it.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Quoting Vince Vielhaber ([EMAIL PROTECTED]):
> On Tue, 19 Dec 2000, Russell Nelson wrote:
> 
> > Michael Boyiazis writes:
> >  > Perhaps Russ can make "SEARCH THE ARCHIVES" appear in large
> >  > blinking text on www.qmail.org so people will see it.
> >
> > We have the technology, but ... do you really think it would help?
> 
> Of course not.  I've found that the more obvious the item is, the less
> likely most folks will find it.

Maybe we ought to ask John Levine (being a qmail guy himself) if he
can add blinking text when it fails on the user%foo.com@[....] test,
where the test always stops with vanilla qmail:

"If you are a qmail luser, CLICK HERE."  .. and a web page that
briefly tells the luser what's going on.

Aaron




> Maybe we ought to ask John Levine (being a qmail guy himself) if he
> can add blinking text when it fails on the user%foo.com@[....] test,
> where the test always stops with vanilla qmail:
>
        After read the Qmail Spam Howto I discovered that the spam that I
was receiving was just because I didn't disable my .qmail-default alias. I
think some qmail spam problems is due this file.

                                Roberto Samarone Araujo





does anyone know where I can find an install procedure
for just a qmail install without the daemontools and
not the docs the tar comes with....I do everything it
says and I still can't get it to deliver locally...I
can telnet to port 25 and run through but no delivery...




On Tue, 19 Dec 2000, Timothy Falardeau wrote:

> does anyone know where I can find an install procedure
> for just a qmail install without the daemontools and
> not the docs the tar comes with....I do everything it
> says and I still can't get it to deliver locally...I
> can telnet to port 25 and run through but no delivery...
> 

What do the logs say? (tm)

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





Please pardon what is likely a really dumb
question...I'm a true newbie.

In installing qmail, I'm told to set up
~alias/.postmaster, etc., etc. Only problem is, I
don't quite understand the alias concept as it relates
to mail. I understand the idea of an alias for a
directory name...but mail? Is there some standard
directory I'm pointing to with this alias, or some
other standard concept behind it?

Thanks for any help.

Alex Le Fevre



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Alex Le Fevre <[EMAIL PROTECTED]> wrote:
> In installing qmail, I'm told to set up
> ~alias/.postmaster, etc., etc. Only problem is, I
> don't quite understand the alias concept as it relates
> to mail. I understand the idea of an alias for a
> directory name...but mail? Is there some standard
> directory I'm pointing to with this alias, or some
> other standard concept behind it?

Simplified:

In qmail, alias is a system user account.  qmail, when delivering mail to
a local user, will first check ~username for validity, .qmail file(s), etc.
If that fails, it will then check ~alias/.qmail-username(-default, etc).

Therefore ~alias/.qmail-root is a .qmail file (`man dot-qmail`) which 
controls delivery of mail to "root@localdomain".

A dot mail file (read the man page referenced above) consists of comments,
blank lines, and delivery instructions.  A delivery instruction can be
one of several things:

-instruction to deliver to a Maildir.  Starts with . or / and ends with /.
        ./path/to/Maildir/

-instruction to deliver to an mbox file.  Starts with . or / and does not
end with /.
        ./path/to/mbox

-instruction to deliver to a program.  Starts with |; `man qmail-command` for
details.
        |/path/to/my/script

-forwarding instructions.  Either starts with &, or doesn't fit one of the
above.
        &[EMAIL PROTECTED]

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, 19 Dec 2000, Alex Le Fevre wrote:

> Please pardon what is likely a really dumb
> question...I'm a true newbie.
> 
> In installing qmail, I'm told to set up
> ~alias/.postmaster, etc., etc. Only problem is, I
> don't quite understand the alias concept as it relates
> to mail. I understand the idea of an alias for a
> directory name...but mail? Is there some standard
> directory I'm pointing to with this alias, or some
> other standard concept behind it?

I just answered this one (in a slightly different context). See
message 59749.

Also see the qmail pictures in /var/qmail/doc.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"





Hi,

my config is: FreeBSD 4.2, qmail 1.03, smtp-auth.
my problem: I do not want my users to use a different "From-domain". 
Some people use their businnes-account for (heavy-traffic) private mail 
exchange. 
They simply replace their "[EMAIL PROTECTED]" with
"[EMAIL PROTECTED]" in their private Mailprogs.
smtp-auth makes it easy for them because they have a valid login.
So is there any possibility to reject any mail which does not contain my
local domain either as part of the sender adress or as part of the
recipient adress?

thanks for your hints

/clemens




I have a bunch of my mail stuck in the queue to vickers-systems.com

I am 95% sure its an error on their end, but I don't want to contact them
until I am 100% sure.

Can anyone help me out to solve why I cannot send mail to them?

Thanks,
Tim Hunter -- [EMAIL PROTECTED]
SysAdmin -- CIMx
http://www.cimx.com





Tim Hunter <[EMAIL PROTECTED]> wrote:
> I have a bunch of my mail stuck in the queue to vickers-systems.com
> 
> I am 95% sure its an error on their end, but I don't want to contact them
> until I am 100% sure.
> 
> Can anyone help me out to solve why I cannot send mail to them?

What Do The Logs Say?(TM)

Your qmail logs will say exactly why messages are not being delivered to
them.  Post the relevant entries from your logs, and we can help you.

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 19, 2000 at 02:07:44PM -0500, Tim Hunter wrote:
> I have a bunch of my mail stuck in the queue to vickers-systems.com

As Charles said: look at the logs. That's what they are for.

You will probably see "cannot connect" errors, as:

dig mx vickers-systems.com  -> no MX records
dig a vickers-systems.com   -> 206.242.77.113

telnet 206.242.77.113 smtp
Trying 206.242.77.113...
telnet: Unable to connect to remote host: Connection refused

Their mailserver is down.

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





if the newsletters are all the same, you could pre-process
the list, organizing by recipent domain and starting qmail-remote
processes with a few dozen recipients, and only give qmail
the ones that don't go through on the first attempt, and even then
after some back-off time.  That way you won't clog up all incoming
channels somewhere, denying service, and getting barred.

Some perl code that can work with qmail-remote is available
at http://www.davidnicol.com/qmail.html

You could open one channel per recipent domain by inserting
        
        fork and next;

right after the for(keys %Recipients) line.  Adding a random
backoff timer, something like

        sleep(rand 3600)

before invoking qmail-inject might ease things too, as long as
your machine has enough swap space to have all these forked perls
sitting around sleeping.

YMMV.



Henning Brauer wrote:
> 
> Am Mittwoch,  6. Dezember 2000 22:04 schrieb Thomas Duterme:
> 
> > > How about increasing your concurrencyremote to something
> > > like 100?  you most likely are hitting your limits.
> >
> > Good point.  Will try that tonight.  I've gotten some
> > problems before from ISP's blocking us
> > when I went up to 240...I'm not quite sure what the highest
> > polite limit on this should be.
> 
> Hmm, even with 20 concurrent connections our servers was blocked by some
> braindead freemailer's servers when one of our customers sent out a
> newsletter...
> I don't think there is a common "highest polite limit", you have to figure it
> out for your country, even for your typical recipients.
> 
> Greetings
> 
> Henning
> 
> --
> 
> Henning Brauer         |  BS Web Services
> Hostmaster BSWS        |  Roedingsmarkt 14
> [EMAIL PROTECTED]     |  20459 Hamburg
> www.bsws.de            |  Germany

-- 
                           David Nicol 816.235.1187 [EMAIL PROTECTED]
                                                     <i>damfino</i>





Hi, guys

I am thinking to apply the Qmail-scanner to block the virus attachement,
but I am wondering if this thing is a stable and efficient add-on and
worth to have a try, because for our production mail and mail list
server the stability and efficiency is extremely high demand.

Any suggestion and experience are highly appreciated.

Thanks!







On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote:
> server the stability and efficiency is extremely high demand.
> Any suggestion and experience are highly appreciated.

First I have to say that we don't use the scanner.

Some month ago someone posted to this list that plugging a virus scanner
in at a busy mail server demands a magnitude of 300-400% more cpu
power as compared to running without one.
So, if efficiency is a extremely high demand for you check your ressources.

I don't think that the qmail-scanner alone will have any effect on the
stability tho.

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




Am Die, 19 Dez 2000 schrieb Eric Wang:
> Hi, guys
> 
> I am thinking to apply the Qmail-scanner to block the virus attachement,
better you try Amavis Scanner. The qmail-scanner is buggy and there isn't
a fix for the wanted patch qmailscanner is asking for.

If someone has fixed the problem, please post a file in this list that all
members of the list can use it.

Regards,
Ruprecht




I run the scanner to block vbs attachments.  I'm only handling mail for 35
people (with very light/moderate mail traffic) so it doesn't make any
noticeable dent in performance.

Keep in mind that it is written in perl and on the page they tell you what
to expect in terms of getting hardware to compensate for using the scanner
on a production machine.

-----Original Message-----
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 12:46 PM
To: qmail list
Subject: Re: Should I try the Qmail-scanner?


On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote:
> server the stability and efficiency is extremely high demand.
> Any suggestion and experience are highly appreciated.

First I have to say that we don't use the scanner.

Some month ago someone posted to this list that plugging a virus scanner
in at a busy mail server demands a magnitude of 300-400% more cpu
power as compared to running without one.
So, if efficiency is a extremely high demand for you check your ressources.

I don't think that the qmail-scanner alone will have any effect on the
stability tho.

        \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:
> 
> On Tue, Dec 19, 2000 at 12:30:18PM -0800, Eric Wang wrote:
> > server the stability and efficiency is extremely high demand.
> > Any suggestion and experience are highly appreciated.
> 
> First I have to say that we don't use the scanner.
> 
> Some month ago someone posted to this list that plugging a virus scanner
> in at a busy mail server demands a magnitude of 300-400% more cpu
> power as compared to running without one.
> So, if efficiency is a extremely high demand for you check your ressources.
> 
> I don't think that the qmail-scanner alone will have any effect on the
> stability tho.
> 
>         \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


Consider this scenario for incoming mail:

mail.company.com on one side of firewall - firewall.internal.company.com
on inside running sendmail forwarding to

scanningbox.internal.company.com that is aliased in dns to
smtp.internal.company.com forwards everything to 

imap.internal.company.com (this is your main qmail server)


Consider this scenario for outgoing mail:

smtp in clients configured to use scanningbox.internal.company.com

scanningox forwards everything to imap.internal.company.com

imap.internal.company.com forwards all outgoing mail to 

firewall.internal.company.com


Configuration:

smtp.internal.company.com (scanningbox) is the highest mx record in the
company. This way, scanningbox scans all incoming and outgoing messages
and doesn't put a load on the mail server. 


Mike




On Tue, Dec 19, 2000 at 09:00:38PM +0100, Ruprecht Helms wrote:
> Am Die, 19 Dez 2000 schrieb Eric Wang:
> > Hi, guys
> > 
> > I am thinking to apply the Qmail-scanner to block the virus attachement,
>
> better you try Amavis Scanner. The qmail-scanner is buggy and there isn't
> a fix for the wanted patch qmailscanner is asking for.

Please don't report FUD about my work! :-)

Qmail-Scanner is NOT buggy. The patch referred to on the homepage DOES work
and works for (almost) everyone who tries it. I'd guess your system has a
broken patch program or you are just calling it incorrectly.

Is there anyone out there with an altered distribution of qmail-1.03 that
contains the QMAILQUEUE patch? Pointing people to such a beast would
certainly allow some less experienced people to get going... 

http://qmail-scanner.sourceforge.net/


-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417




Jason Haar <[EMAIL PROTECTED]> wrote:
> 
> Is there anyone out there with an altered distribution of qmail-1.03 that
> contains the QMAILQUEUE patch? Pointing people to such a beast would
> certainly allow some less experienced people to get going... 

Bruce Guenter's qmail SRPM might contain the patch, considering that he
wrote it:

http://em.ca/~bruceg/

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 19, 2000 at 12:30:18PM -0800, Eric Wang wrote:
> I am thinking to apply the Qmail-scanner to block the virus attachement,
> but I am wondering if this thing is a stable and efficient add-on and
> worth to have a try, because for our production mail and mail list
> server the stability and efficiency is extremely high demand.
> Any suggestion and experience are highly appreciated.

we're using qmail-scanner + f-secure since a few weeks, and
it seems to work really well : already trapped some mails with
word macro viruses.

Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

PGP signature





We have been using qmail-scanner several months now, I can highly recomend
this solution. We are splitting the load on two dual PIII 700 proc. servers
with 512MB each.
Also running the QMAILQUEUE patch with no problems.

Here are the viruses trapped since 23/08/2000 15:30:48, and I must say that
this solution is doing it's job.

    230  virus TROJ_NAVIDAD.A
    202  virus VBS_LOVELETTR.AS
     58  virus TROJ_MTX.A
     53  virus VBS_KAKWORM.A
     33  virus TROJ_HYBRIS.B
     23  virus VBS_LOVELETTER-O
     22  virus VBS_COLOMBIA
     21  virus TROJ_PRETTY_PARK
     19  virus PE_CIH
     18  virus TROJ_SKA
     15  virus PE_MTX.A
     13  virus W97M_ETHAN.A
     13  Possibly a misdisinfected virus
     12 Love Letter Virus/Trojan
     12  virus VBS_STAGES.A
     10  Joke program
      7  virus W97M_THUS
      6  virus JOKE_WOW
      6  virus JOKE_FLIPPED
      5  virus JOKE_RABBIT
      5  virus JOKE_CURSOR.A
      5  the W97M/Thus.gen virus !!!
      4  virus JOKE_GESCHENK
      4  virus JOKE_BUTTONS
      4  the WScript/Kak.worm virus !!!
      3  virus WM_CAP
      3  virus W97M_MARKER
      3  virus TROJ_HYBRIS.D
      3  the JS/Kak@M virus !!!
      2 Joke/Win-Wobble
      2 Joke/Cokegift
      2  virus W97M_WRENCH.E
      2  virus W97M_OCARD.A
      2  virus W97M_CLASS.Q
      2  virus TROJ_SHOCKWAVE.A
      2  virus O97M_TRISTATE
      2  virus JOKE_SMALLPEN
      2  virus JOKE_POINTER.A
      2  virus JOKE_KNIJPME
      2  virus JOKE_32
      2  the JS/Kak.worm virus !!!
      1 Happy99 Trojan
      1  virus X97M_LAROUX.JH
      1  virus X97M_LAROUX.BU
      1  virus WM_MENTAL.A
      1  virus W97M_TITCH.A
      1  virus W97M_THUS.I
      1  virus W97M_SELIUQ.B
      1  virus W97M_SATELLITE
      1  virus W97M_PRI.B
      1  virus W97M_Generic
      1  virus W97M_CLASS.QA
      1  virus W97M_CHACK
      1  virus W97M_BDOC2X
      1  virus W97M_A_OPEY_03
      1  virus TROJ_COCED.240
      1  virus JOKE_FREIBIER.B
      1  virus JOKE_DEL_WINDOWS
      1  the W97M/Nalp.gen virus !!!
      1  the W95/MTX@M virus !!!
      1  the W32/Pretty.worm.gen virus !!!
      1  the W32/MTX@M virus !!!
      1  the BackDoor-HO.cli trojan !!!



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






On Mon, Dec 18, 2000 at 10:22:26AM -0500, Dave Sill wrote:
> 
> Did you forget to terminate "assign" with a '.' line?


nope, that was my problem.  thanks for pointing me in the right 
direction.

---Matt





Has anyone tried to use the ETRN command from behind a router using NAT. Our
problem is we can send out the ETRN command to port 25 on the ISP's box but
they cannot come in?

Thanks,

Richard.






I have installed qmail and ezmlm but it does not seem to work, nor do i
get any messages about why it is not working. I can make lists, and i have
done this tree times, and have sent messages to them, but they do not seem
to go, nor do i get messages why, except in the maillog file in /var/log/
states this:
 qmail: 977266457.397384 delivery 44: deferral:
Unable_to_open_.qmail-testlist2-default:_access_denied._(#4.3.0)/

obviously, i need to change permissions, but to what.... i already
changed them to 777 but still get the same error in the log. who exactly
needs the permissions? Is it the user qmail? what does this user need to
do, write and read this dir?

qmail is running, however, i do not have a qmail-smtp running... this is
what i get with ps -ef
qmails    9204  0.0  0.0  1140  400 pts/3    S    13:00   0:00 qmail-send
qmaill    9205  0.0  0.0  1112  424 pts/3    S    13:00   0:00 splogger qmail
root      9206  0.0  0.0  1100  348 pts/3    S    13:00   0:00 qmail-lspawn ./Ma
qmailr    9207  0.0  0.0  1100  356 pts/3    S    13:00   0:00 qmail-rspawn
qmailq    9208  0.0  0.0  1092  352 pts/3    S    13:00   0:00 qmail-clean

is anything missing here?

1. Documentation says use the programs:
ezmlm-check and ezmlm-test to determine if there are any errors, however,
these programs are not part of my distribution. I have programs called
ezmlm-test.sh and ezmlm-test.0 and ezmlm-test.1, but no ezmlm-check at
all.

2. I tried the ezmlm-idx patch, untarred it and put all files into the
ezmlm-0.53 dir... no where in the documentation does it say anything about
whether i should copy over some files already there... ! Is this the
source of my problem?

I realize that these questions may be fundamental to qmail and mail stuff,
so if i could get pointed in the right direction on basic documentation, i
am very grateful.

Thanks in advance!





On Tue, Dec 19, 2000 at 04:35:44PM -0800, Thomas Holton wrote:
> states this:
>  qmail: 977266457.397384 delivery 44: deferral:
> Unable_to_open_.qmail-testlist2-default:_access_denied._(#4.3.0)/

The problem ist not the file .qmail-testlist2-default itself, as
this is most probably a link to a file in a directory, where you have the
whole list installed.

qmail has a user under which permissions it tries to deliver the email.
I'd assume that this user cannot read the mailing list directory, as
this is of course protected for global access.

You can try a
   chown -R <user> <mailinglist-directory>
where
   <user>               is the user under which permissions the list is run
   <ml-directory>       is the directory that you specified when
                        creating the list with ezmlm-make.

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




Hi,

    I need to integrate an qmail instalation on a real IP machine with an
intranet (192.168.1.2) machine with NT and Exchange.

    How can I configure qmail to every email @domain.com.br is sent to same
[EMAIL PROTECTED]?  Like: *@domain.com.br goes to
*@intranet.domain.com.br

    The DNS is ok and I can send emails to @intranet.domain.com.br
(exchange).

    I know I can create a /var/qmail/alias/.qmail-xxxx and redirect it to
[EMAIL PROTECTED], but this problem is to avoid double user
management, the customer only wants to create user in Exchange!!!

    Is it possible?

Best regards,

Ari






Ari,

As appears to be normal in qmail, there are a few ways to do this.

You could setup the smtproutes file with an entry like:

domain.com.br:intranet.domain.com.br


Or, you could setup an entry in virtualdomains:

domain.com.br:alias-domain_com

And create the file

~alias/.qmail-domain_com-default

which would contain:

|forward ${DEFAULT}@intranet.domain.com.br


Hope that helps.

Jamin

On Tue, 19 Dec 2000, Ari Arantes Filho wrote:

> Hi,
>
>     I need to integrate an qmail instalation on a real IP machine with an
> intranet (192.168.1.2) machine with NT and Exchange.
>
>     How can I configure qmail to every email @domain.com.br is sent to same
> [EMAIL PROTECTED]?  Like: *@domain.com.br goes to
> *@intranet.domain.com.br
>
>     The DNS is ok and I can send emails to @intranet.domain.com.br
> (exchange).
>
>     I know I can create a /var/qmail/alias/.qmail-xxxx and redirect it to
> [EMAIL PROTECTED], but this problem is to avoid double user
> management, the customer only wants to create user in Exchange!!!
>
>     Is it possible?
>
> Best regards,
>
> Ari
>
>


-----------------------------------------------------------------
Jamin A. Brown                      Systems Operations Department
[EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:              http://www.gwi.net/~jamin/pgp/jamin.asc





On Tue, Dec 19, 2000 at 10:50:16PM -0300, Ari Arantes Filho wrote:
>     How can I configure qmail to every email @domain.com.br is sent to same
> [EMAIL PROTECTED]?  Like: *@domain.com.br goes to
> *@intranet.domain.com.br

I'd do it via a  virtualdomain  (domain.com.br) and have a .qmail-default
file that contains:
   |forward "$LOCAL"@intranet.domain.com.br

You have to pay attention however if you also want to catch up
allsubdomain/host.domain.com.br like with (in virtualdomains)

domain.com.br:virtuser
.domain.com.br:virtuser

In this case you'll also have to have a line there

intranet.domain.com.br:

to map intranet.domain.com.br to "standard" delivery and not make it
local (otherwise it'll loop and bounce).

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




Our rcpthosts file ist getting quite big, adding all the domains
we're doing POP Boxes for and those our customer request backup MX
for.

Has anyone thought of/patched qmail-smtpd to accept messages based on
the IP of the MX records?

Are there any pitfalls that I don't think of in the moment that would make
the mailserver relay open?

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




Sendmail has a switch to turn this on, which is off by default...

Reason being, anyone can point their domain's MX records to your server
and then freely send mail to/through it.

I'm curious to know if qmail starts having performance issues at higher
numbers of rcpthosts. We're currently running about 1800 domains, most of
them in the morercpthosts file.

I personally prefer having more control through these files. Easier to
deny access to someone who leaves or whose server gets compromised.

Jamin

On Wed, 20 Dec 2000, Markus Stumpf wrote:

> Our rcpthosts file ist getting quite big, adding all the domains
> we're doing POP Boxes for and those our customer request backup MX
> for.
>
> Has anyone thought of/patched qmail-smtpd to accept messages based on
> the IP of the MX records?
>
> Are there any pitfalls that I don't think of in the moment that would make
> the mailserver relay open?
>
>       \Maex
>
>


-----------------------------------------------------------------
Jamin A. Brown                      Systems Operations Department
[EMAIL PROTECTED]   * Great Works Internet *   207.286.8686 x142
RSA PGP Key:              http://www.gwi.net/~jamin/pgp/jamin.asc





On Tue, Dec 19, 2000 at 08:49:54PM -0500, Jamin A. Brown wrote:
> Sendmail has a switch to turn this on, which is off by default...
> 
> Reason being, anyone can point their domain's MX records to your server
> and then freely send mail to/through it.
> 
> I'm curious to know if qmail starts having performance issues at higher
> numbers of rcpthosts. We're currently running about 1800 domains, most of
> them in the morercpthosts file.

cdb has pretty linear performance regardless of the number of
entries. cdb is used for databases that can typically get *much*
larger, such as name server data and /var/qmail/users. 1800 entries is
nothing for cdb.

Unless the reason for the rcpthost is solely as a secondary MX, then
an entry has to be placed in virtualdomains or locals anyway, so
removing the administrative need to have an entry in recipienthosts
doesn't strike me as a very useful gain.


Regards.




On Wed, Dec 20, 2000 at 02:00:08AM +0000, Mark Delany wrote:
> > Reason being, anyone can point their domain's MX records to your server
> > and then freely send mail to/through it.

Nope ;-)
If I would implement it I'd have a small file e.g. "mxips" which would
contain IPs/IP ranges and only if a MX hosts IP is in there I'd accept it.

> > I'm curious to know if qmail starts having performance issues at higher
> > numbers of rcpthosts. We're currently running about 1800 domains, most of
> > them in the morercpthosts file.
> 
> cdb has pretty linear performance regardless of the number of
> entries. cdb is used for databases that can typically get *much*
> larger, such as name server data and /var/qmail/users. 1800 entries is
> nothing for cdb.

This is true.
However one of our mailservers is sitting on an elder machine with only
one disk (we're moving it to a newer/fast machine with raid by now)
and what I did is experience the last weeks was a performance loss
simply by having qmail-smtpd read in about 700 MB rcpthosts and
qmail-remote read in a 300 KB smtproutes file on every incarnation.
a cdb would do any good here, as the lookup would be faster, but a cdb
is even bigger than the plain files.
What really helped in that situation was a small mod to qmail-smtpd
(1.01) to only read in rcpthosts if relayclient wasn't set. So the
problem is (soon was ;-) IO bound not CPU bound.

What I'd also wanted to overcome is the "explanative" overhead of
managing rcpthosts for customers that order/release domains without
telling us and then complain that mail gets bounced.
Argueing them is IMHO a waste of time ... they're customers, they don't
want to think oder understand how things work, they want it to work and
go mad on you if it doesn't regardless whose fault it is.

        \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 Wed, Dec 20, 2000 at 03:28:18AM +0100, Markus Stumpf wrote:
> However one of our mailservers is sitting on an elder machine with only
> one disk (we're moving it to a newer/fast machine with raid by now)
> and what I did is experience the last weeks was a performance loss
> simply by having qmail-smtpd read in about 700 MB rcpthosts and
> qmail-remote read in a 300 KB smtproutes file on every incarnation.
> a cdb would do any good here, as the lookup would be faster, but a cdb
> is even bigger than the plain files.

cdb lookup routines mmap the cdb file into the process address space
and then access it. If your OS has a strong VM system this makes cdb
lookups very fast access-wise.

PGP signature





[EMAIL PROTECTED] (Markus Stumpf) writes:

> simply by having qmail-smtpd read in about 700 MB rcpthosts and
> qmail-remote read in a 300 KB smtproutes file on every incarnation.
> a cdb would do any good here, as the lookup would be faster, but a cdb
> is even bigger than the plain files.

When qmail-smtpd reads in rcpthosts, it reads it into a hashed
structure.

cdb files are also hashed, but the entire thing isn't read in. It
relies on the filesystem's cache to keep the hash tables and commonly
accessed records in memory.

^L






You may have already figured this out by now, but it seems that you may
have wrong permissions on the Maildir.  Check the ownership and
permissions on the maildir.  If I remember correctly, the pop daemon will
give you that auth failure if the Maildir in question is not owned by the
user, even though the username and password are correct.

I know I have gotten this error before, and if I remember correctly (it's
late) that was the problem.  

Aijaz.

On Sun, Dec 17, 2000 at 01:27:26AM -0500, Peter Drahos wrote:
...
> [root@test users]# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user test
> +OK
> pass test
> -ERR authorization failed
> Connection closed by foreign host.
> 
> [root@test users]# /var/qmail/bin/qmail-popup test.com /bin/checkpassword pwd
> +OK <[EMAIL PROTECTED]>
> user test
> +OK
> pass test
> -ERR authorization failed

-- 
            8  8     
            8/\8     
===  =   888    888  E  M  I  G  R  A  T  U  S    630-495-3000
======     <    >    Internet  Hosting  Center    www.emigratus.com
=  ===   888    888  [ENoor is now Emigratus]     [EMAIL PROTECTED]
            8\/8          
            8  8     Hosting, Net Security, Web Apps, Custom Services




To all qmail members,

I am completely new to qmail. I developed one application related to mail
system. According to my requirement I want to collect all my mail messages
to one particular system account. I achieve same functionality with Sendmail
in Linux.

My system configuration is give below.

    I user RedHat 6.2 Linux
    Domain name is : myserver.com
    Just for example I have following system account in my system
        1: user_a        (email address : [EMAIL PROTECTED])
        2: user_b        (email address : [EMAIL PROTECTED])
        3: user_c        (email address : [EMAIL PROTECTED])
        4: user_d        (email address : [EMAIL PROTECTED])
        .............
        .............
        .............
        n: alluser        (email address : [EMAIL PROTECTED])

Now, I want to achieve following functionality,

When [EMAIL PROTECTED] receives mail in his mail box automatically that
mail is also available in [EMAIL PROTECTED] (it means direct copy). Same
way if any user like (user_b, user_c,.....) receives any mail then all mail
is also available in my alluser account. So my alluser account contains all
mails received through @myserver.com domain.

The second functionality is, if some user say notexist is not available in
my system and if my system receive mail with that address then automatically
it send an bounce message to sender. I want to disable this bounce back
feature if user not found.  If user exist or not exist, my system accept all
messages in [EMAIL PROTECTED] user,

I achieve above functionality with sendmail like this way,

I added following two lines in my sendmail.mc file

define('LUSER_REPLY','local:[EMAIL PROTECTED])
feature('virtusertable','hash -o /etc/mail/virtusertable')

and I remove allmasquerade feature so system never generate bounce back
message to sender if user is not exist.

My /etc/mail/virtusertable file contains only one line.
@myserver.com    alluser

So with this line allmessages is available to my alluser account.

I just setup qmail according to installation instruction and I successfully
receive and send all messages. But how I setup my above requirements. In
sendmail we have one main file called sendmail.mc is there any file for
qmail setting ?


Regards,

Bhavesh.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Hi,
I'm wondering what is the correct use of this command (TAI64NLOCAL) inside the supervise scripts.
I have three run scripts in /var/qmail/supervise... and they look like:
 
exec setuidgid qmaill multilog t s2000000 /var/log/qmail/qmail-pop3d
 
The other two are similar.
I don't want the TAI timestamps @.... in the log files anymore (they are frightening!!)
Other suggestions about more options in the scripts are also welcome.
Thank you in advance.
 
Marco Santini
[EMAIL PROTECTED]
 


Reply via email to