qmail Digest 5 Mar 2000 11:00:01 -0000 Issue 931

Topics (messages 38209 through 38221):

qmail as a outgoing mail server
        38209 by: Bufnea Darius
        38210 by: Chris Johnson
        38211 by: Bufnea Darius
        38212 by: Chris Johnson
        38215 by: Vincent Danen

problems with qmail-pop3d
        38213 by: Vincent Danen

Re: New to Qmail: Questions
        38214 by: Vincent Danen
        38216 by: Steve Wolfe

Help on tcpserver
        38217 by: lemonlainey

Re: Qmail & Majordomo
        38218 by: Andrew Scott
        38220 by: cmikk.uswest.net

Re: Linux services
        38219 by: Rogerio Brito

problems with qmail-pop3d (fwd)
        38221 by: Vincent Danen

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]


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



I have a private network who use a server called myhost.mydomain, connected
to internet to a ppp line. The server is use as mail server, proxy, gateway
and so on for the private netowork... The problem is that the MUA that runs
on the windows machines from the private network can't use my server as
outgoing mail server. They receive an error massege that the domian is not
in the list of allowed rcpt hosts. I put the hosts from the private network
in /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts
look somethig like this:

192.168.80.2   winmachine1.myhosts.mydomain   winmachine1
192.168.80.3   winmachine2.myhosts.mydomain   winmachine2
and so on...

In /var/qmail/control/rcpthosts i put:

myhosts.mydomain
winmachine1.myhosts.mydomain
winmachine2.myhosts.mydomain

What I have to do that the MUA from winmachines to work? (my users now use
pine to sent their mail)

          Thanks, and please excuse this stupid question...

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





On Sat, Mar 04, 2000 at 04:21:44PM +0200, Bufnea Darius wrote:
> 
> I have a private network who use a server called myhost.mydomain, connected
> to internet to a ppp line. The server is use as mail server, proxy, gateway
> and so on for the private netowork... The problem is that the MUA that runs
> on the windows machines from the private network can't use my server as
> outgoing mail server. They receive an error massege that the domian is not in
> the list of allowed rcpt hosts. I put the hosts from the private network in
> /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts look
> somethig like this:

http://www.palomine.net/qmail/selectiverelay.html


Chris




> > I have a private network who use a server called myhost.mydomain, 
>connected
> > to internet to a ppp line. The server is use as mail server, proxy, 
>gateway
> > and so on for the private netowork... The problem is that the MUA that 
>runs
> > on the windows machines from the private network can't use my server as
> > outgoing mail server. They receive an error massege that the domian is 
>not in
> > the list of allowed rcpt hosts. I put the hosts from the private network 
>in
> > /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts 
>look
> > somethig like this:
>
>http://www.palomine.net/qmail/selectiverelay.html
>
>
>Chris

  I try to change sendmail with qmail step by step. I steel use inet.
Chris's soltion helps with tcpserver... I need something like this for 
inet...

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





On Sat, Mar 04, 2000 at 05:09:10PM +0200, Bufnea Darius wrote:
> I try to change sendmail with qmail step by step. I steel use inet.  Chris's
> soltion helps with tcpserver... I need something like this for inet...

If you're making the change to qmail, you're going to want to use tcpserver.
inetd is no longer officially supported, and I think you'll find that most
people on this list won't answer questions about it because they don't use it
(at least not for their qmail stuff). 

It's not at all difficult to set up, and you can run tcpserver and inetd at the
same time, as long as you don't try to listen to the same ports with both. Just
be sure that for every service you use tcpserver for, you comment out the inetd
lines for that service.

Chris




On Sat, 4 Mar 2000, Bufnea Darius wrote:

> I have a private network who use a server called myhost.mydomain, connected
> to internet to a ppp line. The server is use as mail server, proxy, gateway
> and so on for the private netowork... The problem is that the MUA that runs
> on the windows machines from the private network can't use my server as
> outgoing mail server. They receive an error massege that the domian is not
> in the list of allowed rcpt hosts. I put the hosts from the private network
> in /var/qmail/control/rcpthosts, but the error is the same... My /etc/hosts
> look somethig like this:
> 
> 192.168.80.2   winmachine1.myhosts.mydomain   winmachine1
> 192.168.80.3   winmachine2.myhosts.mydomain   winmachine2
> and so on...

I think you need to add those IP addresses to /etc/tcprules.d/qmail-smtpd
or /etc/tcprules.d/rblsmtpd (depending on which you use).  There should be
a RELAY rule in there which (by default) only allows the machine's IP and
the localhost IP to use it to relay mail for outgoing mail.  If you edit
that and use tcprules to make a new cdb file it should work (I
believe).  You might have to restart qmail-smtpd to get the changes
recognized, I'm not sure.  This is a guess, I'm new to qmail too.  =)

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org





I have a few problems with qmail-pop3d that I'm not sure how to solve.  I
followed the instructions to the letter, and when I start it with
/etc/rc.d/init.d/qmail-pop3d.init it starts but says "hard error" before
it starts.  Any idea what this might be?

Also, I switched to using maildir and followed those instructions
properly, but when I use fetchmail to attempt to retrieve those messages I
get a "user doesn't have a $HOME/Maildir" error and no mail is
retrieved.  There is a ~/Maildir directory, I ran maildirmake and added
"./Maildir/" to the ~/.qmail file.  Any idea what I'm doing wrong?

