qmail Digest 18 Dec 1999 11:00:00 -0000 Issue 853

Topics (messages 34463 through 34541):

Re: local address used as spam sender
        34463 by: Paulo Jan
        34467 by: Gil Prudente
        34468 by: Ari Arantes Filho
        34470 by: Sam
        34475 by: cmikk.uswest.net
        34493 by: Kai MacTane
        34495 by: petervd.vuurwerk.nl

Re: Using Qmail as a dedicated SMTP/POP3 server...
        34464 by: Robin Bowes

Re: sendmail to qmail
        34465 by: Russell P. Sutherland

Re: Forward all but one address ?
        34466 by: Robin Bowes
        34480 by: Martin A. Brown

Help with Lotus Notes
        34469 by: Ari Arantes Filho
        34471 by: Alexander Jernejcic
        34482 by: qmail.angryson.de
        34483 by: qmail.angryson.de

control
        34472 by: Stephan Weaver
        34481 by: Li Hong

Re: Sendmail vs Qmail?
        34473 by: cmikk.uswest.net
        34474 by: Petr Novotny
        34477 by: cmikk.uswest.net
        34487 by: Mate Wierdl
        34488 by: Shawn P. Stanley
        34491 by: Mate Wierdl
        34492 by: Shawn P. Stanley
        34494 by: Peter C. Norton
        34498 by: Matthew Brown
        34500 by: Dave Sill
        34528 by: Sam
        34536 by: Russell Nelson

Re: Sorry, but new here
        34476 by: Stephan Goldenberg

question about hotmail and envelop sender
        34478 by: Li Hong
        34479 by: Nguyen Dang Phuoc Dong

dumping msgs to the BBBB
        34484 by: Keith Warno
        34485 by: Timothy L. Mayo
        34486 by: cmikk.uswest.net

Limit POP3 and SMTP service !
        34489 by: Seyyed Hamid Reza Hashemi Golpayegani

Re: 550  cannot route to sender
        34490 by: Nagy Bal�zs

New worm virus: W32.NewApt.Worm
        34496 by: Delanet Administration

mail queue statistics
        34497 by: clifford thurber
        34501 by: Dave Sill

Re: alert:unable to opendir mess/0
        34499 by: Matthew Brown

Re: (no subject)
        34502 by: Dave Sill

Re: Problems sending to local virtual domains
        34503 by: Dave Sill

Qmail daemon messages
        34504 by: Dustin Miller
        34505 by: Dave Sill
        34506 by: Russell Nelson
        34507 by: Fabrice Scemama
        34508 by: Dustin Miller
        34509 by: Dustin Miller
        34510 by: Dustin Miller
        34511 by: Greg Owen
        34516 by: Racer X

qmail appending mail machines name to recipients
        34512 by: clifford thurber
        34513 by: Russell P. Sutherland
        34515 by: Martin A. Brown

AMaViS and (better) qmail (support)
        34514 by: Rainer Link

bouncesaying
        34517 by: Keith Warno
        34531 by: Martin A. Brown
        34532 by: Martin A. Brown

off-topic: include file des.h
        34518 by: Ari Arantes Filho
        34520 by: Racer X

Cannot Telnet localhost 25
        34519 by: Bora Kaing
        34521 by: Bora Kaing

Vitual domains?
        34522 by: Mark E. Drummond
        34525 by: Russell P. Sutherland

IP based authentication
        34523 by: David C. Maple
        34524 by: iv0
        34534 by: David C. Maple

How to control message ?
        34526 by: Jason Huang
        34527 by: iv0
        34529 by: Jason Huang
        34530 by: Sam
        34533 by: iv0

stat.pl
        34535 by: Yamin Prabudy

.qmail question
        34537 by: Dax Kelson

Message Footer
        34538 by: Damien Croarken
        34540 by: Li Hong

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
        34539 by: Bora Kaing
        34541 by: Li Hong

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]


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


> > Not much to do. It's a feature (agruably weakness) of SMTP
> > protocol. You can only trace further 152.200.184.186, and
> > undertake legal action or something, but you need to live
> > with the bounces.
> 
> If my trace is right, it is from an AOL dialup. Do you think
> they will be cooperative in tracing the actual user?
> 


        A better way would be to report them to the server that hosts the page
they are advertising:


>Click Below For More Information!
>
>http://216.33.20.4/bc2/rhndfg93/index.html


        Which turns out to be bigip.angelfire.com. This way, the (few?) people
who actually follow the ad and try to get "more information" will find a
lovely 404 error...



                                                Paulo Jan.
                                                DDnet.





Thanks for the tip. I just wrote [EMAIL PROTECTED]
to report their abusive tenant.

