Re: maildrop (generic) filter question

1999-12-03 Thread Sam

Subba Rao writes:

> On  0, Sam <[EMAIL PROTECTED]> wrote:
> > > 
> > > The OR operator ( || ) is for 2 expressions. The correct syntax should be
> > > 
> > > if(^/(To|Cc): .*(jack|bob).*/ ){
> > > to "!jack bob"
> > > }
> > 
> > Congratulations.  Any time either jack or bob receives a message, both of
> > them will now receive a copy of it.
> > 
> > That's not what the guy wants.
> > 
> 
> Ok here it is. 
> 
> if(^/(To|Cc): .*(jack&bob).*/ ) {
> to "!jack bob"
> }

When there's a To: or Cc: header that contains the string 'jack&bob',
verbatim, forward the message to both of them.

& carries no special meaning in regular expressions.

> if(^/(To): .*(jack|bob).*/ && ^/Cc: .*(jack|bob).*/ ) {
> to "!jack bob"
> }

If there's a To: header containing either jack, or bob, and that there is a
Cc: header containing either jack, or bob, forward the message to both of
them.

According to these rules, if a message contains the following header:

To: jack, bob

The message will be discarded, because it meets neither conditions.

What you really want to do is very simple:

if (hasaddr("[EMAIL PROTECTED]"))
{
cc "! jack"
}

if (hasaddr("[EMAIL PROTECTED]"))
{
cc "! bob"
}

# Rest of the filtering instructions



Re: maildrop (generic) filter question

1999-12-03 Thread Subba Rao

On  0, Sam <[EMAIL PROTECTED]> wrote:
> > 
> > The OR operator ( || ) is for 2 expressions. The correct syntax should be
> > 
> > if(^/(To|Cc): .*(jack|bob).*/ ){
> > to "!jack bob"
> > }
> 
> Congratulations.  Any time either jack or bob receives a message, both of
> them will now receive a copy of it.
> 
> That's not what the guy wants.
> 

Ok here it is. 

if(^/(To|Cc): .*(jack&bob).*/ ) {
to "!jack bob"
}

if(^/(To): .*(jack|bob).*/ && ^/Cc: .*(jack|bob).*/ ) {
to "!jack bob"
}

< followed by some previous rules he had in the original posting >

That will allow take care of his needs. 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



Re: maildrop (generic) filter question

1999-12-03 Thread Sam

Subba Rao writes:

> On  0, Subba Rao <[EMAIL PROTECTED]> wrote:
> >  
> > if(^/(To|Cc): .*(jack||bob).*/ ){
> > to "!jack bob"
> > }
> > 
> > The above will foward any mail received by either jack OR bob to both jack AND bob.
> > I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
> > both of them, even if it is addressed to only one of them. (I don't know why you
> > would want to do that. ;-) ).
> > 
> > The operator used for To and Cc, is a bitwise operator, where as for bob and jack, 
>we
> > are using logical operators.
> > 
> 
> The OR operator ( || ) is for 2 expressions. The correct syntax should be
> 
> if(^/(To|Cc): .*(jack|bob).*/ ){
> to "!jack bob"
> }

Congratulations.  Any time either jack or bob receives a message, both of
them will now receive a copy of it.

That's not what the guy wants.



Re: maildrop (generic) filter question

1999-12-03 Thread Subba Rao

On  0, Subba Rao <[EMAIL PROTECTED]> wrote:
>  
> if(^/(To|Cc): .*(jack||bob).*/ ){
> to "!jack bob"
> }
> 
> The above will foward any mail received by either jack OR bob to both jack AND bob.
> I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
> both of them, even if it is addressed to only one of them. (I don't know why you
> would want to do that. ;-) ).
> 
> The operator used for To and Cc, is a bitwise operator, where as for bob and jack, we
> are using logical operators.
> 

The OR operator ( || ) is for 2 expressions. The correct syntax should be

if(^/(To|Cc): .*(jack|bob).*/ ){
to "!jack bob"
}

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



Re: maildrop (generic) filter question

1999-12-03 Thread Subba Rao

On  0, Denis Voitenko <[EMAIL PROTECTED]> wrote:
> Hey, thanks. You helped a lot. Just a minor question I was gonna ask you.
> 
> Here's the deal. There is a user 'postman' on the box that fetches mail from
> *@domain.com and sorts it by headers (with maildrop) and puts it in
> approbriate boxes like so
> 
> .mailfilter
> 
> if(^/(To|Cc): .*bob){
> to "!bob"
> }
> 
> if(^/(To|Cc): .*jack){
> to "!jack"
> }
> 
> but what heppens is when a message has both bob and jack in the to: field or
> say bob in to: and jack in cc: the message gets delivered to bob simply
> because bob is the first in the filter. Those messages never get delivered
> to jack. How'd I fix that?
> 
> 
Glad the previous examples worked. If bob and jack are in the To: and/or Cc:
fields, then you could use the following logic:
 
if(^/(To|Cc): .*(jack||bob).*/ ){
to "!jack bob"
}

The above will foward any mail received by either jack OR bob to both jack AND bob.
I am assuming that's is the goal you are trying to acheive i.e. to send the mail to
both of them, even if it is addressed to only one of them. (I don't know why you
would want to do that. ;-) ).

The operator used for To and Cc, is a bitwise operator, where as for bob and jack, we
are using logical operators.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



Re: Qmail not logging to the maillog..

1999-12-03 Thread Troy Frericks

I've had this same issue since I moved qmail from a redhat 5.2 to a 6.1.  I
have been considering other alternatives than syslog.  Just have not had
time to deal with it.
#

At 05:53 PM 12/3/99 , you wrote:
>I also have the same issue.  My syslog.conf has the entry "mail.*" and my rc
>file is as follows:
>
>--
>#!/bin/sh
>
># Using splogger to send the log through syslog.
># Using qmail-local to deliver messages to ~/Mailbox by default.
>
>exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
>qmail-start ./Mailbox splogger qmail
>--
>
>I really do need to find out some information from my maillog due to some list
>issues we are having, any help is appreciated.
>
>Thanks,
>
>Eric Garff
>MyComputer.com
>SysAdmin
>
>Philip Gabbert wrote:
>
>> This is odd. All of the sudden, qmail isn't logging to the maillog. I know
>> it's writeable, courier-imap still uses it.
>>
>> Where should I be looking to find out the reason? All I can think of is my
>> rc file, but it looks like fine:
>>
>> -
>> #!/bin/sh
>>
>> # Using splogger to send the log through syslog. # Using procmail to deliver
>> messages to /var/spool/mail/$USER by default.
>>
>> exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
>> splogger qmail
>> --
>>
>> trigger is also just fine. No change to it.
>>
>> Any suggestions??
>>
>> Thnx
>>
>> Philip



Re: Qmail not logging to the maillog..

1999-12-03 Thread Eric Garff

I also have the same issue.  My syslog.conf has the entry "mail.*" and my rc
file is as follows:

--
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
qmail-start ./Mailbox splogger qmail
--

I really do need to find out some information from my maillog due to some list
issues we are having, any help is appreciated.

Thanks,

