qmail Digest 13 Jan 2000 11:00:01 -0000 Issue 879

Topics (messages 35343 through 35412):

Re: MUA's compatible with Maildir
        35343 by: Stephen Mills
        35344 by: Benjamin de los Angeles Jr .
        35345 by: Stephen Mills

spam filters
        35346 by: Tonino Greco
        35353 by: Len Budney
        35389 by: Irwan Hadi
        35390 by: Irwan Hadi
        35399 by: cmikk.uswest.net

Re: MUA's, Maildir and folder formats
        35347 by: Len Budney
        35351 by: Lorens Kockum
        35352 by: petervd.vuurwerk.nl
        35354 by: Len Budney
        35361 by: Russell Nelson
        35363 by: Len Budney
        35378 by: Jeff Hayward
        35391 by: Sam
        35392 by: petervd.vuurwerk.nl
        35393 by: Sam
        35394 by: Scott Lystig Fritchie
        35395 by: Sam
        35397 by: Sam

Re: Maildir format
        35348 by: Len Budney

qmail
        35349 by: chowgule.bom2
        35365 by: Robert Varga

Re: PGP Server authentication and DUL list
        35350 by: Len Budney
        35357 by: Dave Sill
        35385 by: Andy Bradford

Hore to make copies of incoming mail for a given user
        35355 by: Gordon Harriott
        35367 by: George Cox
        35368 by: Greg Owen
        35374 by: Dustin Miller

Open relay??
        35356 by: Tonino Greco
        35362 by: Dave Sill
        35364 by: H�ffelin Holger

Re: Question regarding rcpthosts mechanics
        35358 by: Dave Sill
        35359 by: Tonino Greco
        35360 by: Dave Sill

Re: Mail?
        35366 by: Rogerio Brito

SMTP status: 256?
        35369 by: Benjamin de los Angeles Jr .
        35371 by: Dave Sill
        35372 by: Russell Nelson
        35381 by: Benjamin de los Angeles Jr .
        35382 by: Jeff Hayward
        35384 by: Scott Schwartz
        35398 by: Troy Morrison
        35400 by: Benjamin de los Angeles Jr .
        35401 by: Anand Buddhdev

When does qmail append defaultdomain?
        35370 by: Fred Backman
        35373 by: Dave Sill
        35376 by: Fred Backman
        35379 by: Fred Backman
        35380 by: Dave Sill

Re: Contents of .qmail
        35375 by: Anthony DeBoer
        35377 by: Russell Nelson

Re: Mail queue
        35383 by: Faried Nawaz

Help with EZmlm
        35386 by: Joseph Malinowski
        35387 by: Daniel Mattos

SYSLOG information from QMAIL-SMTP
        35388 by: Dr. Erwin Hoffmann

"localhost.localdomain" appears in return-path
        35396 by: tcollins.terencecollins.com

Virtual Domain does not receive mails
        35402 by: pcworld
        35403 by: Josh Pennell

Re: No mailbox here by that name
        35404 by: Hans Sandsdalen

Virtual Domains Mails cannot be retrieved
        35405 by: john
        35406 by: Alexander Jernejcic
        35407 by: Alexander Jernejcic
        35408 by: Alexander Jernejcic
        35411 by: Roland Pelzer
        35412 by: Roland Pelzer

Lamers man page question
        35409 by: pyro pyro9n
        35410 by: John P. Looney

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]


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


The question you should ask is which MUA isnt supported :)

The popular ones are :
Pine is supported via patches
Elm is supported via looping formats
Mutt has native support
Mew has native support

--Stephen

On Wed, 12 Jan 2000, Kristina wrote:

> Life-with-qmail talks says that the Maildir format has less
> MUA support.  Which MUA's are not compatible with the
> Maildir format? 
> 
> Thankyou,
> Kristina
> 
> 





But if you're using POP3, you just need to use qmail-pop3d to
interface with Maildir and you can use any MUA and access your
e-mail thru POP3.

On Wed, Jan 12, 2000 at 10:18:59PM +1100, Stephen Mills wrote:
> The question you should ask is which MUA isnt supported :)
> 
> The popular ones are :
> Pine is supported via patches
> Elm is supported via looping formats
> Mutt has native support
> Mew has native support
> 
> --Stephen
> 
> On Wed, 12 Jan 2000, Kristina wrote:
> 
> > Life-with-qmail talks says that the Maildir format has less
> > MUA support.  Which MUA's are not compatible with the
> > Maildir format? 
> > 
> > Thankyou,
> > Kristina
> > 
> > 
> 

-- 
=--------------------------------
_/ Benjamin M. de los Angeles Jr.                       (632) 753-3217  _/
_/ Surf Shop Inc., System Administrator   UG1 Herrera Tower, Makati PH  _/
                                          -------------------------------=
"Given enough eyeballs, all bugs are shallow." - Linus' Law




Sorry, forgot to mention that (!)

--Stephen

On Wed, 12 Jan 2000, Benjamin de los Angeles Jr . wrote:

> But if you're using POP3, you just need to use qmail-pop3d to
> interface with Maildir and you can use any MUA and access your
> e-mail thru POP3.
> 





Hi,

I would like to know how to get spam filters set up?  I have installed
rblsmtp and it is running  - but it does not seem to be blocking??

Is there some documentation I am missing??

Thanks in advance

--Tonino




Tonino Greco <[EMAIL PROTECTED]> wrote:
> 
> I would like to know how to get spam filters set up?

RBL blocks mail from domains which either 1) have been reported for
relaying spam, or 2) are willing to relay _any_ mail, which of course
includes spam. Using RBL blocks some spam, and some legitimate mail. The
point is to put social pressure on bad Internet citizens.

> I have installed rblsmtp and it is running  - but it does not seem to
> be blocking??

How do you know? Do you mean that mail from a blacklisted domain is
getting through? Or do you mean that you are still receiving spam?

Understand: you will not prevent all spam from reaching you. Spammers
try to make their mail look exactly like "good" email: _you_ can tell
the difference, but often your _computer_ can't.

Ad hoc filters, can trap some spam. Stricter filters, more spam. BUT
strict filters will throw away legitimate email. Some examples:

  1. Messages whose headers violate RFC 822 (can discard good mail)
  2. Blind carbon copies (_will_ discard mailing list postings)
  3. Messages with all-caps subjects (might discard good mail)
  4. Messages with exclamation marks in subjects ("You're an uncle!!!!!")
  5. Messages with "unsubscription information" inside (probably OK)
  6. Mail with "money" or "$" in the subject ("We got the deal! Big money!")
  7. Mail from anyone not on your "approved" list
  8. Mail which doesn't contain the day's password in the subject
  9. Mail containing any word in a dictionary of bad words
  ...

