qmail Digest 10 Jun 1999 10:00:00 -0000 Issue 667

Topics (messages 26473 through 26513):

Handling mail for "@domain.com" and "@sub.domain.com" to different users
        26473 by: "Joaquim Homrighausen" <[EMAIL PROTECTED]>
        26474 by: Chris Johnson <[EMAIL PROTECTED]>

Handling mail for "@domain.com" and "@sub.domain.com" to dif
        26475 by: Simon Woodward <[EMAIL PROTECTED]>
        26476 by: "Joaquim Homrighausen" <[EMAIL PROTECTED]>
        26477 by: Van Liedekerke Franky <[EMAIL PROTECTED]>
        26479 by: Jeff Hayward <[EMAIL PROTECTED]>

disallowing certain users?
        26478 by: [EMAIL PROTECTED]
        26481 by: Chris Johnson <[EMAIL PROTECTED]>

qmail Newbie question.....
        26480 by: "Greg Owen {gowen}" <[EMAIL PROTECTED]>

Message-ID and bounces
        26482 by: "Fred Lindberg" <[EMAIL PROTECTED]>

Completely off topic:  supervise cron?
        26483 by: "Chris Garrigues" <[EMAIL PROTECTED]>
        26484 by: Jos Backus <[EMAIL PROTECTED]>
        26497 by: [EMAIL PROTECTED]

sender error in qmail 1.03
        26485 by: Brandon Dudley <[EMAIL PROTECTED]>
        26489 by: Chris Johnson <[EMAIL PROTECTED]>
        26493 by: Brandon Dudley <[EMAIL PROTECTED]>
        26494 by: Brandon Dudley <[EMAIL PROTECTED]>

Antw: Re: qmail Newbie question.....
        26486 by: "Ralf Guenthner" <[EMAIL PROTECTED]>

Netscape mail problem
        26487 by: jinfeng <[EMAIL PROTECTED]>
        26488 by: Eric Dahnke <[EMAIL PROTECTED]>
        26495 by: Dustin Marquess <[EMAIL PROTECTED]>

qmail newbie question
        26490 by: olli <[EMAIL PROTECTED]>

Unsuscribe
        26491 by: "Fernando Lopez" <[EMAIL PROTECTED]>
        26492 by: Justin Bell <[EMAIL PROTECTED]>

Has anyone have somethin like this?
        26496 by: Łukasz Michalski <[EMAIL PROTECTED]>

Virutal Domain Aliasing Ignorance
        26498 by: "Jeffrey D. Gordon" <[EMAIL PROTECTED]>
        26508 by: "Peter Samuel" <[EMAIL PROTECTED]>

Remote hosts...
        26499 by: Rafael Pirolla <[EMAIL PROTECTED]>

Bare LF problem
        26500 by: Balazs Nagy <[EMAIL PROTECTED]>
        26511 by: Eric S. <[EMAIL PROTECTED]>
        26513 by: Stefan Paletta <[EMAIL PROTECTED]>

SMTP Connections
        26501 by: Thomas Balle <[EMAIL PROTECTED]>

problems with qmail-pop3d
        26502 by: Jeffrey Finkelstein <[EMAIL PROTECTED]>

scan a maildir for msgs w/attch
        26503 by: Eric Dahnke <[EMAIL PROTECTED]>
        26504 by: Trevor Harrison <[EMAIL PROTECTED]>
        26505 by: "Sam" <[EMAIL PROTECTED]>

rc Permission Denied
        26506 by: James <[EMAIL PROTECTED]>
        26507 by: "Jay D. Dyson" <[EMAIL PROTECTED]>

Qmail (Almost)
        26509 by: Kevin King <[EMAIL PROTECTED]>

Ok.. now what?
        26510 by: James <[EMAIL PROTECTED]>
        26512 by: Fred Backman <[EMAIL PROTECTED]>

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


[qmail 1.03]

I have domain.com and sub.domain.com

Mail for anyone at "@domain.com" should be mapped to "user1"
Mail for anyone at "@sub.domain.com" should be mapped to "user2"

I've tried putting:
  sub.domain.com
  domain.com

(in that order) into rcpthosts and virtualdomains, but it appears qmail
doesn't recognize mail sent to sub.domain.com (or rather, it sends it to
"[EMAIL PROTECTED]", which I've in the ".qmail-default" file in the
alias/ directory).

What am I doing wrong?



-+-
Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet
Definite Solutions * Stockholm, Sweden
Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se
-+-






On Wed, Jun 09, 1999 at 01:54:25PM +0200, Joaquim Homrighausen wrote:
> [qmail 1.03]
> 
> I have domain.com and sub.domain.com
> 
> Mail for anyone at "@domain.com" should be mapped to "user1"
> Mail for anyone at "@sub.domain.com" should be mapped to "user2"
> 
> I've tried putting:
>   sub.domain.com
>   domain.com
> 
> (in that order) into rcpthosts and virtualdomains, but it appears qmail
> doesn't recognize mail sent to sub.domain.com (or rather, it sends it to
> "[EMAIL PROTECTED]", which I've in the ".qmail-default" file in the
> alias/ directory).
> 
> What am I doing wrong?