Eric Garff
MyComputer.com
SysAdmin

Philip Gabbert wrote:

> This is odd. All of the sudden, qmail isn't logging to the maillog. I know
> it's writeable, courier-imap still uses it.
>
> Where should I be looking to find out the reason? All I can think of is my
> rc file, but it looks like fine:
>
> -
> #!/bin/sh
>
> # Using splogger to send the log through syslog. # Using procmail to deliver
> messages to /var/spool/mail/$USER by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
> splogger qmail
> --
>
> trigger is also just fine. No change to it.
>
> Any suggestions??
>
> Thnx
>
> Philip



Qmail not logging to the maillog..

1999-12-03 Thread Philip Gabbert


This is odd. All of the sudden, qmail isn't logging to the maillog. I know
it's writeable, courier-imap still uses it.

Where should I be looking to find out the reason? All I can think of is my
rc file, but it looks like fine:

-
#!/bin/sh

# Using splogger to send the log through syslog. # Using procmail to deliver
messages to /var/spool/mail/$USER by default.

exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
splogger qmail
--

trigger is also just fine. No change to it.

Any suggestions??

Thnx

Philip



Re: Webmin Module

1999-12-03 Thread Vince Vielhaber


On 03-Dec-99 Matt Hoppes wrote:
> How do i get off this list?

Look at the header of any message you get and you'll see the address
to email for help.  The help message will tell you how to get off.

Vince.

> 
> 
> On Fri, 3 Dec 1999 [EMAIL PROTECTED] wrote:
> 
>> Date: Fri, 3 Dec 1999 17:56:04 -0500
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: Webmin Module
>> 
>> 
>> 
>> Does anyone know of a module for Webmin that can be used to control Qmail?
>> 
>> I am running it under FreeBSD/i386
>> 
>> thanks,
>> 
>> Bernie Courtney
>> 
>> 
>> 
> 
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
> * It's an Acid!   *
> * No, It's a Base!*
> * Wait Kids... Don't Argue!  It's Both!  It's Amphiprotic!  *
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
> 

-- 
==
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
  # includeHave you seen http://www.pop4.net?
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==




Re: Webmin Module

1999-12-03 Thread Matt Hoppes

How do i get off this list?


On Fri, 3 Dec 1999 [EMAIL PROTECTED] wrote:

> Date: Fri, 3 Dec 1999 17:56:04 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Webmin Module
> 
> 
> 
> Does anyone know of a module for Webmin that can be used to control Qmail?
> 
> I am running it under FreeBSD/i386
> 
> thanks,
> 
> Bernie Courtney
> 
> 
> 

*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
* It's an Acid! *
* No, It's a Base!  *
* Wait Kids... Don't Argue!  It's Both!  It's Amphiprotic!  *
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*



Webmin Module

1999-12-03 Thread courtney



Does anyone know of a module for Webmin that can be used to control Qmail?

I am running it under FreeBSD/i386

thanks,

Bernie Courtney




Re: I need to get off this list

1999-12-03 Thread Troy Frericks

I hated to jump on this thread, but 

*** a well run mailing list will have unsubscribe information inclosed with
each message.  

That avoids lengthy threads about "let me out", and the follow ups that are
bound to follow these messages (ie, mine, and those that reply to mine, etc).
#

At 10:03 AM 12/3/99 , Bruno Wolff III wrote:
>On Fri, Dec 03, 1999 at 02:01:26PM +0700,
>  abc <[EMAIL PROTECTED]> wrote:
>> At 09:16 02/12/99 -0800, Michael m. Honse wrote:
>> >
>> I think there should be message trailer like at the PGP - Users Mailling
>> list, maintained by Fred , to prevent this incident anymore
>
>You mean something like:
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>
>Which is included in all of the messages and will provide information
>on how to get off the list as well as other things.



Re: starting qmail-pop3d

1999-12-03 Thread Shawn P. Stanley

Oops.  That's right; we run our own DNS, but our ISP lists us as
mail.nbs-inc.com.

- Original Message -
From: Jon Rust <[EMAIL PROTECTED]>
To: Shawn P. Stanley <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 2:07 PM
Subject: Re: starting qmail-pop3d


> nslookup spigot.nbs-inc.com
> Server:  mail.vcnet.com
> Address:  209.239.239.15
>
> *** mail.vcnet.com can't find spigot.nbs-inc.com: Non-existent host/domain
>
> Running qmail-pop3d requires you to put the FQDN on the command line
> with qmail-popup. The qmail-pop3d.init script you're using appears to
> be testing the FQDN the machine thinks it has, but it's failing (as
> my nslookup failed above).
>
>   A) you could hard code a _valid_ FQDN into the script after
> qmail-popup (eg, qmail-popup host.domain.com checkpasswd ...).
>
>   B) you could make it so spigot.nbs-inc.com has a valid address.
>
> Jon
>
> At 1:52 PM -0600 12/3/99, Shawn P. Stanley wrote:
> >I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init.  I'm
> >using /etc/rc.d/init.d/qmail-pop3d.init because that's what
README.qmail-run
> >said.  I'm using README.qmail-run because I had no other instructions
that
> >referenced starting qmail-pop3d.
> >
> >If something's wrong with my DNS, I'm not aware of what exactly it is.
> >"Hard error" doesn't give any clues.  Is there source to dnsfq?  Perhaps
by
> >examining what it considers a "Hard error" I can discover what it might
> >think is wrong with my DNS.



maildrop (generic) filter question

1999-12-03 Thread Denis Voitenko

Hey, thanks. You helped a lot. Just a minor question I was gonna ask you.

Here's the deal. There is a user 'postman' on the box that fetches mail from
*@domain.com and sorts it by headers (with maildrop) and puts it in
approbriate boxes like so

.mailfilter

if(^/(To|Cc): .*bob){
to "!bob"
}

if(^/(To|Cc): .*jack){
to "!jack"
}

but what heppens is when a message has both bob and jack in the to: field or
say bob in to: and jack in cc: the message gets delivered to bob simply
because bob is the first in the filter. Those messages never get delivered
to jack. How'd I fix that?


Denis Voitenko
Tel: 856 809-9252
Mail: [EMAIL PROTECTED]
ICQ: 9396092
- Original Message -
From: Subba Rao <[EMAIL PROTECTED]>
To: Denis Voitenko <[EMAIL PROTECTED]>
Sent: Tuesday, November 30, 1999 5:48 PM
Subject: Re: maildrop ?


