Qmail & AtDot

2000-01-04 Thread Lists

more on last post to lists.

I am running Qmail on a FreeBSD 3.3 server and have qpopper setup. Qmail
is using ~/Mailbox and all is running fine.
I have no external SMTP access but would like to have AtDot be able to
send.
The problem is that it comes back with the error of:
An error was encounted sending your mail. Please try again.

This comes up all the time.

I can send to all my domains in the control/rcpthosts but if it is not in
there I can't send it. I have tried a test and added a host external I
wanted to send email to and it completed with out errors. Can someone help
me with this. This is the only form of access that we want on this server.

Thanks for all of you help

David Uzzell

List Bot account for 1st Penshurst Scout Group.
http://www.1stpenshurst-scouts.asn.au



Re: Qmail & AtDot

2000-01-04 Thread Greg Wildman

Lists wrote:

> more on last post to lists.
>
> I am running Qmail on a FreeBSD 3.3 server and have qpopper setup. Qmail
> is using ~/Mailbox and all is running fine.
> I have no external SMTP access but would like to have AtDot be able to
> send.
> The problem is that it comes back with the error of:
> An error was encounted sending your mail. Please try again.
>
> This comes up all the time.
>
> I can send to all my domains in the control/rcpthosts but if it is not in
> there I can't send it. I have tried a test and added a host external I
> wanted to send email to and it completed with out errors. Can someone help
> me with this. This is the only form of access that we want on this server.
>
> Thanks for all of you help
>
> David Uzzell
>
> List Bot account for 1st Penshurst Scout Group.
> http://www.1stpenshurst-scouts.asn.au

I am not sure I understand you correctly, but try adding the follwoing line
to your tcprules file for smtpd. (mine is smtpd.rules in /etc/tcpcontrol)

127.:allow,RELAYCLIENT=""

Don't forget to create your .cdb file from the .rules file and restart smtpd.
(I use: tcprules smtpd.cdb smtpd.tmp < smtpd.rules )

Hope this helps.

Greg





Re: Another compile error

2000-01-04 Thread Mikko Hänninen

Kristina <[EMAIL PROTECTED]> wrote on Tue, 04 Jan 2000:
> Jan  4 11:14:49 ldaptest qmail: 946952089.151836 alert: unable to opendir to
> do,
> sleeping...

> I do not understand why qmail is trying to open the directory
> "todo" which is in the source directory of ldap:
> ldap/doc/deve/todo !

Are you sure it's this directory? (And what makes you think it is?)
There's also /var/qmail/queue/todo, which is a much more likely source
for qmail's complaint.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Scotty, beam us aboard."  "Aye, sir.  Will a 2x4 do?"



Re: Delivering mail into a SQL table

2000-01-04 Thread Mikko Hänninen

Bill Ataras <[EMAIL PROTECTED]> wrote on Mon, 03 Jan 2000:
> Are there any patches that let me deliver mail messages into a SQL
> database (mysql preferrably) instead of Maildir ?

Patches?  What do you need patches for?  I would imagine a (relatively)
simple program which takes an email message in standard input and writes
it to the database would be sufficient, it could possibly also look at
environment variables for recipient information.  Then just use this
from the appropriate .qmail files.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
2 + 2 = 4 (for the time being)



Re: compile error

2000-01-04 Thread Vince Vielhaber

On Tue, 4 Jan 2000, Russell Nelson wrote:

> Greg Hudson writes:
>  > As to Russell Nelson's assertion that "int main" is a gratuitous
>  > innovation in C, I think that he's confused.
> 
> In 1st edition K&R, main() wasn't treated as a subroutine, was never
> declared "int main", and there was no discussion of the meaning of a
> return value from main.  Was I confused or not?

No you weren't.  The second edition *does* address return from main().
The first two paragraphs (which I don't feel like typing in) on page
26 cover it - the gist of it is that "programs should return status to
their environment."  Note the word  should  is used.  I seldom return
anything from main unless I plan on calling the program from some kind
of script.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





qmail Digest 4 Jan 2000 11:00:00 -0000 Issue 870

2000-01-04 Thread qmail-digest-help


qmail Digest 4 Jan 2000 11:00:00 - Issue 870

Topics (messages 34998 through 35044):

Re: The Canonical Set of qmail Patches
34998 by: Fred Lindberg

Receiving mail for an old server
34999 by: Antonio Navarro Navarro
35000 by: Martin A. Brown
35001 by: Jakub Chromy

footnote inject on server
35002 by: qmail.col7.metta.lk

Re: Anal-ness
35003 by: Dave Sill
35020 by: Russ Allbery

Long delay on smtp connect
35004 by: Jon Rust
35007 by: bert hubert
35008 by: Greg Owen
35009 by: Dave Sill
35011 by: Jon Rust
35013 by: Greg Owen
35014 by: Dave Sill
35019 by: Jon Rust

qmail / vpopmail / weird behavior
35005 by: Jonathan Herbert
35016 by: iv0

ANNOUNCE:  getmail, a fetchmail replacement
35006 by: Charles Cazabon

VHosting
35010 by: Josh Pennell
35012 by: Peter Cavender
35018 by: Martin Lesser

Help on qmailanalog
35015 by: Ari Arantes Filho
35017 by: Ronny Haryanto

selective relay pbm
35021 by: Reece Markowsky
35040 by: Einar Bordewich

compile error
35022 by: Kristina
35025 by: Chris L. Mason
35029 by: lbudney-lists-qmail.nb.net
35032 by: Russell Nelson
35035 by: Russ Allbery
35036 by: Russell Nelson
35038 by: Greg Hudson
35039 by: Russell Nelson

Another compile error
35023 by: Kristina
35043 by: Mikko Hänninen

Ryan Sharon's new address
35024 by: Segfult

How do I empty the mailbox?
35026 by: Kristina
35027 by: Sam
35028 by: Dustin Marquess

qmail-inject error
35030 by: Kristina

More spam prevention
35031 by: Postmaster
35033 by: Russell Nelson

Cannot send or relay mail unexpectedly.
35034 by: Kevin Diffily

Delivering mail into a SQL table
35037 by: Bill Ataras
35044 by: Mikko Hänninen

Qmail & AtDot
35041 by: Lists
35042 by: Greg Wildman

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]


--



On Sun,  2 Jan 2000 23:17:51 -0500 (EST), Russell Nelson wrote:

>Sure.  Propose a canonical set of patches.  About the only thing I
>install, and only on very high volume sites, is big-todo.  Oh, and the
>rblsmtpd multiple -r option patch.  Given that MAPS

and the big-concurrency patch. Seems to hurt very little even with
concurrency << 255.

-Sincerely, Fred

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






Hi all !

I have configured Qmail for receiving mail for several domains using vpopmail. I need 
to receive mail not only for the domain ([EMAIL PROTECTED]) but for the machine 
([EMAIL PROTECTED])

How can I do it ?

Regards,

Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es




Antonio,

If you wish to receive mail for other hosts, simply put the hostname into
/var/qmail/control/rcpthosts.  If you wish to deliver /any/ incoming
mail to the same UN*X user, you can use the following setup:

/var/qmail/control/rcpthosts
=
domain.com
mail.domain.com
.domain.com

/var/qmail/control/virtualdomains
=
domain.com:domainuser
mail.domain.com:domainuser
.domain.com:domainuser

Please note that including "mail.domain.com" is merely being explicit
about receiving mail for that hostname.  You need not include it
explicitly, as the wildcard entry ".domain.com" will take care of your
problem (and will accept mail for any other hostnames in "domain.com".
This is covered in Life with Qmail.   Come back if you still have
troubles

See here:  http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains

-Martin

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
On Mon, 3 Jan 2000, Antonio Navarro Navarro wrote:

:Hi all !
:
:I have configured Qmail for receiving mail for several domains using 
:vpopmail. I need to receive mail not only for the domain 
:([EMAIL PROTECTED]) but for the machine ([EMAIL PROTECTED])
:
:How can I do it ?
:
:Regards,
:
:Antonio Navarro Navarro
:BemarNet Management
:[EMAIL PROTECTED]
:http://www.bemarnet.es
:





> I have configured Qmail for receiving mail for several domains using
> vpopmail. I need to receive mail not only for the domain
> ([EMAIL PROTECTED]) but for the machine ([EMAIL PROTECTED])
> 
> How can I do it ?

There are several ways how to do that -- just comment '# mail.domain.com'
in /var/qmail/control/locals and echo 'mail.domain.com:domain' >>
/var/qmail/control/virtualdomains . You will have delivered all incoming
traffic to 'mail.domain.com' using the same rule as for 'domain.dom'.

Read car

Re: Domain relaying (host relaying?) or something

2000-01-04 Thread Marthe Nesøen Gangfløt

On Mon, Jan 03, 2000 at 11:04:21AM +0100, [EMAIL PROTECTED] wrote:
> On Mon, Jan 03, 2000 at 11:02:51AM +0100, Marthe Nesøen Gangfløt wrote:
> > Hello all,
> > 
> > I need to know where I can find info on how to solve domain relaying
> > (one main mail server that sends all known mail to the right host). 
> > 
> > mail.domain.com will automatically send mail to [EMAIL PROTECTED]
> > to host1.domain.com and mail to [EMAIL PROTECTED] to
> > host2.domain.com (guess you get the picture).. and I just need to know
> > where there are docs on that, or just how it's done. :)
> > 
> > I've tried to find about it in the howto and life with qmail, but maybe
> > I'm mixing names or something, because all I can find is relaying for
> > user, not domain :/
> 
> control/smtproutes and control/rcpthosts should have all the stuff you need,
> look at man qmail-control for references to the relevant manpages.

Ok now to another question.. with qmail as mail-relay (mail proxy), if
the server the mail is supposed to end up in is down.. will the mail
stay in some queue at mailrelay-server? Or will they bounce back to
sender? And, should I have to add the domains in rcpthosts? I tried to
add some domains and such in smtproutes(and rcpthosts), but it seems to
me that qmail checks the MX record anyway, and just forwards the mail to
the right mx host. I used a fake dns on the mailserver (added fake
zonefile for the domain) so that everyone out there saw the domain as
mail.something.no pointing to my main mailserver, but the relay-server
*and* the "destination" servers used the fake dns. It worked, but I
don't know if it would've stayed on the relay-server or not.

I'm told that Sendmail wil do this better than qmail, but since the one
who told me doesn't really like qmail I would appreciate some
ideas/thoughts on this matter from you all :)


-- 
-Marthe
Ano-Tech Computers, www.atc.no

"You humans are a disease, a cancer to this planet..
you are a plague.. and we.. are the cure."



7 bit ascii & qmail

2000-01-04 Thread Holger Hug




Hi out there!
 
I would like to enquire a hint from you on a qmail-problem. 
  Our situation is as follows:
We have incoporated qmail in a major mail dispatcher application, i.e. most 
of our recipient do not have an account on our systems. Some of our users are 
still dependent on outdated mail clients unable to deal with character sets 
other than "US-ASCII". As a result, Latin Characters (in subject fields) turn up 
to be "scrambled up".
 
  So here's my question:
Is there any possibility to cause qmail to convert a deliberate character 
set into "US-ASCII" before sending them off ?
At the moment, I don't have an idea where to start. Perhaps there is a 
possibility to install a script ?
 
I would greatly appreciate you giving me a hint. Thanks a lot in 
advance.
 
 
Kind regards,
Holger Hug
 
 
Thank you, 
Holger Hug
 
 


Re: 7 bit ascii & qmail

2000-01-04 Thread Mikko Hänninen

Holger Hug <[EMAIL PROTECTED]> wrote on Tue, 04 Jan 2000:
> Is there any possibility to cause qmail to convert a deliberate
> character set into "US-ASCII" before sending them off ?

Not in qmail itself, I believe.

> At the moment, I don't have an idea where to start. Perhaps there is a
> possibility to install a script ?

How are the emails created?  By injecting them into the queue with
qmail-inject?  If that's the case, you could insert another script
in front of that, which changes the emails accordingly before calling
qmail-inject.

If the emails are sent "remotely", via SMTP, then you need to fix the
sending the end.  Or perhaps set up a special SMTP port or something
which runs a script on the emails, but that sounds like it's getting
complex.

Anyway, you likely do need to get this fixed *before* qmail sees the
emails, however they are getting to it.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Food is an important part of a balanced diet.



Re: 7 bit ascii & qmail

2000-01-04 Thread petervd