<sigh> The onslaught of bounce messages (which now goes to
bit hell) still continues as I write. What a terrible waste 
of bandwidth :(

Thanks for all those who helped!

--Gil Prudente

Paulo Jan wrote:
> 
> > > Not much to do. It's a feature (agruably weakness) of SMTP
> > > protocol. You can only trace further 152.200.184.186, and
> > > undertake legal action or something, but you need to live
> > > with the bounces.
> >
> > If my trace is right, it is from an AOL dialup. Do you think
> > they will be cooperative in tracing the actual user?
> >
> 
>         A better way would be to report them to the server 
> that hosts the page they are advertising:
> 
> >Click Below For More Information!
> >
> >http://216.33.20.4/bc2/rhndfg93/index.html
> 
>         Which turns out to be bigip.angelfire.com. This way, 
> the (few?) people who actually follow the ad and try to get 
> "more information" will find a lovely 404 error...
> 
>                                                 Paulo Jan.
>                                                 DDnet.




Hi,

    My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

    How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com ===> goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari







On 17 Dec 1999, Petr Novotny wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17 Dec 99, at 17:13, Gil Prudente wrote:
> > Someone used a non-existent address in our domain
> > ( [EMAIL PROTECTED] ) to send spam and we're getting
> > hundreds of bounced messages, which in turn are 
> > double-bounced because the mailbox does not exist.
> 
> Pity you.
> 
> > I have temporarily redirected these bounced messages
> > to a file by creating an alias, to get rid of the
> > double-bounces. 
> 
> That looks like a reasonable way to do. The even more reasonable 
> way would be to find out the recipient of the bounce, and point 
> _that_ account to bit hell (/dev/null). You don't have to generate the 
> second bounce, and you're not missing some (more important) 
> double bounces.

No, the appropriate way to handle this situation is to simply reject mail
addressed to nonexistent recipients, and let the sending mail relay
mailbomb its own postmaster.

> > What's the best way to deal with this? The spammer
> > even used msc.net.ph in the greeting, but the receiving
> > server was able to record the IP as 152.200.184.186.
> 
> Not much to do. It's a feature (agruably weakness) of SMTP 
> protocol.

No, it's a weakness in Qmail's implementation.

--
Sam






On Fri, 17 Dec 1999 17:13:09 +0800 , Gil Prudente writes:
> Someone used a non-existent address in our domain
> ( [EMAIL PROTECTED] ) to send spam and we're getting
> hundreds of bounced messages, which in turn are 
> double-bounced because the mailbox does not exist.
> 
> I have temporarily redirected these bounced messages
> to a file by creating an alias, to get rid of the
> double-bounces. 
 
I think that is the best way to deal with it.

The alias's .qmail- file contains only '#', right?

The only way to do better would be to patch smtpd
(I think there is a "badrcptto" patch floating around
somewhere) so that it would reject the bounce messages
up front. 
 
-- 
Chris Mikkelson  |  Microsoft: Where do you want to go today?
[EMAIL PROTECTED] |  Linux: Where do you want to go tomorrow?
                 |  FreeBSD: Are you guys coming or what?




At 11:55 AM 12/17/99 +0100, you wrote:
>[EMAIL PROTECTED] wrote:
>> 
>> Tried putting /dev/null in the .qmail but I get this error:
>> 
>>     Error_while_writing_message._(#4.3.0)
>> 
>> Any ideas? Haven't had time to search the docs/web though.
>
>make .qmail an empty file, or a file with only comments.
>I think that will do

I tried this out myself, and got the following results:

.qmail-devnull:
/dev/null

Dec 17 09:38:28 gateway qmail: 945452308.624155 new msg 11946
Dec 17 09:38:28 gateway qmail: 945452308.624751 info msg 11946: bytes 844
from <[EMAIL PROTECTED]> qp 13051 uid 0
Dec 17 09:38:28 gateway qmail: 945452308.738177 starting delivery 3156: msg
11946 to local [EMAIL PROTECTED]
Dec 17 09:38:28 gateway qmail: 945452308.738579 status: local 1/10 remote 0/20
Dec 17 09:38:29 gateway qmail: 945452309.096620 delivery 3156: deferral:
Unable_to_write_/dev/null:_invalid_argument._(#4.3.0)/
Dec 17 09:38:29 gateway qmail: 945452309.097114 status: local 0/10 remote 0/20

Changed the .qmail file and -ALRMed qmail-send.

.qmail-devnull:
|/dev/null

Dec 17 09:39:18 gateway qmail: 945452358.762283 starting delivery 3157: msg
11946 to local [EMAIL PROTECTED]
Dec 17 09:39:18 gateway qmail: 945452358.762783 status: local 1/10 remote 0/20
Dec 17 09:39:19 gateway qmail: 945452359.053363 delivery 3157: deferral:
/bin/sh:_/dev/null:_Permission_denied/
Dec 17 09:39:19 gateway qmail: 945452359.053850 status: local 0/10 remote 0/20

Finally, another try:

.qmail-devnull:
# Comment. Deliver to /dev/null?

Dec 17 09:44:24 gateway qmail: 945452664.275136 starting delivery 3165: msg
1194
6 to local [EMAIL PROTECTED]
Dec 17 09:44:24 gateway qmail: 945452664.275647 status: local 1/10 remote 0/20
Dec 17 09:44:24 gateway qmail: 945452664.332010 delivery 3165: success:
did_0+0+0/
Dec 17 09:44:24 gateway qmail: 945452664.363332 status: local 0/10 remote 0/20
Dec 17 09:44:24 gateway qmail: 945452664.363701 end msg 11946

I did not try an empty file, as man dot-qmail states:

       If .qmail is completely empty (0 bytes long), or does  not
       exist,  qmail-local  follows  the defaultdelivery instruc�
       tions set by your system administrator; normally  default�
       delivery  is  ./Mailbox,  so  qmail-local appends the mail
       message to Mailbox in mbox format.

However, the documentation doesn't say anything about delivering to
/dev/null if it finds only a comment line. (Indeed, I suspect that
qmail-local is simply silently discarding the message, rather than
explicitly attempting delivery to /dev/null.)

While it may be deducible that a .qmail file consisting of only one comment
line (or of only comment lines) would result in silent discarding of
messages, perhaps it should be made explicitly clear in the documentation?
It isn't intuitively obvious, especially since it differs from
qmail-local's behavior in the case of an empty (but present) .qmail file.

-----------------------------------------------------------------
                             Kai MacTane
                         System Administrator
                      Online Partners.com, Inc.
-----------------------------------------------------------------
>From the Jargon File: (v4.0.0, 25 Jul 1996)

feature shock /n./ 

[from Alvin Toffler's book title "Future Shock"] A user's (or 
programmer's!) confusion when confronted with a package that has too 
many features and poor introductory material. 





On Fri, Dec 17, 1999 at 09:53:53AM -0800, Kai MacTane wrote:
> At 11:55 AM 12/17/99 +0100, you wrote:
> >[EMAIL PROTECTED] wrote:
> >> 
> >> Tried putting /dev/null in the .qmail but I get this error:
> >> 
> >>     Error_while_writing_message._(#4.3.0)
> >> 
> >> Any ideas? Haven't had time to search the docs/web though.
> >
> >make .qmail an empty file, or a file with only comments.

Comments. Empty file will trigger default instructions.

> .qmail-devnull:
> /dev/null

Should work theoretically, I think...

[snip]
> .qmail-devnull:
> |/dev/null

Is complete and utter bullshit.

[snip]
> 
> .qmail-devnull:
> # Comment. Deliver to /dev/null?

Discards the message as requested.

> Dec 17 09:44:24 gateway qmail: 945452664.275136 starting delivery 3165: msg
> 1194
> 6 to local [EMAIL PROTECTED]
> Dec 17 09:44:24 gateway qmail: 945452664.275647 status: local 1/10 remote 0/20
> Dec 17 09:44:24 gateway qmail: 945452664.332010 delivery 3165: success:
> did_0+0+0/
> Dec 17 09:44:24 gateway qmail: 945452664.363332 status: local 0/10 remote 0/20
> Dec 17 09:44:24 gateway qmail: 945452664.363701 end msg 11946
> 
> I did not try an empty file, as man dot-qmail states:
> 
>        If .qmail is completely empty (0 bytes long), or does  not
>        exist,  qmail-local  follows  the defaultdelivery instruc�
>        tions set by your system administrator; normally  default�
>        delivery  is  ./Mailbox,  so  qmail-local appends the mail
>        message to Mailbox in mbox format.
> 
> However, the documentation doesn't say anything about delivering to
> /dev/null if it finds only a comment line. (Indeed, I suspect that
> qmail-local is simply silently discarding the message, rather than
> explicitly attempting delivery to /dev/null.)

I don't know where I've read it, but it's true :)

> While it may be deducible that a .qmail file consisting of only one comment
> line (or of only comment lines) would result in silent discarding of
> messages, perhaps it should be made explicitly clear in the documentation?

I think that would be a good idea :)

> It isn't intuitively obvious, especially since it differs from
> qmail-local's behavior in the case of an empty (but present) .qmail file.

Correct.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Roy Sandgren <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Greetings to all of you!
>
> I'm running Qmail today, but I have a few wishes that I'm not able to
> fullfill by myself.
>
> What I want/need Qmail to do/perform is:
>
> I want to be able to have several mail-accounts for one or more
> domains without needing to create local accounts on the Linux.
> Within a domain, mail that are sent to a user that doesn't exist
> is supposed to be put into a sort of admin-mailbox. Completely
> separate from the other domains. The mailboxes are to be
> retrieved using POP3.

http://www.inter7.com/vpopmail

>
> I also want to use the "mailserver" for outgoing mail. That is
> the users will use the server as SMTP-server when they send mail.
> Today I just get that the domain I'm sending to isn't specified
> in the rcpthost file. I also want to prevent non-authorized users
> from using the mail-server for outgoing mail. Not only this, I
> also want to be able (myself) to send mail using the server when
> I'm connected to the net from home. There I'm using a quite large
> ISP (In Sweden it's one of the largest), but I don't want other
> that are using the same ISP to be able to use the server for
> sending mail.

http://www.inter7.com/vpopmail/FAQ - see Question 4

R.





* Yamin Prabudy ([EMAIL PROTECTED]) [17 Dec 1999 01:28]:

> How to convert the mbox format to Maildir format
> I need to convert my sendmail format to qmail with Maildir

Go to the qmail WWW site (www.qmail.org) and fetch either
the convert-and-create (for many users) or  convert a single user
links. They are both perl scripts.

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




John Grant (Concordant Networks) <[EMAIL PROTECTED]> wrote in message
000301bf4824$aead9fe0$[EMAIL PROTECTED]">news:000301bf4824$aead9fe0$[EMAIL PROTECTED]...
> Well after a successful installation that receives
> email for a domain and just sends it on to the real server I have hit a
snag.
>
> Current fix: smtproutes contains the following:
>
> domain_to_relay.com:server_to_relay_to
>
> Alas *one* email address at domain_to_relay.com
> has to stay local to my server (without getting relayed
> on and then back (tried that approach).
>
> Anyone have a good suggestion how to relay all,
> but that one special address ?

John,

Here's what I did to solve a similar situation.

1. Setup the domain as a virtual domain using vpopmail
2. Make the default delivery option to deliver to a Maildir, eg, in
/home/vpopmail/domains/domain_to_relay.com/.qmail-default:

| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/domain_to_relay.com/domain-default

3. Use maildirsmtp running under supervise to send all mail from the Maildir
to the required server.

Any addresses that you want to keep local you can handle by either creating
a new virtual user (vadduser) or creating a .qmail-user file in the
/home/vpopmail/domains/domain_to_relay.com

HTH,

R.





John,

I'm not sure this is exactly what you are looking for, but I have an
alternate solution to your problem.

If you remove the smtproutes entry, and enter the following into
virtualhosts:

domain_to_relay.com:relaydomain

Then all mail bound for domain_to_relay.com can be forwarded by

~relaydomain/.qmail-default (which can contain):
| forward ${EXT}@server_to_relay_to.domain.com

And you can make as many exceptions as you like to this rule, e.g.
~relaydomain/.qmail-admin (which could contain):

./Maildir/

or whatever delivery address you would prefer.

Now the only problem with this solution is that your message makes two
trips through the queue--if it's not a heavily loaded box, then you are
set.

Good luck,

-Martin
-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Thu, 16 Dec 1999, John Grant (Concordant Networks) wrote:

-->Well after a successful installation that receives
-->email for a domain and just sends it on to the real server I have hit a snag.
-->
-->Current fix: smtproutes contains the following:
-->
-->domain_to_relay.com:server_to_relay_to
-->
-->Alas *one* email address at domain_to_relay.com 
-->has to stay local to my server (without getting relayed
-->on and then back (tried that approach).
-->
-->Anyone have a good suggestion how to relay all,
-->but that one special address ?
-->
-->---
-->
-->                                      John 





Hi,

    Sorry about last message, I didn't change the subject...



    My customer is using an other isp where this domain is hosted. Now it
wants to change to my isp. He is using a dialup connection with the other
isp and has a Lotus Notes Server in its local network. The NT, where Notes
runs, makes a dialup connection from time to time and receive incoming
messages and send outgoing messages.

    How do I need to configure my qmail to do this job? I think that the
username is controlled by Notes and I don't need to worry about usernames,
right? Is a kind of this:

*@domain.com ===> goes to a normal pop account and the Notes reads only this
account?

/var/control/virtualdomains:
domain.com:domain-com

/home/domain-com
.qmail-default
./Maildir/

The notes reads only the user domain-com, right?

Best regards,

Ari








Hi Ari,

be carefull with this: make sure, the customer has the pop3 module for 
his lotus notes server. this is a rather expensive addon!
standard lotus notes is AFAIK only smtp. so your customer needs his 
own IP address for ETRN or you will mangle around with some autoturn 
solutions.

alex

>>>>>>>>>>>>>>>>>> Urspr�ngliche Nachricht <<<<<<<<<<<<<<<<<<

Am 12/17/99, 1:42:18 PM, schrieb "Ari Arantes Filho" 
<[EMAIL PROTECTED]> zum Thema Help with Lotus Notes:


> Hi,

>     Sorry about last message, I didn't change the subject...



>     My customer is using an other isp where this domain is hosted. Now 
it
> wants to change to my isp. He is using a dialup connection with the 
other
> isp and has a Lotus Notes Server in its local network. The NT, where 
Notes
> runs, makes a dialup connection from time to time and receive incoming
> messages and send outgoing messages.

>     How do I need to configure my qmail to do this job? I think that 
the
> username is controlled by Notes and I don't need to worry about 
usernames,
> right? Is a kind of this:

> *@domain.com ===> goes to a normal pop account and the Notes reads only 
this
> account?

> /var/control/virtualdomains:
> domain.com:domain-com

> /home/domain-com
> .qmail-default
> ./Maildir/

> The notes reads only the user domain-com, right?

> Best regards,

> Ari







On 17 Dec 99, at 13:06, Alexander Jernejcic wrote:

> Hi Ari,
> 
> be carefull with this: make sure, the customer has the pop3 module for 
> his lotus notes server. this is a rather expensive addon!

Since Notes Release 4.5 there will be Servertasks for smtp, pop3, 
imap and ldap. Notes is also able to use a vendor-specific service 
on Port 1352 for replication of Notes-Databases and the delivery of 
mail. If your customer uses this services Notes will do all of the 
dialup stuff (not NT) and the ISP must also host a Notesserver (for 
collecting and sending the mail). So check that your customer has 
configured and started an Notes smtp-mta for generic smtp 
mailservices. A Problem regarding this solution would be that 
Notes will send all outgoing mail directly with queuing it for a later 
delivery!

It would be a good idea using a small Linux-Box at the customers 
side running qmail (as mail-proxy), and for dail-up/serialmail. 
Perhaps you should also add an HTTP-Proxy as special service for 
new customers ;-> 

- Roland






On 17 Dec 99, at 16:42, [EMAIL PROTECTED] wrote:

> mailservices. A Problem regarding this solution would be that 
> Notes will send all outgoing mail directly with queuing it for a later 
> delivery!

Sorry typo!!! Notes send all mail directly **without** queuing it for 
later delivery.

> 
> It would be a good idea using a small Linux-Box at the customers 
> side running qmail (as mail-proxy), and for dail-up/serialmail. 
> Perhaps you should also add an HTTP-Proxy as special service for 
> new customers ;-> 
> 
> - Roland
> 
> 






hello good day.
im getting alot of trouble sendmail mail with qmail.
i am on a dial up
and it keeps trying to sendmail to -localhost-.my.fqdn.com.
and i dont got SOA on the fqdn so i cant make localhost.,
can someone please help me out?
Dec 17 09:09:36 weaver qmail: 945436176.584467 delivery 25: failure:
Sorry,_I_couldn't_find_any_host_named_localhost.tstt.net.tt._(#5.1.2)/







Well,the fqdn means Full Qualified Domain Name,please take a look at  Dave Sill's Life 
With Qmail file which you could find  via www.qmail.com/top.html and it will solve 
this problem and further one.

----- Original Message ----- 
From: Stephan Weaver <[EMAIL PROTECTED]>
To: <c>
Sent: Friday, December 17, 1999 9:17 PM
Subject: control


> hello good day.
> im getting alot of trouble sendmail mail with qmail.
> i am on a dial up
> and it keeps trying to sendmail to -localhost-.my.fqdn.com.
> and i dont got SOA on the fqdn so i cant make localhost.,
> can someone please help me out?
> Dec 17 09:09:36 weaver qmail: 945436176.584467 delivery 25: failure:
> Sorry,_I_couldn't_find_any_host_named_localhost.tstt.net.tt._(#5.1.2)/
> 
> 
> 
> 





On 17 Dec 1999 08:10:26 -0000 , "Petr Novotny" writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 16 Dec 99, at 20:48, [EMAIL PROTECTED] wrote:
> > I would list a few things in sendmail's favor:
> > 
> > 1) The ability to rewrite headers "up front" without
> > requiring double delivery (once to a rewriting
> > program, then again to the destination).
> 
> Nice - but any program with root privileges doing header rewriting is 
> a recipe for disaster.

Well, perhaps -- it does make existing security
holes potentially more damaging. 

The inability to do header rewriting without making
two trips through the queue causes a severe performance
hit, if you are doing anything other than low volume.
 
> It also depends on what you mean by "delivery"; qmail's logic is 
> much simpler, but internally sendmail will do "almost" the same, 
> without giving you so many chances to inspect and debug.

By delivery, I mean "a call to qmail-inject" (two fsyncs).
 
> >  1a) The ability to forward mail, up front....
> 
> Sorry?

That is forwarding with only one trip through the queue.
 
> > 2) The ability (even if theoretical) to deliver a
> > message without fsync()ing it into the queue, unless
> > absolutely necessary.
> 
> I don't find that a plus... I prefer to stay on the safe side, rather than 
> (potentially) losing messages for the sake of speed.

Such an approach is not necessarily unsafe.  Unsafe
means that messages can be lost after they are
acknowledged.  If the message is successfully
delivered before acknowledgement is given, then
enqueueing the message is unnecessary.
 
-- 
Chris Mikkelson  |      Problems are posed by fools like me;
[EMAIL PROTECTED] |      But only Heuristics can search a tree.




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
> The inability to do header rewriting without making
> two trips through the queue causes a severe performance
> hit, if you are doing anything other than low volume.

Rewriting headers of all messages is a severe performance hit. Or 
can you instruct sendmail not to? I couldn't find how.

> That is forwarding with only one trip through the queue.

You mean reading "aliases" before delivering, and therefore 
deciding to forward immediately? Maybe with some tweaking, the 
current virtualdomains code might do that.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOFpKG1MwP8g7qbw/EQJcNwCePkJBjeIcFTQMkmNWYii56dpwuDMAoNMr
s/aolVCZ8f+qtcheSvSLnK7D
=xgCs
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]





On 17 Dec 1999 13:34:39 -0000 , "Petr Novotny" writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
> > The inability to do header rewriting without making
> > two trips through the queue causes a severe performance
> > hit, if you are doing anything other than low volume.
> 
> Rewriting headers of all messages is a severe performance hit. Or 
> can you instruct sendmail not to? I couldn't find how.

Rewriting headers chews up CPU.  Re-enqueueing the
message (in qmail) causes between 4 and 5 (serial)
fsyncs, which pretty much dwarfs any latency introduced
by scanning and rewriting the headers of the message.
 
> > That is forwarding with only one trip through the queue.
> 
> You mean reading "aliases" before delivering, and therefore 
> deciding to forward immediately? Maybe with some tweaking, the 
> current virtualdomains code might do that.

Yep, that's pretty much what I mean.  Unfortunately,
it severely violates qmail's "philosophy."
 
-- 
Chris Mikkelson  | ... a pet peeve of mine is people who directly edit 
[EMAIL PROTECTED] | the .cf file instead of using the m4 configuration
                 | files ... I treat the .cf file as a binary file
                 | - you should too.  --- Eric Allman




According to the new book "Programming Internet Email" by Wood at
O'Reilly, qmail does not satisfy the needs of a large company with
complex needs---only sendmail does.  See bottom of page 17.



> According to Dan's surveys, "everyone" is 65% and dropping.

It seems that the droppage is due to people starting to use
Post.Office more than any other MTA (1:10 = PO:sendmail ; 1:20 =
qmail:sendmail).  Also, much more site *started* to use sendmail than
qmail---or any other MTA.

Finally the last survey on Dan's site is more than one year old.

1997:
  6531 sendmail
    72 Post.Office
    70 Netscape Mail Server, same as Post.Office
    51 qmail

1998:
  11583  sendmail
   1102  Post.Office
    778  IMail
    638  MS Exchange
    566  NT Mail
    552  qmail
    511  Netscape Messaging Server, formerly Netscape Mail Server

Despite all these RedHat is still using qmail on its list server.  Not
only that, lately, they even doubled the number of hosted lists.  Are
they nuts?

As their most significant shareholder ($25,000 on a $1,400 August
investment), I think I am entitled to ask some tough questions.

Indeed, RH went as far as trying to buy Corel just so that (rumor has
it) finally they could distribute qmail.

Finally my own stat

# cat xferlog|grep "var-qmail-create-1.03-102memphis.src.rpm"|
  awk '{print $7,$9}'|sort -u|wc -l
   1859

since Sept 1.

Mate




I would think the needs of a large company would include the ability to
prevent a mail server from being used as an open relay by spammers.  I was
unable to block spammers with the latest and greatest version of sendmail.

A number of people use sendmail because:

    1) It's more flexible than smail was;
    2) It comes with Linux.

Most people won't go out of their way to replace their mail server.  I'm
guessing that's why sendmail still rates so high.

As for the intentions of RedHat when trying to purchase Corel, I thought it
had more to do with WordPerfect and other related office tools.  Such tools
are everything in the Linux vs. Microsoft market share war.

----- Original Message -----
From: Mate Wierdl <[EMAIL PROTECTED]>
To: Qmail List <[EMAIL PROTECTED]>
Sent: Friday, December 17, 1999 10:30 AM
Subject: Re: Sendmail vs Qmail?


> According to the new book "Programming Internet Email" by Wood at
> O'Reilly, qmail does not satisfy the needs of a large company with
> complex needs---only sendmail does.  See bottom of page 17.
>
>
>
> > According to Dan's surveys, "everyone" is 65% and dropping.
>
> It seems that the droppage is due to people starting to use
> Post.Office more than any other MTA (1:10 = PO:sendmail ; 1:20 =
> qmail:sendmail).  Also, much more site *started* to use sendmail than
> qmail---or any other MTA.
>
> Finally the last survey on Dan's site is more than one year old.
>
> 1997:
>   6531 sendmail
>     72 Post.Office
>     70 Netscape Mail Server, same as Post.Office
>     51 qmail
>
> 1998:
>   11583  sendmail
>    1102  Post.Office
>     778  IMail
>     638  MS Exchange
>     566  NT Mail
>     552  qmail
>     511  Netscape Messaging Server, formerly Netscape Mail Server
>
> Despite all these RedHat is still using qmail on its list server.  Not
> only that, lately, they even doubled the number of hosted lists.  Are
> they nuts?
>
> As their most significant shareholder ($25,000 on a $1,400 August
> investment), I think I am entitled to ask some tough questions.
>
> Indeed, RH went as far as trying to buy Corel just so that (rumor has
> it) finally they could distribute qmail.
>
> Finally my own stat
>
> # cat xferlog|grep "var-qmail-create-1.03-102memphis.src.rpm"|
>   awk '{print $7,$9}'|sort -u|wc -l
>    1859
>
> since Sept 1.
>
> Mate





On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
> As for the intentions of RedHat when trying to purchase Corel, I thought it
> had more to do with WordPerfect and other related office tools.  Such tools
> are everything in the Linux vs. Microsoft market share war.

Sorry, I thought it was clear that I was kidding.  But the rest of my
message contained facts---but to interpret them properly, please note
I have been using qmail exclusively since 1996---despite the fact that
our University switched to postoffice.

Mate





Why is postoffice so popular?

----- Original Message -----
From: Mate Wierdl <[EMAIL PROTECTED]>
To: Shawn P. Stanley <[EMAIL PROTECTED]>
Cc: Qmail List <[EMAIL PROTECTED]>
Sent: Friday, December 17, 1999 11:02 AM
Subject: Re: Sendmail vs Qmail?


> On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
> > As for the intentions of RedHat when trying to purchase Corel, I thought
it
> > had more to do with WordPerfect and other related office tools.  Such
tools
> > are everything in the Linux vs. Microsoft market share war.
>
> Sorry, I thought it was clear that I was kidding.  But the rest of my
> message contained facts---but to interpret them properly, please note
> I have been using qmail exclusively since 1996---despite the fact that
> our University switched to postoffice.
>
> Mate
>





Post.Office is simple, it runs under NT, any idiot can set it up, and it's
user interface is better then the current web-configurators for
qmail/sendmail/anything else I've seen.  It's also crappy.  Delivery is
slow, can't grow well past about 200 users, can't handle large volumes of
email, doesn't log nearly enough data to track a message.  It's capable of
losing messages in daily operations.

In other words, beats me.

-Peter

On Fri, Dec 17, 1999 at 11:04:31AM -0600, Shawn P. Stanley wrote:
> Why is postoffice so popular?
> 
> ----- Original Message -----
> From: Mate Wierdl <[EMAIL PROTECTED]>
> To: Shawn P. Stanley <[EMAIL PROTECTED]>
> Cc: Qmail List <[EMAIL PROTECTED]>
> Sent: Friday, December 17, 1999 11:02 AM
> Subject: Re: Sendmail vs Qmail?
> 
> 
> > On Fri, Dec 17, 1999 at 10:35:09AM -0600, Shawn P. Stanley wrote:
> > > As for the intentions of RedHat when trying to purchase Corel, I thought
> it
> > > had more to do with WordPerfect and other related office tools.  Such
> tools
> > > are everything in the Linux vs. Microsoft market share war.
> >
> > Sorry, I thought it was clear that I was kidding.  But the rest of my
> > message contained facts---but to interpret them properly, please note
> > I have been using qmail exclusively since 1996---despite the fact that
> > our University switched to postoffice.
> >
> > Mate
> >
> 

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.




> According to the new book "Programming Internet Email" by Wood at
> O'Reilly, qmail does not satisfy the needs of a large company with
> complex needs---only sendmail does.  See bottom of page 17.

Don't just tease us: what's his reasoning?  Not gonna go out & buy the book
right now just to find out!

-Matt

--
Matt Brown ---- UNIX Administrator ---- tickets.com
Phone: (714) 327-5571 --- Email: [EMAIL PROTECTED]





"Peter C. Norton" <[EMAIL PROTECTED]> wrote:

>Post.Office is simple, it runs under NT, any idiot can set it up, and it's
>user interface is better then the current web-configurators for
>qmail/sendmail/anything else I've seen.

Those are the pluses.

>It's also crappy.  Delivery is slow, can't grow well past about 200
>users, can't handle large volumes of email, doesn't log nearly enough
>data to track a message.  It's capable of losing messages in daily
>operations.

Those are the minuses.

>In other words, beats me [why Post.Office is so popular].

It's no mystery: NT is popular, idiots abound, and everyone likes a
pretty [inter]face.

The fact that it's crappy is obviously secondary to these concerns.

-Dave






On 17 Dec 1999, Petr Novotny wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17 Dec 99, at 7:28, [EMAIL PROTECTED] wrote:
> > The inability to do header rewriting without making
> > two trips through the queue causes a severe performance
> > hit, if you are doing anything other than low volume.
> 
> Rewriting headers of all messages is a severe performance hit. Or 

Only for sendmail.  Qmail, and other mailers, can do it with very little
expense.

> can you instruct sendmail not to? I couldn't find how.
> 
> > That is forwarding with only one trip through the queue.
> 
> You mean reading "aliases" before delivering, and therefore 
> deciding to forward immediately? Maybe with some tweaking, the 
> current virtualdomains code might do that.

Also aliasing as in mailing lists.  One nice feature of sendmail is that
it dedups addresses after expanding them.

This is one reason Qmail will never be used in any enterprise-scale
system.  The large international 800 pound gorilla I currently consult for
uses alias-based mailing lists rather extensively.  Pretty much everyone
gets subscribed to at least a dozen mailing lists as part of the company's
welcome wagon.  There's a mailing list for everyone on the same floor in
the building, a mailing list for everyone on any floor in the same
building, a mailing list for everyone in all the building in the same
city, a mailing list for everyone who works on the same continent, and a
mailing list of everyone in the firm.  On top of that, there are multiple
mailing lists that loosely mirror all the steps on the corporate ladder,
and mailing lists for everyone in the same business unit or IT unit.

Additionally, pretty much every IT project has its own mailing list. Every
application that the firm has installed anywhere also has a mailing list
for its users. There's even a mailing list for everyone who uses internal
and external news servers (both use authentication, and the mailing list
automatically consists of everyone who used the news server in the last 90
days).

There are individual servers which also keep track of who logs on to them,
and a mailing list is made out of that info too.  This is done so that
whenever the engineering group takes a server, application, or a
particular network, down for maintenance, everyone who can potentially be
affected by the down time is aware of it.

Now, you can't run something like that with Qmail and ezmlm.  Pretty much
any kind of memo is sent out to at least three or four mailing lists.
Since everything is kept as, basically, one huge mail alias file, sendmail
dedups the recipient list after expanding it (and, yes, as long as you run
a sendmail farm on a large enough ring of big honking UNIX boxes with more
CPUs than most people have fingers on their hands, the performance is
quite acceptable).

This is an absolute requirement for any enterprise-scale environment.  If
everyone started to get three or four copies of the same memo, this would
get old pretty quickly.






Sam writes:
 > Now, you can't run something like that with Qmail and ezmlm.

http://www.qmail.org/eliminiate-dups .  Run qmail-start as follows:

qmail-start '|eliminate-dups Mailbox
./Mailbox'

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




On Thu, Dec 16, 1999 at 12:08:18PM -0500, Dave Sill wrote:
> [EMAIL PROTECTED] wrote:
> 
> >How can I start without going in trouble too much?
> >
> >Are there any tips to start?
> 
> Start with "Life with qmail":
> 
>     http://Web.InfoAve.Net/~dsill/qmail.html
> 
> German translation coming soon.
> 
> -Dave
> 
Hi,

        this arrived right in time. Saved a lot of work here.
THANKS.
bye,
-- 
Stephan Goldenberg              [EMAIL PROTECTED]
   -- DG1EES --         amprnet:[EMAIL PROTECTED]
  Essen, Germany        6�E 56.479' 51�N 28.040' [JO31LL]




Greeting all!
 
here got 2 problem about qmail-send.
 
1.i setup my own email server several month ago but now some weird problem when Isend email to [EMAIL PROTECTED],following is error info return back my mail damon:
 
-------
<[EMAIL PROTECTED]>:
216.33.151.135 failed after I sent the message.
Remote host said: 554 Transaction failed
-------
 
when I try to telnet to hotmail, the result is the same.
 
 
why?
 
 
2.how could I set the envelop sender since I use qmail in my cgi script like
open(MAIL,"|/usr/local/qmail/bin/qmail-inject [EMAIL PROTECTED]") || die $!;
print MAIL "blah blah";
close(MAIL);
 
it seems NOT [EMAIL PROTECTED] but [EMAIL PROTECTED],how to change it?I've tried lwq and manpage but no file seems for it.
 
 
Thanks.
 

 




I'm too! Don't know how Hotmail can serve millions account!

Dong

    -----Original Message-----
    From: Li Hong <[EMAIL PROTECTED]>
    To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
    Date: Friday, December 17, 1999 8:54 PM
    Subject: question about hotmail and envelop sender
    
    
    -------
    <[EMAIL PROTECTED]>:
    216.33.151.135 failed after I sent the message.
    Remote host said: 554 Transaction failed
    
    -------
    
    






BBBB == "Big Black Bit Bucket", AKA, /dev/null

I remember seeing something on the list about how to do this; apologies in
advance.  I would like to send a user's mail (either a real user or
non-existant user) silently to /dev/null.  I'm assuming that an
appropriately-named .qmail file with a /dev/null will work; however I was
pretty sure there was a more "elegant" way of doing it.  Something involving
a pound sign maybe?

Thanks.


/*
** Keith Warno
** Make Us An Offer, Inc.
** Real-Time Online Haggling
** http://www.makeusanoffer.com/
*/

BEGIN:VCARD
VERSION:2.1
N:Warno;Keith;R;Mr.
FN:Keith R Warno
ORG:MakeUsAnOffer.com;Technology
TITLE:Developer
ADR;WORK:;;;Lawrenceville;NJ;;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Lawrenceville, NJ=0D=0AUSA
ADR;HOME:;;;Hamilton;NJ;;USA
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Hamilton, NJ=0D=0AUSA
X-WAB-GENDER:2
URL:http://www.MakeUsAnOffer.com/~keith/
URL:http://www.MakeUsAnOffer.com/
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:19991217T161832Z
END:VCARD




a .qmail file that only contains comments will achieve what you are after.

.qmail:
#

works very nicely. :)

