qmail Digest 3 Sep 2000 10:00:01 -0000 Issue 1112

Topics (messages 47847 through 47864):

qmail-ldap support for omail-webmail ?
        47847 by: Olivier M.

Re: few Qs from newbie
        47848 by: Chris, the Young One

Re:OT user getting mailing list -bis-
        47849 by: Petre Rodan

Forbid the access to some accounts
        47850 by: Ruben Curto

Re: Maildrop examples
        47851 by: Muhammad Yusuf
        47860 by: Muhammad Yusuf

Re: SOLVED: so much qmail-smtpd activity, so little qmail-send activity...
        47852 by: Brian Baquiran

Qmail 1.03
        47853 by: Bob Ross
        47854 by: Matthew Patterson
        47855 by: Bob Ross
        47856 by: Matthew Patterson
        47857 by: Bob Ross
        47858 by: Matthew Patterson

tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to 
/usr/local/etc/tcp.smtp.cdb: access denied
        47859 by: Peter Janett
        47861 by: Dale Miracle

Trying to compile qmail with debugging symbols
        47862 by: Mike

Re: Relay Testing
        47863 by: Ask Bjoern Hansen

email backup?
        47864 by: ideal

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]


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


Hello,

Currently, omail-webmail ( http://freshmeat.net/projects/omail-webmail/ )
supports qmail-only, qmail+vpopmail and qmail+vmailmgr accounts. 
Missing is now qmail+ldap authentication : it just need a way
to check an login+domain+passwd pair, and return userid, and
Maildir location. Could anybody using qmail-ldap contribute 
some code ? :)

Regards,
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland





Quoted from [EMAIL PROTECTED]:
> > The login program is in a package called ``shadow'', unless you use
> > Debian, in which case I think it's called ``login''.
> 
> In my case 'login' is in package "util-linux-2.10f-7".

Ahh, I see. If my memory serves correctly (since I'm not using Linux on
this machine), the util-linux login doesn't read /etc/login.defs; only
the login program from the shadow package does. This could explain why
you're not getting mail notifications on your Maildir when you log in.

However, I don't know of a solution, apart from installing the shadow
package yourself. I wouldn't suggest it though.

        ---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  




Dave Sill wrote:
> 
> Jonathan McDowell <[EMAIL PROTECTED]> wrote:
> 
> >On Fri, Sep 01, 2000 at 12:49:18PM -0400, Dave Sill wrote:
> >>
> >> Right, so FETCHMAIL is trying to deduce the recipient based on the To:
> >> header field. This is *not* going to work for list mail, spam, BCC's,
> >> or any other message whose envelope recipients aren't listed in the
> >> To: field. This is a lame way to redirect mail, but it's a FETCHMAIL
> >> problem, not a qmail problem.
> >
> >No.
> 
> OK, fine, thanks for explaining that. I did point out that I wasn't a
> fetchmail expert. :-)
> 
> >What's happened is that fetchmail expects the Delivered-To header to
> >have the real recipient in it. Which means that it's probably picking up
> >the qmail list server Delivered-To: header.
> 
> This is a lame way to redirect mail...

 Actually this 'Delivered-to' line was inserted into the rc because the
fetchmail-faq wrongly stated it as necessary when fetchmail is used in
combination with qmail.
 As a default, fetchmail checks the TO, CC and the Received lines from
any e-mail.

 If anyone interested, I had made it work using this rc:

poll mail.subdimension.com protocol pop3 aka www.subdimension.com nodns
localdomains subdimension.com
username "rodan" with password "&$%%$&" is peter here
fetchall forcecr to * here 

Sorry for posting the '-bis-' but it looks that the fetchmail list is
kind of dead for me.
All I got from them was the subscription notice and _nothing_ else. Not
even the copy of my own submission.

> >Petre: You probably want to look at the documentation for the qvirtual
> >command in your fetchmailrc.
> 
> Sounds like my quess that the problem might be the "envelope
> Delivered-To:" phrase was right.

Good guess ...
 
> >It's still a fetchmail error rather than a qmail one though.
> 
> Yup.