> On  0, Denis Voitenko <[EMAIL PROTECTED]> wrote:
> > Have you figured it you? If so could you tell me how to invoke it from
> > .qmail files and some sample filters?
> >
> > Denis Voitenko
>
> Hi there,
>
> maildrop is a big pain to get it to work and worse of all, to get help on
the
> maildrop list. Once it works, it's great.
>
> ===
> Here is my .qmail
> (0)subb3@caesar:~$ cat .qmail
> ./Maildir/
> (0)subb3@caesar:~$
> ===
>
>
> ===
> My /var/qmail/rc looks like this
> (0)subb3@caesar:~$ cat /var/qmail/rc
> #!/bin/sh
>
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '| /usr/local/bin/maildrop' splogger qmail
> (0)subb3@caesar:~$
> ===
>
>
> ===
> I use fetchmail to get my mail from the POP server. My .fetchmailrc
> looks like this
> (0)subb3@caesar:~$ cat .fetchmailrc
> set syslog
> poll mypop.ibm.net protocol pop3 username userid password userpass
> mda /usr/local/bin/maildrop
> (0)subb3@caesar:~$
> ===
>
>
> Now finally, the filter file. I use only one filter file which is
.mailfilter.
> I believe you can have a directory .mailfilters and have several filters.
> My needs are very basic right now. Here is a excerpt from my
$HOME/.mailfilter
> file.
>
> ===
> DEFAULT="./Maildir/"
>
> ### All mail with my address in the To, Cc, From and Reply-To field goes
to my
> ### default mailbox (which is $HOME/Maildir
> if ( /^(To|Cc|From|Reply-To): .*subb3@ibm\.net.*/ )
>   to $DEFAULT
>
> ### Store messages to Qmail in their own folder
> if ( /^(To|From|Cc|Reply-To|X-Mailing-List): .*qmail@list\.cr\.yp\.to.*/ )
>   to Mail/qmail
> ===
>
> I hope this will help you with your maildrop and qmail. Let me know how it
works.
> Once it works, you can start working on more complex filter processing.
> Use the "man maildropfilter". It explains the filtering language but with
very
> few examples.
>
> Good luck!
>
> Subba Rao
> [EMAIL PROTECTED]
> http://pws.prserv.net/truemax/



Re: starting qmail-pop3d

1999-12-03 Thread Jon Rust

nslookup spigot.nbs-inc.com
Server:  mail.vcnet.com
Address:  209.239.239.15

*** mail.vcnet.com can't find spigot.nbs-inc.com: Non-existent host/domain

Running qmail-pop3d requires you to put the FQDN on the command line 
with qmail-popup. The qmail-pop3d.init script you're using appears to 
be testing the FQDN the machine thinks it has, but it's failing (as 
my nslookup failed above).

  A) you could hard code a _valid_ FQDN into the script after 
qmail-popup (eg, qmail-popup host.domain.com checkpasswd ...).

  B) you could make it so spigot.nbs-inc.com has a valid address.

Jon

At 1:52 PM -0600 12/3/99, Shawn P. Stanley wrote:
>I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init.  I'm
>using /etc/rc.d/init.d/qmail-pop3d.init because that's what README.qmail-run
>said.  I'm using README.qmail-run because I had no other instructions that
>referenced starting qmail-pop3d.
>
>If something's wrong with my DNS, I'm not aware of what exactly it is.
>"Hard error" doesn't give any clues.  Is there source to dnsfq?  Perhaps by
>examining what it considers a "Hard error" I can discover what it might
>think is wrong with my DNS.



Re: starting qmail-pop3d

1999-12-03 Thread Shawn P. Stanley

I'm using dnsfq because I'm using /etc/rc.d/init.d/qmail-pop3d.init.  I'm
using /etc/rc.d/init.d/qmail-pop3d.init because that's what README.qmail-run
said.  I'm using README.qmail-run because I had no other instructions that
referenced starting qmail-pop3d.

If something's wrong with my DNS, I'm not aware of what exactly it is.
"Hard error" doesn't give any clues.  Is there source to dnsfq?  Perhaps by
examining what it considers a "Hard error" I can discover what it might
think is wrong with my DNS.

- Original Message -
From: Jon Rust <[EMAIL PROTECTED]>
To: Shawn P. Stanley <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 11:47 AM
Subject: Re: starting qmail-pop3d


> At 9:39 PM -0600 12/2/99, Shawn P. Stanley wrote:
> >It's definately /var/qmail/bin/dnsfq giving the "Hard error" message, in
> >response to:
> >
> >/var/qmail/bin/dnsfq spigot.nbs-inc.com
> >
> >I can't find any help on dnsfq.  Any ideas?
>
> Why are you using dnsfq? Just hard code your FQDN into your start
> script. My pop3d daemon is started using svscan (daemtools 0.63) with
> this run script:
>
>mail:/var/qmail/supervise/pop3d{53} # cat run
>#!/bin/sh
>
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>
>exec tcpserver -R -x/etc/tcp.pop3d.cdb 0 pop3
/var/qmail/bin/qmail-popup
> mail.vcnet.com /var/qmail/bin/checkpoppasswd
/var/qmail/sbin/relay-ctrl-allow
> /var/qmail/bin/qmail-pop3d Maildir
>
>
> (That last part is all one line)
>
> Although, the fact that dnsfq can't establish your FQDN tells me
> something's wrong with DNS on your system.
>
> Jon



RE: Internal SPAM

1999-12-03 Thread Ferhat Doruk

See  http://www.palomine.net/qmail/tarpit.html 


