Ant: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-28 Thread gelangweilt_nrw-2004

--- Rick Macdougall <[EMAIL PROTECTED]> schrieb:


> 
> Hi,
> 
> Try
> 
> stop courier-authlib
> rm -fr /usr/local/etc/authlib
> re-install following the toaster instructions.
> 
> All should be well.
> 
> I just finished upgrading one server to 4.04 courier
> and all is working.
> 
> Rick
> 


Thanks for your help, 

but its the same: 

"Cannot obtain information for userid 89: No such file
or directory"










___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


RE: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-28 Thread Florent Gilain
 
Hi all,

Sorry for that maybe stupid question, but here is what i'm looking for :

My company ask me to create an application (client website) where we could
create automatic actions depending on emails received on specific mailbox
and containing specific text/keywords in subject/body.

I often see that when i contact support (www.apcc.com for example),  i can
update a ticket explanation concerning a problem by adding my new comments
between 2 defined line of the body of the mail they send me when i ope na
ticket.

How is it working, is it a private developpment ? Or is it just a simple
module for qmail or other ?

Thanks i really don't know where to look for...

Florent



[toaster] Automatic reply robot depending of keywords ?

2005-10-28 Thread Florent Gilain
Oupsss sorry, forget my first mail, i forgot to change the subject...

Florent 


 
Hi all,

Sorry for that maybe stupid question, but here is what i'm looking for :

My company ask me to create an application (client website) where we could
create automatic actions depending on emails received on specific mailbox
and containing specific text/keywords in subject/body.

I often see that when i contact support (www.apcc.com for example),  i can
update a ticket explanation concerning a problem by adding my new comments
between 2 defined line of the body of the mail they send me when i ope na
ticket.

How is it working, is it a private developpment ? Or is it just a simple
module for qmail or other ?

Thanks i really don't know where to look for...

Florent



[toaster] Solved: [toaster] Problems with courier .... pls see below

2005-10-28 Thread gelangweilt_nrw-2004
Removing 

/usr/local/bin/courierauthconfig

solved the problem ... 

Thanks again for your help, Rick :) 






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


[toaster] Relay problems - rcpthosts.

2005-10-28 Thread Nick Gilbert

Hi,

I have a local domain configured in rcpthosts and virtualdomains, but if 
I try and send mail from this domain I get the error:


"Sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - 
chkuser)"


But the domain *IS* in my rcpthosts file, so why is qmail saying this? 
Does something in Bill's Toaster instructions disable support for 
entries in rcpthosts for the purposes of sending mail?


The domain concerned can receive e-mail perfectly OK.

Any help with this problem would be greatly appreciated as currently I'm 
having to use a server which is due to be decommissioned to send all my 
mail from.


Thanks,

Nick...




Re: [toaster] Relay problems - rcpthosts.

2005-10-28 Thread Rick Macdougall

Nick Gilbert wrote:

Hi,

I have a local domain configured in rcpthosts and virtualdomains, but if 
I try and send mail from this domain I get the error:


"Sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - 
chkuser)"


But the domain *IS* in my rcpthosts file, so why is qmail saying this? 
Does something in Bill's Toaster instructions disable support for 
entries in rcpthosts for the purposes of sending mail?


The domain concerned can receive e-mail perfectly OK.

Any help with this problem would be greatly appreciated as currently I'm 
having to use a server which is due to be decommissioned to send all my 
mail from.


Hi,

You have to allow relaying for the IP you are sending from.  Just 
because the From domain is listed in rcpthosts doesn't mean the To 
domain is going to be allowed.


You can allow relaying with smtp-auth, pop before smtp or by 
specifically allowing your IP to relay.


HTH

Rick



Re: [toaster] Relay problems - rcpthosts.

2005-10-28 Thread Shane Chrisp
On Fri, 2005-10-28 at 14:32 +0100, Nick Gilbert wrote:
> Hi,
> 
> I have a local domain configured in rcpthosts and virtualdomains, but if 
> I try and send mail from this domain I get the error:
> 
> "Sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - 
> chkuser)"
> 
> But the domain *IS* in my rcpthosts file, so why is qmail saying this? 
> Does something in Bill's Toaster instructions disable support for 
> entries in rcpthosts for the purposes of sending mail?
> 
> The domain concerned can receive e-mail perfectly OK.
> 
> Any help with this problem would be greatly appreciated as currently I'm 
> having to use a server which is due to be decommissioned to send all my 
> mail from.

Sounds like you have smtpauth turned on. So you can either use a your
email user and pass for your outgoing email, or add your IP to the tcp
file which will let you relay without authentication.

Shane



Re: [toaster] Relay problems - rcpthosts.

2005-10-28 Thread Nick Gilbert
You have to allow relaying for the IP you are sending from.  Just 
because the From domain is listed in rcpthosts doesn't mean the To 
domain is going to be allowed.


How do I do that? I don't seem to have any files in qmail/control which 
look like they're supposed to contains IP addresses.


You can allow relaying with smtp-auth, pop before smtp or by 
specifically allowing your IP to relay.


I've never managed to get smtp-auth to work. It only seems to work with 
vpopmail domains and not proper local domains. It does seem to support 
it, but no username and password I give it seems to work.


Thanks,

Nick...




Re: [toaster] Relay problems - rcpthosts.