You need to read the documentation. Start with FAQ 3.2. This is a
straightforward virtual domain setup.

Chris




Your files should be like this:

rcpthosts:

domain.com
sub.domain.com

virtualdomains:

domain.com:user1
sub.domain.com:user2

Simon.

---
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Simon Woodward - Network Engineer                                       |
| Onyx Internet Ltd.                    Tel:    +44 (0) 1642 216200       |
| Zetland Buildings,                    Fax:    +44 (0) 1642 216201       |
| Exchange Square,                      E-mail: [EMAIL PROTECTED]   |
| Middlesbrough, TS1 1DE                URL:    http://www.onyx.net/      |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+




 * On Wed, 09 Jun 1999 14:34:21 +0100 (BST), Simon Woodward wrote:

 > Your files should be like this:

[..]

Aye. That part is configured correctly.

The message is (as I said previously), however, sent to the contents of the
.qmail-default file in the alias/ directory (in my case, [EMAIL PROTECTED]).

Looking at the message sent to postmaster, it shows that it has been sent to
user2. For some reason, it appears that qmail cannot deliver the message to
user2 and thus goes to deliver it to the .qmail-default contents (alias/).

I wonder why it cannot deliver it. When previously had file/directory permission
problems, qmail would complain.. but it doesn't do that now.


-+-
Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet
Definite Solutions * Stockholm, Sweden
Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se
-+-






try mailing directly to user2 first. The problem probably lies there.

franky

> ----------
> From:         Joaquim Homrighausen[SMTP:[EMAIL PROTECTED]]
> Reply To:     Joaquim Homrighausen
> Sent:         Wednesday, June 09, 1999 2:41 PM
> To:   qmail discussion list; Simon Woodward
> Subject:      RE: Handling mail for "@domain.com" and "@sub.domain.com" to
> dif
> 
>  * On Wed, 09 Jun 1999 14:34:21 +0100 (BST), Simon Woodward wrote:
> 
>  > Your files should be like this:
> 
> [..]
> 
> Aye. That part is configured correctly.
> 
> The message is (as I said previously), however, sent to the contents of
> the
> .qmail-default file in the alias/ directory (in my case,
> [EMAIL PROTECTED]).
> 
> Looking at the message sent to postmaster, it shows that it has been sent
> to
> user2. For some reason, it appears that qmail cannot deliver the message
> to
> user2 and thus goes to deliver it to the .qmail-default contents (alias/).
> 
> I wonder why it cannot deliver it. When previously had file/directory
> permission
> problems, qmail would complain.. but it doesn't do that now.
> 
> 
> -+-
> Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet
> Definite Solutions * Stockholm, Sweden
> Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se
> -+-
> 
> 




On Wed, 9 Jun 1999, Joaquim Homrighausen wrote:

   Looking at the message sent to postmaster, it shows that it has been sent to
   user2. For some reason, it appears that qmail cannot deliver the message to
   user2 and thus goes to deliver it to the .qmail-default contents (alias/).

Did you remember to kill -HUP qmail-send, and possibly run
qmail-newu if you've been changing /etc/passwd?

-- Jeff Hayward   
   





Is there a way to cause certain email addresses to be denied by qmail? for
instance i have a user [EMAIL PROTECTED] whom I do not want to receive ANY smtp
email.  I guess what im looking for is something like a
/var/qmail/control/BADMAILTO (if it existed).


regards,
Jason






On Wed, Jun 09, 1999 at 09:43:09AM -0400, [EMAIL PROTECTED] wrote:
> Is there a way to cause certain email addresses to be denied by qmail? for
> instance i have a user [EMAIL PROTECTED] whom I do not want to receive ANY smtp
> email.  I guess what im looking for is something like a
> /var/qmail/control/BADMAILTO (if it existed).

I think you'd have to patch qmail-smtpd to deny him smtp mail but not mail
injected by other means. To deny him any mail at all, put this in users/assign:

=fred:alias:101:101:/var/qmail/alias:-:fred:

(Substitute alias's uid and gid for the 101s.)

To bounce fred's mail, put the following in ~alias/.qmail-fred:

| bouncesaying "Fred isn't allowed to receive mail."

To silently drop fred's mail, put a single # in ~alias/.qmail-fred.

Another way to stop fred's mail is to set his uid to 0 (not recommended).

Chris




> Tonight I was thinking that the Firewall could be the problem when a
> Firewall Techie told me that he has seen this problem before and
> suggested that it is the mail server doing a reverse-IDENT and the
> Firewall is blocking it (both internally and externally) and the default
> timeout is about 30 SECONDS........sounds like to solution.
...
> And how do I stop it or change the timeout to be 1 second if possible?

    You are correct in deducing that the 30 second delay is an ident
timeout.

    The solution is to either open up Ident on the firewall or turn off the
ident lookup.  If you're using tcpserver (ucspi), there are several options:

       -r     (Default.)   Attempt  to  obtain TCPREMOTEINFO from
              the remote host.

       -R     Do not attempt to  obtain  TCPREMOTEINFO  from  the
              remote host.

       -ttimeout
              Give  up  on  the  TCPREMOTEINFO connection attempt
              after timeout seconds. Default: 26.

    If you're not using tcpserver, check the manual for whatever you're
using (inetd?).

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






On Tue, 8 Jun 1999 12:27:26 -0500 (CDT), Jeff Hayward wrote:

>Unfortunately, medical science has determined that the type of brain
>damage that leads to rejection of mail based on no message-id is
>often associated with symptoms of rejecting null envelope senders,
>i.e. bounces.  These patients often claim that "the voices" have
>told them that both of these items are spam markers.
>
>Treatment is available, and we're all hoping for a cure.

Unfortunately, the selective pressures on spammers are considerably
stronger than on sysadmins. Thus, a sufficient number of hosts boucing
messages with some syntactic flaw will rapidly lead to changes in bulk
mailers/spammers. Sysadmins will meanwhile throw out a few babies with
the bath water.

-Sincerely, Fred

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






I've got a system on which cron keeps dying.

Would it work to run cron under supervise?

Chris

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

  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





On Wed, Jun 09, 1999 at 04:26:11PM +0200, Chris Garrigues wrote:
> Would it work to run cron under supervise?

All cron's I know daemonize themselves (by, say, double-forking and
disassociating themselves from their ctty). Hence: no.

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
[EMAIL PROTECTED]  _/_/  _/_/_/      use Std::Disclaimer;




>> On Wed, 09 Jun 1999 09:26:11 -0500, 
>> "Chris Garrigues" <[EMAIL PROTECTED]> said:

C> I've got a system on which cron keeps dying.  Would it work to run cron
C> under supervise?

   Probably, but I'd recommend fixing the root problem by replacing your
   cron with something more robust.  I had the same problem under
   Solaris-2.5.1, and replaced the system cron with another version called
   "dcron":
   ftp://sunsite.unc.edu/pub/Linux/system/daemons/cron/dcron-2.3.3.tar.gz

   As it turns out, something I did was causing cron to die periodically,
   but I still like the new one better:

   a. I can schedule jobs to run every 5 minutes starting 3 minutes after
      the hour by using something like this in the "minutes" field: 3-58/5

   b. I use accustamp, tailocal, and cyclog to handle all logging, so I
      don't have to restart cron just to clean up log files.

   c. It's written very cleanly, and it's smaller than Vixie-cron.

   I had to add some code to make it work under Solaris.  If anyone's
   interested, let me know.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]

I was thrown out of college for cheating on the metaphysics
exam; I looked into the soul of the boy next to me.          --Woody Allen





Hi! I'm experiencing an interesting error with an account on my RH6.0
box. When he tries to send email to anyone remotely (to anyone from his
account), he gets the following error at the time he types in send:

aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my list of 
allowed rcpthosts (#5.7.1)

He is using mh 6.7.1 in this case, although it happens with any mailer. He is
trying, in this case, to email his acct. [EMAIL PROTECTED]

The contents of my locals and rcpthosts are the same:

localhost
adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry)
discontent.com (domain name)
misanthrope.discontent.com (contents of "me")

and I know from reading the FAQ that rcpthosts is where the error is occurring.
The strange part is that I use the exact configuration in my own acct and have
never experienced this error. I have read all the relevant man pages, but
cannot find if there is a specific enviroment variable that is being set 
somewhere to cause this, or if its another thing altogether.

I am using qmail1.03 and tcpserver (no rules tho), and we are using shell
accounts so it's not a problem with a POP client.

Any hints or advice would be appreciated. The only fix I have found so far is
to remove rcpthosts altogether, which for obvious reasons I don't want to
continue to do.

Thanks!

Brandon Dudley




On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote:
> 
> Hi! I'm experiencing an interesting error with an account on my RH6.0
> box. When he tries to send email to anyone remotely (to anyone from his
> account), he gets the following error at the time he types in send:
> 
> aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my list of 
>allowed rcpthosts (#5.7.1)
> 
> He is using mh 6.7.1 in this case, although it happens with any mailer. He is
> trying, in this case, to email his acct. [EMAIL PROTECTED]
> 
> The contents of my locals and rcpthosts are the same:
> 
> localhost
> adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry)
> discontent.com (domain name)
> misanthrope.discontent.com (contents of "me")
> 
> and I know from reading the FAQ that rcpthosts is where the error is occurring.
> The strange part is that I use the exact configuration in my own acct and have
> never experienced this error. I have read all the relevant man pages, but
> cannot find if there is a specific enviroment variable that is being set 
> somewhere to cause this, or if its another thing altogether.
> 
> I am using qmail1.03 and tcpserver (no rules tho), and we are using shell
> accounts so it's not a problem with a POP client.
> 
> Any hints or advice would be appreciated. The only fix I have found so far is
> to remove rcpthosts altogether, which for obvious reasons I don't want to
> continue to do.