Only you can decide whether to shoot in self-defense; it's only your
problem if in so doing you shoot your daughter.

Len.


--
You seem to think that spam is a pattern-recognition problem. It isn't.
You're ignoring the anti-fax effect: anti-spam rules become useless when
enough people start using them. Spammers adapt.
                                -- Dan Bernstein




At 13:59 12/01/2000 +0200, Tonino Greco wrote:
>Hi,
>
>I would like to know how to get spam filters set up?  I have installed
>rblsmtp and it is running  - but it does not seem to be blocking??

I think you should subscribe another service from mail-abuse.org beside
RBL, like RSS (Relay Spam Stopper), and DUL (Dial Up User List).
AFAIK the more service you subscribe the lesser spam you got, because
usually spammer use open relay mail server, and the place to submit open
relay mail server to be banned is RSS and ORBS

PS: how to do that using rblsmtpd ?
-------
AFLHI 058009990407128029/089802---(102598//991024)




At 13:59 12/01/2000 +0200, Tonino Greco wrote:
>Hi,
>
>I would like to know how to get spam filters set up?  I have installed
>rblsmtp and it is running  - but it does not seem to be blocking??

I think you should subscribe another service from mail-abuse.org beside
RBL, like RSS (Relay Spam Stopper), and DUL (Dial Up User List).
AFAIK the more service you subscribe the lesser spam you got, because
usually spammer use open relay mail server, and the place to submit open
relay mail server to be banned is RSS and ORBS

PS: how to do that using rblsmtpd ?
-------
AFLHI 058009990407128029/089802---(102598//991024)





On Sun, 09 Jan 2000 19:13:49 -0700 , Irwan Hadi writes:
> At 13:59 12/01/2000 +0200, Tonino Greco wrote:
> >Hi,
> >
> >I would like to know how to get spam filters set up?  I have installed
> >rblsmtp and it is running  - but it does not seem to be blocking??
> 
> I think you should subscribe another service from mail-abuse.org beside
> RBL, like RSS (Relay Spam Stopper), and DUL (Dial Up User List).
> AFAIK the more service you subscribe the lesser spam you got, because
> usually spammer use open relay mail server, and the place to submit open
> relay mail server to be banned is RSS and ORBS

The more services you subscribe to, also, the more
legitimate mail you reject.  You will reject tons
of legitimate mail with ORBS, since ORBS lists
multi-level relays.  Thus, every ISP which does not
implement the ORBS-approved anti-spam policy (i.e.
either subscribe to ORBS, or block all port 25
traffic to customers) can have their customer relays
listed in ORBS.

Using ORBS as a blacklist is fine for your personal
mail, or for an "internal mail only" server (e.g. in
a fascist workplace), but is pretty irresponsible
otherwise, IMNSHO.

To be fair, ORBS is a great tool for nominating spam
relays to the RSS ;-)
 
> PS: how to do that using rblsmtpd ?

With stock rblsmtpd, you chain the rblsmtpds:

rblsmtpd -rrbl.maps.vix.com rblsmtpd -rrelays.mail-abuse.org \
  rblsmtpd -rdul.maps.vix.com rblsmtpd -rrelays.orbs.org \
    rblsmtpd -rin-addr.arpa qmail-smtpd

However, with the multi-rbl patch (mentioned a few days ago on
this list), you can specify multiple blacklists as multiple -r
arguments, as in:

rblsmtpd -rrbl.maps.vix.com -rrelays.mail-abuse.org \
 -rdul.maps.vix.com qmail-smtpd

-- 
Chris Mikkelson  | Quidquid latine dictum sit, altum viditur
[EMAIL PROTECTED] | 




Kristina <[EMAIL PROTECTED]> wrote:
>
> Which MUA's are not compatible with the Maildir format?

Stephen Mills mentioned pine, elm, mutt and mew. He missed pgnus, and
maybe other MUAs.

But "MUA support of Maildir" can mean two things. It can mean that the
mailer allows _folders_ to be maildirs, or it can mean that the mailer
allows _spools_ to be maildirs. AFAICT all mailers (except possibly
mutt) take the latter approach. They receive mail _from_ maildirs _into_
their native folders.

FWIW, Dan once argued that maildirs are good as spools, but not great as
folders. He suggested that a folder be a single file, with each message
compressed separately, plus an index file locating the start of each
message. It's a pretty good suggestion. Does any mailer support anything
like this?

On the other hand, I have thought maildir a _good_ folder format; it
tolerates asynchronous updates very well. In the past my practice involved
1) mail incorporated asynchronously, 2) me using an emacs MUA, and 3) me
using a CLI from home, possibly with emacs still running at work.

The only format flexible and resilient enough for all that is mh-mail.
Does anyone know something better?

Len.


--
This thread is cross-posted to comp.security.unix, where we take a dim
view of ignorant programmers writing security-critical software.
                                -- Dan Bernstein




On the qmail list [EMAIL PROTECTED] wrote:
>On the other hand, I have thought maildir a _good_ folder format; it

It is deathly slow on big folders.  When you want to get the
subject of all the mails, for example, it still has to open and
read every single mail.  I think a seperate index file would be
a good idea, shouldn't be too hard to do correctly.





On Wed, Jan 12, 2000 at 12:38:55PM -0000, Lorens Kockum wrote:
> On the qmail list [EMAIL PROTECTED] wrote:
> >On the other hand, I have thought maildir a _good_ folder format; it
> 
> It is deathly slow on big folders.  When you want to get the
> subject of all the mails, for example, it still has to open and
> read every single mail.  I think a seperate index file would be
> a good idea, shouldn't be too hard to do correctly.

That would require locking, which goes against the Maildir-philosophy.

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




[EMAIL PROTECTED] wrote:
> On Wed, Jan 12, 2000 at 12:38:55PM -0000, Lorens Kockum wrote:
> > On the qmail list [EMAIL PROTECTED] wrote:
> > >On the other hand, I have thought maildir a _good_ folder format; it
> > 
> > It is deathly slow on big folders.

True. Then again, many mbox clients are also deathly slow--around 1,000
messages, VM under emacs becomes intolerable (it's part of why I switched
to MH; bad or not, it scaled better).

> > I think a seperate index file would be a good idea, shouldn't be
> > too hard to do correctly.
> 
> That would require locking, which goes against the Maildir-philosophy.

It would not require locking unless messages are archived asynchronously,
which they need not be.

The maildir philosophy is for _safe spooling_. Lorens is replying to
my post about _efficient archival_.

Len.


--
Security through obscurity, without the obscurity.
                                -- Dan Bernstein




Len Budney writes:
 > FWIW, Dan once argued that maildirs are good as spools, but not great as
 > folders.