On Fri, 17 Dec 1999, Keith Warno wrote:

> BBBB == "Big Black Bit Bucket", AKA, /dev/null
> 
> I remember seeing something on the list about how to do this; apologies in
> advance.  I would like to send a user's mail (either a real user or
> non-existant user) silently to /dev/null.  I'm assuming that an
> appropriately-named .qmail file with a /dev/null will work; however I was
> pretty sure there was a more "elegant" way of doing it.  Something involving
> a pound sign maybe?
> 
> Thanks.
> 
> 
> /*
> ** Keith Warno
> ** Make Us An Offer, Inc.
> ** Real-Time Online Haggling
> ** http://www.makeusanoffer.com/
> */
> 
> 

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

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






On Fri, 17 Dec 1999 11:18:32 -0500 , "Keith Warno" writes:
> I remember seeing something on the list about how to do this; apologies in
> advance.  I would like to send a user's mail (either a real user or
> non-existant user) silently to /dev/null.  I'm assuming that an
> appropriately-named .qmail file with a /dev/null will work; however I was
> pretty sure there was a more "elegant" way of doing it.  Something involving
> a pound sign maybe?

Yes, just put a # sign in the .qmail file.  The #
sign is treated as a comment, and the .qmail file
is nonempty, so it is taken to contain instructions.