On Tue, Jan 04, 2000 at 02:43:08PM +0200, Mikko Hänninen wrote:
> Holger Hug <[EMAIL PROTECTED]> wrote on Tue, 04 Jan 2000:
> > Is there any possibility to cause qmail to convert a deliberate
> > character set into "US-ASCII" before sending them off ?
> 
> Not in qmail itself, I believe.
> 
> > At the moment, I don't have an idea where to start. Perhaps there is a
> > possibility to install a script ?
> 
> How are the emails created?  By injecting them into the queue with
> qmail-inject?  If that's the case, you could insert another script
> in front of that, which changes the emails accordingly before calling
> qmail-inject.
> 
> If the emails are sent "remotely", via SMTP, then you need to fix the
> sending the end.  Or perhaps set up a special SMTP port or something
> which runs a script on the emails, but that sounds like it's getting
> complex.

Find the @fixup stuff in the FAQ.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/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++



RE: Domain relaying (host relaying?) or something

2000-01-04 Thread Greg Owen

> Ok now to another question.. with qmail as mail-relay (mail proxy), if
> the server the mail is supposed to end up in is down.. will the mail
> stay in some queue at mailrelay-server? Or will they bounce back to
> sender? 

Assuming that the relay accepts mail for that domain and knows where
to forward it, if the forwarding host is not available it will hold the
message for up to 'queuelifetime' seconds, with a default of 604800 (one
week).  'queuelifetime' is a control file documented in the qmail-send man
page.

> And, should I have to add the domains in rcpthosts? I tried to
> add some domains and such in smtproutes(and rcpthosts), but it seems to
> me that qmail checks the MX record anyway, and just forwards the mail
> to the right mx host.

They should be in rcpthosts.  I haven't tested to know what happens
if they are in MX but not rcpthosts, so I can't advise, but I'd probably
generally advise to follow the docs in any case ;>.

> I'm told that Sendmail wil do this better than qmail, but since the
> one who told me doesn't really like qmail I would appreciate some
> ideas/thoughts on this matter from you all :)

Why are you running a relay?  Is it for security or performance
reasons?  If security, then the case against sendmail is pretty well made.
If for performance, either sendmail or qmail will handle most "normal"
loads, but my experience is that qmail handles the "mail has backed up here
for days and must now be passed on to the newly-up destination" case with
far less pain than sendmail - which is exactly the case a mail relay expects
to find itself in.

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



bouncesaying

2000-01-04 Thread Vince Vielhaber


I'm trying to set up a sitewide .qmail-default that will save the incoming
message in ~alias/Mailbox, forward me a copy and bounce the message to the
sender.  This, of course, would be for non-existant addresses but I want
to make sure I didn't miss one.   So I set up ~alias/.qmail-default like
this:

./Mailbox
&vev
|bouncesaying "No mailbox here called: $RECIPIENT"

I send a message to asdf (which doesn't exist) and it goes into the file
~alias/Mailbox and I get the bounce.  I never get the copy the second line
of the file is supposed to do.  According to dot-qmail(5) each line is a
delivery instruction, so shouldn't each line be exec'd?  If I remove the
bouncesaying I get the copy of the message as I should.  I even tried
reversing the first two lines, Mailbox got it and the bounce happened, 
but I never got the copy.   Any idea why this is happening?

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





Re: bouncesaying

2000-01-04 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4 Jan 00, at 8:02, Vince Vielhaber wrote:

> 
> I'm trying to set up a sitewide .qmail-default that will save the
> incoming message in ~alias/Mailbox, forward me a copy and bounce the
> message to the sender.  This, of course, would be for non-existant
> addresses but I want to make sure I didn't miss one.   So I set up
> ~alias/.qmail-default like this:
> 
> ./Mailbox
> &vev
> |bouncesaying "No mailbox here called: $RECIPIENT"

- From man dot-qmail:
ERROR HANDLING
   If a delivery instruction fails, qmail-local stops immedi-
   ately and reports failure.  qmail-local handles forwarding
   after all other instructions, so any error in another type
   of delivery will prevent all forwarding.

It means that no "&" forward happends if bouncesaying's present. 
Change that line to
|forward vev


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

iQA/AwUBOHH+ZVMwP8g7qbw/EQL2BwCg3Dr/1EgDT7jXCySrunlZLkcrYMcAoPWX
Zk3pN6x3py+pL0THZGO8Uv9h
=wnz3
-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]



Re: Help on qmailanalog

2000-01-04 Thread Dave Sill

"Ari Arantes Filho" <[EMAIL PROTECTED]> wrote:

>I'm trying to use qmailanalog without successfull.
>
>I've read MATCHUP and all documentation in /usr/local/qmailanalog/doc
>but I'm still lost.
>
>Could you send me some layout output and input for the zoverall and
>others tools?
>
>I've tried using splogger and multilog, but the output is null!!!
>
>How can I use qmailanalog?

Since you have multilog, you're using daemontools 0.60 or 0.61.
qmailananlog doesn't work with the TAI64N timestamps these versions of 
daemontools produce.

Hopefully, Dan will release a new qmailanalog for TAI64N soon. In the
meantime, a script was posted here yesterday to convert TAI64N
timestamps to the old TAI format.

-Dave



problem with users that has a "-" in their username

2000-01-04 Thread Geir Høgberg

Hi,

I have this wierd problem that i've never experienced before.
I have added a user like this:
[EMAIL PROTECTED]

john recieves mail as normal, but when i create:
[EMAIL PROTECTED]

then john also recieves [EMAIL PROTECTED]'s mail.

anyone who's encountered this problem before?


===
Geir O. Høgberg
**
This footnote confirms that this email message and it's attachments 
has been swept by MIMEsweeper 4.0 for the presence of computer viruses.

This has been done by ElTele Østfold AS. 

Coustomer service e-mail: [EMAIL PROTECTED]
Corporate WEB site:   www.eltele.no
**



Re: bouncesaying

2000-01-04 Thread Russell Nelson

Vince Vielhaber writes:
 > According to dot-qmail(5) each line is a
 > delivery instruction, so shouldn't each line be exec'd?

The '&' forwards are all collected together, and performed at the end
of the .qmail file processing.  If the mail bounces, the forward will
never occur.  Try using '|forward vev'.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: selective relay pbm

2000-01-04 Thread Einar Bordewich

> compared to the host and domainname (IN). You can try starting tcpserver without 
Should offcourse be "compared to the host and domainname (A)

And as Dave Sill corrected me on:

>cat tcp.smtp | tcprules tcp.smtp.cdb ~/tcp.smtp.tmp

Warning: egregious use of "cat". Try:

  tcprules tcp.smtp.cdb ~/tcp.smtp.tmp 
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 04, 2000 8:06 AM
Subject: Re: selective relay pbm


> Note, somewhereelse.com is not listed in my rcpthosts.  Ok, but this is
> a telnet session is from a machine who enables RELAYCLIENT in the
> tcp.smtp.cdb database.   Here is my configuration (ip info has been
> changed for security reasons)
> tcp.smtp (I remembered to reload this):
> 
> 192.152.1.:allow,RELAYCLIENT=""
> :allow

Did you remeber to: 
cat tcp.smtp | tcprules tcp.smtp.cdb ~/tcp.smtp.tmp
Also remember that you are running in paranoid mode (-p). Your reversemapping (PTR) 
has to be correct compared to the host and domainname (IN). You can try starting 
tcpserver without the -p option, and check if this solves your problem. If it does, 
fix your lack of reverse info and turn it back on (if you need it).

-- 

IDG New Media Einar Bordewich
System ManagerPhone: +47 2205 3034
E-Mail:   [EMAIL PROTECTED]






One Email = Four

2000-01-04 Thread CDR Inc

OK, I have ( I think ) set up QMAIL to handle multiple Virtual Domains
(Thanx Peter!  :))

So, I send a "test message" to one of the new QMAIL users and here is the
mail-log entry...
===
MAILLOG INFO

Jan  4 08:43:42 cdrinc qmail: 946993422.836132 new msg 3119
Jan  4 08:43:42 cdrinc qmail: 946993422.836999 info msg 3119: bytes 936 from
<[EMAIL PROTECTED]> qp 1182 uid 509
Jan  4 08:43:42 cdrinc qmail: 946993422.842511 starting delivery 1: msg 3119
to local [EMAIL PROTECTED]
Jan  4 08:43:42 cdrinc qmail: 946993422.843227 status: local 1/10 remote
0/20
Jan  4 08:43:42 cdrinc qmail: 946993422.960951 new msg 3120
Jan  4 08:43:42 cdrinc qmail: 946993422.961235 info msg 3120: bytes 1061
from <[EMAIL PROTECTED]> qp 1185 uid 516
Jan  4 08:43:42 cdrinc qmail: 946993422.970260 starting delivery 2: msg 3120
to local [EMAIL PROTECTED]
Jan  4 08:43:42 cdrinc qmail: 946993422.970421 status: local 2/10 remote
0/20
Jan  4 08:43:42 cdrinc qmail: 946993422.970481 delivery 1: success:
did_0+1+0/qp_1185/
Jan  4 08:43:42 cdrinc qmail: 946993422.970538 status: local 1/10 remote
0/20
Jan  4 08:43:42 cdrinc qmail: 946993422.993697 end msg 3119
Jan  4 08:43:42 cdrinc qmail: 946993422.994714 delivery 2: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Jan  4 08:43:42 cdrinc qmail: 946993422.994853 status: local 0/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.046803 bounce msg 3120 qp 1188
Jan  4 08:43:43 cdrinc qmail: 946993423.048038 end msg 3120
Jan  4 08:43:43 cdrinc qmail: 946993423.080095 new msg 3121
Jan  4 08:43:43 cdrinc qmail: 946993423.081335 info msg 3121: bytes 1579
from <> qp 1188 uid 514
Jan  4 08:43:43 cdrinc qmail: 946993423.097426 starting delivery 3: msg 3121
to local [EMAIL PROTECTED]
Jan  4 08:43:43 cdrinc qmail: 946993423.098586 status: local 1/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.112267 delivery 3: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Jan  4 08:43:43 cdrinc qmail: 946993423.114430 status: local 0/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.123317 bounce msg 3121 qp 1191
Jan  4 08:43:43 cdrinc qmail: 946993423.124551 end msg 3121
Jan  4 08:43:43 cdrinc qmail: 946993423.126633 new msg 3120
Jan  4 08:43:43 cdrinc qmail: 946993423.128131 info msg 3120: bytes 2018
from <#@[]> qp 1191 uid 514
Jan  4 08:43:43 cdrinc qmail: 946993423.132685 starting delivery 4: msg 3120
to local [EMAIL PROTECTED]
Jan  4 08:43:43 cdrinc qmail: 946993423.133689 status: local 1/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.167447 new msg 3119
Jan  4 08:43:43 cdrinc qmail: 946993423.169488 info msg 3119: bytes 2121
from <#@[]> qp 1194 uid 508
Jan  4 08:43:43 cdrinc qmail: 946993423.176549 starting delivery 5: msg 3119
to local [EMAIL PROTECTED]
Jan  4 08:43:43 cdrinc qmail: 946993423.178201 status: local 2/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.178417 delivery 4: success:
did_0+1+0/qp_1194/
Jan  4 08:43:43 cdrinc qmail: 946993423.178759 status: local 1/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.179901 end msg 3120
Jan  4 08:43:43 cdrinc qmail: 946993423.208233 delivery 5: success:
did_1+0+0/
Jan  4 08:43:43 cdrinc qmail: 946993423.210166 status: local 0/10 remote
0/20
Jan  4 08:43:43 cdrinc qmail: 946993423.211300 end msg 3119
==

Now, maybe I am reading this wrong, but it looks like that one email sent is
spawned into 4 different emails.. and I have NO idea why it would try to go
to users on a different domain..

Anyone have any ideas???

Any help would be most appreciated...


Michale



Re: Anal-ness

2000-01-04 Thread Dave Sill

Russ Allbery <[EMAIL PROTECTED]> wrote:

>Dave Sill <[EMAIL PROTECTED]> writes:
>
>> IANAL, but according to Section 117, Limitations on exclusive rights:
>> Computer programs, you *can* make derivative works for your own use:
>
>>   Notwithstanding the provisions of section 106, it is not an
>>   infringement for the owner of a copy of a computer program to make
>>   or authorize the making of another copy or adaptation of that
>>   computer program provided:
>
>>   (1) that such a new copy or adaptation is created as an essential
>>   step in the utilization of the computer program in conjunction
>>   with a machine and that it is used in no other manner, or
>
>Making a derivative work is not an essential step in the utilization of a
>computer program.

I repeat: IANAL. But "essential" means "necessary", so one should be
able to make any necessary modifications. Frivilous modifications
would be prohibited. By any reasonable interpretation, a "big DNS"
patch is "essential" to making qmail work under certain conditions.

