Re: [courier-users] webmail

2011-01-31 Thread pascal

the problem was |--enable-https=login
|I had a directory cgi-bin for http and one for https
so the webmail whas in the directory for https but not in the one for http
thank for help
pascal
El 22/01/11 19:15, Sam Varshavchik escribió:

pascal writes:


hi!
i have installed the courier-0.65.2.20110103
but I have some trouble whith the webmail
I obtain the login page in cgi-bin/webmail but when i press the 
button login i obtain a :

The requested URL /cgi-bin/webmail was not found on this server.
i don't understand why if the url is the same one, then the first 
time the apache finds the cgi before the login,  but not for the 
response!

any help would be appreciated


Check your Apache configuration. webmail relies on the web server 
properly initializing the CGI environment.


If your web server's hostname is http://x.example.com, but Apache is 
configured so that it thinks its name is y.example.com, all the links 
will be pointing to http://y.example.com




--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d


___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] webmail

2011-01-22 Thread pascal
hi!
i have installed the courier-0.65.2.20110103
but I have some trouble whith the webmail
I obtain the login page in cgi-bin/webmail but when i press the button 
login i obtain a :
The requested URL /cgi-bin/webmail was not found on this server.
i don't understand why if the url is the same one, then the first time 
the apache finds the cgi before the login,  but not for the response!
any help would be appreciated
thanks
pascal

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] make check failed on maildrop/testsuite.txt.idn

2011-01-09 Thread pascal
El 09/01/11 17:04, Sam Varshavchik escribió:
 pascal writes:

 The output of make check is:
 Making check in maildrop
 make[1]: Entering directory 
 `/home/pascal/courier-0.65.2.20110103/maildrop'
 make  check-am
 make[2]: Entering directory 
 `/home/pascal/courier-0.65.2.20110103/maildrop'
 ./testsuite | cmp -s - ./testsuite.txt.idn
 make[2]: *** [check-am] Error 1
 make[2]: Leaving directory 
 `/home/pascal/courier-0.65.2.20110103/maildrop'
 make[1]: *** [check] Error 2
 make[1]: Leaving directory 
 `/home/pascal/courier-0.65.2.20110103/maildrop'
 make: *** [check-recursive] Error 1

 thanks for any help or a clue to keep searching

 As you can see from the above, the makefile in the maildrop directory 
 runs the testsuite script, and compares its output to 
 testsuite.txt.idn. There's a difference, hence the error.

 Your next step is to run the testsuite script yourself, compare its 
 output to testsuite.txt.idn, and see where the disrepancy is.

first, thanks for anserwing
Ok, i have tried it
pas...@spinoza:~/courier-0.65.2.20110103$ cd maildrop
pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ ./testsuite a
pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ diff a testsuite.txt.idn
115c115
 On dom, 22 nov 2009 10:57:32 -0500,
---
  On Sun, 22 Nov 2009 10:57:32 -0500,
it seems to me that there is no difference (did i make it right?)
pascal


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] make check failed on maildrop/testsuite.txt.idn

2011-01-09 Thread pascal
El 09/01/11 18:24, pascal escribió:

  El 09/01/11 17:04, Sam Varshavchik escribió:
  pascal writes:

  The output of make check is:
  Making check in maildrop
  make[1]: Entering directory
  `/home/pascal/courier-0.65.2.20110103/maildrop'
  make  check-am
  make[2]: Entering directory
  `/home/pascal/courier-0.65.2.20110103/maildrop'
  ./testsuite | cmp -s - ./testsuite.txt.idn
  make[2]: *** [check-am] Error 1
  make[2]: Leaving directory
  `/home/pascal/courier-0.65.2.20110103/maildrop'
  make[1]: *** [check] Error 2
  make[1]: Leaving directory
  `/home/pascal/courier-0.65.2.20110103/maildrop'
  make: *** [check-recursive] Error 1

  thanks for any help or a clue to keep searching
  As you can see from the above, the makefile in the maildrop directory
  runs the testsuite script, and compares its output to
  testsuite.txt.idn. There's a difference, hence the error.

  Your next step is to run the testsuite script yourself, compare its
  output to testsuite.txt.idn, and see where the disrepancy is.

  first, thanks for anserwing
  Ok, i have tried it
  pas...@spinoza:~/courier-0.65.2.20110103$ cd maildrop
  pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ ./testsuite   a
  pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ diff a testsuite.txt.idn
  115c115
 On dom, 22 nov 2009 10:57:32 -0500,
  ---
   On Sun, 22 Nov 2009 10:57:32 -0500,
  it seems to me that there is no difference (did i make it right?)
  pascal