What if you want mail to be deliverable into folders, using extensions?

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




Russell Nelson <[EMAIL PROTECTED]> wrote:
> Len Budney writes:
>  > FWIW, Dan once argued that maildirs are good as spools, but not great as
>  > folders.

Misquote alert! My fault! Dan didn't say that maildirs are "not great
as folders". I don't have the exact quote, but what he said was that
maildir was never intended as a format for message archival. I don't
think Dan defined "archival", but I believe he meant long-term storage,
with maildir as the folder structure for recent messages.

Pardon me for conflating "recent messages" with "spooling"; I badly
overstated what Dan actually said.

> What if you want mail to be deliverable into folders, using extensions?

Maildir is of course the way to go.

As I remember it, Dan was suggesting that an archival format should
save space [and inodes], and allow faster mailbox scanning. The format
he alluded to accomplishes this.

For asynchrony, maildir rules the world. But uses space and inodes, and
scans slowly.

A hybrid solution, involving both, would be highly desirable.

Len.


--
There are two people at fault in every computer security breach: the
attacker, and the programmer who let him in.
                                -- Dan Bernstein




On Wed, 12 Jan 2000 [EMAIL PROTECTED] wrote:

  > read every single mail.  I think a seperate index file would be
  > a good idea, shouldn't be too hard to do correctly.
  
  That would require locking, which goes against the Maildir-philosophy.

No locking required.  Think of the index file as a cache, incrementally
refreshed when necessary.

-- Jeff Hayward  





On 12 Jan 2000, (Lorens Kockum) wrote:

> On the qmail list [EMAIL PROTECTED] wrote:
> >On the other hand, I have thought maildir a _good_ folder format; it
> 
> It is deathly slow on big folders.  When you want to get the
> subject of all the mails, for example, it still has to open and
> read every single mail.  I think a seperate index file would be
> a good idea, shouldn't be too hard to do correctly.

Or, you need an intelligent IMAP client.  Pine, for example, never asks
for all the headers at the same time.  It will only ask for headers for 20
messages at a time, only as many as necessary to show the current section
of the folder index.

 --
Sam





On Wed, Jan 12, 2000 at 06:27:59PM -0500, Sam wrote:
> On 12 Jan 2000, (Lorens Kockum) wrote:
> 
> > On the qmail list [EMAIL PROTECTED] wrote:
> > >On the other hand, I have thought maildir a _good_ folder format; it
> > 
> > It is deathly slow on big folders.  When you want to get the
> > subject of all the mails, for example, it still has to open and
> > read every single mail.  I think a seperate index file would be
> > a good idea, shouldn't be too hard to do correctly.
> 
> Or, you need an intelligent IMAP client.  Pine, for example, never asks
> for all the headers at the same time.  It will only ask for headers for 20
> messages at a time, only as many as necessary to show the current section
> of the folder index.

The same intelligence could be applied to Maildir, obviously.

But since most MUAs like to sort messages for you, they have to read them
all anyway...

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




On Wed, 12 Jan 2000, Len Budney wrote:

> As I remember it, Dan was suggesting that an archival format should
> save space [and inodes], and allow faster mailbox scanning. The format
> he alluded to accomplishes this.
> 
> For asynchrony, maildir rules the world. But uses space and inodes, and
> scans slowly.

Perhaps that's true on some some platform that uses a substandard
filesystem.  The default allocation of the Linux ext2 filesystem suits
Maildirs just fine.  And I can't wait to see what ext3 will do...

--
Sam





>>>>> "s" == Sam  <[EMAIL PROTECTED]> writes:

s> On Wed, 12 Jan 2000, Len Budney wrote:
>> For asynchrony, maildir rules the world. But uses space and inodes,
>> and scans slowly.

s> Perhaps that's true on some some platform that uses a substandard
s> filesystem.  The default allocation of the Linux ext2 filesystem
s> suits Maildirs just fine.  And I can't wait to see what ext3 will
s> do...

The default policy for ext2 is to perform directory updates
asynchronously.  That's great for performance, but not so great if
you're concerned about file loss in an ugly crash.  I have no idea how
close that ext3's performance, with its log enabled, will come to
ext2's async behavior.

-Scott
---
Scott Lystig Fritchie
Professional Governing: Is It Faked?




On Thu, 13 Jan 2000 [EMAIL PROTECTED] wrote:

> On Wed, Jan 12, 2000 at 06:27:59PM -0500, Sam wrote:
> > On 12 Jan 2000, (Lorens Kockum) wrote:
> > 
> > > On the qmail list [EMAIL PROTECTED] wrote:
> > > >On the other hand, I have thought maildir a _good_ folder format; it
> > > 
> > > It is deathly slow on big folders.  When you want to get the
> > > subject of all the mails, for example, it still has to open and
> > > read every single mail.  I think a seperate index file would be
> > > a good idea, shouldn't be too hard to do correctly.
> > 
> > Or, you need an intelligent IMAP client.  Pine, for example, never asks
> > for all the headers at the same time.  It will only ask for headers for 20
> > messages at a time, only as many as necessary to show the current section
> > of the folder index.
> 
> The same intelligence could be applied to Maildir, obviously.
> 
> But since most MUAs like to sort messages for you, they have to read them
> all anyway...

Like Netscape Messenger, for example, which will cache the headers
locally.

--
Sam





On Wed, 12 Jan 2000, Scott Lystig Fritchie wrote:

> >>>>> "s" == Sam  <[EMAIL PROTECTED]> writes:
> 
> s> Perhaps that's true on some some platform that uses a substandard
> s> filesystem.  The default allocation of the Linux ext2 filesystem
> s> suits Maildirs just fine.  And I can't wait to see what ext3 will
> s> do...
> 
> The default policy for ext2 is to perform directory updates
> asynchronously.  That's great for performance, but not so great if
> you're concerned about file loss in an ugly crash.

Not me.  There are only two ways that filesystem corruption can result:

1) A kernel crash
2) A power loss

The latter is resolved via an investment into a $99 UPS.  The former is
not something the kernel is known for.  It is yet to happen to me in the
production environment.

--
Sam





Kristina <[EMAIL PROTECTED]> wrote:
> 
> Do I need a .qmail file to configure the maildir format.

No. If you make "./Maildir/" the default delivery instruction, then
it will work even if nobody has a .qmail file.

BUT! qmail can _deliver to_ a maildir. It can't _create_ a maildir.
For existing users, you must do the following (as root):

  > su - ~USER
  > /var/qmail/bin/maildirmake Maildir

You can arrange for new users to get a maildir automatically. Just create
a maildir in /etc/skel (or wherever your system keeps its home-directory
template).

Len.