>That clause is covering making an in-memory copy of a
>program so as to be able to execute it.

That's your interpretation--and it may even reflect the rationale
behind the provision, but the law itself makes no mention of in-memory
copies.

>"Essential step" says pretty
>clearly, to me at least, that if you don't have to do it in order to use
>the computer program in the manner it was intended to be used, you don't
>have a right to do it.

The law also says nothing about the intended use of the program.

-Dave



Re: problem with users that has a "-" in their username

2000-01-04 Thread Mads E Eilertsen

On Tue, 4 Jan 2000, Geir Høgberg wrote:

[...] john also recieves [EMAIL PROTECTED]'s mail.

Thats normal.  john will receive john-anything.
Se the dot-qmail(5) man page, "EXTENSION ADDRESSES".

Mads



Re: problem with users that has a "-" in their username

2000-01-04 Thread Dave Sill

Geir Høgberg <[EMAIL PROTECTED]> wrote:

>I have this wierd problem that i've never experienced before.
>I have added a user like this:
>[EMAIL PROTECTED]

You mean you have a user named "john" on a system with "domain.com" in 
control/locals?

>john recieves mail as normal, but when i create:
>[EMAIL PROTECTED]

What does that mean? You create a user named "john-doe" on the same
system? Or you have an entry for john-doe in qmail-users?

>then john also recieves [EMAIL PROTECTED]'s mail.
>
>anyone who's encountered this problem before?

This is a standard feature of qmail: extension addressing.

You can change the delimiter by modifying the conf-break file and
rebuilding qmail, or you can use qmail-users to override the default
delivery.

-Dave



RE: problem with users that has a "-" in their username

2000-01-04 Thread Geir Høgberg

well, the problem is, that it worked fine with vchkpw3.1.2, but after
the upgrade to vpopmail3.4.10, it won't work anymore...


Geir O. Høgberg

-Original Message-
From: Mads E Eilertsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: problem with users that has a "-" in their username


On Tue, 4 Jan 2000, Geir Høgberg wrote:

[...] john also recieves [EMAIL PROTECTED]'s mail.

Thats normal.  john will receive john-anything.
Se the dot-qmail(5) man page, "EXTENSION ADDRESSES".

Mads
**
This footnote confirms that this email message and it's attachments 
has been swept by MIMEsweeper 4.0 for the presence of computer viruses.

This has been done by ElTele Østfold AS. 

Coustomer service e-mail: [EMAIL PROTECTED]
Corporate WEB site:   www.eltele.no
**



Re: problem with users that has a "-" in their username

2000-01-04 Thread iv0

Geir Høgberg wrote:
> 
> Hi,
> 
> I have this wierd problem that i've never experienced before.
> I have added a user like this:
> [EMAIL PROTECTED]
> 
> john recieves mail as normal, but when i create:
> [EMAIL PROTECTED]
> 
> then john also recieves [EMAIL PROTECTED]'s mail.
> 
> anyone who's encountered this problem before?

This is a feature. So that vpopmail virtual domain users can
use the normal "user-something" features of qmail.

Ken Jones
Inter7



Re: bouncesaying

2000-01-04 Thread Vince Vielhaber

On 4 Jan 2000, Petr Novotny wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 4 Jan 00, at 8:02, Vince Vielhaber wrote:
> 
> > 
> > I'm trying to set up a sitewide .qmail-default that will save the
> > incoming message in ~alias/Mailbox, forward me a copy and bounce the
> > message to the sender.  This, of course, would be for non-existant
> > addresses but I want to make sure I didn't miss one.   So I set up
> > ~alias/.qmail-default like this:
> > 
> > ./Mailbox
> > &vev
> > |bouncesaying "No mailbox here called: $RECIPIENT"
> 
> - From man dot-qmail:
> ERROR HANDLING
>If a delivery instruction fails, qmail-local stops immedi-
>ately and reports failure.  qmail-local handles forwarding
>after all other instructions, so any error in another type
>of delivery will prevent all forwarding.
> 
> It means that no "&" forward happends if bouncesaying's present. 
> Change that line to
> |forward vev
> 

That works, it leaves this in the bounce message:  forward: qp 68503
but I can live with that.

Thanks!

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





Re: bouncesaying

2000-01-04 Thread Keith Warno

- Original Message -
From: "Russell Nelson" <[EMAIL PROTECTED]>


| Vince Vielhaber writes:
|  > According to dot-qmail(5) each line is a
|  > delivery instruction, so shouldn't each line be exec'd?
|
| The '&' forwards are all collected together, and performed at the end
| of the .qmail file processing.  If the mail bounces, the forward will
| never occur.  Try using '|forward vev'.


Hmm that's potentially extremely annoying.

Any particular reason why '&' forwards are treated this way?

Or is it Just One of Those Things(tm) that came about as a result of the
phase of the moon and alignment of the planets?



Re: bouncesaying

2000-01-04 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4 Jan 00, at 9:53, Keith Warno wrote:
> | The '&' forwards are all collected together, and performed at the
> end | of the .qmail file processing.  If the mail bounces, the forward
> will | never occur.  Try using '|forward vev'.
> 
> 
> Hmm that's potentially extremely annoying.

Is it?

> Any particular reason why '&' forwards are treated this way?

Three reasons:
1. Speed. All the forwards are done with a single inject.
2. Space. All the forwards are injected into the queue once, and 
kept there once.
3. No duplicities. If the local delivery fails temporarily, forward are 
not done. Otherwise, you'd end up with zillion copies of the mail 
forwarded in case of failed deliveries.

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

iQA/AwUBOHIXw1MwP8g7qbw/EQIJIACeLRHPXcQaEhdUCpuAPnR/tK0GNcAAoKIA
W9aqOF+ZLlxSOuZuBzvi+ZbU
=pL5a
-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]



Re: One Email = Four

2000-01-04 Thread Dave Sill

"CDR Inc" <[EMAIL PROTECTED]> wrote:

>OK, I have ( I think ) set up QMAIL to handle multiple Virtual Domains
>(Thanx Peter!  :))
>
>So, I send a "test message" to one of the new QMAIL users and here is the
>mail-log entry...

We really need to see what you have in virtuals and in the various
relevant .qmail files.

>Jan  4 08:43:42 cdrinc qmail: 946993422.836132 new msg 3119
>Jan  4 08:43:42 cdrinc qmail: 946993422.836999 info msg 3119: bytes 936 from
><[EMAIL PROTECTED]> qp 1182 uid 509
>Jan  4 08:43:42 cdrinc qmail: 946993422.842511 starting delivery 1: msg 3119
>to local [EMAIL PROTECTED]
>Jan  4 08:43:42 cdrinc qmail: 946993422.843227 status: local 1/10 remote
>0/20

OK, a message from [EMAIL PROTECTED] was delivered locally to
[EMAIL PROTECTED]

>Jan  4 08:43:42 cdrinc qmail: 946993422.960951 new msg 3120
>Jan  4 08:43:42 cdrinc qmail: 946993422.961235 info msg 3120: bytes 1061
>from <[EMAIL PROTECTED]> qp 1185 uid 516
>Jan  4 08:43:42 cdrinc qmail: 946993422.970260 starting delivery 2: msg 3120
>to local [EMAIL PROTECTED]

The first delivery resulted in a second delivery to [EMAIL PROTECTED]

>Jan  4 08:43:42 cdrinc qmail: 946993422.970421 status: local 2/10 remote
>0/20
>Jan  4 08:43:42 cdrinc qmail: 946993422.970481 delivery 1: success:
>did_0+1+0/qp_1185/
>Jan  4 08:43:42 cdrinc qmail: 946993422.970538 status: local 1/10 remote
>0/20
>Jan  4 08:43:42 cdrinc qmail: 946993422.993697 end msg 3119

The first delivery succeeded.

>Jan  4 08:43:42 cdrinc qmail: 946993422.994714 delivery 2: failure:
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>Jan  4 08:43:42 cdrinc qmail: 946993422.994853 status: local 0/10 remote
>0/20

The second delivery, to [EMAIL PROTECTED], failed.

>Jan  4 08:43:43 cdrinc qmail: 946993423.046803 bounce msg 3120 qp 1188
>Jan  4 08:43:43 cdrinc qmail: 946993423.048038 end msg 3120
>Jan  4 08:43:43 cdrinc qmail: 946993423.080095 new msg 3121
>Jan  4 08:43:43 cdrinc qmail: 946993423.081335 info msg 3121: bytes 1579
>from <> qp 1188 uid 514
>Jan  4 08:43:43 cdrinc qmail: 946993423.097426 starting delivery 3: msg 3121
>to local [EMAIL PROTECTED]

The failed delivery generated a bounce.

>Jan  4 08:43:43 cdrinc qmail: 946993423.098586 status: local 1/10 remote
>0/20
>Jan  4 08:43:43 cdrinc qmail: 946993423.112267 delivery 3: failure:
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>Jan  4 08:43:43 cdrinc qmail: 946993423.114430 status: local 0/10 remote
>0/20

The bounce couldn't be delivered.

>Jan  4 08:43:43 cdrinc qmail: 946993423.123317 bounce msg 3121 qp 1191
>Jan  4 08:43:43 cdrinc qmail: 946993423.124551 end msg 3121
>Jan  4 08:43:43 cdrinc qmail: 946993423.126633 new msg 3120
>Jan  4 08:43:43 cdrinc qmail: 946993423.128131 info msg 3120: bytes 2018
>from <#@[]> qp 1191 uid 514
>Jan  4 08:43:43 cdrinc qmail: 946993423.132685 starting delivery 4: msg 3120
>to local [EMAIL PROTECTED]

A double bounce to [EMAIL PROTECTED] was generated.

>Jan  4 08:43:43 cdrinc qmail: 946993423.133689 status: local 1/10 remote
>0/20
>Jan  4 08:43:43 cdrinc qmail: 946993423.167447 new msg 3119
>Jan  4 08:43:43 cdrinc qmail: 946993423.169488 info msg 3119: bytes 2121
>from <#@[]> qp 1194 uid 508
>Jan  4 08:43:43 cdrinc qmail: 946993423.176549 starting delivery 5: msg 3119
>to local [EMAIL PROTECTED]

[EMAIL PROTECTED] redirects to [EMAIL PROTECTED]

>Jan  4 08:43:43 cdrinc qmail: 946993423.178201 status: local 2/10 remote
>0/20
>Jan  4 08:43:43 cdrinc qmail: 946993423.178417 delivery 4: success:
>did_0+1+0/qp_1194/

The redirection suceeded.

>Jan  4 08:43:43 cdrinc qmail: 946993423.178759 status: local 1/10 remote
>0/20
>Jan  4 08:43:43 cdrinc qmail: 946993423.179901 end msg 3120
>Jan  4 08:43:43 cdrinc qmail: 946993423.208233 delivery 5: success:
>did_1+0+0/
>Jan  4 08:43:43 cdrinc qmail: 946993423.210166 status: local 0/10 remote
>0/20
>Jan  4 08:43:43 cdrinc qmail: 946993423.211300 end msg 3119

The delivery to [EMAIL PROTECTED] suceeded.

>==
>
>Now, maybe I am reading this wrong, but it looks like that one email sent is
>spawned into 4 different emails.. and I have NO idea why it would try to go
>to users on a different domain..

Yeah, you're reading it wrong. One message resulted in 5 delivery
attempts. This is because your virtual domain set-up is wrong, the
return address on the message was wrong, and postmaster is redirected 
to another address.

-Dave



Re: bouncesaying

2000-01-04 Thread Keith Warno

- Original Message - 
From: "Petr Novotny" <[EMAIL PROTECTED]>


| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
| 
| On 4 Jan 00, at 9:53, Keith Warno wrote:
| > | The '&' forwards are all collected together, and performed at the
| > end | of the .qmail file processing.  If the mail bounces, the forward
| > will | never occur.  Try using '|forward vev'.
| > 
| > 
| > Hmm that's potentially extremely annoying.
| 
| Is it?
| > Any particular reason why '&' forwards are treated this way?
| 
| Three reasons:
| 1. Speed. All the forwards are done with a single inject.
| 2. Space. All the forwards are injected into the queue once, and 
| kept there once.
| 3. No duplicities. If the local delivery fails temporarily, forward are 
| not done. Otherwise, you'd end up with zillion copies of the mail 
| forwarded in case of failed deliveries.


Makes sense.

Explanation appreciated.



RE: One Email = Four

2000-01-04 Thread CDR Inc

Hay Dave,