Since it has no instructions, the message is just
dropped.

-- 
Chris Mikkelson  | If you throw your bread upon the waters, it shall come
[EMAIL PROTECTED] | back threefold, but only if you are willing to throw the
                 | recipe upon the waters as well...  -- Terry Lambert 
                        




Hi ,

I have installed qmail 1.03 and it works fine ! but I want some feature that
can't find it .
1- I want that relay mail based on the sender domain name . For example I
have install this qmail server on morva.net domain and want to don't deliver
mails that are not have [EMAIL PROTECTED] form . It means only morva.net users
can use our smtp server .
2- The log file will be show me that the qmaild user send a mail when I use
pop3 service . It means that I can get uid of user that use pop3 service and
logon to the pop3 server and send a mail . How can I find out that which uid
use pop3 and send a mail ?

Thank You so much
Hamid Hashemi
Morva.net Admin





On Sat, 11 Dec 1999 [EMAIL PROTECTED] wrote:

> On Wed, Nov 17, 1999 at 12:35:42PM +0100, Nagy Balazs wrote:
> 
> > ;; ANSWER SECTION: 
> > col7.metta.lk.  3h21m IN NS server1.tradenetsl.lk.
> > col7.metta.lk.  3h21m IN NS dhamma.metta.lk. 
> > col7.metta.lk.  3h31m35s IN MX 10 metta.lk. 
> > col7.metta.lk.  23h58m23s IN A 172.16.1.1 
> > // **** This is a problem.  You have to erase the A record from the
> > // outer metta.lk zone.  That server can store all messages which come
> > // to col7 to a folder (ie. ~alias/172.16.1.1/), but qmail doesn't have
> > // to have that dns entry.
> 
> Without the A record in the zone file
> when I do a "nslookup col7.metta.lk" I get host not found
> If i put the A record back in the zone file then it is ok

