This is a discussion on Copy all outbound messages within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; G> I'm wondering is there an easy way to tell qmail-smtpd to G> copy all outbound ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
G> I'm wondering is there an easy way to tell qmail-smtpd to
G> copy all outbound messages to a specified email address. There's no way at all to do that, easy or otherwise, because "qmail-smtpd" doesn't deal with outbound mail. G> I need to install a qmail server where both inbound and G> outbound emails are being copied. Why did you not read the FAQ document that comes in the package _before_ posting ? |
|
|||
|
In article <pan.2004.04.15.09.27.31.145682@blah.com>, Gary wrote:
> I'm wondering is there an easy way to tell qmail-smtpd to copy all > outbound messages to a specified email address. > > I need to install a qmail server where both inbound and outbound emails > are being copied. I quick google search would have pointed you to the qmail FAQ: http://cr.yp.to/qmail/faq/admin.html#copies /mek |
|
|||
|
On Thu, 15 Apr 2004 14:23:34 +0000, Mat Kovach wrote: > In article <pan.2004.04.15.09.27.31.145682@blah.com>, Gary wrote: >> I'm wondering is there an easy way to tell qmail-smtpd to copy all >> outbound messages to a specified email address. >> >> I need to install a qmail server where both inbound and outbound emails >> are being copied. > > I quick google search would have pointed you to the qmail FAQ: > > http://cr.yp.to/qmail/faq/admin.html#copies > > /mek Yes that was the first document I read actually, but maybe I'm missing something here. ----- How do I keep a copy of all incoming and outgoing mail messages? Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h. Recompile qmail. Put ./msg-log into ~alias/.qmail-log. ----- Okay so what else do you need to do then to have a user say 'maillog' receive email copies of all outbound mail. Is it saying that you need an alias dir in the home directory of the 'maillog' user, or is the ~alias referring to /var/qmail/alias ? Hopefully someone can clear up my confusion. |
|
|||
|
G> Is it saying that you need an alias dir in the home directory
G> of the 'maillog' user, It's not saying anything at all about a "maillog" user. The word "maillog" occurs nowhere in the answer. G> or is the ~alias referring to /var/qmail/alias ? It's using the standard Unix shell shorthand for the home directory of the "alias" user, yes. G> what else do you need to do then to have a user say G> 'maillog' receive email copies of all outbound mail. man dot-qmail |
|
|||
|
On Thu, 15 Apr 2004 17:17:56 +0100, Jonathan de Boyne Pollard wrote:
> G> Is it saying that you need an alias dir in the home directory > G> of the 'maillog' user, > > It's not saying anything at all about a "maillog" user. The word "maillog" > occurs nowhere in the answer. > I wasn't aware I said maillog was included in the answer, if you had properly read my reply maillog was in quotes like this 'maillog' to indicate the name of an example user on the system, someone who might receive the log of all the emails that have been sent i.e. maillog. High off get horse your please :)! > G> or is the ~alias referring to /var/qmail/alias ? > > It's using the standard Unix shell shorthand for the home directory of the > "alias" user, yes. > > G> what else do you need to do then to have a user say > G> 'maillog' receive email copies of all outbound mail. > > man dot-qmail |
|
|||
|
G> Is it saying that you need an alias dir in the home directory
G> of the 'maillog' user, JdeBP> It's not saying anything at all about a "maillog" user. JdeBP> The word "maillog" occurs nowhere in the answer. G> I wasn't aware I said maillog was included in the answer, if G> you had properly read my reply maillog was in quotes like this G> 'maillog' [...] I properly read your reply. The problem here is that _you_ didn't. You asked whether Dan Bernstein's answer said G> that you need an alias dir in the home directory G> of the 'maillog' user, Since the word "maillog" occurs nowhere in the answer, as I pointed out, it cannot possibly have said that. So you didn't even read Dan Bernstein's answer properly, either. Think! |
|
|||
|
On Fri, 16 Apr 2004 11:15:04 +0100, Jonathan de Boyne Pollard wrote:
> G> Is it saying that you need an alias dir in the home directory > G> of the 'maillog' user, > > JdeBP> It's not saying anything at all about a "maillog" user. > JdeBP> The word "maillog" occurs nowhere in the answer. > > G> I wasn't aware I said maillog was included in the answer, if > G> you had properly read my reply maillog was in quotes like this > G> 'maillog' [...] > > I properly read your reply. The problem here is that _you_ didn't. You asked > whether Dan Bernstein's answer said > > G> that you need an alias dir in the home directory > G> of the 'maillog' user, > > Since the word "maillog" occurs nowhere in the answer, as I pointed out, it > cannot possibly have said that. So you didn't even read Dan Bernstein's > answer properly, either. > That isn't what I asked actually, but I'm not going to debate it any further with you because you're clearly only interested in scoring points and not actually helping the situation. > Think! I think your surname has gone to your head pal! If you could remove your head from your posterior, you might have been able to provide some help without the attitude. |
|
|||
|
Gary -
Ignore Jonathan de Boyne Pollard, he only wants to tute his own horn and never really help with answers. If you follow all his posts you will find a guy that thinks he knows all but knows little. Now onto your issue you are trying to resolve: I know you said you wanted to copy all outgoing messages but the way I did it works fine for me and it copies all messages. I followed the way near the bottom of the FAQ in the source directory. Basically I created a new user account named "log" on the system and added all the things needed to make that appear to be a real user. I then added the following to the include file called "extra.h" that is in the source directory: #define QUEUE_EXTRA "Tlog\0" #define QUEUE_EXTRALEN 5 Once I had that done I recompiled the source and I was off and working fine to get a copy of all outgoing and incoming emails so we could log everything for the new laws that came into effect recently. The only thing I found that caused an issue at first was that I did not have the user "log" defined yet and therefore mails bounced back to the sender about unknown user "log", once that user was defined everything was fine and has been working fine for nearly two years. This may not have been exactly what you were after but with my "less than Jonathan" background, it was the best I could come up with. JR P.S. I did the other thing that really pisses Jonathan off, top posted this. Gary wrote: > On Fri, 16 Apr 2004 11:15:04 +0100, Jonathan de Boyne Pollard wrote: > > >>G> Is it saying that you need an alias dir in the home directory >>G> of the 'maillog' user, >> >>JdeBP> It's not saying anything at all about a "maillog" user. >>JdeBP> The word "maillog" occurs nowhere in the answer. >> >>G> I wasn't aware I said maillog was included in the answer, if >>G> you had properly read my reply maillog was in quotes like this >>G> 'maillog' [...] >> >>I properly read your reply. The problem here is that _you_ didn't. You asked >>whether Dan Bernstein's answer said >> >> G> that you need an alias dir in the home directory >> G> of the 'maillog' user, >> >>Since the word "maillog" occurs nowhere in the answer, as I pointed out, it >>cannot possibly have said that. So you didn't even read Dan Bernstein's >>answer properly, either. >> > > > That isn't what I asked actually, but I'm not going to debate it any > further with you because you're clearly only interested in scoring points > and not actually helping the situation. > > >>Think! > > I think your surname has gone to your head pal! > If you could remove your head from your posterior, you might have been > able to provide some help without the attitude. > > > |
|
|||
|
On Sun, 18 Apr 2004 19:42:16 -0700, John Smith wrote:
> Gary - > Ignore Jonathan de Boyne Pollard, he only wants to tute his own horn and > never really help with answers. If you follow all his posts you will > find a guy that thinks he knows all but knows little. > > Now onto your issue you are trying to resolve: > I know you said you wanted to copy all outgoing messages but the way I > did it works fine for me and it copies all messages. I followed the way > near the bottom of the FAQ in the source directory. Basically I created > a new user account named "log" on the system and added all the things > needed to make that appear to be a real user. I then added the > following to the include file called "extra.h" that is in the source > directory: > > #define QUEUE_EXTRA "Tlog\0" > #define QUEUE_EXTRALEN 5 > > Once I had that done I recompiled the source and I was off and working > fine to get a copy of all outgoing and incoming emails so we could log > everything for the new laws that came into effect recently. The only > thing I found that caused an issue at first was that I did not have the > user "log" defined yet and therefore mails bounced back to the sender > about unknown user "log", once that user was defined everything was fine > and has been working fine for nearly two years. > > This may not have been exactly what you were after but with my "less > than Jonathan" background, it was the best I could come up with. > > JR > > P.S. I did the other thing that really pisses Jonathan off, top posted this. > > Gary wrote: > >> On Fri, 16 Apr 2004 11:15:04 +0100, Jonathan de Boyne Pollard wrote: >> >> >>>G> Is it saying that you need an alias dir in the home directory >>>G> of the 'maillog' user, >>> >>>JdeBP> It's not saying anything at all about a "maillog" user. >>>JdeBP> The word "maillog" occurs nowhere in the answer. >>> >>>G> I wasn't aware I said maillog was included in the answer, if >>>G> you had properly read my reply maillog was in quotes like this >>>G> 'maillog' [...] >>> >>>I properly read your reply. The problem here is that _you_ didn't. You asked >>>whether Dan Bernstein's answer said >>> >>> G> that you need an alias dir in the home directory >>> G> of the 'maillog' user, >>> >>>Since the word "maillog" occurs nowhere in the answer, as I pointed out, it >>>cannot possibly have said that. So you didn't even read Dan Bernstein's >>>answer properly, either. >>> >> >> >> That isn't what I asked actually, but I'm not going to debate it any >> further with you because you're clearly only interested in scoring points >> and not actually helping the situation. >> >> >>>Think! >> >> I think your surname has gone to your head pal! >> If you could remove your head from your posterior, you might have been >> able to provide some help without the attitude. >> >> >> Thanks very much for your help, this was exactly what I was looking for. I eventually came to roughtly the same conclusion after the 'help' from Mr. pompous pants, but your answer was very helpful. Amazing what happens when people use these newsgroups in the spirit in which they were originally intended :) All the best |