Thanx for the reply...Comments and responses are below



-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 9:55 AM
To: [EMAIL PROTECTED]
Subject: Re: One Email = Four


>>"CDR Inc" <[EMAIL PROTECTED]> wrote:

>>OK, I have ( I think ) set up QMAIL to handle multiple Virtual Domains
>>(Thanx Peter!  :))
>>
>>So, I send a "test message" to one of the new QMAIL users and here is the
>>mail-log entry...

>We really need to see what you have in virtuals and in the various
>relevant .qmail files.

OK  Here is the control/virtualdomains file:

:forwarder-cdrinc
altswingers.org:forwarder-altswingers
swingnet.org:forwarder-swingnet



the only .qmail files are in /home/forwarder

-rw-r--r--   1 forwarde root   11 Jan  3 10:24 .qmail
-rw-r--r--   1 root root4 Jan  4 08:35
.qmail-altswingers-asm
-rw-r--r--   1 root root6 Jan  4 08:35
.qmail-altswingers-casey
-rw-r--r--   1 root root6 Jan  3 14:25
.qmail-altswingers-eddie
-rw-r--r--   1 root root4 Jan  4 08:35
.qmail-altswingers-mailer-daemon
-rw-r--r--   1 root root   11 Jan  4 08:35
.qmail-altswingers-moswingers
-rw-r--r--   1 root root6 Jan  3 14:25
.qmail-altswingers-nancy
-rw-r--r--   1 root root4 Jan  4 08:35
.qmail-altswingers-postmaster
-rw-r--r--   1 root root8 Jan  3 14:25
.qmail-altswingers-raphael
-rw-r--r--   1 root root9 Jan  4 08:35
.qmail-swingnet-divrlady
-rw-r--r--   1 root root6 Jan  3 14:25 .qmail-swingnet-jimmy
-rw-r--r--   1 root root4 Jan  4 08:35
.qmail-swingnet-mailer-daemon
-rw-r--r--   1 root root8 Jan  4 08:35
.qmail-swingnet-michale
-rw-r--r--   1 root root4 Jan  4 08:35 .qmail-swingnet-mnd
-rw-r--r--   1 root root5 Jan  3 14:25 .qmail-swingnet-paul
-rw-r--r--   1 root root4 Jan  4 08:35
.qmail-swingnet-postmaster
-rw-r--r--   1 root root6 Jan  3 14:25 .qmail-swingnet-steve

.qmail-altswingers-asm just has  'asm' in it...
.qmail-swingnet-divrlady just has  'divrlady' in it...



>>Jan  4 08:43:43 cdrinc qmail: 946993423.178759 status: local 1/10 remote
>>0/20
>>Jan  4 08:43:43 cdrinc qmail: 946993423.179901 end msg 3120
>>Jan  4 08:43:43 cdrinc qmail: 946993423.208233 delivery 5: success:
>>did_1+0+0/
>>Jan  4 08:43:43 cdrinc qmail: 946993423.210166 status: local 0/10 remote
>>0/20
>>Jan  4 08:43:43 cdrinc qmail: 946993423.211300 end msg 3119

>The delivery to [EMAIL PROTECTED] suceeded.

What has me confused is how divrlady got involved??

"Genie: Al, what are you doing?  Why are you dragging me into this?"   :)


>>==
>>
>>Now, maybe I am reading this wrong, but it looks like that one email sent
is
>>spawned into 4 different emails.. and I have NO idea why it would try to
go
>>to users on a different domain..

>Yeah, you're reading it wrong. One message resulted in 5 delivery
>attempts. This is because your virtual domain set-up is wrong, the
>return address on the message was wrong, and postmaster is redirected
>to another address.

So in other words, it is about as screwed up as it can be, right?  hehehehe

Well, I posted some more info..  Any assistance would be most appreciated...


Michale



RE: Long delay on smtp connect

2000-01-04 Thread Greg Owen

> Nope, nope. :-) I'm their router admin. FreeBSD running NAT. The 
> only thing that changed was on this end -- turning off "paranoid"
> on tcpserver.

A quick perusal of the source shows no connection between the two -
if you look in tcpserver.c for 'flagparanoid' and 'flagremoteinfo' you can
see the (small) code snippets triggered by the respective options.

Maybe their FreeBSD box doesn't run a Y2K compliant IDENT daemon (he
said, tongue in cheek).

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



Re: bouncesaying

2000-01-04 Thread Russell Nelson

Vince Vielhaber writes:
 > > |forward vev
 > 
 > That works, it leaves this in the bounce message:  forward: qp 68503
 > but I can live with that.

Then do |forward vev 2>/dev/null

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: bouncesaying

2000-01-04 Thread Russell Nelson

Keith Warno writes:
 > From: "Russell Nelson" <[EMAIL PROTECTED]>
 > | The '&' forwards are all collected together, and performed at the end
 > | of the .qmail file processing.  If the mail bounces, the forward will
 > | never occur.  Try using '|forward vev'.
 > 
 > Hmm that's potentially extremely annoying.
 > 
 > Any particular reason why '&' forwards are treated this way?

Yes.  The message is queued using qmail-queue, and it's a lot more
efficient to accumulate the addresses, and run qmail-queue once at the 
end of the message processing.  It also lets you forward the mail to a 
bunch of people, then conditionally exit a program delivery with 99,
skipping the forwarding to a bunch more people.

If you really don't like this behavior, forward the mail using |forward.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: bouncesaying

2000-01-04 Thread Vince Vielhaber

On Tue, 4 Jan 2000, Russell Nelson wrote:

> Vince Vielhaber writes:
>  > > |forward vev
>  > 
>  > That works, it leaves this in the bounce message:  forward: qp 68503
>  > but I can live with that.
> 
> Then do |forward vev 2>/dev/null

Don't know why that never occurred to me, but does indeed work!

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
   128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





Re: bouncesaying

2000-01-04 Thread Faried Nawaz

Vince Vielhaber <[EMAIL PROTECTED]> writes:
  
  That works, it leaves this in the bounce message:  forward: qp 68503
  but I can live with that.

Use 

| forward vev >/dev/null 2>&1



Re: bouncesaying

2000-01-04 Thread Russell Nelson

Vince Vielhaber writes:
 > On Tue, 4 Jan 2000, Russell Nelson wrote:
 > > Then do |forward vev 2>/dev/null
 > 
 > Don't know why that never occurred to me, but does indeed work!

One caveat is that if forward fails, you'll get a completely empty
bounce message.  That would be confusing since you wouldn't know how
the bounce was occurring.  So you might want to use something ugly
like this:

|forward vev 2>/tmp/forward.$$ || cat /tmp/forward.$$; rm /tmp/forward.$$

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



help pls! RELAYCLIENT won't bypass rcpthosts

2000-01-04 Thread Reece Markowsky

I have configured selective relaying as described in Michael Samuel's
step-by-step
instructions to bypass rcpthosts by enabling RELAYCLIENT for select
customers.
 The problem is that I am receiving a denial of service for anybody-
even those hosts (IP addresses) listed in my tcp.smtp.cdb database.   It
seems to be ignoring these rules - only using the rcpthosts.
Any help is appreciated! Thanks.

For example, from my host 192.152.1.21  I try to telnet to the SMTP host
and send a
message to a host that is NOT defined in the rcpthosts file.
My understanding is that because my host (192.152.1.*) is allowed to
relay,
RELAYCLIENT will be set and rcpthosts will by bypassed.
It doesn't seem to work however.  Here is some output:

telnet mysmtphost.mydomain.com 25
Trying XXX.XX.XX.XX...
Connected to mysmtphost.mydomain.com.
Escape character is '^]'.
220 localhost.localdomain 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)

Note, somewhereelse.com is not listed in my rcpthosts.  Ok, but this is
a telnet session
is from a machine who enables RELAYCLIENT in the tcp.smtp.cdb
database.   Here
is my configuration (ip info has been changed for security reasons)
tcp.smtp (I remembered to reload this):

192.152.1.:allow,RELAYCLIENT=""
:allow

You can see that I am running tcpserver correctly too:
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 137 -g 223 0
smtp
/var/qmail/bin/qmail-smtpd


Any ideas??

Thanks!
rjm



Re: help pls! RELAYCLIENT won't bypass rcpthosts

2000-01-04 Thread Jay Soffian

 "Reece" == Reece Markowsky <[EMAIL PROTECTED]> writes:

Reece> You can see that I am running tcpserver correctly too:
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 137 -g 223 0 smtp 
/var/qmail/bin/qmail-smtpd

Try making sure that the path to the CDB file is part of the '-x'
argument, not an additional argument (remove that extra space, that is
'-xFOO', not '-x FOO'). Also, use cdbdump to make sure that the cdb
file is up to date (or just rebuild it).

Reece> Any ideas??

If that doesn't work, instead of exec'ing qmail-smtpd, exec an sh
script which dumps the env and them execs qmail-smtpd, as in:

#!/bin/sh
env > /var/tmp/debug/qmail-smtpd.$$
exec /var/qmail/bin/smtpd

Then, examine the environment and make sure RELAYCLIENT really is set.

BTW, if might want to use ofmipd for "internal" hosts to give you
rewriting flexibility in case you need it. I do so like this:

/usr/local/bin/tcpserver -R -H -learthquake -x/var/qmail/etc/tcp.smtp.cdb -u61 -g60 -v 
0 smtp /var/qmail/libexec/qmail-smtpd+ofmipd 

/var/qmail/etc/tcp.smtp:
192.168.249.:allow,OFMIPCLIENT="yes"
192.168.250.:allow,OFMIPCLIENT="yes"
206.251.18.:allow,OFMIPCLIENT="yes"
204.71.180.:allow,OFMIPCLIENT="yes"
:allow,DATABYTES="1048576"

/var/qmail/libexec/qmail-smtpd+ofmipd
#!/bin/sh
if [ -n "$OFMIPCLIENT" ] ; then
exec /var/qmail/bin/ofmipd
else
exec /var/qmail/bin/qmail-smtpd
fi   

Good luck.

j.
--
Jay Soffian <[EMAIL PROTECTED]>UNIX Systems Engineer
404.572.1941 Cox Interactive Media



RE: One Email = Four

2000-01-04 Thread Dave Sill

"CDR Inc" <[EMAIL PROTECTED]> wrote:

>the only .qmail files are in /home/forwarder

What about ~alias?

>What has me confused is how divrlady got involved??

A .qmail*postmaster file must contain "divrlady".

>>Yeah, you're reading it wrong. One message resulted in 5 delivery
>>attempts. This is because your virtual domain set-up is wrong, the
>>return address on the message was wrong, and postmaster is redirected
>>to another address.
>
>So in other words, it is about as screwed up as it can be, right?  hehehehe

Close. :-)

>Well, I posted some more info..  Any assistance would be most appreciated...

OK, let's look at your configuration:

>OK  Here is the control/virtualdomains file:
>
>:forwarder-cdrinc
>altswingers.org:forwarder-altswingers
>swingnet.org:forwarder-swingnet

That redirects mail as follows:

  From  To
    --
  [EMAIL PROTECTED]forwarder-cdrinc-foo
  [EMAIL PROTECTED]   forwarder-altswingers-foo
  [EMAIL PROTECTED]  forwarder-swingnet-foo
  [EMAIL PROTECTED]   forwarder-cdrinc-foo

To "catch" these redirections, you'll need:

  Address   File
  ---   
  forwarder-cdrinc-foo  ~forwarder/.qmail-cdrinc-foo or
~forwarder/.qmail-cdrinc-default
  forwarder-altswingers-foo ~forwarder/.qmail-altswingers-foo or
~forwarder/.qmail-altswingers-default
  forwarder-swingnet-foo~forwarder/.qmail-swingnet-foo or
~forwarder/.qmail-swingnet-default

Now let's look at your test, which was sent to
[EMAIL PROTECTED] That was redirected to forwarder-altswingers-asm, 
which was handled by ~forwarder/.qmail-altswingers-asm, which
contained "[EMAIL PROTECTED]". That was redirected to
forwarder-cdrinc-asm, but because neither ~forwarder/.qmail-cdrinc-asm 
nor ~forwarder/.qmail-cdrinc-default existed, the delivery failed. A
bounce message was then sent to [EMAIL PROTECTED], whch was
redirected to forwarder-cdrinc-mis, which was also undeliverable,
resulting in a double bounce to [EMAIL PROTECTED], which was
redirected to divrlady. I'm not sure where the postmaster redirection
occurred since you don't seem to have any ~forwarder/.qmail-cdrinc*
files. Perhaps ~alias/.qmail-postmaster.

-Dave