sorry!
what you were expecting was :
pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ diff
testsuite.txt.idn testsuite.txt.noidn
116c116
  in alt.test (alt.test.1,alt.test.2), Hóla! sender (t...@да.example.com),
---
  in alt.test (alt.test.1,alt.test.2), Hóla! sender
(t...@xn--80ah.example.com),
171c171
  From: Hóla! sendert...@да.example.com
---
  From: Hóla! sendert...@xn--80ah.example.com
isn't it?
thanks for the help



--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] make check failed on maildrop/testsuite.txt.idn

2011-01-09 Thread pascal
El 09/01/11 19:02, Sam Varshavchik escribió:

   pascal writes:

   El 09/01/11 18:24, pascal escribió:

El 09/01/11 17:04, Sam Varshavchik escribió:
pascal writes:

The output of make check is:
Making check in maildrop
make[1]: Entering directory
`/home/pascal/courier-0.65.2.20110103/maildrop'
make  check-am
make[2]: Entering directory
`/home/pascal/courier-0.65.2.20110103/maildrop'
./testsuite | cmp -s - ./testsuite.txt.idn
make[2]: *** [check-am] Error 1
make[2]: Leaving directory
`/home/pascal/courier-0.65.2.20110103/maildrop'
make[1]: *** [check] Error 2
make[1]: Leaving directory
`/home/pascal/courier-0.65.2.20110103/maildrop'
make: *** [check-recursive] Error 1

thanks for any help or a clue to keep searching
As you can see from the above, the makefile in the maildrop directory
runs the testsuite script, and compares its output to
testsuite.txt.idn. There's a difference, hence the error.

Your next step is to run the testsuite script yourself, compare its
output to testsuite.txt.idn, and see where the disrepancy is.

first, thanks for anserwing
Ok, i have tried it
pas...@spinoza:~/courier-0.65.2.20110103$ cd maildrop
pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ ./testsuite a
pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ diff a
   testsuite.txt.idn
115c115
On dom, 22 nov 2009 10:57:32 -0500,
---
On Sun, 22 Nov 2009 10:57:32 -0500,
it seems to me that there is no difference (did i make it right?)
pascal


   sorry!
   what you were expecting was :
   pas...@spinoza:~/courier-0.65.2.20110103/maildrop$ diff
   testsuite.txt.idn testsuite.txt.noidn

   Nope, not this. I was looking for what you gave initially.