I admit it ;)

> 
> -Dave

Happy weekend to all of you!

Peter




Hi, list!

I installed Qmail in a Redhat 6.2 system, with the help of the
qmail-howto by Adam McKenna, and it is working very well.

Now, I need to create some mail accounts for the internal network only,
without outer world access.

I can't forbid the access by IP, since there are 2 accounts in a same
PC, one with access to Internet, and the other not.

I thought about creating a virtual domain for the internal accounts, and
not to permit the relay to it, but not seems me a very elegant solution.

Are there any way so that [EMAIL PROTECTED] could to send and to receive
mails normally, and that [EMAIL PROTECTED] will be internal only?


Thanks in advance, and excuse my poor english!

Ruben Curto
Argentina





On Sat, 2 Sep 2000, Col Wilson wrote:

> If anyone is using maildrop, I would appreciate a few example of what you
> have all managed to do with it. please send them to me so I can compile some
> notes.
> 
> At the moment I would particularly like to be able to do something like:
        try this:
                $  man maildropex
                or
                locate the maildropex
        

        regards.
        Muhammad Yusuf
> 
> if ( test -e somefile )
> { 
> .....
> }
> 
> Col Wilson
> 
> 





On Sat, 2 Sep 2000, Col Wilson wrote:

> If anyone is using maildrop, I would appreciate a few example of what you
> have all managed to do with it. please send them to me so I can compile some
> notes.
> 
> At the moment I would particularly like to be able to do something like:
        try this:
                $  man maildropex
                or
                locate the maildropex
        

        regards.
        Muhammad Yusuf
> 
> if ( test -e somefile )
> { 
> .....
> }
> 
> Col Wilson
> 
> 







Dave Sill wrote:

><[EMAIL PROTECTED]> wrote:
>
>>Incidentally, if there are THAT many 256's showing up in our logs, I wonder
>>if, rather than taking it as a Hard error, the remote smtp server is
>>treating it as a deferral, and continuing to retry repeatedly...
>
>Stray LF's are a temporary problem in qmail's opinion. There was a
>thread here on that topic within the past week.

I was tracking qmail-smtpd's exit codes for a couple of days. Without fixcrio, we were 
getting a 256 on 50-60% of all incoming SMTP connections. By using fixcrio, I think 
it's down to less than 10%, which I think we can attribute to timeouts and 
miscellaneous errors.

Brian




I have never had to do this before. Our new billing software does not work
if we have "." dots in the user name.

I need to remove the dots in the software but have qmail deliver the un
doted mail for those few users to their doted Mail address.

How do I do this.

Thanks
Bob Ross






dot-qmail(5) is your friend

MHP

----- Original Message -----
From: Bob Ross <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 11:51 AM
Subject: Qmail 1.03


> I have never had to do this before. Our new billing software does not work
> if we have "." dots in the user name.
>
> I need to remove the dots in the software but have qmail deliver the un
> doted mail for those few users to their doted Mail address.
>
> How do I do this.
>
> Thanks
> Bob Ross
>
>
>





OK, correct me if I'm wrong. In the .qmail file that is in every user home
directory, I add the line &[EMAIL PROTECTED]

their real address is [EMAIL PROTECTED]

or do I put this in the first line of that file. Or did I totally miss this.

Thanks


----- Original Message -----
From: "Matthew Patterson" <[EMAIL PROTECTED]>
To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 9:54 AM
Subject: Re: Qmail 1.03


> dot-qmail(5) is your friend
>
> MHP
>
> ----- Original Message -----
> From: Bob Ross <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 11:51 AM
> Subject: Qmail 1.03
>
>
> > I have never had to do this before. Our new billing software does not
work
> > if we have "." dots in the user name.
> >
> > I need to remove the dots in the software but have qmail deliver the un
> > doted mail for those few users to their doted Mail address.
> >
> > How do I do this.
> >
> > Thanks
> > Bob Ross
> >
> >
> >
>
>





basically what you want to do is add a file called .qmail-stjohns to
/var/qmail/alias, the contents of which would be:
st.johns