>-Original Message-
>From: Diego A. Puertas F. [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 03, 1999 5:40 PM
>To: [EMAIL PROTECTED]
>Subject: Internal SPAM
>
>
>One way to control SPAM is checking the header size, some of 
>my users are 
>sending mail to all my users (2000) and this would be a way to exclude
>that kind of mail, so:
>
>- How can I check mail header size, or
>
>- what other ways are there to prevent SPAM, even internal SPAM
>
>



Re: [ Error messages ] - how and can we change/translate them?

1999-12-03 Thread Dave Sill

"Luka Gerzic" <[EMAIL PROTECTED]> wrote:

>any chance that you all can help me with this ?

No, we're all a bunch of self-important, heartless pricks that like to
watch poor newbies suffer. Ha, ha, ha.

>what source too search, and can i do it w/o
>modifying a lot of source code?

QSBMF is documented at ftp://koobera.math.uic.edu/www/proto/qsbmf.txt.

You'll have to modify qmail-send.c. A quick read of the QSBMF doc
says that you could add additional human-readable text to the
introductory paragraph. QSBMF defines a paragraph as a series of
non-blank lines followed by a single blank line. So you could do
something like:

  Hi. This is the qmail-send program at mx1.drenik.net.
  I'm afraid I wasn't able to deliver your message to the following addresses.
  This is a permanent error; I've given up. Sorry it didn't work out.
  -
  Bonjour. C'est le programme d'qmail-envoi à mx1.drenik.net. J'ai
  peur que je n'aie pas pu fournir votre message aux adresses
  suivantes. C'est une erreur permanente; J'ai donné vers le
  haut. Désolé elle n'a pas établi.
  -
  Hallo. Dieses ist das Qmailsendenprogramm an mx1.drenik.net. Ich
  habe Angst, daß ich nicht konnte, Ihre Meldung an die folgenden
  Adressen zu liefern. Dieses ist ein permanenter Fehler; Ich habe
  oben gegeben. Traurig arbeitete es nicht aus.
  
  <[EMAIL PROTECTED]>:
  Sorry, no mailbox here by that name. (#5.1.1)

So the first "paragraph" is actually multiple paragraphs in different
languages saying the same thing. The "-" paragraph breaks keep QSBMF
parsers from seeing the separate paragraphs.

-Dave

(Translations by AltaVista's babelfish.)



Re: [ Error messages ] - how and can we change/translate them?

1999-12-03 Thread Luka Gerzic


any chance that you all can help me with this ?
what source too search, and can i do it w/o
modifying a lot of source code?


D r e n i k   N e t w o r k s  /  Y u g o s l a v i a

Luka Z. Gerzic
Graphic design, prepress, html, networking
home page:  http://www.linux.drenik.net
email: [EMAIL PROTECTED] / GSM +381 64 11 0 29 56



- Original Message -
From: Dave Sill <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 03, 1999 4:43 PM
Subject: Re: [ Error messages ] - how and can we change/translate them?


> "Luka Gerzic" <[EMAIL PROTECTED]> wrote:
>
> >Any one knows how to translate messages like this one ?
> >Where are they located ? Thank you all
> >
> >
> >Hi. This is the qmail-send program at mx1.drenik.net.
> >I'm afraid I wasn't able to deliver your message to the following
addresses.
> >This is a permanent error; I've given up. Sorry it didn't work out.
> >
> ><[EMAIL PROTECTED]>:
> >Sorry, no mailbox here by that name. (#5.1.1)
>
> WARNING: qmail's bounce messages are in a format called QSBMF
> (qmail-send Bounce Message Format). Although they're human-readable,
> they're also machine-readable, and if you translate them, you'll break
> that. If you really need them in another language, investigate the
> QSBMF format and see if you can make them multilingual. You'll need to
> modify the source to do that, though.
>
> -Dave
>



converting from sendmil's virtmail to vpopmail

1999-12-03 Thread Ben Beuchler

I have played with qmail and vpopmail enough to decided that I like it
enough to attempt a little larger job.  Hopefully, if this one goes well,
I can talk my boss into letting us convert some of our REALLY busy mail
servers over to qmail/vpop/qmailadmin!


The box I would like to convert is hosting 52 domains and about 300 users.
The virtusertable (for those of you lucky enough to not have had to fight
with sendmail) is just a text file mapping the virtual user to a real
account, ex:

[EMAIL PROTECTED] redneck1

And, of course, redneck1 is a real account, with a home directory and a
mail file in /var/spool/mail.

Vpopmail's vconvert is a useful program, although a tad poorly documented.
Issuing a 'vconvert -e -c' does a nice job of converting most of the
accounts over, but it uses the real account name and puts 'em all in the
same domain.  This would mean a lot of manual editing and moving.  That's
how I converted the first server.  Fortunately it only had 20 or so
accounts...

Does anyone have any suggestsons for converting to vpop while preserving
the virtual information (domain, virtual account name)?

Thanks,
Ben



Re: performance problem/todo backlogs

1999-12-03 Thread cmikk


On Fri, 3 Dec 1999 18:00:32 +0100 , [EMAIL PROTECTED] writes:
> On Fri, Dec 03, 1999 at 10:44:51AM -0500, Mark Hoffman wrote:
> > I've got the same problem. Forgive me if the answer is documented
> > somewhere, but does anyone have a solution? I've put in all the
> > patches for high volume servers.
>
> My solution was to remove the 'sync' option from the queue mount. It
> now races it's ass off, I benchmarked it at well over 1 million
> distinct messages a day.
>
> Still waiting for a reliable filesystem that doesn't come to a
> grinding halt when mounted sync. Under Linux, that is.

Well, under FreeBSD, 'sync' only does sync metadata,
which is a significant performance improvement over
sync data+metadata.  Also, the softupdates option
(which is allegedly unsafe, but I haven't seen anyone
say why) will let you handle a bit more volume still.

>From experience, softupdates gives you almost as
much improvement over (FreeBSD) sync as async gives
you over softupdates.

Aside from that, I guess you're stuck waiting for
XFS or ext3fs journalling, whichever comes first.

-- 
Chris Mikkelson  |  It was mentioned on CNN that the prime number
[EMAIL PROTECTED] |  discovered recently is four times bigger than
the previous record.  -- unknown



Re: starting qmail-pop3d

1999-12-03 Thread Jon Rust

At 9:39 PM -0600 12/2/99, Shawn P. Stanley wrote:
>It's definately /var/qmail/bin/dnsfq giving the "Hard error" message, in
>response to:
>
>/var/qmail/bin/dnsfq spigot.nbs-inc.com
>
>I can't find any help on dnsfq.  Any ideas?

Why are you using dnsfq? Just hard code your FQDN into your start 
script. My pop3d daemon is started using svscan (daemtools 0.63) with 
this run script:

   mail:/var/qmail/supervise/pop3d{53} # cat run
   #!/bin/sh

   QMAILDUID=`id -u qmaild`
   NOFILESGID=`id -g qmaild`

   exec tcpserver -R -x/etc/tcp.pop3d.cdb 0 pop3 /var/qmail/bin/qmail-popup
mail.vcnet.com /var/qmail/bin/checkpoppasswd /var/qmail/sbin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir


(That last part is all one line)

Although, the fact that dnsfq can't establish your FQDN tells me 
something's wrong with DNS on your system.

Jon



Re: Redirect only one incoming mail to another destination?

1999-12-03 Thread Russell Nelson

Scott D. Yelich writes:
 > just say, "[EMAIL PROTECTED]" is sending mail -- and I want to send only
 > that mail to another address...

|condredirect another-address [ "$SENDER" = "[EMAIL PROTECTED]" ]

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



RE: Question about cyclog

1999-12-03 Thread Steve Kapinos

I found my problem was I wasn't including quotes on both sides of the @ and
still allow easy command completion in the shell.

Best method I found was

pico '@'  which lets me still use command completion.

Thanks to the list for the help.  yes I know its shell basics.. but how many
other times do I come across with filenames that start with metacharacters?
=)

-Steve

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 03, 1999 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Question about cyclog


"Steve Kapinos" <[EMAIL PROTECTED]> wrote:

>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I
need
>to put around the @ so I can actually enter the file name?

This is really a shell question, not a qmail question, but something
like:

pico \@0944228362
pico "@0944228362"
pico '@0944228362'
pico *0944228362

should do the trick.

If you're using bash, you can add:

shopt -u hostcomplete

to your .bashrc to make "@" a non-metacharacter.

-Dave



Redirect only one incoming mail to another destination?

1999-12-03 Thread Scott D. Yelich

-BEGIN PGP SIGNED MESSAGE-


What command would people use ... using stock qmail
to take all mail coming in from a certain address
and do something withith?

not really a procmail... just say, send "[EMAIL PROTECTED]"
is sending in mail -- and I want to send only that mail to
another address... 

thanks!

Scott


-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBOEf3CB4PLs9vCOqdAQHfCAP/QtuqdnvEohY+asn/o8QKpcS2G5b+YWyW
r7J5TvlaVO0pWCRCaZUKS5rR62003licOg8ulbAZmovl1pzyt66y+kP4eQ4gt7Jf
5Olb5/2IZHbGtQf90wRv9ELTc/2YfeGECufcyxIGh7Y7Sy3l/kbO044fhHgvFc2Y
K34d6Gpe/ZM=
=Crlf
-END PGP SIGNATURE-



Re: performance problem/todo backlogs

1999-12-03 Thread petervd

On Fri, Dec 03, 1999 at 10:44:51AM -0500, Mark Hoffman wrote:
> I've got the same problem. Forgive me if the answer is documented somewhere,
> but does anyone have a solution? I've put in all the patches for high volume
> servers.

My solution was to remove the 'sync' option from the queue mount. It now races
it's ass off, I benchmarked it at well over 1 million distinct messages a day.

Still waiting for a reliable filesystem that doesn't come to a grinding halt
when mounted sync. Under Linux, that is.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: Internal SPAM

1999-12-03 Thread Charles Cazabon

Diego A. Puertas F. <[EMAIL PROTECTED]> wrote:
> One way to control SPAM is checking the header size, some of my users are 
> sending mail to all my users (2000) and this would be a way to exclude
> that kind of mail, so:
> 
> - How can I check mail header size, or

djb's 822header can be used to do the trick.  If you pipe the message to
822header, it spits out the headeri alone -- just count the bytes it outputs and
set a threshold value of some sort.

Charles
-- 

Charles Cazabon   <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.




Re: I need to get off this list

1999-12-03 Thread Bruno Wolff III

On Fri, Dec 03, 1999 at 02:01:26PM +0700,
  abc <[EMAIL PROTECTED]> wrote:
> At 09:16 02/12/99 -0800, Michael m. Honse wrote:
> >
> I think there should be message trailer like at the PGP - Users Mailling
> list, maintained by Fred , to prevent this incident anymore

You mean something like:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm

Which is included in all of the messages and will provide information
on how to get off the list as well as other things.



Re: strange messages hanging in queue

1999-12-03 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3 Dec 99, at 16:49, Will Harris wrote:
> > > note the strange "from" address #@[].
> > 
> > It's what qmail uses for double bounces (ie. the letter bounced
> > back to envelope sender, and the bounce bounced as well).
> 
> not particularly informative on qmail's part...

That's by design. doublebounce sender is supposed to be easily 
recognized, and certainly non-existent. If a bounced double-bounce 
(ie. a triple bounce) is not properly identified, you're creating 
endless bounce-mailloops.

> > Check who's the target of double bounces (man qmail-control, files
> > doublebouncehost and doublebounceto). Try to make that a local
> > user.
> 
> target is postmaster, postmaster is an alias for my user, and I have a
> .qmail file pointing to my main email address at [EMAIL PROTECTED]
> What's wrong with that?

Nothing wrong, except the MTA at ifi.unizh.ch. Either fix that, or 
don't have postmaster mail delivered there.

>  Normal mail gets through fine, and other mail
> directed to postmaster also works fine.  I could make myself or postmaster
> a local user, but that's not particularly convenient.

Tough luck.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOEf3ZlMwP8g7qbw/EQJI6ACfaks/MEb9cmntlN+J2c+9nbuvbIYAoNq9
fmdt/hhswx47xv2OnMmbcTW5
=ZEWx
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: strange messages hanging in queue

1999-12-03 Thread Will Harris

Petr Novotny wrote:
> > 2 Dec 1999 16:51:48 GMT  #225302  3891  <#@[]>
> > remote  [EMAIL PROTECTED]
> >
> > note the strange "from" address #@[].
> 
> It's what qmail uses for double bounces (ie. the letter bounced
> back to envelope sender, and the bounce bounced as well).