RE: help pls! RELAYCLIENT won't bypass rcpthosts

2000-01-04 Thread Tim Hunter

are you actually compiling the cdb into /etc?
I had this problem before where I _thought_ I was doing everything correctly
but was putting the .cdb into a different location, after I changed my
scripts to use deamontools6.
I have to say it drove me insane.


-Original Message-
From: Reece Markowsky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 12:24 PM
To: [EMAIL PROTECTED]
Subject: help pls! RELAYCLIENT won't bypass rcpthosts


I have configured selective relaying as described in Michael Samuel's
step-by-step
instructions to bypass rcpthosts by enabling RELAYCLIENT for select
customers.
 The problem is that I am receiving a denial of service for anybody-
even those hosts (IP addresses) listed in my tcp.smtp.cdb database.   It
seems to be ignoring these rules - only using the rcpthosts.
Any help is appreciated! Thanks.

For example, from my host 192.152.1.21  I try to telnet to the SMTP host
and send a
message to a host that is NOT defined in the rcpthosts file.
My understanding is that because my host (192.152.1.*) is allowed to
relay,
RELAYCLIENT will be set and rcpthosts will by bypassed.
It doesn't seem to work however.  Here is some output:

telnet mysmtphost.mydomain.com 25
Trying XXX.XX.XX.XX...
Connected to mysmtphost.mydomain.com.
Escape character is '^]'.
220 localhost.localdomain 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)

Note, somewhereelse.com is not listed in my rcpthosts.  Ok, but this is
a telnet session
is from a machine who enables RELAYCLIENT in the tcp.smtp.cdb
database.   Here
is my configuration (ip info has been changed for security reasons)
tcp.smtp (I remembered to reload this):

192.152.1.:allow,RELAYCLIENT=""
:allow

You can see that I am running tcpserver correctly too:
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 137 -g 223 0
smtp
/var/qmail/bin/qmail-smtpd


Any ideas??

Thanks!
rjm




Re: help pls! RELAYCLIENT won't bypass rcpthosts

2000-01-04 Thread Dave Sill

Reece Markowsky <[EMAIL PROTECTED]> wrote:

>For example, from my host 192.152.1.21  I try to telnet to the SMTP host
>and send a
>message to a host that is NOT defined in the rcpthosts file.
>My understanding is that because my host (192.152.1.*) is allowed to
>relay,
>RELAYCLIENT will be set and rcpthosts will by bypassed.
>It doesn't seem to work however.  Here is some output:
>
>telnet mysmtphost.mydomain.com 25
>Trying XXX.XX.XX.XX...
>Connected to mysmtphost.mydomain.com.
>Escape character is '^]'.
>220 localhost.localdomain 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)
>
>Note, somewhereelse.com is not listed in my rcpthosts.  Ok, but this is
>a telnet session
>is from a machine who enables RELAYCLIENT in the tcp.smtp.cdb
>database.   Here
>is my configuration (ip info has been changed for security reasons)
>tcp.smtp (I remembered to reload this):
>
>192.152.1.:allow,RELAYCLIENT=""
>:allow
>
>You can see that I am running tcpserver correctly too:
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 137 -g 223 0
>smtp
>/var/qmail/bin/qmail-smtpd
>
>
>Any ideas??

Yeah, you've got somemisconfiguration in the somefile config file in
somedir on mysmtphost.

Hope this helps.

-Dave



problem with users that has a "-" in their username

2000-01-04 Thread Geir Høgberg

SOLVED! :)
**
This footnote confirms that this email message and it's attachments 
has been swept by MIMEsweeper 4.0 for the presence of computer viruses.

This has been done by ElTele Østfold AS. 

Coustomer service e-mail: [EMAIL PROTECTED]
Corporate WEB site:   www.eltele.no
**



Re: Help on qmailanalog

2000-01-04 Thread Jay Soffian

 "Ronny" == Ronny Haryanto <[EMAIL PROTECTED]> writes:

Ronny> I use this script to send me a log analysis nightly (via crontab).
Ronny> Add the z* commands as you like before ")| qmail-inject".

Ronny> #!/bin/sh
Ronny> PATH=/usr/local/qmailanalog/bin:/var/qmail/bin:/bin
Ronny> QMAILLOG="/tmp/q.$$"
Ronny> umask 077
Ronny> cat /var/log/qmail/* | matchup > $QMAILLOG 5>/dev/null

Ronny> DATE=`date +'%a %d %b'`

Ronny> (echo "To: [EMAIL PROTECTED]"
Ronny> echo "From: [EMAIL PROTECTED]"
Ronny> echo "Subject: qmail report $DATE"
Ronny> echo ""
Ronny> zoverall < $QMAILLOG
Ronny> zfailures < $QMAILLOG
Ronny> zdeferrals < $QMAILLOG)| qmail-inject

Ronny> rm -f $QMAILLOG

You really shouldn't be throwing away the output from fd5. It's there
for a reason. I use this script:

#!/bin/sh

PATH="/usr/local/bin/qmailanalog:/usr/local/bin:$PATH"
export PATH

umask 077

TMP_FILE="/var/log/qmail/qmailanalog.tmp"
EXT_FILE="/var/log/qmail/qmailanalog.ext"
OUT_FILE="/var/log/qmail/qmailanalog.out"
LOG_FILE="/var/log/qmail/log.1.gz"

rm -f $TMP_FILE $OUT_FILE

cat << MAIL_HEADER > $OUT_FILE
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: `hostname` qmail statistics

MAIL_HEADER

touch $EXT_FILE
(cat $EXT_FILE; gunzip -c $LOG_FILE | tai64nepoch) | matchup > $TMP_FILE 
5>$EXT_FILE.new
mv $EXT_FILE.new $EXT_FILE

zoverall < $TMP_FILE >> $OUT_FILE
echo "--" >> $OUT_FILE
zddist   < $TMP_FILE >> $OUT_FILE

/var/qmail/bin/qmail-inject < $OUT_FILE
rm -f $TMP_FILE $OUT_FILE

I've attached a patch for daemontools-0.61 which creates tai64nepoch,
something I hacked from tai64nlocal. I happen to rotate my logs
nightly, using qfilelog instead of using multilog (rotating logs based
on size is fine, but multilog really should support logs rotated based
on time as well - something as simply as rotating whenever it receives
a HUP or USR1 would make me happy).

j.
--
Jay Soffian <[EMAIL PROTECTED]>UNIX Systems Engineer
404.572.1941 Cox Interactive Media



adding a reply-to?

2000-01-04 Thread Keith Warno

Hi.

I use qmail in part for some mailing list stuff because qmail is cool like
that.

For one particular list (which has and will have no more than 10 people on
it) I would like replies to list emails to go to the list, not the person
who sent the message.

I would like to add (or replace) a reply-to line to the header I suppose.
Any idea how this could be achieved on the server side?

PS -- I don't use any mailing list package nor do I have any intention to do
so because the lists are tiny.  I just use a couple of .qmail-* files.  :>

Regards,
kw

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




Re: adding a reply-to?

2000-01-04 Thread Dave Sill

"Keith Warno" <[EMAIL PROTECTED]> wrote:

>I would like to add (or replace) a reply-to line to the header I suppose.
>Any idea how this could be achieved on the server side?
>
>PS -- I don't use any mailing list package nor do I have any intention to do
>so because the lists are tiny.  I just use a couple of .qmail-* files.  :>

Does this sound absurd:

  I would like to add (or replace) parts to a car engine I suppose.
  
  PS -- I don't use tools nor do I have any intention to do
  so because the engine is tiny.  I just use my fingers.  :>

I suggest you bite the bullet and install ezmlm+ezmlm-idx.

-Dave



Re: VHosting

2000-01-04 Thread Josh Pennell

Strange.  I setup my forwarder as suggested below but it appears qmail
will not allow the following situation:

.qmail-puzzlebox-bobo
contains text: joshp

where joshp is a /etc/passwd account on the mail system.

if( bobo != bobo )
.. do not deliver mail
else
.. deliver

All I need to do is take the 5 billion alias's these people think up for
their domains and selectively send them to a physical account.  I use
pine, so I'm not sure if vpop will work.  I actually installed vpop, and
qmail admin.  Unfortunately, it's not a 'out of the box solution' for
OpenBSD 2.5 , but what is.  It doesn't appear to setup alias's or forwards
successfully.

Thanks for your help / patience :)


Josh

On Mon, 3 Jan 2000, Peter Cavender wrote:

> >Hello,
> >
> >I read the virtual hosting faq, but I'm left wondering how do I set up a
> >virtual mail domain that will send mail to seperate mail users.  The FAQ,
> >as I understand it, only explains how to send @yourdom.com to
> >one individuals mail box.  I ( my customers ) need to be able to receive
> >mail addressed to their domain in different mail box's.  For example:
> >
> >Mail For:Deliver To:
> >
> >[EMAIL PROTECTED] -> /home/jill/Maildir
> >[EMAIL PROTECTED] -> /home/bobe/Maildir
> >[EMAIL PROTECTED] -> /home/elli/Maildir
> >
> >Should I use procmail to do this or does one of the mail guru's out there
> >have a super elegant way to achieve this?
> >
> >Thanks for the help, as usual!
> >
> >
> >Josh
> 
> You do send all the mail for a domain to one user (I have a user 
> "forwarder" for this purpose), then, for that user, you have multiple 
> .qmail files that tell where to deliver the messages.  It took me 
> forever to figure this out myself.
> 
> in virtualdomains:
> domain1.com:forwarder-domain1
> domain2.com:forwarder-domain2
> 
> Then make the .qmail files:
> /home/forwarder/.qmail-domain1-jill
> contains "jill"
> 
> /home/forwarder/.qmail-domain2-bobe
> contains "bobe"
> 
> etc.
> 
> 
> Pete
> 
> 



Re: adding a reply-to?

2000-01-04 Thread Keith Warno


- Original Message -
From: "Dave Sill" <[EMAIL PROTECTED]>


| "Keith Warno" <[EMAIL PROTECTED]> wrote:
|
| >I would like to add (or replace) a reply-to line to the header I suppose.
| >Any idea how this could be achieved on the server side?
| >
| >PS -- I don't use any mailing list package nor do I have any intention to
do
| >so because the lists are tiny.  I just use a couple of .qmail-* files.
:>
|
| Does this sound absurd:
|
|   I would like to add (or replace) parts to a car engine I suppose.
|
|   PS -- I don't use tools nor do I have any intention to do
|   so because the engine is tiny.  I just use my fingers.  :>
|
| I suggest you bite the bullet and install ezmlm+ezmlm-idx.
|
| -Dave

If I could get away with using my fingers without much trouble why would I
use the tools?  Qmail already has the capability to do what I want it to do
out of the box; it's only a matter of actually doing it.

ezmlm is serious overkill for a mailing list that currently serves three
people and maybe eight sometime in the future.



Re: Help on qmailanalog

2000-01-04 Thread Ronny Haryanto

On 04-Jan-2000, Jay Soffian wrote:
> Ronny> cat /var/log/qmail/* | matchup > $QMAILLOG 5>/dev/null
> 
> You really shouldn't be throwing away the output from fd5. It's there
> for a reason.

[...excellent script snipped...]

Sorry. I forgot to mention that I only want to see what's already
done, I don't want to see pending messages and deliveries in the
output of that particular script.

Like Jay said, one would probably want to use the output of file
descriptor 5 as well if one desires to see the analysis of pending
messages and deliveries.

-- 
Ronny Haryanto



Re: problem with users that has a "-" in their username

2000-01-04 Thread Ronny Haryanto

On 04-Jan-2000, Geir Høgberg wrote:
> SOLVED! :)

It would be nice if one could share the solution she/he found to
problems she/he asked in the mailing list, so others might benefit
from it. Don't you think? :)

-- 
Ronny Haryanto



allow relay

2000-01-04 Thread Bin Zhang

Is it possible to allow valid users to relay from anywhere?  If possible,
how would I do it?  Thanks.

bz




Re: problem with users that has a "-" in their username

2000-01-04 Thread iv0

Ronny Haryanto wrote:
> 
> On 04-Jan-2000, Geir Høgberg wrote:
> > SOLVED! :)
> 
> It would be nice if one could share the solution she/he found to
> problems she/he asked in the mailing list, so others might benefit
> from it. Don't you think? :)
> 
> --
> Ronny Haryanto

in vdelivermail.c around line 157
replace:
for(i=0;i<(MAX_SMALL_BUF-1)&&user[i]!=0&&user[i]!='-';++i) {
user2[i] = user[i];
}
user2[i] = 0;
pw_data = vauth_getpw(user2, host);

if ( pw_data == NULL && user[i] == '-' ) {
pw_data = vauth_getpw(user, host);
}

with:
pw_data = vauth_getpw(user, host);


Ken Jones
Inter7



Re: Help on qmailanalog

2000-01-04 Thread Fred Lindberg

On Tue, 4 Jan 2000 13:14:27 -0600, Ronny Haryanto wrote:

>Like Jay said, one would probably want to use the output of file
>descriptor 5 as well if one desires to see the analysis of pending
>messages and deliveries.

The info (pending messages) is required by matchup to match the final
delivery of messages started before the analysis period. If you don't
do this, your statistics  will be bogus as will any info messages that
weren't both sent and successfully delivered within the analysis
period.




-Sincerely, Fred

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




Re: Help on qmailanalog

2000-01-04 Thread Jay Soffian

 "Jay" == Jay Soffian <[EMAIL PROTECTED]> writes:

Jay> I've attached a patch for daemontools-0.61 which creates tai64nepoch,
Jay> something I hacked from tai64nlocal. I happen to rotate my logs

Oops, forgot to attach the patch. Attached.

j.
--
Jay Soffian <[EMAIL PROTECTED]>UNIX Systems Engineer
404.572.1941 Cox Interactive Media



diff -c -N daemontools-0.61.orig/Makefile daemontools-0.61/Makefile
*** daemontools-0.61.orig/Makefile  Thu Aug 26 02:56:44 1999
--- daemontools-0.61/Makefile   Mon Nov  1 21:44:37 1999
***
*** 318,324 
./compile open_write.c
  
  prog: \
! svscan supervise svok svstat svc fghack multilog tai64n tai64nlocal \
  softlimit setuidgid envuidgid rts matchtest
  
  prot.o: \
--- 318,324 
./compile open_write.c
  
  prog: \
! svscan supervise svok svstat svc fghack multilog tai64n tai64nlocal tai64nepoch \
  softlimit setuidgid envuidgid rts matchtest
  
  prot.o: \
***
*** 557,562 
--- 557,570 
  tai64n.o: \
  compile tai64n.c timestamp.h substdio.h readwrite.h exit.h
./compile tai64n.c
+ 
+ tai64nepoch: \
+ load tai64nepoch.o substdio.a error.a str.a fs.a
+   ./load tai64nepoch substdio.a error.a str.a fs.a 
+ 
+ tai64nepoch.o: \
+ compile tai64nepoch.c substdio.h subfd.h substdio.h exit.h fmt.h
+   ./compile tai64nepoch.c
  
  tai64nlocal: \
  load tai64nlocal.o substdio.a error.a str.a fs.a
diff -c -N daemontools-0.61.orig/tai64nepoch.c daemontools-0.61/tai64nepoch.c
*** daemontools-0.61.orig/tai64nepoch.c Wed Dec 31 19:00:00 1969
--- daemontools-0.61/tai64nepoch.c  Tue Jan  4 13:09:42 2000
***
*** 0 
--- 1,68 
+ #include 
+ #include 
+ #include "substdio.h"
+ #include "subfd.h"
+ #include "exit.h"
+ #include "fmt.h"
+ 
+ char num[FMT_ULONG];
+ 
+ void get(ch)
+ char *ch;
+ {
+   int r;
+ 
+   r = substdio_get(subfdin,ch,1);
+   if (r == 1) return;
+   if (r == 0) _exit(0);
+   _exit(111);
+ }
+ 
+ void out(buf,len)
+ char *buf;
+ int len;
+ {
+   if (substdio_put(subfdout,buf,len) == -1)
+ _exit(111);
+ }
+ 
+ time_t secs;
+ unsigned long nanosecs;
+ unsigned long u;
+ struct tm *t;
+ 
+ main()
+ {
+   char ch;
+ 
+   for (;;) {
+ get(&ch);
+ if (ch == '@') {
+   secs = 0;
+   nanosecs = 0;
+   for (;;) {
+ get(&ch);
+ u = ch - '0';
+ if (u >= 10) {
+   u = ch - 'a';
+   if (u >= 6) break;
+   u += 10;
+ }
+ secs <<= 4;
+ secs += nanosecs >> 28;
+ nanosecs &= 0xfff;
+ nanosecs <<= 4;
+ nanosecs += u;
+   }
+   secs -= 4611686018427387914ULL;
+   out(num,fmt_ulong(num,(unsigned long) (secs)));
+   out(".",1);
+   out(num,fmt_uint0(num,(unsigned int) nanosecs,9));
+ }
+ for (;;) {
+   out(&ch,1);
+   if (ch == '\n') break;
+   get(&ch);
+ }
+   }
+ }




Local bounces vs. VERP

2000-01-04 Thread Pavel Kankovsky

(I am not the person complaining about this. See
http://www.ornl.gov/its/archives/mailing-lists/qmail/1997/09/msg00085.html)

I send a VERP'ed message:

QMAILUSER=user-bounce QMAILINJECT=r qmail-inject [EMAIL PROTECTED]

And it bounces to "user-bounce-@hostname" rather than to
"user-bounce-bounceme=blahblah.blah@hostname" if the bounce is generated
by the local qmail daemon. Argh.

It is easy to find what is responsible for this behaviour---the following
lines in injectbounce() in qmail-send.c:

 /* owner-@host-@[] -> owner-@host */
 if (sender.len >= 5)
   if (str_equal(sender.s + sender.len - 5,"-@[]"))
{
 sender.len -= 4;
 sender.s[sender.len - 1] = 0;
}
 
