Re: OT: AUTH=LOGIN documentation, anyone?

2000-09-02 Thread Erwin Hoffmann

Hi,

check RFC 2554 (SMTP Service Extension for Authentication).

cheers.
eh.

At 16:57 1.9.2000 -0500, Kris Kelley wrote:
>Forgive me for an off topic post, but I'm hoping somebody here can point me
>in the right direction.
>
>I'm looking for documentation that details how the ESMTP AUTH=LOGIN
>mechanism works.  There doesn't seem to be an RFC for it, and I haven't had
>any luck finding other documentation.  The AUTH=LOGIN mechanism is used by a
>couple of qmail patches to provide SMTP relay authentication, and a coworker
>of mine needs to know how it works so he can write an email client for it.
>Thanks!
>
>---Kris Kelley
>
>
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm 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      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



Maildrop examples

2000-09-02 Thread Col Wilson

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:

if ( test -e somefile )
{ 
.
}

Col Wilson





qmail Digest 2 Sep 2000 10:00:01 -0000 Issue 1111

2000-09-02 Thread qmail-digest-help


qmail Digest 2 Sep 2000 10:00:01 - Issue 

Topics (messages 47770 through 47846):

Re: Sending an email to all users of my system
47770 by: Vince Vielhaber

Re: Alias Support Question
47771 by: Dave Sill
47791 by: tom.sarratt.jr
47794 by: Chris Garrigues
47796 by: Dave Sill
47797 by: tom.sarratt.jr
47824 by: tom.sarratt.jr
47844 by: Timothy Legant

Re: qmail-lspawn looks for local user?
47772 by: Dave Sill
47778 by: Daniel Augusto Fernandes
47779 by: Dave Sill
47789 by: Daniel Augusto Fernandes
47812 by: Daniel Augusto Fernandes
47816 by: Daniel Augusto Fernandes
47820 by: Dave Sill
47830 by: Daniel Augusto Fernandes
47833 by: Dave Sill

Re: Virtual Domains
47773 by: Wilson, Frank
4 by: Dave Sill
47787 by: Nick Davies
47788 by: Vince Vielhaber
47809 by: Dale Miracle
47810 by: Dale Miracle
47811 by: Aaron Dougherty

Re: qmail-vpopmail question
47774 by: Wilson, Frank
47806 by: Dale Miracle

Re: user getting mailing list
47775 by: Dave Sill

Re: Telnet 110 - ter
47776 by: Marco

Re: Requesting the services of Hercule Poirrot
47780 by: Dave Kitabjian
47782 by: Dave Sill
47785 by: Dave Kitabjian

SOLVED: so much qmail-smtpd activity, so little qmail-send activity...
47781 by: Dave Kitabjian
47783 by: Dave Sill

Qmail's queue speed
47784 by: Steven Rice
47786 by: James Raftery

Re: problem!
47790 by: Ben Beuchler

user getting mailing list -bis-
47792 by: Petre Rodan
47798 by: Charles Cazabon
47801 by: Dave Sill
47817 by: Jonathan McDowell
47823 by: Dave Sill

Start Qmail automatically
47793 by: tigre21.gamma.qnet.com.pe

Re: clustered qmail  solution
47795 by: Bill Carlson
47799 by: Charles Cazabon
47800 by: Dave Sill

Bounce suppression on .qmail lists
47802 by: Angel, Christopher J
47805 by: Petr Novotny
47815 by: Matthew Patterson
47821 by: Matthew Patterson

spam relay follow-up
47803 by: Michael T. Babcock

Re: remove messages from queue
47804 by: Daniel Augusto Fernandes
47822 by: Jon Rust

Re: can not send email, but can receive email
47807 by: Dale Miracle

Help please with a simple problem open-smtp code
47808 by: Rob Havens

stripping attachments
47813 by: Matthew Patterson
47825 by: Matthew Patterson
47827 by: Dave Sill
47828 by: Matthew Patterson

Re: Sender domain verification ...
47814 by: Keith Warno \(.HaggleWare.com\)
47818 by: Chin Fang

Re: few q's for newbie
47819 by: Matthew Patterson

Confusion about bouncesaying
47826 by: David Dyer-Bennet
47829 by: Charles Cazabon
47831 by: David Dyer-Bennet

qmail-lint Re: Alias and Dot
47832 by: Russell Nelson

rcpthosts prob
47834 by: Z
47835 by: Ronny Haryanto
47836 by: Ben Beuchler
47837 by: Z
47841 by: Stephen Bosch

Queueing
47838 by: Steven Rice
47839 by: markd.bushwire.net

outgoing mail masquerading and /bin/mail
47840 by: Stephen Bosch

Re: AUTH=LOGIN documentation, anyone?
47842 by: Kris Kelley
47845 by: Erwin Hoffmann

Re: Qmail 1.03
47843 by: Andy Bradford

Maildrop examples
47846 by: Col Wilson

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]


--



 Roberto Samarone Araújo (RSA) wrote:
 
> I would like to know how can I create an email , so when
> I send a message using this email it will send a copy of it to all users in
> my email system including virtual emails but , if an user try to make a
> reply of this email , it only will send a email to the email that I use to
> send to all user and not to all users in my server . I don't want to create
> a moderated mailing list to do it .

Here's a script I use but I don't remember where it came from so if 
anyone on the list recognizes it as theirs, speak up!

#!/bin/sh
# Build list of users from /etc/passwd starting with
# Line 18 so we don't send mail to non-users.
#
# Adjust below if statement to match your system.
# 
(
cat /etc/passwd | awk '
BEGIN{
  FS=":"
  cnt=1
}
{
  if(cnt < 18){ cnt++ ; next }
  printf "[EMAIL PROTECTED]\n",$1
  cnt++
}'
) | grep -v qmail | grep -v alias | grep -v orders | grep -v ftp | grep -v
test 
| grep -v spop3d > /tmp/mail_list
#
# You may need to use grep -v statement in for
# loop below if you have added automated users
# ie: postgres, etc.. to fil

qmail-ldap support for omail-webmail ?

2000-09-02 Thread Olivier M.

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




Re: few Qs from newbie

2000-09-02 Thread Chris, the Young One

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  



Re:OT user getting mailing list -bis-

2000-09-02 Thread Petre Rodan

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



Forbid the access to some accounts

2000-09-02 Thread Ruben Curto

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




Re: Maildrop examples

2000-09-02 Thread Muhammad Yusuf

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




Re: Re: SOLVED: so much qmail-smtpd activity, so little qmail-send activity...

2000-09-02 Thread Brian Baquiran


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



Qmail 1.03

2000-09-02 Thread Bob Ross

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





Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

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




Fw: Qmail 1.03

2000-09-02 Thread 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
> >
> >
> >
>
>




Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

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




Fw: Qmail 1.03

2000-09-02 Thread 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
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>




Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

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




tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to /usr/local/etc/tcp.smtp.cdb: access denied

2000-09-02 Thread Peter Janett

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]





Re: Maildrop examples

2000-09-02 Thread Muhammad Yusuf

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





Re: tcprules: fatal: unable to move /usr/local/etc/tcp.smtp.tmp to /usr/local/etc/tcp.smtp.cdb: access denied

2000-09-02 Thread Dale Miracle

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



Trying to compile qmail with debugging symbols

2000-09-02 Thread Mike

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




Re: Relay Testing

2000-09-02 Thread Ask Bjoern Hansen

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 - 
more than 70M impressions per day,