That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will only
ever result from mail injected by SMTP. Therefore, whatever MUA he's using is
using SMTP to send mail. You'll either have to set up some tcprules to allow
relaying from 127.0.0.1 (this user is using a shell account, right?), or he'll
have to use a different MUA or configure his MUA to use qmail's fake sendmail
instead of SMTP to inject mail.

Chris




> On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote:
> > 
> > Hi! I'm experiencing an interesting error with an account on my RH6.0
> > box. When he tries to send email to anyone remotely (to anyone from his
> > account), he gets the following error at the time he types in send:
> > 
> > aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my lis
   >t of allowed rcpthosts (#5.7.1)
> > 
> > He is using mh 6.7.1 in this case, although it happens with any mailer. He 
   >is
> > trying, in this case, to email his acct. [EMAIL PROTECTED]
> > 
> > The contents of my locals and rcpthosts are the same:
> > 
> > localhost
> > adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry)
> > discontent.com (domain name)
> > misanthrope.discontent.com (contents of "me")
> > 
> > and I know from reading the FAQ that rcpthosts is where the error is occurr
   >ing.
> > The strange part is that I use the exact configuration in my own acct and h
   >ave
> > never experienced this error. I have read all the relevant man pages, but
> > cannot find if there is a specific enviroment variable that is being set 
> > somewhere to cause this, or if its another thing altogether.
> > 
> > I am using qmail1.03 and tcpserver (no rules tho), and we are using shell
> > accounts so it's not a problem with a POP client.
> > 
> > Any hints or advice would be appreciated. The only fix I have found so far 
   >is
> > to remove rcpthosts altogether, which for obvious reasons I don't want to
> > continue to do.
> 
> That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will onl
   >y
> ever result from mail injected by SMTP. Therefore, whatever MUA he's using is
> using SMTP to send mail. You'll either have to set up some tcprules to allow
> relaying from 127.0.0.1 (this user is using a shell account, right?), or he'l
   >l
> have to use a different MUA or configure his MUA to use qmail's fake sendmail
> instead of SMTP to inject mail.

That certainly must be the case - I haven't checked to see if that's how MH
works.

The funny thing is that I use the same MUA from the same machine under my own
account, without experiencing the error. Therefore it seems to be specific to
his own account, as opposed to a general misconfiguration error, as I access
the machine the same way that he does, just from a different ISP

Darned if I could figure out what that may be, though. I will start to diff 
all of our dot files for mh, tho I'm sure I won't find anything different.

Brandon






Found the answer myself...I was wrong in thinking diffing the dot files wouldn't
help.

His .mh_profile was missing the following line, which I got out of the FAQ way
back when:

postproc: /usr/lib/nmh/spost

Adding this allowed mail to reach outside.

Brandon

> > On Wed, Jun 09, 1999 at 08:58:57AM -0700, Brandon Dudley wrote:
> > > 
> > > Hi! I'm experiencing an interesting error with an account on my RH6.0
> > > box. When he tries to send email to anyone remotely (to anyone from his
> > > account), he gets the following error at the time he types in send:
> > > 
> > > aphrael at burble.org: loses; [USER] 553 sorry, that domain isn't in my l
   >is
>    >t of allowed rcpthosts (#5.7.1)
> > > 
> > > He is using mh 6.7.1 in this case, although it happens with any mailer. H
   >e 
>    >is
> > > trying, in this case, to email his acct. [EMAIL PROTECTED]
> > > 
> > > The contents of my locals and rcpthosts are the same:
> > > 
> > > localhost
> > > adsl-216-100-35-70.dsl.pacbell.net (DNS reverse entry)
> > > discontent.com (domain name)
> > > misanthrope.discontent.com (contents of "me")
> > > 
> > > and I know from reading the FAQ that rcpthosts is where the error is occu
   >rr
>    >ing.
> > > The strange part is that I use the exact configuration in my own acct and
   > h
>    >ave
> > > never experienced this error. I have read all the relevant man pages, but
> > > cannot find if there is a specific enviroment variable that is being set 
> > > somewhere to cause this, or if its another thing altogether.
> > > 
> > > I am using qmail1.03 and tcpserver (no rules tho), and we are using shell
> > > accounts so it's not a problem with a POP client.
> > > 
> > > Any hints or advice would be appreciated. The only fix I have found so fa
   >r 
>    >is
> > > to remove rcpthosts altogether, which for obvious reasons I don't want to
> > > continue to do.
> > 
> > That "domain isn't in my list of allowed rcpthosts (#5.7.1)" message will o
   >nl
>    >y
> > ever result from mail injected by SMTP. Therefore, whatever MUA he's using 
   >is
> > using SMTP to send mail. You'll either have to set up some tcprules to allo
   >w
> > relaying from 127.0.0.1 (this user is using a shell account, right?), or he
   >'l
>    >l
> > have to use a different MUA or configure his MUA to use qmail's fake sendma
   >il
> > instead of SMTP to inject mail.
> 
> That certainly must be the case - I haven't checked to see if that's how MH
> works.
> 
> The funny thing is that I use the same MUA from the same machine under my own
> account, without experiencing the error. Therefore it seems to be specific to
> his own account, as opposed to a general misconfiguration error, as I access
> the machine the same way that he does, just from a different ISP
> 
> Darned if I could figure out what that may be, though. I will start to diff 
> all of our dot files for mh, tho I'm sure I won't find anything different.
> 
> Brandon
> 




Another possible solution:

On the firewall allow outbound ident from your mailserver, but disallow inbound ident 
TO your mailserver. That's how I do it . (I know it's a bit unfair <g> )