I understand VERP would make the things more complicated because one would
have to generate one bounce message per failed recipient (and it would
also made bounce-bombing much easier) but this behaviour contradicts all
the marketing surrounding VERP ("VERPs---automatic recipient
identification for mailing list bounces", "If God is forwarding His mail,
the bounce message will still go to djb-sos-owner-God=heaven.af.mil@
silverton.berkeley.edu." etc) and might contradict qmail documentation (it
depends on your interpretation of the docs). Anyway, the "feature" is a
nasty suprise to anyone deluded to think qmail VERP support makes it
completely unnecessary to parse the bounces in order to figure out the
recipient address.

Fix it or document it, please. :)

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."



Re: 7 bit ascii & qmail

2000-01-04 Thread Sam

 [iso-8859-1] Mikko_Hänninen writes:

> Holger Hug <[EMAIL PROTECTED]> wrote on Tue, 04 Jan 2000:
> > Is there any possibility to cause qmail to convert a deliberate
> > character set into "US-ASCII" before sending them off ?
> 
> Not in qmail itself, I believe.
> 
> > At the moment, I don't have an idea where to start. Perhaps there is a
> > possibility to install a script ?
> 
> How are the emails created?  By injecting them into the queue with
> qmail-inject?  If that's the case, you could insert another script
> in front of that, which changes the emails accordingly before calling
> qmail-inject.
> 
> If the emails are sent "remotely", via SMTP, then you need to fix the
> sending the end.  Or perhaps set up a special SMTP port or something
> which runs a script on the emails, but that sounds like it's getting
> complex.
> 
> Anyway, you likely do need to get this fixed *before* qmail sees the
> emails, however they are getting to it.

Correct, but only because this is a Qmail bug.

What he's probably talking about is that when Qmail receives an 8-bit
message (a foreign character set), and it gets relayed to a foreign server
that is not capable of receiving 8BITMIME mail, Qmail will not downshift
the message to 7-bit encoding.  As a result, a few firewalls/mail gateways
will end up rejecting the message.  There aren't very many of them that are
like that, but they are out there.

If mail is generated locally, the only way to fix this is to put a stub
around qmail-inject that translates all 8-bit mail to 7-bit encoding before
running the real qmail-inject.  If the mail originates via an SMTP MUA, you
have to use the RELAYCLIENT hack to pipe the message through a translator. 
A pain in the ass, and you shouldn't have to do this nonsense.  This is
something that should be handled automatically by qmail-remote.

-- 
Sam



Re: 7 bit ascii & qmail

2000-01-04 Thread Fred Lindberg

On Tue, 04 Jan 2000 23:04:40 GMT, Sam wrote:

>Correct, but only because this is a Qmail bug.

Nonconformance with archaic very US-centric part of rfc. Anyone in a
domain with a few extra chars in the charset has done away with
non-8-bit-capable servers a long time ago.

>A pain in the ass, and you shouldn't have to do this nonsense.  This is
>something that should be handled automatically by qmail-remote.

Or by retiring the outdated servers. Sometimes being right is better
than being correct.


-Sincerely, Fred

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




RE: 7 bit ascii & qmail

2000-01-04 Thread Matthew Brown

Sam wrote:
> What he's probably talking about is that when Qmail receives
> an 8-bit message (a foreign character set), and it gets relayed
> to a foreign server that is not capable of receiving 8BITMIME
> mail, Qmail will not downshift the message to 7-bit encoding.

> [snipped: how to set your system up to do this]

> A pain in the ass, and you shouldn't have to do this
> nonsense.  This is something that should be handled
> automatically by qmail-remote.

Qmail behaves the way it does deliberately; see

http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/02/msg00566.html

for Dan's word on the subject.  In essence, his argument is:

1) 7-bit-only servers and clients are dying out anyway

2) Nobody else implements the standard correctly

3) 8BITMIME/quoted-printable is a gross hack and no better a solution than
getting rid of the last remaining 7bit servers

[apologies if I misstated the arguments]

For example, Sendmail doesn't correctly follow the standard (it does 8->7
conversion for MIME messages, but not for unlabelled messages containing
8-bit characters).

-Matt

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



Re: 7 bit ascii & qmail

2000-01-04 Thread Sam

Fred Lindberg writes:

> On Tue, 04 Jan 2000 23:04:40 GMT, Sam wrote:
> 
> >Correct, but only because this is a Qmail bug.
> 
> Nonconformance with archaic very US-centric part of rfc. Anyone in a

I wouldn't describe all of RFCs 2045-2048 as "archaic".

RFC 821 is certainly not archaic, and it has a blanked prohibition against
all non-7bit mail.  RFCs 2045-2048 allow this restrictions to be relaxed,
in certain situations, and under controlled conditions.

But you can't have your cake, and eat it too.  If you want to send 8-bit
mail, please play by the rules.

> domain with a few extra chars in the charset has done away with
> non-8-bit-capable servers a long time ago.
> 
> >A pain in the ass, and you shouldn't have to do this nonsense.  This is
> >something that should be handled automatically by qmail-remote.
> 
> Or by retiring the outdated servers. Sometimes being right is better
> than being correct.

RFC 2045-2048 *is* the right way to do this.  In fact, strictly-conformant
servers have every right to reject 8bit mail that is not received with the
8BITMIME extension.


-- 
Sam



Delivery bug?

2000-01-04 Thread Bill Ataras



I have 1 real domain (real.com) and one virtual domain (virt.com)

In qmail/control, files are like this:

defaultdomain:  real.com
me: real.com
locals: real.com
plusdomain: real.com
rcpthosts:  real.com and virt.com on 2 lines
virtualdomains: virt.com:virt

I have a user named virt. In his home dir, i have .qmail-default and .qmail
putting everything addressed to virt.com into a Maildir.

If I send a mail to "[EMAIL PROTECTED]" it gets bounced properly by qmail because
there is no user 'a'.
If I send a mail to "[EMAIL PROTECTED]" it gets received properly into user virt's
Maildir
If I send a mail to "[EMAIL PROTECTED],[EMAIL PROTECTED]" virt receives his mail
properly, but [EMAIL PROTECTED] is not bounced as I would expect. When I look at
the maillog qmail says:

starting delivery 73: msg 376980 to local [EMAIL PROTECTED],[EMAIL PROTECTED]
Jan  4 23:29:06 frodo qmail: 947057346.691573 status: local 1/10 remote
0/20
Jan  4 23:29:06 frodo qmail: 947057346.751821 delivery 73: success

What's the deal with the "[EMAIL PROTECTED]" ? Looks like the original
"[EMAIL PROTECTED]" was rewritten to that. But virt-a wasn't bounced either.

Thanks



Re: 7 bit ascii & qmail

2000-01-04 Thread Sam

Matthew Brown writes:

> Sam wrote:
> > What he's probably talking about is that when Qmail receives
> > an 8-bit message (a foreign character set), and it gets relayed
> > to a foreign server that is not capable of receiving 8BITMIME
> > mail, Qmail will not downshift the message to 7-bit encoding.
> 
> > [snipped: how to set your system up to do this]
> 
> > A pain in the ass, and you shouldn't have to do this
> > nonsense.  This is something that should be handled
> > automatically by qmail-remote.
> 
> Qmail behaves the way it does deliberately; see
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/02/msg00566.html
> 
> for Dan's word on the subject.  In essence, his argument is:
> 
> 1) 7-bit-only servers and clients are dying out anyway