--
I'm not going to spend code space blindly duplicating sendmail features.
                                -- Dan Bernstein, author of qmail




dear sir,
 
i facing some prob with qmail . the prob is i want send unknown local user to another smtp server without doing any changes in header files.
 
means i got two location both got same domain. which is configure in qmail as local domain. so when x location send mess to y location then is try to send loacally . there should be do with .qmail-default but this useful when you got some other domain who received mail for your domain put in prop queue. pl tell me how
to send mess to unkown local user to another smtp server without changin cotains of rcpt to: [EMAIL PROTECTED] the same domain is locally but user is not here .
 
 
by
 
sachin sawant
 
 
 






On Wed, 12 Jan 2000, chowgule@bom2 wrote:

> dear sir, 
> 
> i facing some prob with qmail . the prob is i want send unknown local user to 
>another smtp server without doing any changes in header files.
> 
> means i got two location both got same domain. which is configure in qmail as local 
>domain. so when x location send mess to y location then is try to send loacally . 
>there should be do with .qmail-default but this useful when you got some other domain 
>who received mail for your domain put in prop queue. pl tell me how 
> to send mess to unkown local user to another smtp server without changin cotains of 
>rcpt to: [EMAIL PROTECTED] the same domain is locally but user is not here .
> 
> 
> by
> 
> sachin sawant
> [EMAIL PROTECTED]
> 

The problem is, what do you do with really non-existent users? It will
bounce between the two servers for a couple of time...

Robert Varga





"Subba Rao" <[EMAIL PROTECTED]> wrote:
> 
> ...to avoid the wrath of being rejected by the Dialup Users List (DUL)?

Has DUL rejection been a problem for you personally? In my own experience,
it hasn't. (My home machines do use a smarthost. My laptop does direct
SMTP, because changing smarthosts as I travel is a pain. Yes, that distorts
the statistics somewhat.)

If you are afraid of DUL, but have not actually seen it cause many bounces,
then you can try the following:

  1. Set your machine for direct SMTP delivery.

  2. When an email bounces, decide whether you care.
     * If no, do nothing. Perhaps tell the person why you won't write
       to them anymore.

     * If yes, add an smtproute for that domain through your smarthost.
       Perhaps tell them why their mail will experience delays (in my
       case, up to a week if I'm on the road).

  3. Using qmailanalog, estimate how much of _your_ mail is actually
     affected by this heavy-handed "spam fighting technique". Laugh
     to yourself.

Len.


--
I don't care what Keith does to messages that really _are_ spam. But I
am not willing to accept collateral damage from his anti-spam
software.
                                -- Dan Bernstein




Ruben van der Leij <[EMAIL PROTECTED]> wrote:

>On Tue, Jan 11, 2000 at 06:47:56PM -0500, Subba Rao wrote:
>
>> Is it possible for Qmail server to be authenticated using PGP key,
>> to avoid the wrath of being rejected by the Dialup Users List
>> (DUL)? Is there any mail server authentication procotol using
>> digital signature?
>
>Not easy. DUL is a modification to resolving IP-addressen, and you cannot
>change resolving depending on having a good key.

No, DUL doesn't modify the resolution of IP addresses. It uses the DNS
to distribute a database of dial-up addresses. The database is queried
by rblsmtpd, or equivalent.

-Dave




Thus said "Subba Rao" on Tue, 11 Jan 2000 18:47:56 EST:

> 
> Is it possible for Qmail server to be authenticated using PGP key, to avoid the 
>wrath of being
> rejected by the Dialup Users List (DUL)? Is there any mail server authentication 
>procotol using
> digital signature?
You might consider setting up some type of a VPN for all your 
clients---I guess this only works if they have a laptop of some 
sort---and allow 'roadwarrior' type connections to your VPN.  Then when 
they are authenticated to the network I would think that they could use 
your SMTP server.  Another solution might be to put up an SSL webpage 
with some type of web mail program... :-)
Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+






Is there anyway to get q-mail to make a copy of mail coming into the system for a given user, apart from making a .qmail file in the users directory. I have a couple of students who I suspect are acting up on my local machine. They have shell accounts on the server (in order to undertake their studies), and are cluey enough to use an ls-la now and again. Thus a .qmail file in their directory would allert them to the fact that a copy of their mail was being taken.
 
Have read all the documentation I can, but can't see any way to do this. Am I missing something obvious.
 
Also, in one of the other documents I found on the qmail archive there were two terms I didn't follow. One talked about symlinked files, and the other talked about recipientmap. Can't find anything about there in the qmail documentation.
 
Hope these questions aren't too dumb. Would value any enlightenment I can get.
 
Taa




On 12/01 23:11, Gordon Harriott wrote:

> Is there anyway to get q-mail to make a copy of mail coming into the
> system for a given user, apart from making a .qmail file in the users
> directory. I have a couple of students who I suspect are acting up on my
> local machine. 

'Acting up'?  What do you mean by that?  If you suspect they are trying to
exploit any vulnerabilities which may exist on the system in question, then
might I suggest there are more appropriate methods of detecting such
activity than reading their correspondence.


> They have shell accounts on the server (in order to undertake their
> studies), and are cluey enough to use an ls-la now and again. 

Woo hoo!  


> Thus a .qmail file in their directory would allert them to the fact that
> a copy of their mail was being taken.

This would probably be the worst course of action you could take, likely
aggravating enough for them to _really_ cause you bother. :-/  But then, if
you are the kind of sysadmin that would go intercepting people's email,
perhaps they are after you already.

best;


gjvc

-- 
[gjvc]
4.4BSD 4.ever!




On 12/01 23:11, Gordon Harriott wrote:
> Is there anyway to get q-mail to make a copy of mail coming
> into the system for a given user, apart from making a .qmail
> file in the users directory. I have a couple of students who
> I suspect are acting up on my local machine. 
 
        If you don't want them to notice, look into the QUEUE_EXTRA option
