automatic forwarding of msgs in folder

2001-06-19 Thread Massimo Quintini

My mail user ([EMAIL PROTECTED]) partecipate in many mailing list...

I want automatically redirect  the msgs in right folder and no in INBOX
folder (for example the msgs of qmail mailing list MUST go in qmail
folder, the msgs of sqwebmail in sqwebmail folder..and so on...)

How can I do ??? (Can I use condredirect program with 822mess
package...but how???)

Thanks

Massimo.

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





url of sqwebmail too long!!!!

2001-06-08 Thread Massimo Quintini

How can I use an URL short (like mail.te.astro.it) instead of
mail.te.astro.it/cgi-bin/sqwebmail 

I have tried with VirtualHost directive of Apache Web Server without
success!!!

Thanks.

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





To: on Reply problems

2001-06-04 Thread Massimo Quintini

I have problem with the errata setting (from remote-server?) of To:
field in Reply msg.

Physical name of my qmail server is terri1.te.astro.it but mail domain
is astrte.te.astro.it (record CNAME in dns)

Many users (but not all!!!) of my organization send our msgs like
[EMAIL PROTECTED] (setting our client program - Outlook,
Messenger or Sqwebmail)

In the reply of msg the To: field contains [EMAIL PROTECTED]
and not [EMAIL PROTECTED]  Why??? Which component is
responsable for setting the To: field in Reply

My organizatione is known as astrte.te.astro.it and no like terri1
This is a problem for me 

It happens for not all my users...Why? Is it a problem of remote server?

excuse me for my english.

Thanks. Massimo Quintini

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





Re: removing msg for old users: it's works

2001-05-31 Thread Massimo Quintini

Your solution works Thanks.

I have inserted # in ~alias/.qmail-username

There are 3 mail user that are out of my organization and they receive again mail
(job-opportunities, advertising, ect.))

Thanks . Massimo Quintini

Charles Cazabon wrote:

 Massimo Quintini [EMAIL PROTECTED] wrote:
 
  My mail server receives mail for old users/rcpt

 All mail servers do; accounts change, spammers have incorrect or guessed
 address, etc.

  I want delete these msg and no forward to postmaster or other.

 qmail does this (well, it bounces them) by default.  If the bounces bounce,
 then they'll go to postmaster.  You want to know when your bounce messages are
 undeliverable, don't you?

  How can I specify the delete operation in .qmail file?

 Well, you can just throw the message away by putting nothing but comments in a
 .qmail file.  You could then use the doublebounceto and doublebouncehost
 control files to send double bounces to that .qmail file.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 Any opinions expressed are just that -- my opinions.
 ---

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





Re: forwarding msgs analyzing subject text

2001-05-31 Thread Massimo Quintini

Excuse me, but I have tried your solution but it don't works!

My files are

~massimo/.qmail

./Maildir/
|/var/qmail/bin/condredirect iauc `822field Subject | grep -q IAUC`

~alias/.qmail-iauc

[EMAIL PROTECTED]

The messages in /var/log/qmail/current are


