RE: Qmail source files - developer version
I am already doing that to catch bounces passing my server, but what will it help me ? I don't want to forward a copy of the original e-mail to another server, I want to send normally to the locals, and forward one with the rest of recipients. Now then I think about it, I may implement this externally, processing the copy of the original message, but : 1. How do I make qmail not to send messages to external recipients (and in the same time I have to get a copy of original e-mail with all recipients)? 2. In the same time, if I make qmail not to send mail to external recipients (quietly !!!), how can i send the externally modified message (in which the local recipients are already removed) so it would be still sent as one message ? I could use telnet to the forwarding server port 25 and just spill the message there, but I hope there is a better way ... Alex. -Original Message- From: Greg Owen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 7:51 PM To: [EMAIL PROTECTED] Subject: RE: Qmail source files - developer version Felix von Leitner [mailto:[EMAIL PROTECTED]] said: > Thus spake Alex Kramarov ([EMAIL PROTECTED]): > > I want to write an addon to qmail, so it could forward mail > > to another server before it hits the queve, splitted to several > > copies, one for each recipient domain. I think many could > > benefit from this feature, in terms of bandwidth conservation. > > This feature can (and should) be implemented externally, i.e. without > editing the qmail sources at all. > > Just take the qmail-smtpd sources and write a new smtpd. Whoa, whoa, let's not get too excited here. Before you go rewriting, you should read FAQ 8.2: ] 8.2. 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. Using this to forward copies however you want is left as a straightforward exercise for the reader. 'man dot-qmail' will be helpful. -- gowen -- Greg Owen -- [EMAIL PROTECTED] SoftLock.com is now DigitalGoods!
RE: Qmail source files - developer version
Felix von Leitner [mailto:[EMAIL PROTECTED]] said: > Thus spake Alex Kramarov ([EMAIL PROTECTED]): > > I want to write an addon to qmail, so it could forward mail > > to another server before it hits the queve, splitted to several > > copies, one for each recipient domain. I think many could > > benefit from this feature, in terms of bandwidth conservation. > > This feature can (and should) be implemented externally, i.e. without > editing the qmail sources at all. > > Just take the qmail-smtpd sources and write a new smtpd. Whoa, whoa, let's not get too excited here. Before you go rewriting, you should read FAQ 8.2: ] 8.2. 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. Using this to forward copies however you want is left as a straightforward exercise for the reader. 'man dot-qmail' will be helpful. -- gowen -- Greg Owen -- [EMAIL PROTECTED] SoftLock.com is now DigitalGoods!
Re: Qmail source files - developer version
Thus spake Alex Kramarov ([EMAIL PROTECTED]): > Maybe I am asking on the wrong forum, but boes anybody know, if there > is a "developer" version of qmail sources with at lease some remarks > and functionality description in the code so it would be more readable > ? Or if there is a site that has some description on the way qmail is > written. I want to write an addon to qmail, so it could forward mail > to another server before it hits the queve, splitted to several > copies, one for each recipient domain. I think many could benefit from > this feature, in terms of bandwidth conservation. This feature can (and should) be implemented externally, i.e. without editing the qmail sources at all. Just take the qmail-smtpd sources and write a new smtpd. Felix
Qmail source files - developer version
Maybe I am asking on the wrong forum, but boes anybody know, if there is a "developer" version of qmail sources with at lease some remarks and functionality description in the code so it would be more readable ? Or if there is a site that has some description on the way qmail is written. I want to write an addon to qmail, so it could forward mail to another server before it hits the queve, splitted to several copies, one for each recipient domain. I think many could benefit from this feature, in terms of bandwidth conservation. Alex Incredimail Admin __Created and best viewed with IncrediMail!Get your free copy at: www.incredimail.com