as described in the FAQ ("How do I keep a copy of all incoming and outgoing
mail messages?").  This will keep a log on a per-server, not per-user basis.
Any solution to track their mail on a per-user basis will probably show up
in the delivered-to field of their mail messages.

        You'll want to think through the legal ramifications of reading
users' email, of course.

        You will probably also find that scanning their email will not lead
to a satisfactory resolution to any "acting up" they're doing.

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





Please don't post messages like this -- you didn't answer his question.  It
isn't our place to judge the subscribers.  :)

Have a great day, and best of luck, Gordon!  Sorry I couldn't help!

Dustin

-----Original Message-----
From: George Cox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 12, 2000 9:34 AM
To: Gordon Harriott
Cc: [EMAIL PROTECTED]
Subject: Re: Hore to make copies of incoming mail for a given user


On 12/01 23:11, Gordon Harriott wrote:

> Is there anyway to get q-mail to make a copy of mail coming into the
> system for a given user, apart from making a .qmail file in the users
> directory. I have a couple of students who I suspect are acting up on my
> local machine.

'Acting up'?  What do you mean by that?  If you suspect they are trying to
exploit any vulnerabilities which may exist on the system in question, then
might I suggest there are more appropriate methods of detecting such
activity than reading their correspondence.


> They have shell accounts on the server (in order to undertake their
> studies), and are cluey enough to use an ls-la now and again.

Woo hoo!


> Thus a .qmail file in their directory would allert them to the fact that
> a copy of their mail was being taken.

This would probably be the worst course of action you could take, likely
aggravating enough for them to _really_ cause you bother. :-/  But then, if
you are the kind of sysadmin that would go intercepting people's email,
perhaps they are after you already.

best;


gjvc

--
[gjvc]
4.4BSD 4.ever!





Hi,

I have read somewhere that you can sen your SMTP server to only allow
mail from specific addresses???

If this is so - how do you allow from only part of an IP??? - is that
possible and if so HOW???


Many thanks in advance
--Tonino




[EMAIL PROTECTED] wrote:

>I have read somewhere that you can sen your SMTP server to only allow
>mail from specific addresses???

I don't know if you read that somewhere or not. How should I know?
It's certainly possible to restrcit access to your SMTP server.

>If this is so - how do you allow from only part of an IP??? - is that
>possible and if so HOW???

What do you mean by "part of an IP"? A subnet (range of IP's)? Worst
case, you can list them all.

-Dave




Look for tcpserver on qmail.org

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Tonino Greco
> Gesendet am: Mittwoch, 12. Januar 2000 14:38
> An: [EMAIL PROTECTED]
> Betreff: Open relay??
> 
> Hi,
> 
> I have read somewhere that you can sen your SMTP server to only allow
> mail from specific addresses???
> 
> If this is so - how do you allow from only part of an IP??? - is that
> possible and if so HOW???
> 
> 
> Many thanks in advance
> --Tonino
> 




"Gavin Cameron" <[EMAIL PROTECTED]> wrote:

> I'm looking for the best way to accept E-mail for a domain and any
>subdomains and hosts in that domain/subdomain. At the moment I list both
>example.com.au and .example.com.au in rcpthosts but there has to be a better
>way.

Why? What's so onerous about two entries per domain? What mechanism
would you propose that would allow:

 1) accepting mail only for *.example.com.au (and not example.com.au), 
    and

 2) accepting mail for both *.example.com.au and example.com.au?

And would it be "better" than the existing mechanism?

-Dave




Hi,

Would rcpthosts also work for IP numbers - CFmy message re: open relay?

--Tonino


> 
> "Gavin Cameron" <[EMAIL PROTECTED]> wrote:
> 
> > I'm looking for the best way to accept E-mail for a domain and any
> >subdomains and hosts in that domain/subdomain. At the moment I list both
> >example.com.au and .example.com.au in rcpthosts but there has to be a better
> >way.
> 
> Why? What's so onerous about two entries per domain? What mechanism
> would you propose that would allow:
> 
>  1) accepting mail only for *.example.com.au (and not example.com.au),
>     and
> 
>  2) accepting mail for both *.example.com.au and example.com.au?
> 
> And would it be "better" than the existing mechanism?
> 
> -Dave




[EMAIL PROTECTED] wrote:

>Would rcpthosts also work for IP numbers - CFmy message re: open relay?

RTFM. Start with "man qmail-control", which will point you to "man
qmail-smtp", which documents rcpthosts.

Hint: the answer is "no".

-Dave




On Jan 11 2000, John Gonzalez/netMDC admin wrote:
> Has anyone else seen a MAJOR decline in qmail related mail since the
> DNS 'switchover' -- is it just me?

        Join the party at <[EMAIL PROTECTED]>. :-)


        []s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current

2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256









"Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:

>Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
>
>2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256

The command that tcpserver ran returned an error status.

-Dave




Dave Sill writes:
 > "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
 > 
 > >Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
 > >
 > >2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
 > 
 > The command that tcpserver ran returned an error status.

I've seen it mean, in context, that qmail-smtpd is unable to fork
qmail-queue, even when below the per-child process limit.  But
hmmm....  Under Linux, does the limit apply all the way down and up?
Does tcpserver get charged with all the processes its children create?

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





I've got a perl script which attempts to use a Qmail smtp server here to
relay e-mail but I got this error status.  I tried the script with
Sendmail and there are no errors and the Perl-generated e-mail gets
delivered.  What could be the problem?  Does anyone has a Perl script
that managed to relay thru a Qmail server?

On Wed, 12 Jan 2000, Dave Sill wrote:

> "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
> 
> >Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
> >
> >2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
> 
> The command that tcpserver ran returned an error status.
> 
> -Dave
> 





On Wed, 12 Jan 2000, Benjamin de los Angeles Jr. wrote:
  
  Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
  
  2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
  
It can mean qmail-smtpd:

o       Timed out while reading or writing the net.
o       Received an error while reading or writing the net
o       Ran out of memory
o       Can't figure out its IP address
o       Saw a message with a stray newline
o       Can't read a control file

and possibly others.  Most common for my site are the first two.

-- Jeff Hayward
  
  
  





|  > >Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
|  > >2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
|  > 
|  > The command that tcpserver ran returned an error status.
| 
| I've seen it mean, in context, that qmail-smtpd is unable to fork
| qmail-queue, even when below the per-child process limit. 

It's too bad that qmail-smtpd can't log the details to stderr. 






Today, at 11:38am, Jeff Hayward said:

| On Wed, 12 Jan 2000, Benjamin de los Angeles Jr. wrote:
|   
|   Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
|   
|   2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
|   
| It can mean qmail-smtpd:
| 
| o     Timed out while reading or writing the net.
| o     Received an error while reading or writing the net
| o     Ran out of memory
| o     Can't figure out its IP address
| o     Saw a message with a stray newline
| o     Can't read a control file
| 
| and possibly others.  Most common for my site are the first two.

I would guess (since he got it from a CGI script trying to send mail via
SMTP) that qmail-smtpd saw a message with a stray newline.  (I used to get
this a lot when we switched over to qmail -- all of my CGI scripts that
send mail ran into it.)

You might look at

http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/03/msg00866.html

(although I chose instead to fix the offending CGI scripts).

Troy






What do you mean by stray newline?  Is it extra new line(s) i.e.
send S,"HELO\n\n",0 ?

On Wed, 12 Jan 2000, Troy Morrison wrote:

> 
> I would guess (since he got it from a CGI script trying to send mail via
> SMTP) that qmail-smtpd saw a message with a stray newline.  (I used to get
> this a lot when we switched over to qmail -- all of my CGI scripts that
> send mail ran into it.)
> 
> You might look at
> 
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/03/msg00866.html
> 
> (although I chose instead to fix the offending CGI scripts).
> 
> Troy
> 
> 





On Thu, Jan 13, 2000 at 01:32:29AM +0800, Benjamin de los Angeles Jr. wrote:
  
> I've got a perl script which attempts to use a Qmail smtp server here to
> relay e-mail but I got this error status.  I tried the script with
> Sendmail and there are no errors and the Perl-generated e-mail gets
> delivered.  What could be the problem?  Does anyone has a Perl script
> that managed to relay thru a Qmail server?

Use recordio to record the SMTP conversation between your perl script
and qmail-smtpd. Then you'll be able to find out what the problem really
is.

> On Wed, 12 Jan 2000, Dave Sill wrote:
> 
> > "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
> > 
> > >Does anyone knows the meaning of this line in /var/log/qmail/smtpd/current
> > >
> > >2000-01-12 23:34:54.119415500 tcpserver: end 20275 status 256
> > 
> > The command that tcpserver ran returned an error status.

-- 
See complete headers for more info




Two Qs:

1. Exactly when does qmail append the default domain name
(control/defaultdomain?) to a local recipient?
2. Can I force qmail to bounce if domain name is missing in
qmail-inject?

To clarify what I mean:
I do "echo to:fred | /var/qmail/bin/qmail-inject", and in the logs this
is displayed as "[EMAIL PROTECTED]", so where does qmail append the domain
name? I need qmail-inject (or any of the subsequent processes) to bounce
if the domain is missing, instead of appending defaultdomain. I think
it's being done on qmail-inject but does anyone know exactly how?

cheers
Fred





Fred Backman <[EMAIL PROTECTED]> wrote:

>1. Exactly when does qmail append the default domain name
>(control/defaultdomain?) to a local recipient?

qmail-inject appends it before injecting the message.

>2. Can I force qmail to bounce if domain name is missing in
>qmail-inject?

No, but you can set it to something like "no_domain_specified", which
will cause a bounce.

>To clarify what I mean:
>I do "echo to:fred | /var/qmail/bin/qmail-inject", and in the logs this
>is displayed as "[EMAIL PROTECTED]", so where does qmail append the domain
>name?

qmail-inject does that.

>I need qmail-inject (or any of the subsequent processes) to bounce
>if the domain is missing, instead of appending defaultdomain. I think
>it's being done on qmail-inject but does anyone know exactly how?

How? Read the code. I can't imagine why you'd need to know that,
though. Did you try reading the qmail-inject man page?

-Dave




Dave Sill wrote wrote:

> Fred Backman [EMAIL PROTECTED] wrote:
>
> >1. Exactly when does qmail append the default domain name
> >(control/defaultdomain?) to a local recipient?
>
> qmail-inject appends it before injecting the message.

Ok.

> >2. Can I force qmail to bounce if domain name is missing in
> >qmail-inject?
>
> No, but you can set it to something like "no_domain_specified", which
> will cause a bounce.

Will this affect anything else other than emails with missing domain?

> >I need qmail-inject (or any of the subsequent processes) to bounce
> >if the domain is missing, instead of appending defaultdomain. I think
> >it's being done on qmail-inject but does anyone know exactly how?
>
> How? Read the code. I can't imagine why you'd need to know that,
> though. Did you try reading the qmail-inject man page?

Basically, if you do

echo to:fred | /var/qmail/bin/qmail-inject

I want qmail to bounce saying something like "Missing domain." The only
solution I can see apart from what you suggested above is to hack the
code....

Thanks for the answer!
Fred





Actually, I just tried modifying /var/qmail/control/me to read
"no_domain_specified" and on one hand it worked fine bouncing back a
message when I tried this:

echo to:fred | /var/qmail/bin/qmail-inject

But the bounce came from MAILER-DAEMON@no_domain_specified, which is not
what I want. I also suspect any bounces will be sent from the same
address which will be very confusing.

If there is no other way, I guess I have to put on a hard hat and start
digging... :)

cheers
Fred




Fred Backman <[EMAIL PROTECTED]> wrote:

>Actually, I just tried modifying /var/qmail/control/me to read
>"no_domain_specified" and on one hand it worked fine bouncing back a
>message when I tried this:
>
>echo to:fred | /var/qmail/bin/qmail-inject
>
>But the bounce came from MAILER-DAEMON@no_domain_specified, which is not
>what I want. I also suspect any bounces will be sent from the same
>address which will be very confusing.
>
>If there is no other way, I guess I have to put on a hard hat and start
>digging... :)

mv /var/qmail/bin/qmail-inject /var/qmail/bin/qmail-inject.real
vi /var/qmail/bin/qmail-inject
 [write wrapper to validate addresses, then exec qmail-inject.real]
chmod 755 /var/qmail/bin/qmail-inject

-Dave




Russell Nelson <[EMAIL PROTECTED]> writes:
> ...  removes MIME
> the text/html part from a multipart/alternative message.
> 
> |bin/no-alternative

Is there any chance of this being opensource somewhere?  I was searching
www.qmail.org for a MIME-part-remover just the other day and didn't see
anything of that ilk.  'Twould be most useful.

Regards,
-- 
Anthony DeBoer <[EMAIL PROTECTED]>




Anthony DeBoer writes:
 > Russell Nelson <[EMAIL PROTECTED]> writes:
 > > ...  removes MIME
 > > the text/html part from a multipart/alternative message.
 > > 
 > > |bin/no-alternative
 > 
 > Is there any chance of this being opensource somewhere?  I was searching
 > www.qmail.org for a MIME-part-remover just the other day and didn't see
 > anything of that ilk.  'Twould be most useful.

#!/usr/bin/perl

while(<>) {
  $continuation = 0 if /^\S/;
  $continuation = 1 if m!^Content-Type: multipart/alternative;!i;
  $boundary = $1 if $continuation && /boundary="(.*?)"/;
  last if /^$/;
  $headers .= $_ unless $continuation;
}

# dispose of messages which are not multipart/alternative
unless ($boundary) {
  exit 0;
}

$boundary =~ s/\W/\\$&/g;
$printing = 0;                  # we start by discarding the pre-message cuft.
$header = 0;                    # and we start outside of a header.
open(MAIL, "|forward nelson-alternative") or die;
print MAIL $headers;
while(<>) {
  last if /^--$boundary--$/;
  if (/^--$boundary$/) {
    $header = 1;
    $printing = 0;
    next; # discard boundary
  }
  $printing = 0 if $header && m!^Content-Type:!i;
  $printing = 1 if $header && m!^Content-Type: text/plain;?!i;
  $header = 0 if $header and /^$/;
  print MAIL if $printing;
}
close MAIL;