not particularly informative on qmail's part...
 
> Check who's the target of double bounces (man qmail-control, files
> doublebouncehost and doublebounceto). Try to make that a local
> user.

target is postmaster, postmaster is an alias for my user, and I have a
.qmail file pointing to my main email address at [EMAIL PROTECTED]
What's wrong with that?  Normal mail gets through fine, and other mail
directed to postmaster also works fine.  I could make myself or
postmaster a local user, but that's not particularly convenient.

regards,
Will



Re: Question about cyclog

1999-12-03 Thread Dave Sill

"Steve Kapinos" <[EMAIL PROTECTED]> wrote:

>How the heck can I enter in the shell the file name of the logs cyclog puts
>out?
>
>@ is a reserved character it seems.. if I want to pico a log, what do I need
>to put around the @ so I can actually enter the file name?

This is really a shell question, not a qmail question, but something
like:

pico \@0944228362
pico "@0944228362"
pico '@0944228362'
pico *0944228362

should do the trick.

If you're using bash, you can add:

shopt -u hostcomplete

to your .bashrc to make "@" a non-metacharacter.

-Dave



RE: performance problem/todo backlogs

1999-12-03 Thread Mark Hoffman

I've got the same problem. Forgive me if the answer is documented somewhere,
but does anyone have a solution? I've put in all the patches for high volume
servers.

Thanks,
Mark Hoffman

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 29, 1999 5:03 AM
To: [EMAIL PROTECTED]
Subject: performance problem/todo backlogs