Cheers
Ralf





The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not
the case for me. And I really don't like to install a tcpserver if I don't
have to. Among all other things, changing boot script in RedHat is really
painful for me. 

Is there any other solutions? Thanx.

On Wed, 9 Jun 1999, Dustin Marquess wrote:

> At 01:19 AM 6/9/99 , jinfeng wrote:
> >I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to
> >work ok if I use pine as client. However, when I use Netscape mail, I
> >could not send mail out, it always complain "that domain isn't in my list
> >of allowed rcpthosts(#5.7.1). Please check the message recipients and try
> >again." I can send to the same recipient by Pine without any problem.
> >
> >In the Netscape preference, my setting is
> >
> >outgoing mail(SMTP) server : localhost
> >outgoing mail server user name: jinfeng
> >
> >Can anyone tell me what's wrong with my setting and how to correctly set
> >up Netscape as my mail client? Thanks a lot.
> 
>          This is in the FAQ.  You want the part about selective relaying.
> 
>                                                                          -Du 
> -Dustin
> 
> 






It doesn't have anything to do with inetd or tcpserver. Check the file
/var/qmail/control/rcpthosts

and check out the FAQ about relaying



jinfeng escribió:
> 
> The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not
> the case for me. And I really don't like to install a tcpserver if I don't
> have to. Among all other things, changing boot script in RedHat is really
> painful for me.
> 
> Is there any other solutions? Thanx.
> 
> On Wed, 9 Jun 1999, Dustin Marquess wrote:
> 
> > At 01:19 AM 6/9/99 , jinfeng wrote:
> > >I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to
> > >work ok if I use pine as client. However, when I use Netscape mail, I
> > >could not send mail out, it always complain "that domain isn't in my list
> > >of allowed rcpthosts(#5.7.1). Please check the message recipients and try
> > >again." I can send to the same recipient by Pine without any problem.
> > >
> > >In the Netscape preference, my setting is
> > >
> > >outgoing mail(SMTP) server : localhost
> > >outgoing mail server user name: jinfeng
> > >
> > >Can anyone tell me what's wrong with my setting and how to correctly set
> > >up Netscape as my mail client? Thanks a lot.
> >
> >          This is in the FAQ.  You want the part about selective relaying.
> >
> >                                                                          -Du
> > -Dustin
> >
> >




At 11:01 AM 6/9/99 , jinfeng wrote:
>The FAQ seems to assume that I run qmail-smtpd under tcpserver. That's not
>the case for me. And I really don't like to install a tcpserver if I don't
>have to. Among all other things, changing boot script in RedHat is really
>painful for me.
>
>Is there any other solutions? Thanx.
>
>On Wed, 9 Jun 1999, Dustin Marquess wrote:
>
> > At 01:19 AM 6/9/99 , jinfeng wrote:
> > >I am using qmail1.03 as MTA on my RedHat Linux 6.0. The server seems to
> > >work ok if I use pine as client. However, when I use Netscape mail, I
> > >could not send mail out, it always complain "that domain isn't in my list
> > >of allowed rcpthosts(#5.7.1). Please check the message recipients and try
> > >again." I can send to the same recipient by Pine without any problem.
> > >
> > >In the Netscape preference, my setting is
> > >
> > >outgoing mail(SMTP) server : localhost
> > >outgoing mail server user name: jinfeng
> > >
> > >Can anyone tell me what's wrong with my setting and how to correctly set
> > >up Netscape as my mail client? Thanks a lot.
> >
> >          This is in the FAQ.  You want the part about selective relaying.

         You have a few options:

1)      Use tcpd (tcp_wrappers) with qmail and use it's /etc/hosts.allow to 
setup the RELAYCLIENT variable.
2)      Use the relayclient patch from www.qmail.org to get the 
/var/qmail/control/relayclients file which does the same thing.
3)      Use one of the patches from www.qmail.org that'll let anybody relay 
as long as they do a POP3 check first, which more mail clients do.

         Another user asked why only Netscape is doing this and not 