exit 99;

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




Tonino Greco <[EMAIL PROTECTED]> writes:

  Is there a way of viewing the e-mail queue??

As others have mentioned, qmail-queue and qmail-stat.  Somewhere
(qmail's unofficial web page?) there something that you can use to
provide a "mailq"-like interface.

Run tcpserver as

tcpserver -u U -g G -H -R 127.0.0.1 20025 qmail-qread &

(replace U and G with qmails's uid and gid)

Create /usr/bin/mailq (or wherever you want to place it) with

#!/bin/sh

exec /usr/local/bin/tcpclient -RHl0 -- 127.0.0.1 20025 sh -c 'exec cat <&6'

You're set.

You might want to do "mailq | grep -v done" to see pending deliveries.




Hello,
 Can someone give me a hand with ezmlm?  I've read the faq's and the man
pages but I can't seem to get it to add a custom trailer message.

Thank You,
Joseph Malinowski
Internet Web Presence Provider
http://www.iwpp.com
Ph:  609.735.9550
Fax: 609.893.3486






The option is ezmlm-make -+t ... See "man ezmlm-make"
and the file for the trailer is ~/LIST/text/trailer.

Good luck!

On Wed, 12 Jan 2000, Joseph Malinowski wrote:

:Hello,
: Can someone give me a hand with ezmlm?  I've read the faq's and the man
:pages but I can't seem to get it to add a custom trailer message.
:
:Thank You,
:Joseph Malinowski
:Internet Web Presence Provider
:http://www.iwpp.com
:Ph:  609.735.9550
:Fax: 609.893.3486
:

                                    ----------------------------------
 Daniel Mattos                        Tribeca Internet Initiatives Inc.
 [EMAIL PROTECTED]                                   http://www.tiii.com
-----------------






Hi,

I would like to set up a SPAM filter in QMAIL-SMTPD and like to
log SPAM attacks by means of the qmail-smptd.loggin.diff patch.

Works fine, but the result is seen at the client side, not in the log.

Any ideas? What am I missing? Tried to invoke SPLOGGER on the tcp-env 
commandline calling qmail-smtpd. Didn't work.

Tx.
eh.
+-----------------------------------------------------------------------+
|  fff        hh                                     Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+





Two problems with which I've had little luck remedying through the docs.

1) All mail sent shows up with the headers 
   "Return-path: [EMAIL PROTECTED]"
   The from header used to have this problem until I change my
   environment variables, but there should be something I can fix
   somewhere to have it reveal the proper domain.  the output of
   qmail-showctl is below.

2) The machine is named "business-of-ferrets.terencecollins.com" and
   answers mail for that domain as well as "terencecollins.com".  Local
   to local mail works as it should.  Remote to local mail, addressed to
   "business-of-ferrets.terencecollins.com" neither bounces nor
   arrives, however.  i don't know why.  qmail-showctl follows:

[tcollins@business-of-ferrets qmail-1.03]$ ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 20002, 20001, 20003, 0, 20004, 20005, 20006, 20007.
group ids: 20001, 20002.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is business-of-ferrets.terencecollins.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is terencecollins.com.

defaulthost: Default host name is terencecollins.com.

doublebouncehost: (Default.) 2B recipient host: business-of-ferrets.terencecollins.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is business-of-ferrets.terencecollins.com.

helohost: (Default.) SMTP client HELO host name is 
business-of-ferrets.terencecollins.com.

idhost: (Default.) Message-ID host name is business-of-ferrets.terencecollins.com.

localiphost: (Default.) Local IP address becomes 
business-of-ferrets.terencecollins.com.

locals: 
Messages for terencecollins.com are delivered locally.
Messages for business-of-ferrets.terencecollins.com are delivered locally.

me: My name is business-of-ferrets.terencecollins.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is terencecollins.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at terencecollins.com.
SMTP clients may send messages to recipients at business-of-ferrets.terencecollins.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 business-of-ferrets.terencecollins.com.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.




I have created virtual domains in qmail and have set up the MX records correctly in BIND but I don't seem to receive mails
to my virtual domain account users. Can anyone tell me why or what could be the reason. My default domain is able to
receive mails.
 
John Francis




this is what I would do,

telnet mail.yourhost.com.sg 25

type :

HELO <enter>
MAIL FROM: [EMAIL PROTECTED] <enter>
RCPTO TO: [EMAIL PROTECTED] <enter>

and see what err msg you may see.

also make sure your virt domain is in the /var/qmail/control/rcpthosts
file.  Also check your /var/log/daemon (openbsd location for mail logging
at least)
 --------------
Josh Pennell
IOActive - Giving Developers Access Since 1998
Owner / Software Engineer
[EMAIL PROTECTED]
(206) 779-3155
http://www.ioactive.com

On Thu, 13 Jan 2000, pcworld wrote:

> I have created virtual domains in qmail and have set up the MX records correctly in 
>BIND but I don't seem to receive mails
> to my virtual domain account users. Can anyone tell me why or what could be the 
>reason. My default domain is able to 
> receive mails.
> 
> John Francis
> 





Hi again

I was able to find the error (I think).

I have installed amavis-0.2.0-pre6-clm-rl-4 and McAfee.

The problem was that if qmail-local-real reported an error, this
errorcode was not reported by qmail-local (which is a link
to /usr/sbin/scanmails).

I made this changes to scanmails:

1208,1209d1207
< rc=0
< 
1231d1228
<     rc=$?
1259c1256
< exit $rc
---
> exit 0



In this way scanmails will report errorcodes from qmail-local-real.
-- 
/hans





Hi,
 
I just now checked and found that my mails are inside my virtual directory, but I am unable to retrieve the mails using my email reader. But for my main domain it is fine.
 
What could be the problem.
 
Regards
John




what email reader are you using? if you are using  ./Maildir : does 
your mailreader understand this? are you trying to retrieve the mails 
via pop3....
give us a little more information please

alexander
 -- 
Alexander Jernejcic, E-Mail: [EMAIL PROTECTED]
IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstra�e 103, 1060 
Wien
Tel.: 595 23 88, Fax: 595 23 90
http://www.intellinet.at

Ein Unternehmen der IGEL-Gruppe: http://www.igel.at 

Urspr�ngliche Nachricht vom 1/13/00, 8:04:02 AM
Autor: "john" <[EMAIL PROTECTED]>
Thema: Virtual Domains Mails cannot be retrieved


Hi,
 
I just now checked and found that my mails are inside my virtual 
directory, but I am unable to retrieve the mails using my email 
reader. But for my main domain it is fine.
 