That must be on the first line. What will happen is when a mail is sent to
[EMAIL PROTECTED], qmail will search for the user, see that it doesn't
exist and pass the message on to the alias user. If the alias user can't
find the appropriate file, the message is bounced. However, when you put
this file there, it will route the message to the st.johns user and go with
whatever instructions are in the ~st.johns/.qmail file, probably putting it
into the accounts $HOME/Maildir/

MHP
----- Original Message -----
From: Bob Ross <[EMAIL PROTECTED]>
To: Matthew Patterson <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 12:10 PM
Subject: Re: Qmail 1.03


> OK, correct me if I'm wrong. In the .qmail file that is in every user home
> directory, I add the line &[EMAIL PROTECTED]
>
> their real address is [EMAIL PROTECTED]
>
> or do I put this in the first line of that file. Or did I totally miss
this.
>
> Thanks
>
>
> ----- Original Message -----
> From: "Matthew Patterson" <[EMAIL PROTECTED]>
> To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 9:54 AM
> Subject: Re: Qmail 1.03
>
>
> > dot-qmail(5) is your friend
> >
> > MHP
> >
> > ----- Original Message -----
> > From: Bob Ross <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, September 02, 2000 11:51 AM
> > Subject: Qmail 1.03
> >
> >
> > > I have never had to do this before. Our new billing software does not
> work
> > > if we have "." dots in the user name.
> > >
> > > I need to remove the dots in the software but have qmail deliver the
un
> > > doted mail for those few users to their doted Mail address.
> > >
> > > How do I do this.
> > >
> > > Thanks
> > > Bob Ross
> > >
> > >
> > >
> >
> >
>
>





It worked. Thanks.

Man this is going to save me a bunch of extra work.

Thanks
Bob Ross


----- Original Message -----
From: "Matthew Patterson" <[EMAIL PROTECTED]>
To: "Bob Ross" <[EMAIL PROTECTED]>; "qmail list" <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 10:17 AM
Subject: Re: Qmail 1.03


> basically what you want to do is add a file called .qmail-stjohns to
> /var/qmail/alias, the contents of which would be:
> st.johns
>
> That must be on the first line. What will happen is when a mail is sent to
> [EMAIL PROTECTED], qmail will search for the user, see that it doesn't
> exist and pass the message on to the alias user. If the alias user can't
> find the appropriate file, the message is bounced. However, when you put
> this file there, it will route the message to the st.johns user and go
with
> whatever instructions are in the ~st.johns/.qmail file, probably putting
it
> into the accounts $HOME/Maildir/
>
> MHP
> ----- Original Message -----
> From: Bob Ross <[EMAIL PROTECTED]>
> To: Matthew Patterson <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 12:10 PM
> Subject: Re: Qmail 1.03
>
>
> > OK, correct me if I'm wrong. In the .qmail file that is in every user
home
> > directory, I add the line &[EMAIL PROTECTED]
> >
> > their real address is [EMAIL PROTECTED]
> >
> > or do I put this in the first line of that file. Or did I totally miss
> this.
> >
> > Thanks
> >
> >
> > ----- Original Message -----
> > From: "Matthew Patterson" <[EMAIL PROTECTED]>
> > To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Saturday, September 02, 2000 9:54 AM
> > Subject: Re: Qmail 1.03
> >
> >
> > > dot-qmail(5) is your friend
> > >
> > > MHP
> > >
> > > ----- Original Message -----
> > > From: Bob Ross <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Saturday, September 02, 2000 11:51 AM
> > > Subject: Qmail 1.03
> > >
> > >
> > > > I have never had to do this before. Our new billing software does
not
> > work
> > > > if we have "." dots in the user name.
> > > >
> > > > I need to remove the dots in the software but have qmail deliver the
> un
> > > > doted mail for those few users to their doted Mail address.
> > > >
> > > > How do I do this.
> > > >
> > > > Thanks
> > > > Bob Ross
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>





If you want or need more information on this, take a look at Dave Sill's
Life With qmail. It will give more extensive information on aliases and
.qmail than I can.

