Bluehost.com Web Hosting $6.95

copy all outoging messages to a an account

This is a discussion on copy all outoging messages to a an account within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, I have installed qmail-1.03+domain tools+ucspi-tcp.It works fine. It has 10 users including my ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-25-2005
learnq
 
Posts: n/a
Default copy all outoging messages to a an account

Hi,

I have installed qmail-1.03+domain tools+ucspi-tcp.It works fine.
It has 10 users including my boss .Now my boss want the copies of all
outgoing messages that are sent by the users to his account .
He only want the outgoing messages not the incomming messages .

Is it possible .How I can do that .Please help me.Thankx.

Reply With Quote
  #2 (permalink)  
Old 10-25-2005
Dave Sill
 
Posts: n/a
Default Re: copy all outoging messages to a an account

"learnq" <learnq@gmail.com> writes:

> I have installed qmail-1.03+domain tools+ucspi-tcp.It works fine.
> It has 10 users including my boss .Now my boss want the copies of all
> outgoing messages that are sent by the users to his account .
> He only want the outgoing messages not the incomming messages .


Use QUEUE_EXTRA[1] to copy all messages to a "log" address, then set
up ~alias/.qmail-log to identify the "outgoing"[2] messages and save a
copy[3].


Footnotes:
[1] http://lifewithqmail.org/lwq.html#queue_extra

[2] Define "outgoing". Originated by a local user? Originated from a
local system? Does that include mail from a local user to another
local user? Or maybe it means "not originated from an external
user"? Or "not delivered to a local user"?

[3] You can't forward from ~alias/.qmail-log when using QUEUE_EXTRA
because a delivery loop will occur--unless you forward through a
mechanism that bypasses QUEUE_EXTRA, like a second qmail
installation.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #3 (permalink)  
Old 10-25-2005
learnq
 
Posts: n/a
Default Re: copy all outoging messages to a an account

Thanks a lot for reply . I am new on qmail can you
please discribe some more about [2],[3] ..
plz :)

Reply With Quote
  #4 (permalink)  
Old 10-25-2005
Dave Sill
 
Posts: n/a
Default Re: copy all outoging messages to a an account

"learnq" <learnq@gmail.com> writes:

> Thanks a lot for reply . I am new on qmail can you
> please discribe some more about [2],[3] ..


With QUEUE_EXTRA, *all* messages that pass through that qmail
installation will be delivered to ~alias/.qmail-log. If you want to
log them all, just put something like:

./Maillog/

in .qmail-log and run "maildirmake ~alias/Maillog".

If you want to be more selective, e.g., only logging "outgoing"
messages, you first need to define what you mean by an outgoing
message, then you can construct a .qmail-log that identifies outgoing
messages and logs them.

If .qmail-log contains an entry like:

&theboss@example.com

intended to send the boss a copy of every message, then *that*
forwarded message will go through QUEUE_EXTRA, and qmail will attempt
to forward it to theboss again, etc.

If you really can't settle for logging to a local mailbox, you can set
up a second qmail installation, say /var/qmail2, that doesn't use
QUEUE_EXTRA. Then in .qmail-log you can do something like:

|/var/qmail2/bin/forward theboss@example.com

But that's a pain in the ass.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #5 (permalink)  
Old 10-27-2005
learnq
 
Posts: n/a
Default Re: copy all outoging messages to a an account

Thanks Dave . I try to implement it.

Reply With Quote
  #6 (permalink)  
Old 10-28-2005
learnq
 
Posts: n/a
Default Re: copy all outoging messages to a an account

Hi,

What I need to write in in .qmail-log so that "only outgoing "message
from aa @ domainname.com ,
bb @ domainname.com
go to boss @ domainname.com

I mean by "outgoing" is that message sent from
user aa @ domainname.com to anyone (local&outside) go to boss @
domainname.com .

Plz help .I do not install another qmail to do that job if
it possible with one qmail .
Thank a lot again for your replies .

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0