Yes, it's OK for you and just for you only.  You have to have two zone
files.  One is for you and one is for the others.  For you you can put the A
record into the zone field, but for others you have to use just an MX record
for that domain.

> Below is my col7.metta.lk zone file.
> Would it be ok to put the ip of metta.lk as an A record 
> inplace of the 172.16.1.1 entry.
> Please see the sample below.

If you give outer (eg. to the internet) name service, *don't put* local IP
addresses to zone file.

> $ORIGIN col7.metta.lk.
> $TTL    86400
> @               IN      SOA     narada.col7.metta.lk.
> hostmaster.col7.metta.lk. (
>                         1999120601 ; serial
>                         3600 ; refresh
>                         900 ; retry
>                         1209600 ; expire
>                         43200 ; default_ttl
>                         )
>                 IN      NS      metta.lk.
>                 IN      NS      server1.tradenetsl.lk.
>                 IN      MX      10      metta.lk.
> //***                IN      A       172.16.1.1
> //***                IN      A       203.115.29.130
> narada.col7.metta.lk.   IN      CNAME   col7.metta.lk.

Which is the latter A record?  Is that your outer port?

My opinion is to do like this:

      +--------+       +--------+
      |172.16. |       |203.115.|
      |  1.1   |-modem-|29.130  |=======> internet
      |        |       |        |
      +--------+       +--------+

Put col7.metta.lk MX 10 metta.lk to 203.115.29.130's metta.lk zone file, and
put a col7.metta.lk:172.16.1.1 line (or sort of) to metta.lk's
/var/qmail/control/smtproutes.  You can do anything else too but don't
forget not to mention col7.metta.lk for 172.16.1.1.

Then, at your site you can do any record as you like as long as none of your
name service zones are delegated.

> I could also remove the col7.metta.lk zone file 
> and make a  CNAME in the  metta.lk zone file.
> 
> Which of the 2 ways is the correct way ?

It depends on what you like.
-- 
Regards: Kevin (Balazs) @ synergon





With all the talk about virus scanning on incomming mail/etc I thought
I'd add this little piece. In the event that you do not scan incomming
mail and are hit by this or another virus, the following little shell
script will allow you to locate and remove the infected emails from a
customers maildir before they download their email.
--------------------------------------------------------
#!/bin/sh

