[vchkpw] Re: Re-injection of email from .qmail-default
Hi, Have you tried serialmail ?? http://cr.yp.to/serialmail.html Regards Ahmet Takci "Jeff Koch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > We've have searched the mailing lists archives on this list and several > other but have not found the answer to this question. Maybe someone can advise. > > We would like to know if it is possible to re-inject mail for delivery by > smtp after vpopmail has dropped it into a domain's .qmail-default file. > Basically, we're trying to setup a mailserver that stores messages for some > domains but routes messages by smtp for others AFTER performing some > operations on them by commands within the .qmail-default file. > > We do not want to forward the messages to an email address but instead want > to route them using smtp to another mailserver willing to accept email for > that domain. > > Any suggestions would be appreciated. > > > > Best Regards, > > Jeff Koch > > > >
[vchkpw] Re: Re-injection of email from .qmail-default
Hello Jeff, On Thursday, October 9, 2003 at 12:02:00 AM you wrote (at least in part): >>> We do not want to forward the messages to an email address but instead want >>> to route them using smtp to another mailserver willing to accept email for >>> that domain. [...] >>With this setup you can send the mails in this Maildir out via SMTP by >>using 'maildirsmtp' tool from 'serialmail' package[1]. [...] > This sounds wonderful. Hopefully, serialmail won't get confused and try to > deliver the message locally. We'll give it a try. ,- [ man maildirsmtp ] | NAME |maildirsmtp - send a maildir through SMTP | | SYNOPSIS |/maildirsmtp/ *dir* *prefix* *host* *helohost* | | DESCRIPTION |/maildirsmtp/ scans a maildir, *dir*, and sends each message |to *host* through SMTP. It removes *prefix* from the begin |ning of each envelope recipient address. It ignores any |message whose recipient address does not begin with *pre |fix*. | |/maildirsmtp/ removes messages accepted by *host*. It bounces |messages permanently rejected by *host* back to the envelope |sender, and then removes them. It treats temporary rejec |tion as permanent rejection for messages more than two |weeks old. | ... |/maildirsmtp/ needs /tcpclient/ in $PATH. `- -- Best regards Peter Palmreuther Impiety, n.: Your irreverence toward my diety. -- Ambrose Bierce
Re: [vchkpw] Re: Re-injection of email from .qmail-default
Hi Peter: This sounds wonderful. Hopefully, serialmail won't get confused and try to deliver the message locally. We'll give it a try. At 02:16 PM 10/8/2003, you wrote: Hello Jeff, On Wednesday, October 8, 2003 at 5:04:03 PM you wrote (at least in part): > We would like to know if it is possible to re-inject mail for delivery by > smtp after vpopmail has dropped it into a domain's .qmail-default file. > Basically, we're trying to setup a mailserver that stores messages for some > domains but routes messages by smtp for others AFTER performing some > operations on them by commands within the .qmail-default file. > We do not want to forward the messages to an email address but instead want > to route them using smtp to another mailserver willing to accept email for > that domain. You shouldn't store them in '.qmail-default', but in a Maildir where .qmail-default directs them to (it would be unwise to store them in the file containing /the/ delivery instructions). With this setup you can send the mails in this Maildir out via SMTP by using 'maildirsmtp' tool from 'serialmail' package[1]. This should be sufficient according to what you've written, IF you don't mind "performing some operations" on multiple files (as Maildir stores each mail in a new file) instead of one 'Mailbox' file. [1]: http://cr.yp.to/serialmail.html -- Best regards Peter Palmreuther In the morning, laughing happy fish heads, in the evening, floating in the soup... They can't play baseball, they don't wear sweaters, Best Regards, Jeff Koch, Intersessions
[vchkpw] Re: Re-injection of email from .qmail-default
Hello Jeff, On Wednesday, October 8, 2003 at 5:04:03 PM you wrote (at least in part): > We would like to know if it is possible to re-inject mail for delivery by > smtp after vpopmail has dropped it into a domain's .qmail-default file. > Basically, we're trying to setup a mailserver that stores messages for some > domains but routes messages by smtp for others AFTER performing some > operations on them by commands within the .qmail-default file. > We do not want to forward the messages to an email address but instead want > to route them using smtp to another mailserver willing to accept email for > that domain. You shouldn't store them in '.qmail-default', but in a Maildir where .qmail-default directs them to (it would be unwise to store them in the file containing /the/ delivery instructions). With this setup you can send the mails in this Maildir out via SMTP by using 'maildirsmtp' tool from 'serialmail' package[1]. This should be sufficient according to what you've written, IF you don't mind "performing some operations" on multiple files (as Maildir stores each mail in a new file) instead of one 'Mailbox' file. [1]: http://cr.yp.to/serialmail.html -- Best regards Peter Palmreuther In the morning, laughing happy fish heads, in the evening, floating in the soup... They can't play baseball, they don't wear sweaters,