What could be the problem.
 
Regards
John







hi,
IMHO your problem might be the pop3. try "telnet your.pop.3.server 
110"
then type:
user YourAccount
pass TopSecretPass

this should log you into the pop3 server, if you get any other answer 
than OK, the problem lies in the account
if you successfully log in then try:
list

this should show you the list of messages (just ranks from 1 to n and 
the size) stored in ./Maildir. if not: the homedir-entry in 
/etc/passwd (or /var/qmail/bin/users/poppasswd or wherever you store 
your account data) does not point to the dir under which the pop3 
server is able to find ./Maildir.

quit closes the session

hope that brings us one step further...

alexander 

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

Am 1/13/00, 8:24:40 AM, schrieb "john" <[EMAIL PROTECTED]> zum 
Thema Re: Virtual Domains Mails cannot be retrieved:


> Hi,

> Thanks for the reply..

> Well I am using Outlook express and its in ./Maildir/ format.

> Yes Outlook understands  Maildir format.

> Yes I am trying to retrieve the mails through POP3.

> I can see the mails in the users/maildir/new/ directory, but I am 
unable to
> retrieve those mails.

> Regards
> John
> ----- Original Message -----
> From: "Alexander Jernejcic" <[EMAIL PROTECTED]>
> To: "john" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, January 13, 2000 4:17 PM
> Subject: Re: Virtual Domains Mails cannot be retrieved


> what email reader are you using? if you are using  ./Maildir : does
> your mailreader understand this? are you trying to retrieve the mails
> via pop3....
> give us a little more information please

> alexander
>  --
> Alexander Jernejcic, E-Mail: [EMAIL PROTECTED]
> IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstra�e 103, 1060
> Wien
> Tel.: 595 23 88, Fax: 595 23 90
> http://www.intellinet.at

> Ein Unternehmen der IGEL-Gruppe: http://www.igel.at

> Urspr�ngliche Nachricht vom 1/13/00, 8:04:02 AM
> Autor: "john" <[EMAIL PROTECTED]>
> Thema: Virtual Domains Mails cannot be retrieved


> Hi,

> I just now checked and found that my mails are inside my virtual
> directory, but I am unable to retrieve the mails using my email
> reader. But for my main domain it is fine.

> What could be the problem.

> Regards
> John







ok, now i have to surrender. i' ve got no experiences with vpopmail - 
sorry.

alexander

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

Am 1/13/00, 8:30:03 AM, schrieb "john" <[EMAIL PROTECTED]> zum 
Thema Re: Virtual Domains Mails cannot be retrieved:


> I am using vpopmail to create virtual domain and users.

> ----- Original Message -----
> From: "Alexander Jernejcic" <[EMAIL PROTECTED]>
> To: "john" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, January 13, 2000 4:17 PM
> Subject: Re: Virtual Domains Mails cannot be retrieved


> what email reader are you using? if you are using  ./Maildir : does
> your mailreader understand this? are you trying to retrieve the mails
> via pop3....
> give us a little more information please

> alexander
>  --
> Alexander Jernejcic, E-Mail: [EMAIL PROTECTED]
> IntelliNet EDV-Dienstleistungsges.m.b.H., Mariahilferstra�e 103, 1060
> Wien
> Tel.: 595 23 88, Fax: 595 23 90
> http://www.intellinet.at

> Ein Unternehmen der IGEL-Gruppe: http://www.igel.at

> Urspr�ngliche Nachricht vom 1/13/00, 8:04:02 AM
> Autor: "john" <[EMAIL PROTECTED]>
> Thema: Virtual Domains Mails cannot be retrieved


> Hi,

> I just now checked and found that my mails are inside my virtual
> directory, but I am unable to retrieve the mails using my email
> reader. But for my main domain it is fine.

> What could be the problem.

> Regards
> John







>
>----- Original Message -----
>From: "Roland Pelzer" <[EMAIL PROTECTED]>
>To: "Alexander Jernejcic" <[EMAIL PROTECTED]>; "john"
><[EMAIL PROTECTED]>
>Sent: Thursday, January 13, 2000 5:31 PM
>Subject: Re: Virtual Domains Mails cannot be retrieved
>
>
>> I am not sure wether you are using the list for the full discussion about
>> your problem, so i send you this mail directly.
>>
>> 1. Can you recieve your local maildir with telneting to port 110
>
> Well I am not sure really how to do this.
>
>> 2. Have you recieved an authorisation error tring this with your virtual
>> maildir?
>
>when I run telnet from my Windows NT and enter my hostname.domainname with
>port 110
>
>+OK <[EMAIL PROTECTED]>
>
>This is what I get so I don't know what else should I test


Try authentification: enter user username
                                            pass account's passwd
                                            list
What happend, did authentification work? For your local and your virtual
user?

>
>> 3. What Version of OS and vpopmail is running?
>Red Hat 6.1 & Vpopmail-3.4.9
>
>> 4. Post your startup-line for the pop3-service.
>>
>/usr/local/bin/tcpserver 0 pop-3 /var/qmail/bin/qmai-popup

Is this a typo?
^
Try /var/qmail/bin/qmail/pop-up

>mail.myhost.com.sg \
>/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &







-----Urspr�ngliche Nachricht-----
Von: john <[EMAIL PROTECTED]>
An: Roland Pelzer <[EMAIL PROTECTED]>
Datum: Donnerstag, 13. Januar 2000 11:13
Betreff: Re: Virtual Domains Mails cannot be retrieved


>OK
>
>Whenever I am trying to retrieve the mails from the virtual domain it says
>invalid passwd.
>
>While the passwd is correct
>


Try [EMAIL PROTECTED] as account for your virtual domain. Have you
already found the vchkpw-list at www.inter7.com? It's a very good resource
for vpopmail related stuff.

- Roland





I've installed Qmail, configured it and got it running according to the 
INSTALL file. However none of the man pages are working. I can see the man 
pages are installed in /var/qmail/man but I can't read them. I've tried 
playing around with mandb and its config file /etc/mandb_config, but with no 
success.

I've also installed SerialMail (which has the same install method) and its 
man pages work OK.

Neil
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com





On Thu, Jan 13, 2000 at 01:02:14AM -0800, pyro pyro9n mentioned:
> I've installed Qmail, configured it and got it running according to the 
> INSTALL file. However none of the man pages are working. I can see the man 
> pages are installed in /var/qmail/man but I can't read them. I've tried 
> playing around with mandb and its config file /etc/mandb_config, but with no 
> success.

 Just add:

    export MANPATH=$MANPATH:/var/qmail/man

 to your ~/.profile, or equivalent.

Kate

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen


Reply via email to