MHP

----- Original Message -----
From: Bob Ross <[EMAIL PROTECTED]>
To: Matthew Patterson <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 12:05 PM
Subject: Re: Qmail 1.03


> OK, thanks, I'll take a look at it.
>
>
> ----- Original Message -----
> From: "Matthew Patterson" <[EMAIL PROTECTED]>
> To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 9:54 AM
> Subject: Re: Qmail 1.03
>
>
> > dot-qmail(5) is your friend
> >
> > MHP
> >
> > ----- Original Message -----
> > From: Bob Ross <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, September 02, 2000 11:51 AM
> > Subject: Qmail 1.03
> >
> >
> > > I have never had to do this before. Our new billing software does not
> work
> > > if we have "." dots in the user name.
> > >
> > > I need to remove the dots in the software but have qmail deliver the
un
> > > doted mail for those few users to their doted Mail address.
> > >
> > > How do I do this.
> > >
> > > Thanks
> > > Bob Ross
> > >
> > >
> > >
> >
> >
>
>





I can't seem to get tcprules OR cbd Perl module to work.  I have spent hours
playing with the permissions of all the files, but still get this error:
tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to
/usr/local/etc/tcp.smtp.cdb: access denied

Would someone mind sharing with permissions on tcp.smtp.tmp, tcp.smtp,
tcp.smtp.cdb, tcprules, and tcprulescheck?

I'm running Qmail via Inetd, and can write the tcp.smtp file fine, but all
attempts to create the .cdb file fail with the error listed above.

Thanks in advance for any and all ideas,

Peter Janett

Director of Interactive Media
http://www.healthwell.com
[EMAIL PROTECTED]






Peter Janett wrote:
> 
> I can't seem to get tcprules OR cbd Perl module to work.  I have spent hours
> playing with the permissions of all the files, but still get this error:
> tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to
> /usr/local/etc/tcp.smtp.cdb: access denied
> 
> Would someone mind sharing with permissions on tcp.smtp.tmp, tcp.smtp,
> tcp.smtp.cdb, tcprules, and tcprulescheck?
> 
> I'm running Qmail via Inetd, and can write the tcp.smtp file fine, but all
> attempts to create the .cdb file fail with the error listed above.
> 
> Thanks in advance for any and all ideas,

I am running Qmail with TCPserver and Vpopmail so their may be some
permission difference there but this is what I have for the files:

-rw-r--r--  1 vpopmail  vchkpw    60 Jun  8 11:27 tcp.smtp
-rw-r--r--  1 root      vchkpw  2240 Sep  2 16:14 tcp.smtp.cdb

-rwx--x--x  1 root  wheel  20480 Jun  2 22:00 tcprules
-rwx--x--x  1 root  wheel  16384 Jun  2 22:00 tcprulescheck

It sounds like the program (owner) that is creating the cdb file doesn't
have write permission to the directory you are trying to write to.  
Who (as in what user) is running tcprules?  Can you run tcprules as root
successfully?
I had a heck of time getting vpopmail and tcprules working correctly for
me, ended up being a permission problem.  Vpopmail has a feature where
it will automate the updating of the tcp.smtp.cdb file in real time.

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting




Help:

I am trying to compile qmail  so that I can both run it in a debugger and
run it through gprof.  On both occaisions I get "cannot find debugging
symbols"  I have added -g and -pg  into conf-cc and conf-ld.   If anyone
has any suggestions I would appreciate them at this point.

Thanks

Mike





On Thu, 31 Aug 2000, Michael T. Babcock wrote:

> Thanks ... interesting reading ... a test message would be needed to truly
> check I guess is the result.

the relay tester at http://fabel.dk/relay/test/ does that.


 - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 70M impressions per day, <http://valueclick.com>





How I can use qmail to implement email backup?
I mean I use two machine whick both  run qmail.One work as the other's back.
When hostA shut down, HostB can receive the mail and when hosta is up ,retransfer the 
email received to the HostA.
        
How should I setup DNS server and qmail server independently?

BR



Reply via email to