Ok, thanks a lot
i reconfigure the locales with es_ES.UTF-8 as default and it's work smooth.
i think my locales where bad configured :-[
(the difference between LANG as en_EN.UTF-8 and LC_* as es_ES.UTF-8 was
not a good idea)
thanks again
pascal






--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [Fwd: authmysql - failed to connect to mysqlserver (server=localhost, user=vexim)]

2004-10-31 Thread Pascal Speck

---BeginMessage---
Hello, 
I have a big Problem with configuring my authmysql-system.
When I try to get my mail via POP3 or IMAP, an error occours in the
authmysql-system:  failed to connect to mysqlserver (server=localhost,
user=vexim)

when I try to connect via mysql vexim -u vexim -p, there is no error
connecting.

I hope someone can help me!

Pascal Speck

Here my authmysqlrc:

##NAME: LOCATION:0
#
# The server name, userid, and password used to log in.

MYSQL_SERVERlocalhost
MYSQL_USERNAME  vexim
MYSQL_PASSWORD  mypasswd

##NAME: MYSQL_SOCKET:0
#
# MYSQL_SOCKET can be used with MySQL version 3.22 or later, it
specifies the
# filesystem pipe used for the connection
#
MYSQL_SOCKET/var/run/mysqld/mysqld.sock

##NAME: MYSQL_PORT:0
#
# MYSQL_PORT can be used with MySQL version 3.22 or later to specify a
port to
# connect to.

MYSQL_PORT  3306

##NAME: MYSQL_OPT:0
#
# Leave MYSQL_OPT as 0, unless you know what you're doing.

MYSQL_OPT   0

##NAME: MYSQL_DATABASE:0
#
# The name of the MySQL database we will open:

MYSQL_DATABASE  vexim

##NAME: MYSQL_USER_TABLE:0
#
# The name of the table containing your user data.  See
README.authmysqlrc
# for the required fields in this table.
MYSQL_USER_TABLEusers

##NAME: MYSQL_CRYPT_PWFIELD:0
#
# Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. 
Both
# are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext
# passwords go into MYSQL_CLEAR_PWFIELD.  Cleartext passwords allow
# CRAM-MD5 authentication to be implemented.

MYSQL_CRYPT_PWFIELD crypt

##NAME: MYSQL_CLEAR_PWFIELD:0
#
#
MYSQL_CLEAR_PWFIELD clear

##NAME: MYSQL_DEFAULT_DOMAIN:0
#
# If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user',
# we will look up '[EMAIL PROTECTED]' instead.
#
#
DEFAULT_DOMAIN  defaultdomain

##NAME: MYSQL_UID_FIELD:0
#
# Other fields in the mysql table:
#
# MYSQL_UID_FIELD - contains the numerical userid of the account
#
MYSQL_UID_FIELD uid

##NAME: MYSQL_GID_FIELD:0
#
# Numerical groupid of the account

MYSQL_GID_FIELD gid

##NAME: MYSQL_LOGIN_FIELD:0
#
# The login id, default is id.  Basically the query is:
#
#  SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid'
#

MYSQL_LOGIN_FIELD   username
#NAME: MYSQL_HOME_FIELD:0
#

MYSQL_HOME_FIELDpop

##NAME: MYSQL_NAME_FIELD:0
#
# The user's name (optional)

MYSQL_NAME_FIELDrealname


---End Message---


[courier-users] bad newbie very first step

2004-03-26 Thread pascal carrie
i use courier 0.37.3 (with debian woody)
when i try to reach webadmin with my webbrowser, i obtain a web page like:- [#BADPASS=ERROR: Invalid password#] [#---#] --courier 0.37.3 - Administrative LoginAdministrative password:NOTE: Cookies must be enabled from this point on
and if i try a password (the one i gave with debconf or the one that is in /etc/courier/webadmin/password that is the same one in clear) i only obtain:ERROR: Invalid passwordthe file unsecureok is created, readable for every one and owned (possesed) by daemon.any help or link to a doc (i have read the doc of courier-doc) will be very welcomepascal


    Antivirus • 
Filtros antispam • 6 MB gratis
    ¿Todavía no tienes un correo inteligente?

[courier-users] beta?

2004-03-04 Thread pascal carrie
Hi, i am quite newbie for mail but i have to choose
the e-mail software for a small company (50 users).
Courier seemed to me very interesting (licence,
integration...). But i have seen it is beta?
Does it means that we can not use in production
enviromnent?
With feature are unstable?


___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Re: Getting courier to work with authmysql

2003-09-22 Thread Pascal Giard
 --- Sam Varshavchik [EMAIL PROTECTED] a écrit : 
  cqi2004.etsmtl.ca isn't in /etc/courier/locals since it is in
  aliases/webadmin: @cqi2004.etsmtl.ca: courierd.
 
  cqi2004.etsmtl.ca is also specified in 
  /etc/courier/{me,hosteddomains,defaultdomain} .
 
 That's error #1.  A domain that's defined as a virtual domain alias cannot
 also be installed in either hosteddomains, or me.

i changed that to ext.asso.etsmtl.ca but i still get the very same results.
either i get User Unknown or it's sending the mail back to the mail gateway 
[creating a loop].

the first one is obtained when Owner of this account controls mail delivery by 
creating .courier
files (system accounts only). is checked. The other one is gotten it's Forward all 
local
addresses in this domain to this account that is checked.

for both results, the the authdaemon doesn't query the db...
i tried also removing cqi2004.etsmtl.ca from defaultdomain.

 cqi2004.etsmtl.ca is virtual.  It means that it's not real.  Only real stuff
 belongs in hosteddomains, and me.

well, that's where i got confused. that domain really exist, it is the fqdn of that 
machine, it's
just that i want the users to be in a mysql db and not having real accounts on the box.

am i choosing the wrong solution ?!

thanks alot for your patience Sam,

-Pascal
PS: would you prefer me replying to you directly ?

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Getting courier to work with authmysql (was Re:Defect Debian pkgs ?)

2003-09-21 Thread Pascal Giard
 --- Sam Varshavchik [EMAIL PROTECTED] a écrit : 
  that's quite it... on a final note, am i misconfigurating courier by putting 
  cqi2004.etsmtl.ca
  as a virtual host (that uses the courierd local user account) since it's also the 
  real
  localdomain ?
 
 That's probably it.  courierauthtest hits the authentication module 
 directly.
 
 With cqi2004.etsmtl.ca defined as a virtual domain alias, the address 
 [EMAIL PROTECTED] gets rewritten as [EMAIL PROTECTED] (for some 
 value of localhost) and that's what hits the authentication module.
 
 To enable [EMAIL PROTECTED], install .courier-pascal in the local 
 account's homedir.

hmmm... i tried adding the .courier-pascal file in the local user directory and it 
still doesn't
work, so lemme see if i get this right.

cqi2004.etsmtl.ca isn't in /etc/courier/locals since it is in 
aliases/webadmin: @cqi2004.etsmtl.ca: courierd.

cqi2004.etsmtl.ca is also specified in /etc/courier/{me,hosteddomains,defaultdomain} .

the .courier-pascal has to be in /home/courierd (that's the homedir of courierd has 
specified in
/etc/passwd)?

so far so good ?

-Pascal

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Defect Debian pkgs ?

2003-09-20 Thread Pascal Giard
Hi there,

 i'm running Debian testing and I'm trying to get courier-mta to work properly with
courier-authmysql. i specify courier-mta as `courierauthtest pascal` or 
`courierauthtest
[EMAIL PROTECTED] successfully connect to the mysql db and fetches the rite info while
courier-smtp keeps answering 550 User unknown when asked for [EMAIL PROTECTED]

authdaemon is configured (authdaemonrc) to use only one auth modules : authmysql.
the # of daemons is 1.

the authmodulelist only contains authmysql.

and still, when sending an email to my server, it doesn't even ask anything to the 
mysql db,
that's why i don't understand why it answers 550 User unknown instead of service 
temporarly
unavailable (which i would have expected since it doesn't seem to talk to the db at 
all).

is it normal that /etc/init.d/courier-authdaemon start starts a process that remains 
:
`/usr/lib/courier/authlib/authdaemond.mysql start` ?
that looks like something that doesn't get to start properly to me...

that's quite it... on a final note, am i misconfigurating courier by putting 
cqi2004.etsmtl.ca as
a virtual host (that uses the courierd local user account) since it's also the real 
localdomain ?

thanks alot for any advice/help,

-Pascal

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] SELECT INBOX not working/POP3 problems

2003-05-14 Thread Pascal Robert
Hello there,

I'm getting somewhere now.

Postfix 2.0.9
Courier-imap 1.72
Mac OS X 10.2.6
MySQL 3.23.49

Incoming mails go to the right folder (Maildir format), authentication from
MySQL is working.  But I still have two problems:

- the SELECT INBOX command is not working:

A001 LOGIN [EMAIL PROTECTED] ***
A001 OK LOGIN Ok.
a002 SELECT INBOX
* BYE [ALERT] Fatal error: Permission denied

I even run imapd (started with libexec/imapd.rc) as root (yes, I know),
don't make a difference.  I enable the DEBUG directive in imapd's
configuration file to level 2, I don't get any other information (and I
looked at system.log and mail.log too).

- the pop3 daemon don't start:

When I try to run pop3d (libexec/pop3d.rc), I get nothing, no errors, no
warnings, but no process and nothing listening on port 110.  :-/



---
Enterprise Linux Forum Conference  Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Set up authenticated SMTP through SSL

2002-03-22 Thread Pascal Bleser

Hi ;-)

I'd like to set up SMTP from the outside (internet) but using
SSL and authentication.

I've just upgraded to the latest 0.37.3 to do so...

The point is that SMTP is already configured for the LAN clients
without authentication nor SSL, and I'd like to keep it that way...

How can I set up a different smtpaccess for normal SMTP (only allowed
for LAN clients) without authentication and one smtpaccess for external
SMTP (only allowed with authentication and SSL) ?

Can I specify ACCESS FILE = ... in etc/esmtpd and etc/esmtpd-ssl with
different directories ?

e.g.
- in etc/esmtpd
   ACCESS FILE = /etc/courier/smtpaccess
- in etc/esmtpd-ssl
   ACCESS FILE = /etc/courier/smtpaccess-ssl
?

Thanks for your help ;-)

PS: that might be a candidate for the FAQ... (?) I mean, it's quite common
--- given that you do grant external access to your SMTP (which is a thing
 to avoid in itself, but we've got consultants travelling around the
 world and they'd like to use our SMTP to keep their E-Mail From and
 Sender ;-))

-- 
   -o) Pascal Bleser   ATOS Origin/Aachen(DE) |
   /\\ [EMAIL PROTECTED] |
  _\_v [EMAIL PROTECTED] |
-|
Jesus saves,Buddha makes incremental backups :
-'


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Problems with filters

2001-12-12 Thread Pascal Bleser

Hi ;)

Could someone tell me what I'm doing wrong ?
The documentation about the filtering in courier is... well...
not very clear about some points:

- how can I set up a mail filter that drops or modifies mails
  that have MS-virus-like attachments (vbs, exe, ...) - we had some
  examples on the mailing-list but it's not included in the
  examples nor in the documentation of Courier, and it's definately
  one of the most frequent uses of filtering (IMHO)

- where can I put a maildrop filter configuration file so that
  it is used by courier for *all* accounts ? (not ~/.mailfilter)
  /etc/courier/maildroprc ?

I've set up such a filter from an example seen on this list:

if ( /^[:space:]+filename=.*\.vbs\$/:b || \
 /^[:space:]+filename=.*\.exe\$/:b || \
 /^[:space:]+filename=.*\.com\$/:b || \
 /^[:space:]+filename=.*\.pif\$/:b || \
 /^[:space:]+filename=.*\.scr\$/:b || \
 /^[:space:]+filename=.*\.bat\$/:b )
 {
   xfilter /usr/local/courier/bin/reformail -A'X-Antispam: Possible Virus'
   /^Subject: !.*/
   xfilter /usr/local/courier/bin/reformail -I'Subject: [CAUTION: POSSIBLE 
VIRUS] $MATCH2'
  }

I've tried to use several locations, but none of them work:
(with /etc/courier being a symlink to /usr/local/courier/etc)

/etc/courier/maildroprc 
~user/.mailfilter

Here's some additional configuration info on the mail server:

/etc/courier/enablefiltering:
esmtp

/etc/courier/maildrop:
/usr/local/courier/bin/maildrop

/etc/courier/maildropfilter:
/usr/local/courier/bin/maildrop

Did I forgot something ?

Thanks for your help...

Oh, BTW, there's another really frequently asked question which is not in
the documentation (I think so): is there any way to avoid having the LOGIN
and LOGOUT imapd messages in the logs ? Maybe without having to recompile
Courier ?

--
  -o) Pascal Bleser   ATOS Origin/Aachen(DE) |
  /\\ [EMAIL PROTECTED] |
 _\_v [EMAIL PROTECTED] |
-|
Jesus saves,Buddha makes incremental backups :
-'

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Problems with filters

2001-12-12 Thread Pascal Bleser

...
 The above filter wont catch much attachments, drop something
why not ?

 like this into $COURIER_HOME/etc/maildroprc:
 
 VERBOSE=9
 echo X-Content-Scan: $HOSTNAME
 xfilter reformail -A'X-Content-Scan: $HOSTNAME'
 
 if ( /^content-type: !multipart.*![:space:]/h )
 {
 echo X-Content-Filter: $MATCH2
 xfilter reformail -A'X-Content-Filter: $MATCH2'
 
 if (
 /[:space:](file)?name=\!.*\.((vbs)|(scr)|(exe)|(com)|(pif)|(lnk)|(bat))!\$/:b
 )
 {
 FILENAME=$MATCH2
 echo X-Content-Warning: $FILENAME
 xfilter reformail -A'X-Content-Warning: $FILENAME'
 
 /^subject: !.*/
 xfilter reformail -I'Subject: [VIRUS WARNING: $FILENAME] $MATCH2'
 }
 }

Thanks for the filter, but I don't see why it would catch more viral
attachements... ? It makes more checks and is definately more consistent,
but...

 X-Content-Scan: sandbox.dmz
 X-Content-Filter: multipart/mixed;
 X-Content-Warning: RunMe.bat

What's the use of those additionnal X-flags. The users all use outlook and
outlook express, have no idea about SMTP or properly using/configuring their
mail clients, so I guess it has no use for them... right ?

...
  /etc/courier/enablefiltering:
  esmtp
 You are mixing up completely different ways of filtering.

hm ? why is that ?
/etc/courier/enablefiltering enables the /etc/courier/filters/ stuff, right ?
OK, than I can remove the line and disable it ;-)

(this whole filtering stuff is a little confusing... some more documentation
or rather an overview of how the courier and maildrop filtering works, what's
better done with one or the other, etc... would be nice ;))

--
  -o) Pascal Bleser   ATOS Origin/Aachen(DE) |
  /\\ [EMAIL PROTECTED] |
 _\_v [EMAIL PROTECTED] |
-|
Jesus saves,Buddha makes incremental backups :
-'

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users