Next time you get pulled over for speeding, tell the cop that nobody drives
under the speed limit anymore, and see how well that goes.

> 2) Nobody else implements the standard correctly

I wouldn't say that.

> 3) 8BITMIME/quoted-printable is a gross hack and no better a solution than
> getting rid of the last remaining 7bit servers
> 
> [apologies if I misstated the arguments]
> 
> For example, Sendmail doesn't correctly follow the standard (it does 8->7
> conversion for MIME messages, but not for unlabelled messages containing
> 8-bit characters).

The correct way to handle that is to reject them in the first place.

-- 
Sam



What MUA do you use?

2000-01-04 Thread Bill Ataras



Just curious what people are using to read/send mail from X. I was using
netscape (SMTP/POP) that came with my redhat dist, but wanted something
with more features (multiple POP accts, filtering etc). I've been playing
with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
guys are using. Now that I have an industrial strength mail server (qmail)
I'd like a really good MUA. Maybe to help me use different mail accounts
for different maillists and for usenet etc etc. Have you found a good mail
client that will let you live on multiple maillists, usenet, spam/filter
yada yada?




Re: What MUA do you use?

2000-01-04 Thread Josh Pennell

Pine?, sorry i had to ;)  I've used communicator, eudora, and outlook for
a few years, but IMHO it's hard to beat pine on an ssh connection.

-Josh

On Tue, 4 Jan 2000, Bill Ataras wrote:

> 
> 
> Just curious what people are using to read/send mail from X. I was using
> netscape (SMTP/POP) that came with my redhat dist, but wanted something
> with more features (multiple POP accts, filtering etc). I've been playing
> with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
> guys are using. Now that I have an industrial strength mail server (qmail)
> I'd like a really good MUA. Maybe to help me use different mail accounts
> for different maillists and for usenet etc etc. Have you found a good mail
> client that will let you live on multiple maillists, usenet, spam/filter
> yada yada?
> 
> 
> 



error at compile time

2000-01-04 Thread Kristina


At compile time for qmail-1.03 on solaris7 I get the following in syslog
repetitively:

Jan  4 11:14:49 ldaptest qmail: 946952089.151836 alert: unable to opendir to
do,
sleeping...

In the end, qmail seems to compile okay and I can send mail as normal. Howev
er,
I am wondering how to solve the above error?
The "to do" directory it is probably referring to is  /var/qmail/queue/todo.
I also get the same error when starting qmail for the first time. By stopping
qmail and then starting it again, the error disappears!!

Any help appreciated,
Kristina




Re: Delivery bug?

2000-01-04 Thread Sam

Bill Ataras writes:

> If I send a mail to "[EMAIL PROTECTED],[EMAIL PROTECTED]" virt receives his mail
> properly, but [EMAIL PROTECTED] is not bounced as I would expect. When I look at
> the maillog qmail says:
> 
> starting delivery 73: msg 376980 to local [EMAIL PROTECTED],[EMAIL PROTECTED]
> Jan  4 23:29:06 frodo qmail: 947057346.691573 status: local 1/10 remote
> 0/20
> Jan  4 23:29:06 frodo qmail: 947057346.751821 delivery 73: success
> 
> What's the deal with the "[EMAIL PROTECTED]" ?

Looks like your MUA is buggy.  Qmail received mail addressed to
<[EMAIL PROTECTED],[EMAIL PROTECTED]>, so it delivered the mail to one, not two 
addresses.

Pray tell us which crapware exactly that cannot properly parse RFC 822?


-- 
Sam



Re: What MUA do you use?

2000-01-04 Thread Chris Garrigues

> From:  Bill Ataras <[EMAIL PROTECTED]>
> Date:  Tue, 04 Jan 2000 15:53:34 PST
>
> 
> 
> Just curious what people are using to read/send mail from X. I was using
> netscape (SMTP/POP) that came with my redhat dist, but wanted something
> with more features (multiple POP accts, filtering etc). I've been playing
> with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
> guys are using. Now that I have an industrial strength mail server (qmail)
> I'd like a really good MUA. Maybe to help me use different mail accounts
> for different maillists and for usenet etc etc. Have you found a good mail
> client that will let you live on multiple maillists, usenet, spam/filter
> yada yada?

exmh.  It's clearly a "hacker" program in that it's usability is a bit rough 
in places, but it has incredible geek functionality and I could never manage all
my mailboxes with any other package.  I seem to have 178 mailboxes at the moment:

cat .qmail*| grep rcvstore|sort|uniq|wc -l

I've never used it with POP, but it has everything else you ask for.  I think 
people who use POP with exmh use fetchmail or something like that.

It also came with your redhat distribution, although there's a newer version 
out now.

Chris

-- 
Chris Garrigues virCIO
http://www.DeepEddy.Com/~cwg/   http://www.virCIO.Com
+1 512 432 4046 +1 512 374 0500
4314 Avenue C
O-  Austin, TX  78751-3709


  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: What MUA do you use?

2000-01-04 Thread Russ Allbery

Bill Ataras <[EMAIL PROTECTED]> writes:

> Just curious what people are using to read/send mail from X. I was using
> netscape (SMTP/POP) that came with my redhat dist, but wanted something
> with more features (multiple POP accts, filtering etc). I've been
> playing with "spruce" (check freshmeat). Its pretty good. But I'm
> curious what you guys are using. Now that I have an industrial strength
> mail server (qmail) I'd like a really good MUA. Maybe to help me use
> different mail accounts for different maillists and for usenet etc
> etc. Have you found a good mail client that will let you live on
> multiple maillists, usenet, spam/filter yada yada?

If you want the same interface for newsgroups as for mailing lists, the
only reader I'm aware of that both fully integrates both into an intuitive
interface and keeps up with modern times (score files, multiple NNTP
servers with authentication, support for ssh tunnelled POP connections,
etc.) is Gnus.  You have to use emacs as your editor to use it, since it's
built inside emacs, but feature for feature there really isn't anything
else close.  Particularly with the latest version, which has full MIME
support including inlined graphics under XEmacs.  (Hands down the most
thoughtful and intelligent MIME support that I've ever seen, from using
quiet and unobtrusive boundary separators so that even mail with
attachments looks decent to people without MIME readers to the ability to
select text/plain as your preferred part in multipart/alternative messages
if you wish.)

On a qmail note, Gnus can also read directly from maildirs natively, and
has built-in support for qmail to the degree of calling qmail-inject
directly for sending mail rather than going through the sendmail
compatibility interface.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/>



RE: 7 bit ascii & qmail

2000-01-04 Thread Matthew Brown

Sam wrote:
> I wrote:
> > for Dan's word on the subject.  In essence, his argument is:
> >
> > 1) 7-bit-only servers and clients are dying out anyway
>
> Next time you get pulled over for speeding, tell the cop that
> nobody drives
> under the speed limit anymore, and see how well that goes.

Note that these aren't MY arguments; they're my summarising Dan's arguments.

Specious argument anyway, Sam.  We're not talking traffic law, we're talking
technical standards that do not and have never documented what real email
systems actually do.  Sendmail has never shipped a version that is compliant
with those standards.  Neither has qmail.  Neither have many other email
systems.

This is largely because the standards happened AFTER 8-bit clean SMTP was
widely implemented.

> > 2) Nobody else implements the standard correctly
>
> I wouldn't say that.

For nobody, substitute 'almost nobody'.  Sendmail, the most popular MTA on
the Internet, does not implement the standard correctly.  Qmail does not.
Exim does not.  I'm sure many others do not.

The difference is that sendmail makes a halfhearted attempt at compliance,
and qmail doesn't.

> > For example, Sendmail doesn't correctly follow the standard
> (it does 8->7
> > conversion for MIME messages, but not for unlabelled
> messages containing
> > 8-bit characters).
>
> The correct way to handle that is to reject them in the first place.

Are you seriously suggesting that, for the sake of these saintly, antiquated
7 bit only mailservers, we should drop people's emails on the floor?

The whole 7 bit email issue should have been killed off LONG ago.  7 bit
only text should be long dead.  I see no reason to perpetuate it or
encourage it.

Also, let me put it this way: is there any MTA out there that only accepts
7bit mail that should not be upgraded for many other reasons?  No 7-bit only
sendmail should still be in operation, for example; security holes galore.

-Matt

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



VDomains and forwarding alias's

2000-01-04 Thread Josh Pennell

Hello again,

I'm getting this error:

-
Hi. This is the qmail-send program at 209.162.131.139.
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.

:
Sorry, no mailbox here by that name. (#5.1.1)
-

... when trying to send to one on my domain alias's.  I was hoping that I
could just add .qmail-mojo-jk to my forwarding alias that contained the
text jbobo that referred to a local account, but it doesn't appear to
work.  Is there any way with virtual hosting to not have to setup a local
account for each email alias the customer wants?  ( Besides vpop )


Details available at:

http://das1.ioactive.com/~joshp/bulkmsg/qmail-forward.html

Thank you for the help,


Josh



RE: What MUA do you use?

2000-01-04 Thread Dustin Miller

Is it exmh that made that 0-byte attachment to your message? :)

-Original Message-
From: Chris Garrigues [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 6:28 PM
To: [EMAIL PROTECTED]
Cc: QMail List
Subject: Re: What MUA do you use?


> From:  Bill Ataras <[EMAIL PROTECTED]>
> Date:  Tue, 04 Jan 2000 15:53:34 PST
>
>
>
> Just curious what people are using to read/send mail from X. I was using
> netscape (SMTP/POP) that came with my redhat dist, but wanted something
> with more features (multiple POP accts, filtering etc). I've been playing
> with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
> guys are using. Now that I have an industrial strength mail server (qmail)
> I'd like a really good MUA. Maybe to help me use different mail accounts
> for different maillists and for usenet etc etc. Have you found a good mail
> client that will let you live on multiple maillists, usenet, spam/filter
> yada yada?

exmh.  It's clearly a "hacker" program in that it's usability is a bit rough
in places, but it has incredible geek functionality and I could never manage
all
my mailboxes with any other package.  I seem to have 178 mailboxes at the
moment:

cat .qmail*| grep rcvstore|sort|uniq|wc -l

I've never used it with POP, but it has everything else you ask for.  I
think
people who use POP with exmh use fetchmail or something like that.

It also came with your redhat distribution, although there's a newer version
out now.

Chris

--
Chris Garrigues virCIO
http://www.DeepEddy.Com/~cwg/   http://www.virCIO.Com
+1 512 432 4046 +1 512 374 0500
4314 Avenue C
O-  Austin, TX  78751-3709


  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.





RE: What MUA do you use?

2000-01-04 Thread Dustin Miller

Absolutely right, MICROS~1 Outlook 200 reported it as 0K, that's stupid.

At any rate, is it normal for a PGP signature to be made as an attachment
nowadays?  I guess I'm behind the times there. :P

Dustin

-Original Message-
From: Ruben van der Leij [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 8:00 PM
To: Dustin Miller
Subject: Re: What MUA do you use?


On Tue, Jan 04, 2000 at 07:55:57PM -0600, Dustin Miller wrote:

> Is it exmh that made that 0-byte attachment to your message? :)

You mean the 238 bytes that contain his PGP-sig? I can see them just fine.
It even is a valid PGP-sig.

--
Ruben

--

** FATAL ERROR! HIT ANY USER TO CONTINUE! **




Re: What MUA do you use?

2000-01-04 Thread Chris Garrigues

> From:  "Dustin Miller" <[EMAIL PROTECTED]>
> Date:  Tue, 4 Jan 2000 19:55:57 -0600
>
> Is it exmh that made that 0-byte attachment to your message? :)

No it was outlook that interpreted a digital signature as a 0-byte attachment. 
;-)

Chris