new msg 104056
info msg 104056: bytes 1094 from [EMAIL PROTECTED] qp 4756 uid 946
starting delivery 29: msg 104056 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 29: failure:
condredirect:_usage:_condredirect_newaddress_program_[_arg_..._]/
status: local 0/10 remote 0/20
bounce msg 104056 qp 4764
end msg 104056
new msg 104057
info msg 104057: bytes 1669 from  qp 4764 uid 951
starting delivery 30: msg 104057 to remote [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 30: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 104057

I have tried with many test but without success!!!

Thanks. Massimo QUINTINI

Russell Nelson wrote:

 Massimo Quintini writes:
   I must forward msgs from 1 sender to groups of users  AFTER EXAMINING
   SUBJECT TEXT
  
   example:
  
   the rcpt of msg is user1
   IF subject contains the char string xxx THEN the msg must be forwarded
   to users user2, user3, user4
   IF subject contains the char string yyy THEN the msg must be forwarded
   to users user5, user6, user7
   ..and so on
  
   It's possibile? How?

 cat ~user1/.qmail EOF
 ./Mailbox
 |condredirect user234 `822field Subject | grep -q xxx`
 |condredirect user567 `822field Subject | grep -q yyy`
 EOF

 cat ~alias/.qmail-user234 EOF
 user2
 user3
 user4
 EOF

 cat ~alias/.qmail-user567 EOF
 user5
 user6
 user7
 EOF

 --
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





Re: forwarding msgs analyzing subject text

2001-05-31 Thread Massimo Quintini

Dear Russell

Fantastic.it works !

Thanks...thanks..and thanks again 

Massimo QUINTINI

Russell Nelson wrote:

 Massimo Quintini writes:
   Excuse me, but I have tried your solution but it don't works!

   |/var/qmail/bin/condredirect iauc `822field Subject | grep -q IAUC`

 Doh!  Yes, of course that won't work.  condredirect wants a program to
 run, not a string.  Try it this way:

 |/var/qmail/bin/condredirect iauc /bin/sh -c '822field Subject | grep -q IAUC'

 --
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.

--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





removing msg for old users

2001-05-30 Thread Massimo Quintini

My problem is:

My mail server receives mail for old users/rcpt

I want delete these msg and no forward to postmaster or other.

I have created a .qmail file in ~alias (e.g. .qmail-robert  - with
robert old user ).

How can I specify the delete operation in .qmail file?

Thanks


--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it




forwarding msgs analyzing subject text

2001-05-30 Thread Massimo Quintini

I must forward msgs from 1 sender to groups of users  AFTER EXAMINING
SUBJECT TEXT

example:

the rcpt of msg is user1
IF subject contains the char string xxx THEN the msg must be forwarded
to users user2, user3, user4
IF subject contains the char string yyy THEN the msg must be forwarded
to users user5, user6, user7
..and so on

It's possibile? How?

I think with use of .qmail files in /home/user1 specifing a program
(perl?, C?) that executes the forwarding. It's right? How can I manage
in program Subject: To: contents?

Thanks


--
Massimo Quintini
Osservatorio Astronomico Collurania Teramo
Via Mentore Maggini s.n.c. 64100 TERAMO (Italy)
Tel +39-0861210490  Fax +39-0861210492
http://www.te.astro.it





pine + courier-imap

2001-04-12 Thread Massimo Quintini

excuse me for question too particular!!!

I have a problem with PINE version 4.00

How can I see the all folders created on the server ?? With the PINE versions 4.00 
it's possible with CollectionList option but with version 4 it'is impossible for me

I have tried (without success) with "folder-collection" option (in setup) specifying 
{server-imap-name}inbox[] or {server-imap-name}Maildir/[] or {server-imap-name}/[] and 
so on...

I have downloaded from internet many manual written by System Managers of American 
Universities for PINE configuration but I haven't found the solution!!

Where is the solution or is there the solution ?? thanks.


======
MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
==






different folder visible from MessengerSqwebmail.

2001-04-05 Thread Massimo Quintini

I have a qmail server with server wu-imap (for Maildir) and sqwebmail
for mail access via web.

my users use the following MUAs:

NetscapeMessenger(with imap protocol)
Netscape Navigator with sqwebmail

If I create a PERSONAL FOLDER with Sqwebmail, i cannot see that folder
with Messenger and vice versa;
(in fact any MUA creates your own folders at different
locations/directory on the server )

Now, the questions!!!:

1) Is there the way to see the SAME folders with the 2 MUAs ???
2) Is there another sw for webmail "compatible" with
imap-folder-location ???

Thanks

Excuse me for my bad English

--
======
MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
==






no mailbox here(#5.1.1)

2001-03-21 Thread Massimo Quintini


My QMAIL sends notification "Sorry, no mailbox here by that name.
(#5.1.1)"  to the sender for any unknown user in my domain.

I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???

Thanks

--
======
MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
==








Re: no mailbox here(#5.1.1) - don't works!

2001-03-21 Thread Massimo Quintini

Don't works!!!

1) in ~alias/.qmail-default I had 1 line with |fastforward 
2) I have added a line with [EMAIL PROTECTED]
3) I have sent a msg from hotmail to mydomain

... but it dont works 

I must re-start qmail 

thanks. Massimo


Shirish Bhagwat wrote:

 Hi, what if my .qmail-default already contains following line
 =-=-=
 | fastforward -d /etc/aliases.cdb
 =-=-=

 Can I still add it there?

 - shirish

 Jrgen Persson wrote:

  On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:
  
   My QMAIL sends notification "Sorry, no mailbox here by that name.
   (#5.1.1)"  to the sender for any unknown user in my domain.
  
   I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
  [snip]
 
  let me rephrase you
   I want these messages in a mailbox (e.g. postmaster)...how ???
 
  Aaah... much better
 
# echo postmaster  ~alias/.qmail-default
 
  Jrgen

--
======
MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
==






Re: no mailbox here(#5.1.1) - don't works!

2001-03-21 Thread Massimo Quintini

I  have seen the /var/log/maillog...

.. there is the msgs

1) "Sorry, no mailbox here ."
2) starting delivery to remote [EMAIL PROTECTED] (the sender)
3) delivery success . Remote_host_said .

Massimo.

Jrgen Persson wrote:


 On Wed, Mar 21, 2001 at 01:10:31PM -0200, Massimo Quintini wrote:
  Don't works!!!
 
  1) in ~alias/.qmail-default I had 1 line with |fastforward 
  2) I have added a line with [EMAIL PROTECTED]
  3) I have sent a msg from hotmail to mydomain
 
  ... but it dont works 

 How do you know?? What does the logs say (tm)??
 Jrgen

 
  I must re-start qmail 
 
  thanks. Massimo
 
 
  Shirish Bhagwat wrote:
 
   Hi, what if my .qmail-default already contains following line
   =-=-=
   | fastforward -d /etc/aliases.cdb
   =-=-=
  
   Can I still add it there?
  
   - shirish
  
   Jrgen Persson wrote:
  