pine.  The reason is pine is probably sending mail via /usr/sbin/sendmail 
(which is a wrapper to /var/qmail/bin/qmail-inject), and Netscape is 
sending via SMTP.

                                                                             
              -Dustin





On Sun, 6 Jun 1999, Gerald Willmann wrote:
> Hi there, just finished installing qmail and it seems to work fine. Only
> have the following questions:
> BINMAIL.remove told me to remove /bin/mail but link it to some other
> mailer, eg mailx. Since I don't have mailx, what are other options? Can
Heh, really you do not need remove /bin/mail , if you're using linux.
AFAIR the idea was to remove /bin/mail that is a part of seandmail's
package, but /bin/mail in linux Red Hat 5.0 & 5.2 (& probably all from
4.5(?) or even older versions) is a part of separate package & it works
fine for me since I'm using qmail (around of half year). This _should_(?) 
be cleared in the FAQ, or let's anyone more experienced corret me if I'm
wrong.

Bye.Olli.












Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm

-- 
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell  NIC:JB3084| Time and rules are changing.         |
|Pearson                | Attention span is quickening.        |
|Developer              | Welcome to the Information Age.      |
\-------- http://www.superlibrary.com/people/justin/ ----------/




I'm using qmail for about one year ago. A couple of moths ago, when i
wasn't subscribed to this list I've experienced a little problem. After
returning from vacations I have got notices that no one can send mail to
remote hosts. (local delivery was working fine).

There wasn't any specific messages in /var/log/messsages, only thing i
have noticed is that there was no "remote hosts accepts delivery'
anywhere :)

And all email were queued for later delivery. Qmail doesn't even tried
to deliver it.

I killed all qmail proceses and restart them and after that everything
came back to normal (except system load becouse qmail starts to send
20MB queue all over the world)

Is anyone experienced something like this?

It was months ago so now it's hard to find fragments of logs to me now.
And i nieve experienced it after.

greets
-- 
Łukasz Michalski mailto:[EMAIL PROTECTED] ------- 
tel/sms: mailto:[EMAIL PROTECTED]




Greetings,
 
    I'm having a bit of difficulty with qmail ignoring the virtualdomains file in /var/qmail/control
I've got the domain (and MX record) set accordingly to point to the box, however when I send mail to (example) [EMAIL PROTECTED] I get a no such mailbox error.
    However I can send mail to [EMAIL PROTECTED] and it succeeds.
My virtualdomain file looks as this:
    testingdomain.com:alias-testingdomain
 
and I have ~alias/.qmail-testingdomain-testing pointing to a test account.
 
Any ideas on how to resolve this issue would be greatly appreciated.
 
    With thanks in advance....

--
      Jeffrey D. Gordon <[EMAIL PROTECTED]>
            Development Programmer/NetTech
Lighthouse Technologies http://www.lhtech-inc.com

GIF image





On Thu, 10 Jun 1999, Jeffrey D. Gordon wrote:

> Greetings, 
> 
>     I'm having a bit of difficulty with qmail ignoring the virtualdomains file in 
>/var/qmail/control
> I've got the domain (and MX record) set accordingly to point to the box, however 
>when I send mail to (example) [EMAIL PROTECTED] I get a no such mailbox error.
>     However I can send mail to [EMAIL PROTECTED] and it 
>succeeds.
> My virtualdomain file looks as this:
>     testingdomain.com:alias-testingdomain
> 
> and I have ~alias/.qmail-testingdomain-testing pointing to a test account.
> 
> Any ideas on how to resolve this issue would be greatly appreciated.
> 
>     With thanks in advance....

Did you remember to send a SIGHUP to qmail-send? I did and it works for
me:

/var/qmail/control/virtualdomains:

    testingdomain.com:alias-testingdomain

~alias/.qmail-testingdomain-testing:

    &[EMAIL PROTECTED]

ps -ef | grep qmail-send

    qmails 22931 22928  0   Jun 06 ?        0:57 qmail-send

sudo kill -HUP 22931

/var/qmail/bin/mailsubj testing [EMAIL PROTECTED] < /dev/null

    From [EMAIL PROTECTED] Thu Jun 10 12:04:55 1999
    Return-Path: <[EMAIL PROTECTED]>
*   Delivered-To: [EMAIL PROTECTED]
    Received: (qmail 21218 invoked by alias); 10 Jun 1999 02:04:34 -0000
*   Delivered-To: [EMAIL PROTECTED]
    Received: (qmail 21215 invoked by uid 2052); 10 Jun 1999 02:04:34 -0000
    Date: 10 Jun 1999 02:04:34 -0000
    Message-ID: <[EMAIL PROTECTED]>
    From: "Peter Samuel" <[EMAIL PROTECTED]>
    Subject: testing
    To: [EMAIL PROTECTED]