> -Original Message-
> From: Chris Garrigues [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 04, 2000 6:28 PM
> To: [EMAIL PROTECTED]
> Cc: QMail List
> Subject: Re: What MUA do you use?
> 
> 
> > From:  Bill Ataras <[EMAIL PROTECTED]>
> > Date:  Tue, 04 Jan 2000 15:53:34 PST
> >
> >
> >
> > Just curious what people are using to read/send mail from X. I was using
> > netscape (SMTP/POP) that came with my redhat dist, but wanted something
> > with more features (multiple POP accts, filtering etc). I've been playing
> > with "spruce" (check freshmeat). Its pretty good. But I'm curious what yo
> u
> > guys are using. Now that I have an industrial strength mail server (qmail
> )
> > I'd like a really good MUA. Maybe to help me use different mail accounts
> > for different maillists and for usenet etc etc. Have you found a good mai
> l
> > client that will let you live on multiple maillists, usenet, spam/filter
> > yada yada?
> 
> exmh.  It's clearly a "hacker" program in that it's usability is a bit roug
> h
> in places, but it has incredible geek functionality and I could never manag
> e
> all
> my mailboxes with any other package.  I seem to have 178 mailboxes at the
> moment:
> 
> cat .qmail*| grep rcvstore|sort|uniq|wc -l
> 
> I've never used it with POP, but it has everything else you ask for.  I
> think
> people who use POP with exmh use fetchmail or something like that.
> 
> It also came with your redhat distribution, although there's a newer versio
> n
> out now.
> 
> Chris
> 
> --
> Chris Garrigues virCIO
> http://www.DeepEddy.Com/~cwg/ http://www.virCIO.Com
> +1 512 432 4046 +1 512 374 0500
>   4314 Avenue C
> O-Austin, TX  78751-3709
> 
> 
>   My email address is an experiment in SPAM elimination.  For an
>   explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
> 
> Nobody ever got fired for buying Microsoft,
>   but they could get fired for relying on Microsoft.
> 
> 
> 

-- 
Chris Garrigues virCIO
http://www.DeepEddy.Com/~cwg/   http://www.virCIO.Com
+1 512 432 4046 +1 512 374 0500
4314 Avenue C
O-  Austin, TX  78751-3709


  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: Local bounces vs. VERP

2000-01-04 Thread Russell Nelson

Pavel Kankovsky writes:
 > And it bounces to "user-bounce-@hostname"

Yup.  When the VERP part is empty, then you know that it's an QSBMF,
but Qmail's Bounce Message Format is Simple to Parse.  What's the big
deal?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



ANNOUNCE: getmail v.0.94, a 'fetchmail' replacement]

2000-01-04 Thread Charles Cazabon

Slightly off-topic (flames in private mail, please), but applicable to  
qmail users:
 
getmail 0.94 is now available from 
http://www.qcc.sk.ca/~charlesc/software/getmail/
 
getmail is intended as a simple replacement for fetchmail, for those who
don't need all of its various features, configuration options, and bugs.
It retrieves mail only from POP3 servers, and delivers reliably to Maildirs.
mbox delivery has been added as of v.0.94.

It is written in Python and released under the GPL version 2.
 
It can retrieve all mail, or only unread messages, from an unlimited number
of POP3 mailboxes on one or more POP3 servers.  Configuration and usage is
straightforward and simple.  getmail does not yet support delivery to
different users per message from a single POP3 mailbox ('domain mailbox'
or 'multidrop mailbox'). 
 
Any questions, feedback, etc, is greatly appreciated, but should be done
in private email.

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



Re: What MUA do you use?

2000-01-04 Thread Diego A. Puertas F.

Pine. It has mail filtering, multiple POP-IMAP mailbox handling, ligth
memory useage (unlike Netscape, Eudora, ...), very easy to use, plenty of
configuration features and pretty decent address book. It has a feature I
have not seen in any other MUA, you can define a set of roles, that means
you can asume a given rol (Postmaster, friend, relative) and have a
diferent return address, name and signature for every role.

It's not an X application (although you can use the mouse on X), but is
heavy weight, relaible, plenty of features and easy to use.

The only handicap I have seen in pine is the fact that for POP acounts
does not keep the state of the remotes mailboxes (i.e. allready read
mesages).

Diego

PD: Happy new year for all the people on the list.



Re: 7 bit ascii & qmail

2000-01-04 Thread Sam

Matthew Brown writes:


> > > 2) Nobody else implements the standard correctly
> >
> > I wouldn't say that.
> 
> For nobody, substitute 'almost nobody'.  Sendmail, the most popular MTA on
> the Internet, does not implement the standard correctly.  Qmail does not.
> Exim does not.  I'm sure many others do not.
> 
> The difference is that sendmail makes a halfhearted attempt at compliance,
> and qmail doesn't.

Agreed.  Now, which one would you rather have?

> > The correct way to handle that is to reject them in the first place.
> 
> Are you seriously suggesting that, for the sake of these saintly, antiquated
> 7 bit only mailservers, we should drop people's emails on the floor?

No, and that's the whole point.  If you forward it along without encoding
it as quoted-printable, it *WILL* be dropped on the floor.

> Also, let me put it this way: is there any MTA out there that only accepts
> 7bit mail that should not be upgraded for many other reasons?

Yes.  aol.com.  As long as their 7bit mail relay handles almost a hundred
million messages per day, I think it's pretty safe to say that it does its
job as it should.

It's possible that AOL's mail relays will properly handle transparent 8bit
mail now, I really don't know. But even if they do, if they suddenly decide
that they want to make their relays fully RFC-compliant, they're going to
do it, and they will start dropping your non-compliant mail on the floor,
whether you like it, or not.  And there's not a damn thing you will be able
to do about it.


-- 
Sam



Re: What MUA do you use?

2000-01-04 Thread Mark E. Drummond

Communicator. Spawning a browser to view some goofballs HTML mail, which
I receive a lot of, is a pain in the ass. Lacks some of the features I
was used to in mutt and pine, not nearly as configurable, doesn't do
pgp/gpg, I use a Verisign cert for now, but overall it has reduced my
headaches and I have learned to live with the mssing features. Strictly
IMAP from work and home.

Personally I would prefer mutt or pine, but Communicator is our
officially supported product, so it also helps to use the same tool my
lusers are using. ;-(

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



Re: What MUA do you use?

2000-01-04 Thread Subba Rao

On  0, Bill Ataras <[EMAIL PROTECTED]> wrote:
> 
> 
> Just curious what people are using to read/send mail from X. I was using
> netscape (SMTP/POP) that came with my redhat dist, but wanted something
> with more features (multiple POP accts, filtering etc). I've been playing
> with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
> guys are using. Now that I have an industrial strength mail server (qmail)
> I'd like a really good MUA. Maybe to help me use different mail accounts
> for different maillists and for usenet etc etc. Have you found a good mail
> client that will let you live on multiple maillists, usenet, spam/filter
> yada yada?
> 
> 
> 

I use Mutt and like it very much.

Regarding a single MUA that deals with multiple mail accounts, using one
user account, I am not aware of one for Linux. Please correct me if I am
wrong. For Windows and OS/2, there are MUAs that can do that. On *nix, I haven't
heard of one. Probably Mutt might have that feature, among the zillion features it has.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com



Re: What MUA do you use?

2000-01-04 Thread Martin A. Brown

Well all,

I'm quite firmly with Josh and Diego.  Nothing beats the pine & ssh combo!

It's my preferred mailreader/newsreader.

However, for composing seven-hundred (exaggeration) messages
simultaneously under X (at work) where bandwidth to the IMAP/POP3
server(s) is no big deal, I like to use tkrat, which (incidentally, Subba)
supports multiple IMAP and multiple POP3 accounts simultaneously.

Although it's UI is a bit plain (TK-based), the functionality is solid and
reliable.  "The Rat" as we call it at work is "very" configurable.
Multiple accounts on IMAP servers, and POP3 servers...I believe it also
supports local Maildirs (though I won't swear to that).

"The Rat" also allows you to "forge" the headers for some primitive
support for roles (which pine, admittedly does very well).

There's even an offshoot of TKRat called Postilion, which is a bit less
stable, but has a nicer interface, and provides better support for
"roles".

By the way, the newest version of TkRat is not too stable.YMMV

Best of luck,

-Martin

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
On Tue, 4 Jan 2000, Subba Rao wrote:

:On  0, Bill Ataras <[EMAIL PROTECTED]> wrote:
:> 
:> 
:> Just curious what people are using to read/send mail from X. I was using
:> netscape (SMTP/POP) that came with my redhat dist, but wanted something
:> with more features (multiple POP accts, filtering etc). I've been playing
:> with "spruce" (check freshmeat). Its pretty good. But I'm curious what you
:> guys are using. Now that I have an industrial strength mail server (qmail)
:> I'd like a really good MUA. Maybe to help me use different mail accounts
:> for different maillists and for usenet etc etc. Have you found a good mail
:> client that will let you live on multiple maillists, usenet, spam/filter
:> yada yada?
:> 
:> 
:> 
:
:I use Mutt and like it very much.
:
:Regarding a single MUA that deals with multiple mail accounts, using one
:user account, I am not aware of one for Linux. Please correct me if I am
:wrong. For Windows and OS/2, there are MUAs that can do that. On *nix, I haven't
:heard of one. Probably Mutt might have that feature, among the zillion features it 
:has.
:
:Subba Rao
:[EMAIL PROTECTED]
:http://pws.prserv.net/truemax/
:
: => Time is relative. Here is a new way to look at time. <=
:http://www.smcinnovations.com
:



creating new users

2000-01-04 Thread Franklin A Hays


I am trying to create new users on my system (qmail/intel Linux) and
having trouble.  searched the archives and wasn't able to really find help
to the detail that I need.  There was a shell script at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/05/msg00243.html
designed to create new users yet figure there is an easier way, and one in
herent to qmail (qmail-newu?)  Do I need a seperate script to generate
users/assign? Everything I have done with qmail today has been specific to
my account following the install (with Dave Sill and LWQ's gracious help).  

Now, I want to create new users on the same box and could use some help.

Thanks in advance...
/frank

--- 
frank(at)osucau.okstate.edu
http://osucau.okstate.edu/~frank

"The best thing about graduating from the university was that I finally
had time to sit on a log and read a good book."
--Edward Abbey 
---



Re: What MUA do you use?

2000-01-04 Thread Mikko Hänninen

Bill Ataras <[EMAIL PROTECTED]> wrote on Tue, 04 Jan 2000:
> Just curious what people are using to read/send mail from X.

Mutt running in an aterm, formerly in xterm.  Simply incredibly powerful
and configurable.  Superb support for mailing lists (Does any other MUA
have a "list reply" function? I don't know, but they should.) and
multiple incoming mail folders.  Email threading.  Native support for
Maildirs, of course.

For POP support, I'd use fetchmail, or some alternative.
procmail for the filtering (maildrop would work just as well).
No news support in Mutt, though there's patches available for that
(I don't know how good they are, but I guess some people use them).


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Today's subliminal message is " "



Does qmail-local run more than 1 simultaneous instance?

2000-01-04 Thread Bill Ataras



Anyone know if more the one instance of qmail-local can be run
simultaneously?

Need to know this to have .qmail-* run a magic program to deliver mail to a
sql table. Don't want to flood mysql with too many connections.

thanks



Re: Does qmail-local run more than 1 simultaneous instance?

2000-01-04 Thread Ram Prasad

How do I start Qmail. Also How do I know how it is running. 




virtual domains.

2000-01-04 Thread Rich Stock




I am somewhat new to qmail, but i have 
successfully(for the most part anyhow) setup qmail on a couple servers,  It 
so far has been easy to install and maintain.
However when i decided i would like to setup 
virtual domains I feel I dont really understand how or why qmail works the way 
it does, and how i can get it to work the way i would like(or something close to 
the way i would like).  I am writing this with the hope that someone will 
know what i need to do to get qmail completely setup the way I 
envision. 
 
I would like qmail to handle virtual 
domains by putting mail from a virtualdomain that ~user owns in 
~user/mail/somevirtualpopuser instead of vpopmail having directories for each 
domain under its sub directory
i could care less if the ~user even owns the mail 
directory, i more or less would like a quota limitation on mail in a per-domain 
basis so that all users wouldn't suffer (as much) it someone got their domain 
email bombed or something else which would have the same effect.  then i 
would like qmail-pop3d to check to what domain a pop3 connection request was 
issued to (sortof like wu-ftpd will with virtual ftp servers and chroot to 
the directory of the user that owns the domain the request came 
for) so it could only serve mail for users@thatdomain and unlike vchkpw 
where you enter the user%domain to login you just have the pop client configured 
to get mail from your domain, and you wouldn't need any special user 
names.
 
but im not picky, and could just do symbolic links 
or something to get the virtualdomains mail to their users directories that own 
them. any suggestions that anyone may have, probably short of learning c(because 
i need a sort of quick fix) would be appriciated.  feedback as to why this 
would be dumb/impractical is also welcome.
 
-Rich Stock


Re: What MUA do you use?

2000-01-04 Thread Faried Nawaz

Bill Ataras wrote:

  Just curious what people are using to read/send mail from X.

XEmacs.  It'll do all you want and more (much, much more).