for i in /export/vpopmail/domains/$1/$2*
do
  for x in $i/Maildir/new/*
    do
        grep "http://stuart.messagemates.com/index.html" $x > /dev/null
2>&1
        if [ $? -eq 0 ]
          then
          mv $x /export/badmail/
          echo $x  >> /export/badmail/infected.log
        fi
    done
done
-------------------------------------------------------

Syntax is './filter.sh <your domain directory> <letter from a to z>'.

This allows you to check maildirs for all users whose login begins with
whatever letter you specify. Run multiple copies to scan more maildirs
faster if your server can handle, or if you run multiple front end mail
servers delivering to the same nfs mail store. This script is setup for
vchkpw/vpopmail with multiple domains. You may need to edit it for the
correct path and destination for the infected emails to be moved to. As
always, I take no responsibility if this trashes your mail server. Run
at your own risk. It works fine for me, but my server is not the same as
yours I'm sure. Also note the grep line is currently setup for the above
noted virus. It should work with others if you can find a repeating
pattern that is consistent in all emails containing the virus. It's not
pretty, but it works.

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802







        Hello,
I have read all the docs and tried to get this to work so please forgive
the sophmoric nature of this question but I am new to qmail and this list
has been quite helpful. What is the qmail command(under bin) to generate a
report of all the mail that qmail has sent out in the last X hours of days.
Is there a way to both get a numerical total as well as a list of  remote
recipient addresses that qmail 
has sent off mail to. Thanks again in advance.
Clifford
Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134




clifford thurber <[EMAIL PROTECTED]> wrote:

>I have read all the docs and tried to get this to work so please forgive
>the sophmoric nature of this question but I am new to qmail and this list
>has been quite helpful. What is the qmail command(under bin) to generate a
>report of all the mail that qmail has sent out in the last X hours of days.
>Is there a way to both get a numerical total as well as a list of  remote
>recipient addresses that qmail 
>has sent off mail to. Thanks again in advance.

What you want is available in a separate package called
qmailanalog. See:

    http://Web.InfoAve.Net/~dsill/lwq.html#qmailanalog

-Dave




> Dec 17 16:10:16 host1 qmail: 945414616.234284 status: local
> 0/10 remote 0/20
> Dec 17 16:10:17 host1 qmail: 945414617.771422 alert: unable
> to opendir mess/0, sleeping...

Sounds like either /var/qmail/queue/* doesn't exist or its
ownership/permissions are wrong ...

What's under there?

-Matt

--
Matt Brown ---- UNIX Administrator ---- tickets.com
Phone: (714) 327-5571 --- Email: [EMAIL PROTECTED]





"Stephan Weaver" <[EMAIL PROTECTED]> wrote:

>i really like qmail.

Me too.

>I was wondering how to disable somethings.
>if i telnet localhost 25
>and i type 'help'
>i get a response with a link to the qmail's homepage.
>i dont want that, for security reasons.
>mabee you guys can help me out?

Modify the source code, qmail-smtpd.c, to be specific.

There's really nothing to be gained by trying to hide the fact that
you're running qmail because: (1) there are no known security holes
in qmail, and (2) qmail is recognizable by its behavior.

-Dave




Oscar Arranz <[EMAIL PROTECTED]> wrote:

>I have installed qmail with tcpserver and vpopmail.
>When I send a message from a local address ([EMAIL PROTECTED]) to
>an external account, it works fine
>but when I send a message to other address in the same server it doesn't
>work and puts a message like this on /var/log/syslog
>
>        delivery 13: deferral:
>Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)
>
>What's the meaning of this?

>From "man dot-mail":

       If .qmail has the execute bit set, it must not contain any
       program lines, mbox lines, or maildir  lines.   If  qmail-
       local  sees  any  such  lines, it will stop and indicate a
       temporary failure.

"Executable" .qmail files are supposed to contain nothing but
"forward" lines. This is a security feature for mailing list files: if 
an attacker could somehow subscribe the address:

    |cat /bin/passwd | Mail [EMAIL PROTECTED]

The execute bit would prevent qmail-local from performing that
delivery.

-Dave




I was wondering if there is a place where I can change the default daemon
messages.

Things like "sorry it didn't work out" bounces, and things like that.

Are these configurable?  Or do I edit source code to change them?

Thanks in advance!

Dustin





"Dustin Miller" <[EMAIL PROTECTED]> wrote:

>I was wondering if there is a place where I can change the default daemon
>messages.
>
>Things like "sorry it didn't work out" bounces, and things like that.
>
>Are these configurable?

No.

>Or do I edit source code to change them?

You can, but be careful not to break QSBMF (qmail-send Bounce Message
Format) in the process. It's documented on Dan's web site.

-Dave




Dustin Miller writes:
 > I was wondering if there is a place where I can change the default daemon
 > messages.
 > 
 > Things like "sorry it didn't work out" bounces, and things like that.
 > 
 > Are these configurable?  Or do I edit source code to change them?

Source code.  Plus, the "Hi, this is the" part is a documented
standard, and cannot be changed without breaking everything that
parses bounce messages.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




And why the hell would someone ever want to change them ?
Many people expect them to have that form.

Anyway, RFCs-1891,1892,1893,1894 explain what the messages
'SHOULD' contain, exactly.

Russell Nelson wrote:
> 
> Dustin Miller writes:
>  > I was wondering if there is a place where I can change the default daemon
>  > messages.
>  >
>  > Things like "sorry it didn't work out" bounces, and things like that.
>  >
>  > Are these configurable?  Or do I edit source code to change them?
> 
> Source code.  Plus, the "Hi, this is the" part is a documented
> standard, and cannot be changed without breaking everything that
> parses bounce messages.
> 
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government schools are so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




I'm really getting sick of replies like this.

First of all, is there any reason for you to say "Why the hell [snip]", any
reason at all for the vulgarity?

Second of all, I don't want my server saying. "Sorry it didn't work out."
People in general don't get those messages, and if there is anything I can
do to reduce the tech support calls I receive saying "What does this message
mean", I'm going to do it.

Third, I do appreciate the RFC pointers, and I will check those out.

If anyone else has some valuable information about what I can do to change
those messages while still keeping true to the RFCs and any other standards,
please let me know.  The default messages aren't good enough for the average
newbie internet e-mail user, in my humble opinion, and I wish to change them
on my server.

-----Original Message-----
From: gesnet [mailto:gesnet]On Behalf Of Fabrice Scemama
Sent: Friday, December 17, 1999 4:43 PM
To: Russell Nelson
Cc: [EMAIL PROTECTED]
Subject: Re: Qmail daemon messages


And why the hell would someone ever want to change them ?
Many people expect them to have that form.

Anyway, RFCs-1891,1892,1893,1894 explain what the messages
'SHOULD' contain, exactly.

Russell Nelson wrote:
>
> Dustin Miller writes:
>  > I was wondering if there is a place where I can change the default
daemon
>  > messages.
>  >
>  > Things like "sorry it didn't work out" bounces, and things like that.
>  >
>  > Are these configurable?  Or do I edit source code to change them?
>
> Source code.  Plus, the "Hi, this is the" part is a documented
> standard, and cannot be changed without breaking everything that
> parses bounce messages.
>
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government schools are
so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank
amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
Homeschool!





Thanks, Dave, I'll check into that. :)

-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmail daemon messages


"Dustin Miller" <[EMAIL PROTECTED]> wrote:

>I was wondering if there is a place where I can change the default daemon
>messages.
>
>Things like "sorry it didn't work out" bounces, and things like that.
>
>Are these configurable?

No.

>Or do I edit source code to change them?

You can, but be careful not to break QSBMF (qmail-send Bounce Message
Format) in the process. It's documented on Dan's web site.

-Dave





I'll need to look into the bounce parsing standard to ensure compatibility.
The default messages can be confusing to newbie e-mail users, and changing
them would reduce the tech support calls I receive here.

-----Original Message-----
From: Russell Nelson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 3:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmail daemon messages


Dustin Miller writes:
 > I was wondering if there is a place where I can change the default daemon
 > messages.
 >
 > Things like "sorry it didn't work out" bounces, and things like that.
 >
 > Are these configurable?  Or do I edit source code to change them?

Source code.  Plus, the "Hi, this is the" part is a documented
standard, and cannot be changed without breaking everything that
parses bounce messages.

--
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
Homeschool!





> I'll need to look into the bounce parsing standard to ensure 
> compatibility. The default messages can be confusing to
> newbie e-mail users, and changing them would reduce the tech
> support calls I receive here.

        If you're going to change them, may I suggest trying to change the
source in such a way that the configurable parts of the messages are
confined to a set of #defines, so that others may more easily plug them in
without conflicting with the standard.  (I say this without having glanced
at the standard, so take this comment for what it is worth).

<opinion>
        The problem you are having is not the default messages - it is
newbie email users.  I am consistently amazed how many people have trouble
getting their own email address correct, much less analyzing bounce messages
of ANY format.

        I have yet to find a good patch for this problem.
</opinion>

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]




----- Original Message -----
From: Greg Owen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Fri 17 Dec 1999 14.12
Subject: RE: Qmail daemon messages


> <opinion>
> The problem you are having is not the default messages - it is
> newbie email users.  I am consistently amazed how many people have trouble
> getting their own email address correct, much less analyzing bounce
messages
> of ANY format.
>
> I have yet to find a good patch for this problem.
> </opinion>

I've found a solution of sorts.  People have an obnoxious tendency to reply
directly to qmail's bounce messages.  I guess they think there's a little
tiny human inside the computer shuffling messages around from mailbox to
mailbox, and when he can't find a mailbox he types out a little message
saying sorry.  Then people reply saying "oh could you try this instead," as
if this is directory assistance and whoops, they got the wrong city again,
it's West Blunfingburg, not East Blunfingburg..

Anyway, I changed the default "from" address for bounces from "postmaster"
to "qmail."  I then set up "qmail@" to be an autoresponder that nicely tells
the person that they need to actually bother reading the error message next
time.  postmaster mail still goes to me if someone has a legitimate "can you
help me locate this address" query.

If you'd like to see the actual autoresponder message, send an email to
[EMAIL PROTECTED]  Feel free to steal this idea for your own use.

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.






Hello,
I made a post earlier to this list open a PERL program I have written which
basic opens one file handle ot a CSV file containing usernames and email
adresses parses them and then sends users mail by writing to a file handle
opened to qmail. Here is the snippet of code that achieves this:

$mailprog = "/usr/local/var/qmail/bin/qmail-inject";

open(MAIL, "|$mailprog");

print MAIL "To: $email\n";
print MAIL "From: $from\n";
print MAIL "Subject:$subject\n";
print MAIL "MIME-Version: 1.0\n";
print MAIL "Content-Type: text\/html\; charset\=us-ascii\;
name=\"newsl.html\"\n";
print MAIL "Content-Transfer-Encoding: 7bit\n";
print MAIL "Content-Disposition: inline\; filename=\"newsl.html\"\n";
print MAIL "Content-Base: http:\/\/www\.liveuniverse\.com\n";


print MAIL " etc .....
close(MAIL);

The problem is that every message is being bounced back b/c somewhere qmail
is appending the name of our machine(snapper.raremedium.com) onto the
recipients e-mail address. It then sees the name of our box and decideds
this is a local delivery which is of course undeliverable as we are trying
to send mail to a list of remote users. Can anyone help me with this. For
instance below my script assigned the value  $email ="[EMAIL PROTECTED]"
which is correct. Now when qmail recieves it, it decides to append the name
of our machine (snapper.raremedium.com) onto this address. Can someone
please give me some insight into this. I think I am going crazy. Below is
the output of the mail log. Anyway thanks in advance.


Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
msg 721
291 to local [EMAIL PROTECTED]@snapper.raremedium.com

and then later on the logfile I will see the failure message with :

.... Dec 16 14:43:21 ketel-1 qmail: 945373163.430257 delivery 20110:
failure: Sorry,_
no_mailbox_here_by_that_name._(#5.1.1)/

Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134




* clifford thurber ([EMAIL PROTECTED]) [17 Dec 1999 17:08]:

> I made a post earlier to this list open a PERL program I have written which
> basic opens one file handle ot a CSV file containing usernames and email
> adresses parses them and then sends users mail by writing to a file handle
> opened to qmail. Here is the snippet of code that achieves this:
> 
> $mailprog = "/usr/local/var/qmail/bin/qmail-inject";

etc...

There are also several perl CPAN packages to do this stuff
in a consistent and uniform manner.

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




Hello Clifford,

I must admit that your bounce looks very peculiar...

Have you tried either of these instead?  I have used qmail-inject in
scripts like this before, and never had any difficulties....

  open(MAIL, "|$mailprog -h ");
  open(MAIL, "|$mailprog -a $email");

Do you get the same bounce?

If you continue to have troubles, show us your /var/qmail/control/*
files...best of luck.

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Fri, 17 Dec 1999, clifford thurber wrote:

-->Hello,
-->I made a post earlier to this list open a PERL program I have written which
-->basic opens one file handle ot a CSV file containing usernames and email
-->adresses parses them and then sends users mail by writing to a file handle
-->opened to qmail. Here is the snippet of code that achieves this:
-->
-->$mailprog = "/usr/local/var/qmail/bin/qmail-inject";
-->
-->open(MAIL, "|$mailprog");
-->
-->print MAIL "To: $email\n";
-->print MAIL "From: $from\n";
-->print MAIL "Subject:$subject\n";
-->print MAIL "MIME-Version: 1.0\n";
-->print MAIL "Content-Type: text\/html\; charset\=us-ascii\;
-->name=\"newsl.html\"\n";
-->print MAIL "Content-Transfer-Encoding: 7bit\n";
-->print MAIL "Content-Disposition: inline\; filename=\"newsl.html\"\n";
-->print MAIL "Content-Base: http:\/\/www\.liveuniverse\.com\n";
-->
-->
-->print MAIL " etc .....
-->close(MAIL);
-->
-->The problem is that every message is being bounced back b/c somewhere qmail
-->is appending the name of our machine(snapper.raremedium.com) onto the
-->recipients e-mail address. It then sees the name of our box and decideds
-->this is a local delivery which is of course undeliverable as we are trying
-->to send mail to a list of remote users. Can anyone help me with this. For
-->instance below my script assigned the value  $email ="[EMAIL PROTECTED]"
-->which is correct. Now when qmail recieves it, it decides to append the name
-->of our machine (snapper.raremedium.com) onto this address. Can someone
-->please give me some insight into this. I think I am going crazy. Below is
-->the output of the mail log. Anyway thanks in advance.
-->
-->
-->Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
-->msg 721
-->291 to local [EMAIL PROTECTED]@snapper.raremedium.com
-->
-->and then later on the logfile I will see the failure message with :
-->
-->.... Dec 16 14:43:21 ketel-1 qmail: 945373163.430257 delivery 20110:
-->failure: Sorry,_
-->no_mailbox_here_by_that_name._(#5.1.1)/
-->
-->Clifford Thurber
-->Web Systems Administrator
-->LiveUniverse.com
-->[EMAIL PROTECTED]
-->565 5th Ave. 29th Fl.
-->New York, NY 10017
-->Ph:212 883 6940  (131)
-->Fax:212 856 9134
-->





Hi!

AMaViS 0.2.0-pre6 (http://amavis.org) supports qmail not very well (a
lot of people complained about this here). 

On Dec., 9., Dustin Miller posted a patch for scanmails. I adapted his
patch to patch scanmails.in (scanmails is created by configure out of
scanmails.in). My patch needs amavis-patch2bp1, which adds support for
more antivirus software.

I tested also my smtp-patch with qmail. This patch is meant to work with
the smtp store and forward proxy from the Juniper Firewall. I changed
this patch a little bit, because qmail (the sendmail-wrapper) does not
like <user@somehost> (the brackets must be removed).

You can find my patches at:
http://www.ce.is.fh-furtwangen.de/~link/security/amavis-patch.php3

Btw, I would appreciate, if you write problems with AMaViS or bug
reports not only to this list but also to [EMAIL PROTECTED] Thanks.


best regards,
Rainer Link

-- 
Rainer Link, eMail: [EMAIL PROTECTED], WWW: http://rainer.w3.to/
Student of Communication Engineering/Computer Networking, University of
Applied Sciences,Furtwangen,Germany,http://www.ce.is.fh-furtwangen.de/




Hello all.

I would like to filter incoming messages, on a per-Mailbox basis, via a
user's .qmail and various calls to bouncesaying in that .qmail.  Each call
to bouncsaying will run a program that checks for a particular condition,
and perhaps bounce the message if such a check fails.  This is obviously
easy to accomplish.

However, I would like to bounce the message _AND_ still deliver it -- to
some trash mailbox perhaps -- so it can be looked at for whatever reason
(more or less for statistics purposes).  Is there a means by which this can
be accomplished?

At first glance this looks like it will not be easily accomplished without
some code hacking.

Thanks!







Keith,

I would say, why leverage condredirect for this purpose?

~anyuser/.qmail
=====================
| condredirect [EMAIL PROTECTED] your-evaluation-program
./Maildir/

and then have 

~alias/.qmail-bounce-from:
============================
&[EMAIL PROTECTED]
| bouncesaying "Buzz off, pal"

That allows you to control all of the bouncing messages from one location,
and the individual users will never see messages that you are redirecting
to the "bounce-from" address.

Anybody see any faults with this?  Another trip through the queue, I
suppose....

Good luck,

-Martin

-- 
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Fri, 17 Dec 1999, Keith Warno wrote:

-->Hello all.
-->
-->I would like to filter incoming messages, on a per-Mailbox basis, via a
-->user's .qmail and various calls to bouncesaying in that .qmail.  Each call
-->to bouncsaying will run a program that checks for a particular condition,
-->and perhaps bounce the message if such a check fails.  This is obviously
-->easy to accomplish.
-->
-->However, I would like to bounce the message _AND_ still deliver it -- to
-->some trash mailbox perhaps -- so it can be looked at for whatever reason
-->(more or less for statistics purposes).  Is there a means by which this can
-->be accomplished?
-->
-->At first glance this looks like it will not be easily accomplished without
-->some code hacking.
-->
-->Thanks!
-->
-->
-->
-->






-->I would say, why leverage condredirect for this purpose?

And I suppose I should also have included my negation operator.

Why not leverage condredirect for this purpose?

Sorry,

-Martin





Hi,

I'm trying to work with a crypt system and the program is asking for include
des.h.

Can anyone send this file to me?

Best regards,

Ari







>From your address I can see that you aren't in the US or Canada, and despite
the recent changes in encryption law, I don't think I could send this to
you.

But besides just that, you haven't specified what OS or version you're
using.  You'll also need the library that contains those crypt functions,
not just the header file.  This is also probably not legal to distribute,
inside or outside the US.

Finally, this message is pretty clearly off-topic unless you're trying to do
something with crypt and qmail, and you haven't said what you're trying to
do exactly.

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.

----- Original Message -----
From: Ari Arantes Filho <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Fri 17 Dec 1999 14.17
Subject: off-topic: include file des.h


> Hi,
>
> I'm trying to work with a crypt system and the program is asking for
include
> des.h.
>
> Can anyone send this file to me?
>
> Best regards,
>
> Ari
>
>
>
>





Hi, I am trying to telnet to my qmail server and test the configuration.  I am able to 
get all the TEST.deliver functions working and things seems to be working.  However, 
the connection closes when I telnet to myhost on port 25. I am running Qmail on 
Solaris 2.6.

For example,

bora-bora% telnet localhost 25  
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
bora-bora% 

---inetd.conf----
#Qmail 1.0.3 Configuration
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

Thanks for you help,
Bora






Hi Luka,

I am sure which log files, however this is one of the syslog and the 
/var/log/qmail/qmail-smtpd. I found a "fatal error saying unable to bind: address 
already used."  

Is this referring to port 25 and how do i find out what is using it?  Sendmail is 
disabled.

Can you help me make sense out of this?
Thanks,
BK

bora-bora% ls
authlog          sysidconfig.log  syslog.mail      wtmp
qmail            syslog           syslog.old       wtmpx
bora-bora% tail syslog.mail
Dec 17 13:25:44 bora-bora qmail: 945465944.055775 status: local 0/10 remote 0/20
Dec 17 13:25:44 bora-bora qmail: 945465944.056964 triple bounce: discarding bou7
Dec 17 13:25:44 bora-bora qmail: 945465944.069200 end msg 176787
Dec 17 14:51:54 bora-bora qmail: 945471114.467997 new msg 176738
Dec 17 14:51:54 bora-bora qmail: 945471114.469221 info msg 176738: bytes 2314 f6
Dec 17 14:51:54 bora-bora qmail: 945471114.700426 starting delivery 15: msg 176m
Dec 17 14:51:54 bora-bora qmail: 945471114.701532 status: local 1/10 remote 0/20
Dec 17 14:51:54 bora-bora qmail: 945471114.760459 delivery 15: success: did_1+0/
Dec 17 14:51:54 bora-bora qmail: 945471114.788103 status: local 0/10 remote 0/20
Dec 17 14:51:54 bora-bora qmail: 945471114.789140 end msg 176738
bora-bora% pwd
/var/log
bora-bora% 
------------
bora-bora% pwd
/var/log/qmail/qmail-smtpd
bora-bora% ls -l
total 23970
-r--r--r--   1 qmaill   nofiles  4996008 Dec 16 12:11 @00000945304297
-r--r--r--   1 qmaill   nofiles   877176 Dec 16 15:38 @00000945375087
-r--r--r--   1 qmaill   nofiles  4996008 Dec 17 11:21 @00000945387678
-r--r--r--   1 qmaill   nofiles       77 Dec 17 09:50 @00000945453041
-rw-r--r--   1 qmaill   nofiles  1351800 Dec 17 16:40 @00000945458468
bora-bora% tail @00000945458468
945477643.583230 tcpserver: fatal: unable to bind: address already used
945477644.603390 tcpserver: fatal: unable to bind: address already used
945477645.623086 tcpserver: fatal: unable to bind: address already used
945477646.643272 tcpserver: fatal: unable to bind: address already used
945477647.663296 tcpserver: fatal: unable to bind: address already used
945477648.683194 tcpserver: fatal: unable to bind: address already used
945477649.703900 tcpserver: fatal: unable to bind: address already used
945477650.723231 tcpserver: fatal: unable to bind: address already used
945477651.743421 tcpserver: fatal: unable to bind: address already used
945477652.763261 tcpserver: fatal: unable to bind: address already used
bora-bora% 


bora-bora% ps -ef |grep qmail
  qmaill   190     1  0   Dec 16 ?        1:18 cyclog -s5000000 -n5 /var/log/qmd
    root   191   190  1   Dec 16 ?       10:11 supervise /var/qmail/lock tcpserq
  qmaill   193   190  0   Dec 16 ?        0:48 accustamp
    root  1469   191  0 16:41:58 ?        0:00 supervise /var/qmail/lock tcpserq
  qmails  6313     1  0 09:50:40 pts/11   0:00 qmail-send
  qmaill  6317  6313  0 09:50:40 pts/11   0:00 splogger qmail
  qmailr  6319  6313  0 09:50:40 pts/11   0:00 qmail-rspawn
  qmailq  6320  6313  0 09:50:40 pts/11   0:00 qmail-clean
    root  6318  6313  0 09:50:40 pts/11   0:00 qmail-lspawn ./Mailbox
  mkaing  1471 29191  0 16:41:58 pts/14   0:00 grep qmail
bora-bora% 


-----Original Message-----
From: Luka Gerzic [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Cannot Telnet localhost 25


look your logs and you will find error.. :)
and solution...


----
D r e n i k   N e t w o r k s  /  Y u g o s l a v i a

Luka Z. Gerzic
Graphic design, prepress, html, networking
home page:  http://www.linux.drenik.net
email: [EMAIL PROTECTED] / GSM +381 64 11 0 29 56



----- Original Message -----
From: Bora Kaing <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 1999 1:20 AM
Subject: Cannot Telnet localhost 25


Hi, I am trying to telnet to my qmail server and test the configuration.  I
am able to get all the TEST.deliver functions working and things seems to be
working.  However, the connection closes when I telnet to myhost on port 25.
I am running Qmail on Solaris 2.6.

For example,

bora-bora% telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
bora-bora%

---inetd.conf----
#Qmail 1.0.3 Configuration
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd

Thanks for you help,
Bora









I was just asked if qmail could do the fol, which I am sure it can, and
I am sure this is a vitual domains thing, but I lack self esteem and
need some reassurance ... ;-)

I want to have email coming in to [EMAIL PROTECTED] redirected to
[EMAIL PROTECTED] ... possible?

-- 
___________________________________________________
Mark Drummond|mailto:[EMAIL PROTECTED]|ICQ#19153754
        Gang Warily|http://signals.rmc.ca/




* Mark E. Drummond ([EMAIL PROTECTED]) [17 Dec 1999 20:03]:

> I was just asked if qmail could do the fol, which I am sure it can, and
> I am sure this is a vitual domains thing, but I lack self esteem and
> need some reassurance ... ;-)

Take a seat, or better still lie down on the couch over there.

This can be done with virtual domains (I am sure there are other
variants as well).

> I want to have email coming in to [EMAIL PROTECTED] redirected to
> [EMAIL PROTECTED] ... possible?

( Read the FAQ and the sections dealing with virtual domains. This
  help is taken directly from Dan's text)

To use the virtual domain approach here is a cookbook approach:

1.  Add  onedomain.com:rufus to /var/qmail/control/virtualdomains
    where "rufus" is an account (any old account) that will be handling mail directed
    to [EMAIL PROTECTED]

2a. Add onedomain.com to /var/qmail/control/rcpthosts.

2b. Make sure the MX record for onedomain.com is pointing
    to the machine that you are performing all these changes.

3.  Set up all default mail for "rufus" to be passed to daotherdomain:

        % pwd
        % /home/rufus
        % cat .qmail-default
        # forward all mail destined for onedomain.com to daotherdomain.com
        & $[EMAIL PROTECTED]
        %

4. Find the qmail-send process and give it a HUP signal to re-read the
   virtual domains file.

Optional note:

        It is also possible to have the onedomain.com handled by the alias
        user by creating the following file:

                % cd ~alias
                % pwd
                % /var/qmail/alias
                % cat .qmail-rufus-default
                # forward all mail destined for onedomain.com to daotherdomain.com
                & $[EMAIL PROTECTED]

        This technique does not require an actual user named "rufus" to be
        created.

Finally, to make a long story short, this whole matter is possibly
is better handled by the smtproutes mechanism:

1. Perform 2a and 2b from above.
2. Add the following to /var/qmail/control/smtproutes:

        onedomain.com:[a.b.c.d]

   Where a.b.c.d is the IP address of the machine that
   receives mail for the daotherdomain.com

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




I sent this to the vpopmail list, but haven't seen any traffic on that list
yet.  So, I thought I'd send it here just in case someone on this list has
it working.

I hope it isn't too off topic for you consideration.

Thanks

Dave

-----Original Message-----
From: David C. Maple [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 4:57 PM
To: [EMAIL PROTECTED]
Subject: IP based authentication

Hi, I have just subscribed to the list and I have a problem.

I can't get the IP based authentication in vpopmail to work.  I have read
question 9 in the FAQ and I have forward and reverse setup correctly.  Is
there a way to get more information out of vchkpw than what is sent to the
log?  I compiled with --enable-ip-alias-domains=y in configure.  Is there
anything else I should check?  Authentication works with user%domain, but
not without.  Here is some of what I'm seeing:

* here's forward lookup
4:36pm zephrey  /home/dmaple %nslookup acgva.net
Server:  zephrey.methos.net
Address:  216.54.63.12

Name:    acgva.net
Address:  216.54.63.29

# here's reverse
4:53pm zephrey  /home/dmaple %nslookup 216.54.63.29
Server:  zephrey.methos.net
Address:  216.54.63.12

Name:    acgva.net
Address:  216.54.63.29

# here's the test I ran...
4:54pm zephrey  /home/dmaple %telnet acgva.net 110
Trying 216.54.63.29...
Connected to acgva.net.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user tester
+OK
pass test
-ERR authorization failed
Connection closed by foreign host.

# here's the log entry
Dec 17 16:54:06 zimba vpopmail[30982]: main: No user found

# here's the only successful thing
4:55pm zephrey  /home/dmaple %telnet acgva.net 110
Trying 216.54.63.29...
Connected to acgva.net.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user tester%acgva.net
+OK
pass test
+OK
list
+OK
.
quit
+OK
Connection closed by foreign host.



Thanks for any help you can give!

Dave

--
[EMAIL PROTECTED]

David C. Maple
V.P. Information Systems
Advanced Communications Group

  'The bigger it bloats, the harder it falls.'
                -- "The 48 Laws of Power" (R. Greene, J Elffers)

....





"David C. Maple" wrote:
> 
> Hi, I have just subscribed to the list and I have a problem.

What is your exact configuration line for vpopmail and what is
your startup line for qmail-pop3d ?

> 
> * here's forward lookup
> 4:36pm zephrey  /home/dmaple %nslookup acgva.net
> Server:  zephrey.methos.net
> Address:  216.54.63.12
> 
> Name:    acgva.net
> Address:  216.54.63.29
> 
> # here's reverse
> 4:53pm zephrey  /home/dmaple %nslookup 216.54.63.29
> Server:  zephrey.methos.net
> Address:  216.54.63.12
> 
> Name:    acgva.net
> Address:  216.54.63.29
> 

Here are my results:

[root@orbital kbo]# nslookup acgva.net
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:    acgva.net
Address:  216.54.63.29

[root@orbital kbo]# nslookup 216.54.63.29
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:    aquik.net
Address:  216.54.63.29

forward and reverse don't match from our dns server.
Let's try it again from your server.

[root@orbital kbo]# nslookup
Default Server:  ns1.inter7.com
Address:  209.218.8.2

> server zephrey.methos.net
Default Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

> 216.54.63.29
Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

Name:    acgva.net
Address:  216.54.63.29

It looks good from your server.

What are your entries in /etc/resolv.conf ?????

Ken Jones
Inter7




I am running FreeBSD 3.2 with the latest version of qmail and vpopmail.

Qmail is installed in /var/qmail with vpopmail in /var/qmail/vpopmail.

: in inetd.conf

pop3    stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
qmail-popup acgva.net /var/qmail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir

: in file /var/qmail/vpopmail/domains/acgva.net/vpasswd

tester:G1DXYIw.oqfow:1:0:Pop User by
CLI:/var/qmail/vpopmail/domains/acgva.net/tester:50000000

: in file /var/qmail/control/virtualdomains

acgva.net:acgva.net

: in file /var/qmail/users/assign

+acgva.net-:acgva.net:999:999:/var/qmail/vpopmail/domains/acgva.net:-::

Please let me know if there is anything else you need to know.

Thanks,
Dave

-----Original Message-----
From: kbo [mailto:kbo]On Behalf Of iv0
Sent: Friday, December 17, 1999 9:14 PM
To: David C. Maple
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: IP based authentication

"David C. Maple" wrote:
>
> Hi, I have just subscribed to the list and I have a problem.

What is your exact configuration line for vpopmail and what is
your startup line for qmail-pop3d ?

>
> * here's forward lookup
> 4:36pm zephrey  /home/dmaple %nslookup acgva.net
> Server:  zephrey.methos.net
> Address:  216.54.63.12
>
> Name:    acgva.net
> Address:  216.54.63.29
>
> # here's reverse
> 4:53pm zephrey  /home/dmaple %nslookup 216.54.63.29
> Server:  zephrey.methos.net
> Address:  216.54.63.12
>
> Name:    acgva.net
> Address:  216.54.63.29
>

Here are my results:

[root@orbital kbo]# nslookup acgva.net
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:    acgva.net
Address:  216.54.63.29

[root@orbital kbo]# nslookup 216.54.63.29
Server:  ns1.inter7.com
Address:  209.218.8.2

Name:    aquik.net
Address:  216.54.63.29

forward and reverse don't match from our dns server.
Let's try it again from your server.

[root@orbital kbo]# nslookup
Default Server:  ns1.inter7.com
Address:  209.218.8.2

> server zephrey.methos.net
Default Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

> 216.54.63.29
Server:  methos.net
Address:  216.54.63.12
Aliases:  zephrey.methos.net

Name:    acgva.net
Address:  216.54.63.29

It looks good from your server.

What are your entries in /etc/resolv.conf ?????

Ken Jones
Inter7





Hi  All !
      My boss told me he wanna control outgoing and incoming mail.
He want to allow or delete each mail.  It seems terrible ,but ...........
     How can I config my qmail ??
I tried to redirect all mail to someone by forward and tcp.smtp file.
But It seems stupid if allowed mail will  be sent.
Any other solution ?
  
Thanks !!
    
 




> Jason Huang wrote:
> 
> Hi  All !
>       My boss told me he wanna control outgoing and incoming mail.
> He want to allow or delete each mail.  It seems terrible ,but
> ...........
>      How can I config my qmail ??
> I tried to redirect all mail to someone by forward and tcp.smtp file.
> But It seems stupid if allowed mail will  be sent.
> Any other solution ?
> 
> Thanks !!
> 
> 

When your boss says he wants to allow or delete each mail, does
this mean someone will review each mail and decide to allow
it in or out?

Ken Jones
Inter7




yes!!

-----��l�l��-----
�H���: iv0 <[EMAIL PROTECTED]>
�����: Jason Huang <[EMAIL PROTECTED]>
�ƥ��۰e: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
���: 1999�~12��18�� AM 10:38
�D��: Re: How to control message ?


>> Jason Huang wrote:
>>
>> Hi  All !
>>       My boss told me he wanna control outgoing and incoming mail.
>> He want to allow or delete each mail.  It seems terrible ,but
>> ...........
>>      How can I config my qmail ??
>> I tried to redirect all mail to someone by forward and tcp.smtp file.
>> But It seems stupid if allowed mail will  be sent.
>> Any other solution ?
>>
>> Thanks !!
>>
>>
>
>When your boss says he wants to allow or delete each mail, does
>this mean someone will review each mail and decide to allow
>it in or out?
>
>Ken Jones
>Inter7
>







On Sat, 18 Dec 1999, Jason Huang wrote:

> Hi  All !
>       My boss told me he wanna control outgoing and incoming mail.
> He want to allow or delete each mail.  It seems terrible ,but ...........
>      How can I config my qmail ??

You can't.

I suggest that you start looking for a new job.

Your boss is an idiot.

I don't know about you, but I don't like to work for idiots.





Jason Huang wrote:
> 
> yes!!
> 
> -----��l�l��-----
> �H���: iv0 <[EMAIL PROTECTED]>
> �����: Jason Huang <[EMAIL PROTECTED]>

I think I agree with Mr Sam. Get a new job.

If this is not the case, then you will have to pass all emails
into a central account which keeps the header information, then
a person can review each email. If they agree that the email
is "approved" they can forward it along to the actuall receipeint.

Is your company part of a security organization, or just a company
on the internet? If you are a security organization, I could "possibly"
see why this activity would be needed. If you are just working for
a regular company, there are serious issues of privacy involved.

But.. Basicly, they will have to send every email through a central
queue, where a person can review the email for it's content and
make a decision on the information. This is possible with qmail
but will require alot of "jumping through hoops".

What kind of organization do you work for? What kind of information
is being transmitted through email? What kind of person is your 
boss? 

Ken Jones
Inter7

> >> Jason Huang wrote:
> >>
> >> Hi  All !
> >>       My boss told me he wanna control outgoing and incoming mail.
> >> He want to allow or delete each mail.  It seems terrible ,but
> >> ...........
> >>      How can I config my qmail ??
> >> I tried to redirect all mail to someone by forward and tcp.smtp file.
> >> But It seems stupid if allowed mail will  be sent.
> >> Any other solution ?
> >>
> >> Thanks !!
> >>
> >>
> >
> >When your boss says he wants to allow or delete each mail, does
> >this mean someone will review each mail and decide to allow
> >it in or out?
> >
> >Ken Jones
> >Inter7
> >




i have the convert.pl but it say it need stat.pl
can anyone send it to me the stat.pl file 
thanks
-- 
----------------
Yamin Prabudy
[EMAIL PROTECTED]
StarNET





What commands can I put in a .qmail file so that email from a specific
email address is dropped (/dev/null'd), but all other email is delivered
fine?







I am looking for a way to put a standard footer on each message that gets
delivered to any remote address so that messages at localhost dont get the
header, but remote ones do... I need this to work for boith messages with
and without attatchments, and especially to work with MS outlook and outlook
express.... Can anyone suggest a solution for me...


If local clients have to have the message as well, thats fine


Thanks in advance

Damien Croarken





It's not problem of qmail I think.just use the signature feature of the email client 
in your company ,both endura or IE or netscape has this feature.
----- Original Message ----- 
From: Damien Croarken <[EMAIL PROTECTED]>
To: Qmail <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 1999 1:38 PM
Subject: Message Footer


> I am looking for a way to put a standard footer on each message that gets
> delivered to any remote address so that messages at localhost dont get the
> header, but remote ones do... I need this to work for boith messages with
> and without attatchments, and especially to work with MS outlook and outlook
> express.... Can anyone suggest a solution for me...
> 
> 
> If local clients have to have the message as well, thats fine
> 
> 
> Thanks in advance
> 
> Damien Croarken
> 
> 




Hi, when I send out email I get 553 sorry, that domain isn't in my list
of allowed rcpthosts (#5.7.1).

bora-bora% telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mkaing-dsl2.mydomain.com ESMTP
mail From: <[EMAIL PROTECTED]>
250 ok
rcpt To: <[EMAIL PROTECTED]>
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

bora-bora% cat /etc/inetd.conf |grep smtpd
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd
bora-bora% 

Any ideas would be apprecipated!

Thanks,
Bora





Go to read  Dave sill's LWP file ,find it in the qmail homepage,check the section 
about relay problem(read it completely is highly recommend!).Russell Nelson's 
open-smpt patch is apply for your problem.
----- Original Message ----- 
From: Bora Kaing <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 1999 4:39 PM
Subject: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)


Hi, when I send out email I get 553 sorry, that domain isn't in my list
of allowed rcpthosts (#5.7.1).

bora-bora% telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mkaing-dsl2.mydomain.com ESMTP
mail From: <[EMAIL PROTECTED]>
250 ok
rcpt To: <[EMAIL PROTECTED]>
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

bora-bora% cat /etc/inetd.conf |grep smtpd
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd
bora-bora% 

Any ideas would be apprecipated!

Thanks,
Bora




Reply via email to