Thank you in advance.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org





On Fri, 3 Mar 2000, Chris Johnson wrote:

> On Fri, Mar 03, 2000 at 08:47:52AM -0700, Vincent Danen wrote:
> > But that means I have to leave the list open for anybody to send to,
> > right?  It can't be a members-only list then?  I'd prefer not to do that,
> > but if I don't have a choice then I don't have a choice.  Or perhaps
> > there's an accept/deny rule for unsubscribed people attempting to send
> > mail to the list (I don't want other robots/spammers able to send mail to
> > the list, only legitimate subscribers), so I can deny all except for one
> > specific email address (the robot) and allow all members...  is something
> > like this possible?
> 
> There have been a number of suggestions, but I think the easiest and most
> correct way of doing this is to subscribe the robot's e-mail address to
> dir/allow. Look at the -u option in the ezmlm-make man page.

Ok, I was thinking of that.  The problem is I want messages from the
mailing list sent to the robot, all except for the messages the robot
itself sends.  Basically what I'm doing is turning a message area on my
BBS into a mailing list and don't want the messages from the BBS going
*back* to the message area on the BBS because ezmlm sends the poster his
message back.  I want to avoid duplicate messages in the BBS message area.

> This may require ezmlm-idx; I don't know because I don't have the vanilla ezmlm
> installed.

Yeah, I installed ezmlm-idx so that isn't the problem.  Nice added
features it provides... =)

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org





> Ok, I was thinking of that.  The problem is I want messages from the
> mailing list sent to the robot, all except for the messages the robot
> itself sends.

  Why not just have the robot program look at the "from:" line in the
message, and if it's from itself, it discards it?  That takes care of the
looping...

steve





Hi All,

I have this in my /etc/init.d folder on a Solaris 2.6

/usr/local/bin/tcpserver -x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 
100 0 smtp /var/qmail/bin/qmail-smtpd & 

Each time I check my email, the server executes another instance of this, 
see below :

   alias   320     1  0 20:45:38 ?        0:00 /usr/local/bin/tcpserver 
-x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 100 0 s
   alias   477   320  0 20:54:02 ?        0:00 /usr/local/bin/tcpserver 
-x/var/qmail/control/tcp.smtp.cdb -v -u 101 -g 100 0 s

Why is this as is this normal?




At 10:46 AM 2000/02/15 +0100, [EMAIL PROTECTED] wrote:

>I think djb's mess822 lib could help out a lot here...

Sorry, but what is "djb's mess822 lib" ?







On Sat, 04 Mar 2000 21:57:32 -0500 , "Andrew Scott" writes:
> At 10:46 AM 2000/02/15 +0100, [EMAIL PROTECTED] wrote:
> 
> >I think djb's mess822 lib could help out a lot here...
> 
> Sorry, but what is "djb's mess822 lib" ?
 
It's available from his "available software" page.  It
is a pretty nice library and set of programs for slicing
and dicing rfc-822ish e-mail headers.
 
-- 
Chris Mikkelson  | ... a pet peeve of mine is people who directly edit 
[EMAIL PROTECTED] | the .cf file instead of using the m4 configuration
                 | files ... I treat the .cf file as a binary file
                 | - you should too.  --- Eric Allman




On Feb 21 2000, Robert wrote:
> I once saw a post on this list on how to remove a linux service and
> keep it from starting on boot.  It's been a while since the post,
> and I've since forgotten what the command was.  Can anyone help to
> refresh my memory??

        Well, if we're talking about the same thing, I remember that
        Harald was upgrading his Solaris machine and told the list
        that it automatically installed sendmail. Then, in one of the
        start up scripts someone else suggested that the disabled the
        sendmail binary and made the appropriate links to qmail.

        But my memory is also not that clear (and I'm not on-line
        right now).


        Hope this helps, Roger...

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




Not sure if anyone got this, but as an update I re-created the Maildir's
for all of my users.  I think I had originally done "maildirmake
~/Maildir" which might have been the problem... did it this time as
"maildirmake $HOME/Maildir" and now when I connect with fetchmail it tells
me it is unable to scan $HOME/Maildir as opposed to the other error
message.  One step in the right direction, I think, but now I'm really
stumped.  Why would it be unable to scan?

I also edited /var/qmail/rc and changed ./Mailbox to ./Maildir/ but that
doesn't seem to have made a difference as far as the POP3 daemon is
concerned.

Help!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org
---------- Forwarded message ----------
Date: Sat, 4 Mar 2000 10:50:10 -0700 (MST)
From: Vincent Danen <[EMAIL PROTECTED]>
To: Qmail Mailing List <[EMAIL PROTECTED]>
Subject: problems with qmail-pop3d

I have a few problems with qmail-pop3d that I'm not sure how to solve.  I
followed the instructions to the letter, and when I start it with
/etc/rc.d/init.d/qmail-pop3d.init it starts but says "hard error" before
it starts.  Any idea what this might be?

Also, I switched to using maildir and followed those instructions
properly, but when I use fetchmail to attempt to retrieve those messages I
get a "user doesn't have a $HOME/Maildir" error and no mail is
retrieved.  There is a ~/Maildir directory, I ran maildirmake and added
"./Maildir/" to the ~/.qmail file.  Any idea what I'm doing wrong?

Thank you in advance.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org




Reply via email to