My situation:
PII-500/512MB
2 9GB scsi disks (one for /var/qmai/queue, one for the rest of the system)
user homedirs mounted over NFS (but that's not relevant here)
running stock redhat 1000fd 2.0.36 linux kernel (from RPM)

I'm running a small script that injects 1000 distinct messages, all destined
for either devnull@localhost or devnull@remotehost, in the localhost case
corresponding to a .qmail file with just '#' in it.
On this particular machine, concurrency never goes higher than 4 or 5 as
long
as the script is periodically injecting messages. Looking at qmail-qstat
periodically during the run shows the number of unpreprocessed messages (aka
in the todo/ queue) growing to about 130 at the moment the 1000th message is
injected. Only then (when the script stops injecting) qmail-send suddenly
gains speed and concurrency does hit the roof, with the second number in
qmail-qstat quickly dropping.

Tests on other machines (our heavily loaded shellserver, or my homebox which
is not half as powerful) show very different results: qmail is not even
slightly impressed with the numerous injections and handles everything
gracefully, with a todo/ queue never bigger than 1 or 2 messages.

The bad results were observed on a heavily patched qmail, my first suspect
was the big-todo patch. Removing it made no difference. I tried a completely
vanilla qmail, with no difference either.

Anobody got any ideas? The machine is not swapping heavily.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: [ Error messages ] - how and can we change/translate them?

1999-12-03 Thread Dave Sill

"Luka Gerzic" <[EMAIL PROTECTED]> wrote:

>Any one knows how to translate messages like this one ?
>Where are they located ? Thank you all 
>
>
>Hi. This is the qmail-send program at mx1.drenik.net.
>I'm afraid I wasn't able to deliver your message to the following addresses.
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><[EMAIL PROTECTED]>:
>Sorry, no mailbox here by that name. (#5.1.1)

WARNING: qmail's bounce messages are in a format called QSBMF
(qmail-send Bounce Message Format). Although they're human-readable,
they're also machine-readable, and if you translate them, you'll break
that. If you really need them in another language, investigate the
QSBMF format and see if you can make them multilingual. You'll need to
modify the source to do that, though.

-Dave



Re: rcpthosts

1999-12-03 Thread Shawn P. Stanley

Awesome!  This is exactly the type of thing I'm looking for.  Thanks.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 1999 10:51 PM
Subject: Re: rcpthosts


> Shawn,
>
> Well, in that case, I'd recommend you try using relay-ctrl-allow (and
> the companion package relay-ctrl-age).  Together, these two allow you
> to authenticate a user (e.g., via POP3), and then include the
> dynamically assigned IP address in the list of "OK to relay" hosts.
>
> The relay-ctrl-allow package takes care of adding the
> (just-authenticated) user to the appropriate CDB which tcpserver checks
> before passing the SMTP connection to qmail-smtp.  This is where the
> modular beauty of tcpserver +  + relay-ctrl-allow +
> qmail-pop3d, really shines.
>
> This is an excellent way to allow people to use your SMTP server as a
> relay, but to retain control of the relaying.  In other words, you have
> to authenticate via POP3 before you are allowed to relay.  (That send
> and receive button just came in handy, eh?)
>
> It may take some digging around to find some good examples of
> relay-ctrl-allow and relay-ctrl-age scripts, but I'm sure there are
> others on the list who would be glad to help with that...you should be
> able to find exactly what you are looking for in Bruce Guenter's RPMS,
> which you should be able to locate somewhere from http://www.qmail.org/.
>
> Good luck,
>
> -Martin
>
> On  2 Dec, Shawn P. Stanley wrote:
>   : I have a similar question, but perhaps the answer is not so easy.
>   :
>   : I use ucspi with great success, but I have a user whose ISP is a
university,
>   : and I'm not sure I want to open up access to the university's entire
subnet.
>   : However, the user gets a dynamic IP every time he connects.  How can I
allow
>   : him SMTP access without opening the door to the entire university?
Granted,
>   : the chance that the university students are spammers looking for open
relay
>   : servers is small, but I'd like to avoid taking that chance if I can.
>   :
>   : - Original Message -
>   : From: <[EMAIL PROTECTED]>
>   : To: <[EMAIL PROTECTED]>
>   : Cc: <[EMAIL PROTECTED]>
>   : Sent: Thursday, December 02, 1999 9:52 PM
>   : Subject: Re: rcpthosts
>   :
>   :
>
> 
>
> --
> Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
>



Question about cyclog

1999-12-03 Thread Steve Kapinos

How the heck can I enter in the shell the file name of the logs cyclog puts
out?

@ is a reserved character it seems.. if I want to pico a log, what do I need
to put around the @ so I can actually enter the file name?

-Steve


 winmail.dat


Internal SPAM

1999-12-03 Thread Diego A. Puertas F.

One way to control SPAM is checking the header size, some of my users are 
sending mail to all my users (2000) and this would be a way to exclude
that kind of mail, so:

- How can I check mail header size, or

- what other ways are there to prevent SPAM, even internal SPAM




Re: Local retry schedule?

1999-12-03 Thread Dave Sill

Fred Backman <[EMAIL PROTECTED]> wrote:

>I am looking for some information on how frequently does qmail retry to
>send a message, locally or remotely, and when it gives up and bounces it
>back to the sender. So far I've found an excellent source in Dave Sill's
>document "Life with qmail" (App. E ) but he only mentions the remote
>retry schedule, so now I wonder:

Yeah, that's kind of embarrassing. Someone posted that table to the
list, and I included it in LWQ without checking the source. Rogerio
Brito pointed out that locals and remotes are retried on different
schedules. I updated LWQ to point out that that was the remote
schedule, but I didn't bother to include a local schedule.

>(a) Where can I find the local schedule?

Here's the scoop on retries, according to Rogerio--and I did
doublecheck the source:

]   The formula for the time of a "next delivery" of a message
]   that has not yet been successfully delivered *after* the i-th
]   time it was tried is:
]
]   next_retry = birth + (i*c)^2,
]
]   where birth is the time when the message has first entered the
]   queue, c = 10 for local messages and c = 20 for remote
]   messages.

>(b) If I want qmail to give up after, say 10 retry attempts, do I put
>the value 32400 into /var/qmail/control/queuelifetime and that should do
>the job?

For any given queuelifetime, qmail will make twice as many attempts to 
deliver an undeliverable local message than an undeliverable remote
message. But queuelifetime is the right mechanism for controlling
this.

>(c) Does queuelifetime mean _any_ message regardless if it's local or
>remote?

Yes.

>(d) Can I hack qmail retry  more/less frequently, e.g. by modifying some
>value in the source code?

Sure. You could, e.g., set "c" to 20 regardless of the "channel"
(remote or local).

-Dave



Re: strange messages hanging in queue

1999-12-03 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3 Dec 99, at 16:17, Will Harris wrote:
> 2 Dec 1999 16:51:48 GMT  #225302  3891  <#@[]> 
> remote  [EMAIL PROTECTED]
> 
> note the strange "from" address #@[]. 

It's what qmail uses for double bounces (ie. the letter bounced 
back to envelope sender, and the bounce bounced as well).

> when a delivery attempt is made the
> mailer at ifi.unizh.ch chokes with the following error:
> 
> delivery 2136: deferral:
> 130.60.48.10_failed_after_I_sent_the_message./Remote_host_said:_451_Bad_Ha
> ndshake/

Probably a broken machine. Uses some stupid anti-SPAM filter...

> Does anyone have any idea why that from is set to #@[], and how I can fix
> this.  I realise this is a problem with the remote mailer, but I'd like to
> prevent the problem on the qmail end if possible.

Check who's the target of double bounces (man qmail-control, files 
doublebouncehost and doublebounceto). Try to make that a local 
user.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOEfvo1MwP8g7qbw/EQJWKgCg3WGLUrz5kPb2+6RlVoYGQHcX2W0An2RT
pNUnErQIwNolVxI4ewg9tabM
=Ph4r
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



strange messages hanging in queue

1999-12-03 Thread Will Harris

Hey folks, a strange problem.  when certain messages double bounce, they
end up hanging in the queue because the remote MTA where I read my mail
doesn't accept something qmail is trying to do.  qmail-qread shows the
message in the queue as follows:

2 Dec 1999 16:51:48 GMT  #225302  3891  <#@[]> 
remote  [EMAIL PROTECTED]

note the strange "from" address #@[].  when a delivery attempt is made
the mailer at ifi.unizh.ch chokes with the following error:

delivery 2136: deferral:
130.60.48.10_failed_after_I_sent_the_message./Remote_host_said:_451_Bad_Handshake/

I've tried this by hand, and the mailer at ifi.unizh.ch accepts the mail
delivery and then when you type quit at the smtp prompt it gives a "bad
handshake" error.

Does anyone have any idea why that from is set to #@[], and how I can
fix this.  I realise this is a problem with the remote mailer, but I'd
like to prevent the problem on the qmail end if possible.

regards,
Will Harris



Re: tai64nlocal

1999-12-03 Thread Anand Buddhdev

On Fri, Dec 03, 1999 at 09:28:46AM +0100, Häffelin Holger wrote:

> try: cat qmaillog | tai64nlocal > qmaillog.tmp

This one should get a prize for useless invocation of cat. The
following would save a process and a pipe:

tai64nlocal < qmaillog > qmaillog.tmp

-- 
See complete headers for more info



RE: relay-ctrl 1.2 - doesn't work

1999-12-03 Thread Steve Kapinos

My guess is that you are missing a piece that is supposed to build a new cdb
when the user authenticates, not just add a IP record.  For it to take
effect immediately, you need to add the IP and build a new CDB then.  The
age one should run independent of the users authenticating.


Russell Nelson made a open-smtp patch that achieves this if you are using
checkpasswd as part of your system.

The methodolgy is it patches checkpasswd to run a script which adds an entry
to the cdb database when a user successfully authenticates.  A small script
is then run by cron to 'age' the cdb database.

Small, and effective.  You do have to patch checkpassswd, but unless you are
running lots of other patches, whats just 1 lil patch? =)

I use it on my system (after updating the syntax of the scripts for a guess
a newer version of tcpserver) and its been flawless so far.

There should be a link on the qmail page.

-Steve

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 7:52 PM
To: [EMAIL PROTECTED]
Subject: Re: relay-ctrl 1.2 - doesn't work


On Wed, 1 Dec 1999 16:20:55 -0800, Jon Rust wrote:

>It does work-- I'm using it now, but I can't see what you've missed
>here. Is anything showing up in the spool directory,
>/opt/relay-ctrl/spool? Does it exist? Are you positive you have the
>names of the rules files correct?

The IPs are written to the spool dir and relay-ctrl-age creates a new
cdb file every 5 minutes via cron. It's strange. Are there other relay
solutions which works?

>At 11:16 PM +0100 12/1/99, [EMAIL PROTECTED] wrote:
>>Hello,
>>
>>I tried to setup relay-ctrl on a new machine, but it doesn't work.
>>relay-ctrl-allow writes the IP in the spool dir, but does not make a
>>new cdb file. relay-ctrl-age (executed via cron) builds a new cdb file
>>every five minutes. So I have to wait up to 5 minutes to relay a mail.
>>It's a little bit weird, because I installed an older version on
>>another system and it worked perfectly. Do you have any idea what could
>>be wrong? I thinks relay-ctrl-allow executes relay-ctrl-age. Maybe
>>there is a problem in executing relay-ctrl-age, but I don't know why.
>>AGE_CMD looks fine.
>>
>>pop3d part from my qmail startup file:
>>
>>sh -c "start-stop-daemon --start --quiet --user root \
>>  --exec /usr/bin/tcpserver -- \
>>  0 pop-3 /usr/sbin/qmail-popup `hostname`.`dnsdomainname` \
>>  /opt/vmailmgr/bin/checkvpw /opt/relay-ctrl/sbin/relay-ctrl-allow
>>/usr/sbin/qmail-pop3d Maildir &"
>>
>>
>>Here my defines.h:
>>
>>#ifndef AGE_MINUTES
>>#define AGE_MINUTES 10
>>#endif
>>
>>#ifndef BUFSIZE
>>#define BUFSIZE 4096
>>#endif
>>
>>#ifndef RULESDIR
>>#define RULESDIR "/etc"
>>#endif
>>
>>#ifndef SPOOLDIR
>>#define SPOOLDIR "/opt/relay-ctrl/spool"
>>#endif
>>
>>#ifndef AGE_CMD
>>#define AGE_CMD "/opt/relay-ctrl/sbin/relay-ctrl-age"
>>#endif
>>
>>#ifndef TCPRULES
>>#define TCPRULES "/usr/bin/tcprules"
>>#endif
>>
>>#ifndef SMTPRULES
>>#define SMTPRULES "tcp.smtp"
>>#endif
>>
>>#ifndef SMTPCDB
>>#define SMTPCDB "tcp.smtp.cdb"
>>#endif
>>
>>#ifndef SMTPFIXUP
>>#define SMTPFIXUP "smtp.fixup"
>>#endif
>







Re: [ Error messages ] - how and can we change/translate them?

1999-12-03 Thread jedi

Luka Gerzic écrit :

> Any one knows how to translate messages like this one ?
> Where are they located ? Thank you all 
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)

  Unfortunately, there are hard coded in the source code. You will have to
hack it in order to change the messages.
  Switching to gettext and .po files would be a nice alternative.

  -Jedi.



Local retry schedule?

1999-12-03 Thread Fred Backman

I am looking for some information on how frequently does qmail retry to
send a message, locally or remotely, and when it gives up and bounces it
back to the sender. So far I've found an excellent source in Dave Sill's
document "Life with qmail" (App. E ) but he only mentions the remote
retry schedule, so now I wonder:

(a) Where can I find the local schedule?

(b) If I want qmail to give up after, say 10 retry attempts, do I put
the value 32400 into /var/qmail/control/queuelifetime and that should do
the job?

(c) Does queuelifetime mean _any_ message regardless if it's local or
remote?

(d) Can I hack qmail retry  more/less frequently, e.g. by modifying some
value in the source code?

Many thanks in advance!

cheers
Fred




[ Error messages ] - how and can we change/translate them?

1999-12-03 Thread Luka Gerzic



Any one knows how to translate messages like this 
one ?
Where are they located ? Thank you all 

 
 
Return-Path: <>Delivered-To: [EMAIL PROTECTED]Received: (qmail 
29996 invoked for bounce); 3 Dec 1999 12:42:31 -Date: 3 Dec 1999 
12:42:31 -From: [EMAIL PROTECTED]To: 
[EMAIL PROTECTED]Subject: failure 
notice
 
Hi. This is the qmail-send program at 
mx1.drenik.net.I'm afraid I wasn't able to deliver your message to the 
following addresses.This is a permanent error; I've given up. Sorry it 
didn't work out.
 