2005-10-28 Thread Shane Chrisp
On Fri, 2005-10-28 at 17:12 +0100, Nick Gilbert wrote:
> > You have to allow relaying for the IP you are sending from.  Just 
> > because the From domain is listed in rcpthosts doesn't mean the To 
> > domain is going to be allowed.
> 
> How do I do that? I don't seem to have any files in qmail/control which 
> look like they're supposed to contains IP addresses.
> 
> > You can allow relaying with smtp-auth, pop before smtp or by 
> > specifically allowing your IP to relay.
> 
> I've never managed to get smtp-auth to work. It only seems to work with 
> vpopmail domains and not proper local domains. It does seem to support 
> it, but no username and password I give it seems to work.
> 

In the /home/vpopmail/etc/tcp.smtp add a line such as this to allow
anyone from the range 192.168.1.0/24 to relay.

192.168.1.:allow,RELAYCLIENT="",NODNSCHECK="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"

then run qmailctl cdb to rebuild the file.

Shane



Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-28 Thread Alex Dean


Thanks for your help,

but its the same:

"Cannot obtain information for userid 89: No such file
or directory"


I think user id 89 is usually presumed to be vpopmail.  If you have  
courier using vpopmail as it's authorization scheme, and vpopmail is  
running under a different user id, that might be the problem?  I'm  
not sure what you'd do to resolve the issue, but maybe that would get  
everyone looking in the right direction?


Hopefully,
alex


Re: [toaster] spam: throw some back, send some on ???

2005-10-28 Thread Michael D Schleif
* On 2005:10:27:18:51:52-0500 I, Michael D Schleif <[EMAIL PROTECTED]>, scribed:


> With simscan, we are bouncing spam above a certain spamassassin
> spam-count (e.g., 10).  The balance are passed on, as expected.
> 
> We want to take those that score between 5 and 10, and place them in a
> designated SPAM folder for each recipient.
> 
> How should we do this?
> 
> I am comfortable with procmail recipe making; although, I have _not_
> used procmail in conjunction with qmail, nor the toaster.  So, I am not
> clear how to filter messages; nor how to deposit them into
> recipient-specific folders.

Please, any ideas, pointers, reference will be greatly appreciated.  I
don't understand how to get procmail/maildrop/&c. to deposit the
messages into a specified directory inside a recipient's maildir?  Will
procmail create the directory when it does not exist?

What do you think?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--


signature.asc
Description: Digital signature


Re: [toaster] spam: throw some back, send some on ???

2005-10-28 Thread Dr. Adam Woodbeck

On 10/28/2005 05:33 PM, Michael D Schleif wrote:

* On 2005:10:27:18:51:52-0500 I, Michael D Schleif <[EMAIL PROTECTED]>, scribed:


  

With simscan, we are bouncing spam above a certain spamassassin
spam-count (e.g., 10).  The balance are passed on, as expected.

We want to take those that score between 5 and 10, and place them in a
designated SPAM folder for each recipient.

How should we do this?

I am comfortable with procmail recipe making; although, I have _not_
used procmail in conjunction with qmail, nor the toaster.  So, I am not
clear how to filter messages; nor how to deposit them into
recipient-specific folders.



Please, any ideas, pointers, reference will be greatly appreciated.  I
don't understand how to get procmail/maildrop/&c. to deposit the
messages into a specified directory inside a recipient's maildir?  Will
procmail create the directory when it does not exist?

What do you think?

  


You could use the following maildrop rules to do what you're trying to 
accomplish.  These came from an old FreeBSD toaster maildrop script 
originally written by Matt Simerson.



SHELL="/bin/sh"
import EXT
import HOST
VHOME=`pwd`

if (/X-Spam-Status: Yes, (hits|score)=![0-9]+\.[0-9]+! /:h) {
   # Test for the existence of a Spam subfolder
   `test -d $VHOME/Maildir/.Spam`
   if( $RETURNCODE == 1 ) {
  # Spam subfolder doesn't exist.  Create it and subscribe to it.
   `maildirmake -f Spam $VHOME/Maildir`
   `/usr/local/sbin/subscribeIMAP.sh Spam $VHOME`
   }

   # Look for the deliverquota binary
   `test -x /usr/local/bin/deliverquota`
   if ( $RETURNCODE == 1 ) {
   exception {
   # Deliverquota binary not found.  Deliver spam to Spam 
folder without checking quota.

   to "$VHOME/Maildir/.Spam"
   }
   } else {
   exception {
   # Deliver the spam while making sure the account isn't over 
quota

   xfilter "/usr/local/bin/deliverquota -w 90 $VHOME/Maildir/.Spam"
   }

   if ( $RETURNCODE == 0 ) {
   # Everything delivered just fine
   EXITCODE=0
   exit
   } else {
   if( $RETURNCODE == 77) {
   to "|/var/qmail/bin/bouncesaying '[EMAIL PROTECTED] is over 
quota'"
   } else {
   to "$VHOME/Maildir/.Spam"
   }
   }
   }
}


Put those rules in a text file (/etc/mail/mailfilter in this example) 
and add the following line to your email account's .qmail file 
(~vpopmail/domains/helices.org/mds/.qmail):


| /usr/local/bin/maildrop /etc/mail/mailfilter

That should do it.

Adam