Re[2]: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-16 Thread Luis Marcelo Nogueira
Ops! I'm in trouble again. I've just noticed that if the sender fills
the recipient address at BBC instead TO field, the msglog won't show
the recipient. (For all msgs in msglog the Delivered-To: is
msglog@mydomain).

THX for the replay regarding the scripts. I'll work on it soon.


Luís Marcelo Nogueira

InterConnect
www.intermail.com.br
mailto:[EMAIL PROTECTED]

---
Este e-mail é confidencial e de uso exclusivo do destinatário. Seu
conteúdo não deve ser revelado a terceiros. Caso você não seja o
destinatário, favor notificar o remetente e apagar esta mensagem
imediatamente.
Alertamos que esta mensagem transitou por via pública de comunicação,
e seu conteúdo original pode ter sido adulterado.

This e-mail is private and confidential, and of exclusive use of the
addressee only. Its contents should not be revealed to third parties.
If you are not the intended addressee, please notify the sender and
promptly delete this message. 
It should be advised that this correspondence has been transmitted
through a public communication channel, and its original contents may
have suffered alteration.
---

-
Monday, December 16, 2002, 6:28:47 AM:


PP Hi Luis,

PP On Mon, 16 Dec 2002 03:08:33 -0200
PP Luis Marcelo Nogueira [EMAIL PROTECTED] wrote:

 except maybe making use of QMAILQUEUE patch, which is in the above

 Eventually, it's worked! Thank you very much. I had some problems
 (Unable_to_chdir_to_maildir), but now it's solved.
 
 Now I have to find a script or program, that checks if the message is
 from or to this particular domain...  Do you have any suggestion?

PP MANPATH=/var/qmail/man man 8 qmail-command

PP Read this, set up a script that writes the environment to a file (e.g.
'set /tmp/xyz.test') and call that test-script from a dot-qmail file.
PP Now decide which variable(s) (I'd recommend $HOST as a starting point)
PP you want to check. For outgoing mails you'll have to check $SENDER, I
PP guess.

PP HTH, and sorry, I don't know if there's a ready to use script anywhere
PP out there. Chances are you'll have to write it yourself.





Re: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-15 Thread Luis Marcelo Nogueira
Dear Peter,

Tuesday, December 10, 2002, 6:22:12 AM:
PP Get http://www.untroubled.org/qmail+patches/current/release-19.tar.gz

PP from Bruce Guenter's web site.
PP It contains a file named 'qmail-1.03-msglog.patch'.
PP Patch your qmail, re-compile and re-install it.
PP Create a file ~alias/.qmail-msglog and read 'dot.qmail-msglog' form
PP the downloaded tar.gz for having a template for this file.
PP Pipe all mails to a script or program, that checks if the message is
PP from or to this particular domain you're trying to observer. If so log
PP the message, if not simply drop the message.

PP That's it.

PP There's no known way to log outgoing mails in a different way, except
PP maybe making use of QMAILQUEUE patch, which is in the above mentioned
PP tar.gz as file 'qmail-1.03-queuevar.patch'.
PP Nevertheless you'll have to patch and re-compile/re-install qmail.

Eventually, it's worked! Thank you very much. I had some problems
(Unable_to_chdir_to_maildir), but now it's solved.

Now I have to find a script or program, that checks if the message is
from or to this particular domain...  Do you have any suggestion?


Luís Marcelo Nogueira

InterConnect
www.intermail.com.br
mailto:[EMAIL PROTECTED]

---
Este e-mail é confidencial e de uso exclusivo do destinatário. Seu
conteúdo não deve ser revelado a terceiros. Caso você não seja o
destinatário, favor notificar o remetente e apagar esta mensagem
imediatamente.
Alertamos que esta mensagem transitou por via pública de comunicação,
e seu conteúdo original pode ter sido adulterado.

This e-mail is private and confidential, and of exclusive use of the
addressee only. Its contents should not be revealed to third parties.
If you are not the intended addressee, please notify the sender and
promptly delete this message. 
It should be advised that this correspondence has been transmitted
through a public communication channel, and its original contents may
have suffered alteration.
---