<[EMAIL PROTECTED]>:Sorry, no mailbox 
here by that name. (#5.1.1)
 
 


Re: rcpthosts

1999-12-03 Thread Vince Vielhaber

On Thu, 2 Dec 1999, Shawn P. Stanley wrote:

> I have a similar question, but perhaps the answer is not so easy.
> 
> I use ucspi with great success, but I have a user whose ISP is a university,
> and I'm not sure I want to open up access to the university's entire subnet.
> However, the user gets a dynamic IP every time he connects.  How can I allow
> him SMTP access without opening the door to the entire university?  Granted,
> the chance that the university students are spammers looking for open relay
> servers is small, but I'd like to avoid taking that chance if I can.

Try David Harris' smtp-poplock.  The IP is allowed to relay for a select
period of time after a successful mailcheck via pop3.

Vince.
-- 
==
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
  # includeHave you seen http://www.pop4.net?
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==





qmail Digest 3 Dec 1999 11:00:01 -0000 Issue 838

1999-12-03 Thread qmail-digest-help


qmail Digest 3 Dec 1999 11:00:01 - Issue 838

Topics (messages 33811 through 33860):

Re: Any Decent IMAP server?
33811 by: Thomas Neumann
33813 by: Sam
33816 by: David Harris
33817 by: jplooney-qmail.online.ie
33818 by: Denis Voitenko
33819 by: David Harris
33820 by: Thomas Neumann
33823 by: David Harris

cc:mail
33812 by: mango

Re: Problem compiling courier-imap
33814 by: Sam

global spam filter
33815 by: Monte Mitzelfelt

queue/mess  and how to resend them
33821 by: Thomas Foerster
33822 by: jplooney-qmail.online.ie

Re: Speed
33824 by: David Dyer-Bennet

Re: Any Decent IMAP server? [single-uid interface]
33825 by: David Harris
33826 by: Denis Voitenko
33827 by: David Harris
33831 by: Darcy Buskermolen
33833 by: David Harris

I need to get off this list
33828 by: Michael m. Honse
33854 by: abc

How do you get off this blasted list.
33829 by: G. Ryan Fawcett
33830 by: Van Liedekerke Franky
33832 by: Shawn P. Stanley

bouncing mail
33834 by: Brian Moon
33835 by: Denis Voitenko
33836 by: Brian Moon
33837 by: Daniel Mattos
33856 by: Brian Moon

Getting qmail to not check for home directories
33838 by: Jim Gilliver

Redilvering mail
33839 by: Jon Rust
33840 by: martin.wonderfrog.net

IMAPd Help
33841 by: Philip Gabbert

qmail-pop3d logs
33842 by: DOODS
33843 by: Jon Rust

starting qmail-pop3d
33844 by: Shawn P. Stanley
33845 by: Jon Rust
33848 by: Shawn P. Stanley

rcpthosts
33846 by: Jim Hall
33849 by: martin.wonderfrog.net
33851 by: Shawn P. Stanley
33853 by: martin.wonderfrog.net

a few things...
33847 by: M. Richardson
33850 by: Shawn P. Stanley

Sudden Death
33852 by: dave
33855 by: Martin A. Brown

tai64nlocal
33857 by: Ismal Hisham Mohd Darus
33858 by: Häffelin Holger

Date Issue
33859 by: Tony Wade
33860 by: Petr Novotny

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]


--



Philip Gabbert <[EMAIL PROTECTED]> writes:

> Does anybody have any suggestions on a good IMAP server? I've gotten
> courier-imap installed and running, but my IMAP clients (Netscape
> Communicator 4.7 on RedHat Linux and Outlook Express 5.0 on a Mac) are
> getting an error back from courier-imap: "Error in IMAP command received by
> server". This seems to be a generic error message that is used when any is
> sent wrong to the server.

Did you strictly follow the hints given
at http://www.inter7.com/courierimap/README.imap.html>
on how to configure Netscape for IMAP? Works for me (modulo
creating subfolders, but thats a Netscape bug).

> I've checked the logs, and no error messages in there.

Yeah. Dig out an Ethernet packet sniffer (Ethereal or something)
and have it display the entire IMAP session so you can see
exactly what the client sends and how the server reacts to this.

> Anybody have a suggestion on another IMAP server, how a way to get
> courier-imap to work correctly?

You can try Cyrus, 'though it uses its own mail storage format
and it can not handle login names what have a dot in them,
which makes it unusable for me, but YMMV.

-t






Thomas Neumann writes:

> Philip Gabbert <[EMAIL PROTECTED]> writes:
> 
> > Does anybody have any suggestions on a good IMAP server? I've gotten
> > courier-imap installed and running, but my IMAP clients (Netscape
> > Communicator 4.7 on RedHat Linux and Outlook Express 5.0 on a Mac) are
> > getting an error back from courier-imap: "Error in IMAP command received by
> > server". This seems to be a generic error message that is used when any is
> > sent wrong to the server.
> 
> Did you strictly follow the hints given
> at http://www.inter7.com/courierimap/README.imap.html>
> on how to configure Netscape for IMAP? Works for me (modulo
> creating subfolders, but thats a Netscape bug).

Creating or deleting subfolders works for me with Communicator 4.7.

It's still very, very buggy.  When I try to delete a folder, the stupid
thing asks me, literally:

"Do you really want to delete folder '(null)'?"



-- 
Sam






Philip Gabbert [mailto:[EMAIL PROTECTED]]
> I know is not a topic for the list, but you all are so helpful, I just had
> to ask :)
>
> Does anybody have any suggestions on a good IMAP server? I've gotten
> courier-imap installed and running, but my IMAP clients (Netscape
> Communicator 4.7 on RedHat Linux and Outlook Express 5.0 on a Mac) are
> getting an error back from courier-imap: "Error in IMAP

Re: Date Issue

1999-12-03 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3 Dec 99, at 10:43, Tony Wade wrote:

> Hi all,
> 
> I have a Qmail server running on Jurix. In /etc/rc.config i have the
> timezone set as follows. 
> 
> TIMEZONE="Africa/Johannesburg"
> 
> If i run date i get the following 
> 
> Fri Dec 3 10:38:14 SAST 1999
> 
> Yet Qmail sets the dates as 
> 
> Received: (qmail 22496 invoked from network); 3 Dec 1999 07:38:30 -
> 
> Is there a way that i can change it to reflect
> 
> Received: (qmail 22496 invoked from network); 3 Dec 1999 09:38:30 +0200

qmail always timestamps with UTC (to avoid problems with 
traditionally broken C libraries dealing with timezones).

If you want to change it, download a patch from www.qmail.org -
"John Saunders has a patch to date822fmt.c which causes it to 
emit dates in the local timezone. "


-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOEeSaVMwP8g7qbw/EQKhBwCdEvS+lQo9ZevDRayoTLoAz2cjhXsAnjRa
j0s5L3OFDrNM02YXfmHTmTO/
=HZ36
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Date Issue

1999-12-03 Thread Tony Wade

Hi all,

I have a Qmail server running on Jurix. In /etc/rc.config i have the
timezone set as follows. 

TIMEZONE="Africa/Johannesburg"

If i run date i get the following 

Fri Dec 3 10:38:14 SAST 1999

Yet Qmail sets the dates as 

Received: (qmail 22496 invoked from network); 3 Dec 1999 07:38:30 -

Is there a way that i can change it to reflect

Received: (qmail 22496 invoked from network); 3 Dec 1999 09:38:30 +0200


Thank You 

Tony Wade (Postmaster)
The Internet Solution
Tel:(+27 11) 283 5000
E-mail:  [EMAIL PROTECTED]
#include 
I wouldn't be so paranoid if you weren't all out to get me !!



AW: tai64nlocal

1999-12-03 Thread Häffelin Holger

try: cat qmaillog | tai64nlocal > qmaillog.tmp

This should convert the timestamps into a human format ;-).

Holger


> -Ursprüngliche Nachricht-
> Von: Ismal Hisham Mohd Darus [mailto:[EMAIL PROTECTED]]
> Gesendet am: Freitag, 3. Dezember 1999 08:39
> An: [EMAIL PROTECTED]
> Betreff: tai64nlocal
> 
> hi,
> 
>can somebody tell me how to use the tai64nlocal program ? 
> from my log
> file now i see
> 
> @64007563578c end msg 45673
> 
> can i convert @64007563578c into more decent time dat 
> format .. let
> say 1991203 10:32.747474 end msg 45673
> 
> thanksss :)
>