/var/log/mail:

    928980274.849101 new msg 227895
    928980274.849485 info msg 227895: bytes 1023 from
        <[EMAIL PROTECTED]> qp 21215 uid 2052
    928980274.971089 starting delivery 12656: msg 227895 to local
        [EMAIL PROTECTED]
    928980274.971186 status: local 1/10 remote 0/20
    928980275.160022 delivery 12656: success: did_0+1+0/qp_21218/
    928980275.187236 status: local 0/10 remote 0/20
    928980275.188009 end msg 227895
    928980275.296519 new msg 227898
    928980275.296670 info msg 227898: bytes 1152 from
        <[EMAIL PROTECTED]> qp 21218 uid 29990
    928980275.479460 starting delivery 12657: msg 227898 to local
        [EMAIL PROTECTED]
    928980275.479554 status: local 1/10 remote 0/20
    928980275.713640 delivery 12657: success: did_0+0+2/
    928980275.740387 status: local 0/10 remote 0/20
    928980275.740820 end msg 227898


Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

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





Hello...

    You sent me a message for me to put the domain I wish to relay in
the rcpthosts control file... But what if I want to act as a Openrelay
instead ? If I choose not to use the rcpthosts file, because if I use
the rcpthosts file the Qmail will start to complain about “This domain
is not present in my rcpthosts file...” .

    How do I do to inform Qmail to deliver all messages to
“virtualdomain.com”  remotely without using the rcpthosts file...?!

    I included the line “virtualdomain.com:111.111.111.111” in my
smtproutes file, but when I try to send some message to
"[EMAIL PROTECTED]" my Qmail program tells me that there is no
Maildir by that name... It is treating as local and the
“virtualdomain.com” is not present neither in the locals or
virtualdomain file.


Well, I supose you got my point...  Thanks...

-Pirolla





On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:

> Balazs Nagy wrote:
> > A very good answer is at the tips and advice section at
> > http://www.qmail.org/top.html by Dan himself.  A tricky and cool
> > answer actually.
> 
> How to Run fixcr using tcpserver?

tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
... I think.  Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'".
-- 
Regards: Kevin (Balazs)






  >  On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:

  >  > Balazs Nagy wrote:
  >  > > A very good answer is at the tips and advice section at
  >  > > http://www.qmail.org/top.html by Dan himself.  A tricky and cool
  >  > > answer actually.
  >  > 
  >  > How to Run fixcr using tcpserver?

  >  tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
  >  ... I think.  Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'".
  >  -- 
  >  Regards: Kevin (Balazs)



That didn't work. Any other suggestions?



Regards,
Eric




Eric S . wrote/schrieb/scribsit:
>   >  On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:
> 
>   >  tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
>   >  ... I think.  Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'".
> 
> That didn't work. Any other suggestions?

Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'.

Stefan





Hi,

Lately I have had many SMTP connections from 2 different danish ISPs, one 
of them has 4 mailservers which keeps on making connections like the one below:

Jun  9 22:51:07 mpfgw1 smtpd3: 928961467.445214 tcpserver: end 29731 status 256
Jun  9 22:51:07 mpfgw1 smtpd3: 928961467.445660 tcpserver: status: 0/20
Jun  9 22:51:07 mpfgw1 smtpd3: 928961467.445905 tcpserver: status: 1/20
Jun  9 22:51:07 mpfgw1 smtpd3: 928961467.446159 tcpserver: pid 29734 from 
195.41.46.139
Jun  9 22:51:07 mpfgw1 smtpd3: 928961467.446453 tcpserver: ok 29734 
mail.relay1.webben.dk:195.41.48.111:25 fep4.post.tele.dk:195.41.46.139::57953

Is it their servers that are broken or is it mine ?
Its a bit annoying as they tie up lots of smtp connections which sometimes 
causes my smtp server to timeout to other "good" connections.

So far I took the easy way out and blocked them in my firewall then theyll 
need to deliver any mail via my mailrelay.

Well does anyone have an idea as to what could cause this ?

Thanks,

Thomas




I've recently installed qmail on our server and have intermittent problems
with qmail-pop3d as follows: When a user connects via POP to retrieve their
mail, qmail-pop3d does not always correctly identify the fact that they have
mail waiting in their Maildir. The user can check mail for hours and 
eventually they can access the waiting mail.

Does anyone have any ideas where I can start looking or how to turn on 
debugging options?

-jeff




Hi,

Only messages which contain attachments, contain the following line:

Content-Disposition:

true or false



If I'm off tack, how else do you determine when a msg contains an
attahment?



Many thx eric




Also "begin 666" or "begin 644" (at the beginning of a line) for uuencoded attachments.