On Wed, Mar 21, 2001 at 11:19:09AM -0200, Massimo Quintini wrote:

 My QMAIL sends notification "Sorry, no mailbox here by that name.
 (#5.1.1)"  to the sender for any unknown user in my domain.

 I WANT THESE MESSAGES IN A MAILBOX (e.g. postmaster)...HOW ???
[snip]
   
let me rephrase you
 I want these messages in a mailbox (e.g. postmaster)...how ???
   
Aaah... much better
   
  # echo postmaster  ~alias/.qmail-default
   
Jrgen
 
  --
  ======
  MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
  Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
  Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
  ==
 
 
 

--
==========
MASSIMO QUINTINI - Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
Via Mentore Maggini s.n.c. - 64100 TERAMO (Italy)=
Tel:39-0861.210490  Fax:39-0861.210492  http://www.te.astro.it   =
==






Host masquerading

2001-02-27 Thread Massimo Quintini

My QMAIL host is "hostname.te.astro.it"

The recipient of msg send by [EMAIL PROTECTED] MUST SEE the
msg send by [EMAIL PROTECTED] (without "hostname").

I have filled /control/defaulthost with "te.astro.it" but don't
works

Thanks

==========
= Massimo Quintini   =
= Osservatorio Astronomico Collurania Teramo (O.A.C.T.)  =
= Via Mentore Maggini s.n.c. =
= 64100 - TERAMO - (Italy)   =
= Telefono: 39-0861.210490   =
= Fax: 39-0861.210492=
= http://www.te.astro.it =
==





NestcapeMessenger=IMAP Server

2001-02-25 Thread Massimo Quintini

THE FACT: I have many clients con NetscapeMessenger like MUA and one 
server with QMail with IMAP Server

TARGET: I want establish a secure connection (with SSL?) from MUAs and 
MTA (through IMAP protocol )

QUESTIONs:
a)  Must I install SSL server-side ? 
b)  Is SSL code included in Netscape package (v4.72) ???
c)  where can I look for the instrucions (step-by-step) for 
installing SSL for IMAP (certficate creation, ect. ) ???

Thanks. Massimo QUINTINI

==
= Massimo Quintini=
= Osservatorio Astronomico Collurania Teramo (O.A.C.T.) =
= Via Mentore Maggini s.n.c.   =
= 64100 - TERAMO - (Italy)   =
= Telefono: 39-0861.210490   =
= Fax: 39-0861.210492=
= http://www.te.astro.it =
==





1 host with several hostnames

2001-02-20 Thread Massimo Quintini


I have installed QMAIL in a host called "realname.aaa.bbb.ccc" (MX
record in DNS). On this server I have defined 10 users. This host should
accept mails for "virtual1.aaa.bbb.ccc", "virtual2.aaa.bbb.ccc" and
"aaa.bbb.ccc" (For example: a mail for [EMAIL PROTECTED] MUST go in
[EMAIL PROTECTED], a mail for [EMAIL PROTECTED] MUST
go in [EMAIL PROTECTED] - with "user01" user of computer 
"realname")

I have done MANY tests with/without virtualdomain but don't
works!!! I have mailed a msg from my account on Excite.it to
[EMAIL PROTECTED]: the Excite's postmaster responds:
Final-Recipient: RFC822; [EMAIL PROTECTED] 
Action: failed 
Status: 5.1.2 
Remote-MTA: dns; virtual1.aaa.bbb.ccc

QMAIL Configuration files:
ME:
realname.aaa.bbb.ccc
LOCALS:
localhost
realname.aaa.bb.ccc
RCPTHOSTS:
realname.aaa.bbb.ccc
virtual1.aaa.bbb.ccc
aaa.bbb.ccc
VIRTUALDOMAINS
[EMAIL PROTECTED]:alias-user01
[EMAIL PROTECTED]:alias-user02
[EMAIL PROTECTED]:alias-user01
[EMAIL PROTECTED]:alias-user02
~ALIAS/.QMAIL-USER01-USER01
[EMAIL PROTECTED]
/ETC/TCP.SMTP
100.100.100.:allow,RELAYCLIENT=""   

In /var/log/maillog there is no msg.

In another test I have deleted virtualdomains and filled locals and
rcpthosts with "realname" and "virtual1" but don't works!! 

I have attached the output oh qmail-showctl

Must I insert the "virtual1" in DNS (MX record) ??

Excuse for my bad English, best regards and thanks in advance for
helping.

Massimo QUINTINI

==
= Massimo Quintini   =
= Osservatorio Astronomico Collurania Teramo (O.A.C.T.)  =
= Via Mentore Maggini s.n.c. =
= 64100 - TERAMO - (Italy)   =
= Telefono: 39-0861.210490   =
= Fax: 39-0861.210492=
= http://www.te.astro.it =
==
 showctl.out