Maybe try looking for base64 (ie. Content-Transfer-Encoding: base64), and 
quote-printable.

-Trevor

>>> Eric Dahnke <[EMAIL PROTECTED]> 6/9 4:12:23 PM >>>
Hi,

Only messages which contain attachments, contain the following line:

Content-Disposition:

true or false



If I'm off tack, how else do you determine when a msg contains an
attahment?



Many thx eric





Eric Dahnke writes:

> Hi,
> 
> Only messages which contain attachments, contain the following line:
> 
> Content-Disposition:
> 
> true or false

False.  Content-Disposition: header is completely optional.

> If I'm off tack, how else do you determine when a msg contains an
> attahment?

Look at the Content-Type: header.  If it's anything other than
text/anything, you have an attachment somewhere in there.

-- 
Sam





I did a search in the mail list page for my problem, and found someone who
had the same problem I am having who posted back in December 98, but the
suggestion for that problem didn't help me with mine.  I've installed
qmail 1.03 and I am going through the install steps.. everything is fine
until I reach the stage where I have to run

csh -c 'var/qmail/rc &'

I get this error:
/var/qmail/rc: Permission denied.
[1] 735
[1]     Exit 1      /var/qmail/rc

I've tried setting all permissions open, and even tried changing ownership
to qmail .. still no good. Any ideas what the problem might be?  Thanks

james 





-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 9 Jun 1999, James wrote: 

> I get this error:
> /var/qmail/rc: Permission denied.
> [1] 735
> [1]     Exit 1      /var/qmail/rc

        Sounds like there's something *within* the script that can't be
kicked off.  You checked the perms of all the goods being called by the rc
script? 

- -Jay

   (                                                              ______
   ))   .--- "There's always time for a good cup of coffee" ---.   >===<--.
 C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) |   = |-'
  `--'  `- Superman had Kryptonite, I have NT.  Life is real. -'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN18cBc2OVDpaKXD9AQFw/wP/Y83tV9z+/67YlkoDjEt3lEsDxBhgZNcF
sz/nx61D+VoAsSGKoIlRywjoX/9XMmWCGc6sqsUHc8vBGP70bgVeUJOerIzizg4i
t4TVZ0cakf9SYDOhzRauK478dGRLFTYBSSHop+IVf4i6P35EPP3owqVfUHCEeHCs
QdShuzfZiKc=
=sWfy
-----END PGP SIGNATURE-----





Newcomer!

I've just loaded Qmail on my RH 5.2 box. I setup the tcpserver line to load 
in rc.local. Is this the correct
file to load tcpserver in? When I do a "ps waux|grep qmail" I get splogger 
qmail, qmail-clean,qmail-rspawn,qmail-send,qmail-lspawn |preline procmail. 
Do I need to remove procmail? Should I have removed this RPM along with 
sendmail?  I want to install Qmail Pop3d next, but I don't think I know 
enough about what I am doing quite yet.... I need to install Maildirs too 
don't I? When I am setup can I test Qmail with Pine (local)?
Thanks for all of your patience - I'm sure you'll here from me again soon!
Thanks again Dave!







I know this is going to seem incredibly dumb.. but now that I have
installed qmail, is there some kind of interface I can use to send and
receive email?  Would I be wanting to use pine?  What mail clients are
there for qmail that I might want to look into?

One other thing, in the TEST.deliver file, it suggests I look for a
specific line in the "syslog".. where is the syslog?  Also, it suggests I
send a mail to myself, then check for it in my mailbox.. where IS the
mailbox?  Does it mean in Pine?  Thanks again.

james





Hi James! Answers inserted below...

James wrote:

> I know this is going to seem incredibly dumb.. but now that I have
> installed qmail, is there some kind of interface I can use to send and
> receive email?  Would I be wanting to use pine?  What mail clients are
> there for qmail that I might want to look into?

There are a lot of mail clients (as they're called) to choose from,
depending on what platform you have and whether you prefer working on the
console or in X:
Pine, Elm, Netscape Mail/Messenger, XFMail etc etc.

AFAIK you don't need a special client with qmail as it's conforming to the
RFCs and thus any client that also conforms to the RFCs should do.

> One other thing, in the TEST.deliver file, it suggests I look for a
> specific line in the "syslog".. where is the syslog?  Also, it suggests I
> send a mail to myself, then check for it in my mailbox.. where IS the
> mailbox?  Does it mean in Pine?  Thanks again.

syslog is a file where your UNIX system logs it's system messages or
whatever you ask it to log. It's usually found in places like /var/log/, but
to find out for sure have a look in the file /etc/syslog.conf and look for a
line which begins with "mail.*".

Your mailbox is either in ~user/Mailbox or /var/spool/mail/user or
~user/Maildir/ (the latter being a directory structure). Depends how you
configured qmail.

Cheers
Fred

--
Fred Backman
Lead Wizard
Binary Spells
www.femmefetish.com/games/



Reply via email to