[imp] Generating From headers with a catch-all email address?

2009-03-25 Thread Lloyd Zusman
I'm using a very recent version of Horde/IMP, and I'm trying to figure out if it's possible to do something. I manage an SMTP server, and I have created a catch-all address for a certain domain. This address receives all emails directed to any address at that domain for which a specific mailbox ha

Re: [imp] Generating From headers with a catch-all email address?

2009-03-27 Thread Jan Schneider
Zitat von Lloyd Zusman : I'm using a very recent version of Horde/IMP, and I'm trying to figure out if it's possible to do something. I manage an SMTP server, and I have created a catch-all address for a certain domain. This address receives all emails directed to any address at that domain for

Re: [imp] Generating From headers with a catch-all email address?

2009-03-31 Thread Lloyd Zusman
Jan Schneider horde.org> writes: > > Zitat von Lloyd Zusman asfast.com>: > > > [ ... ] > > > > In other words, even though I log in to "catchall mydomain.tld", I > > want my reply to the mail addressed to random1 mydomain.tld to have > > random1 mydomain.tld in the "From" line, and likewise

Re: [imp] Generating From headers with a catch-all email address?

2009-03-31 Thread Jan Schneider
Zitat von Lloyd Zusman : Jan Schneider horde.org> writes: Zitat von Lloyd Zusman asfast.com>: > [ ... ] > > In other words, even though I log in to "catchall mydomain.tld", I > want my reply to the mail addressed to random1 mydomain.tld to have > random1 mydomain.tld in the "From" line,

Re: [imp] Generating From headers with a catch-all email address?

2009-03-31 Thread Lloyd Zusman
Jan Schneider horde.org> writes: > [ ... ] > > Any clean patch that makes some sense is at least considered. There is > no strict policy, patches are considered based on the code and their > purpose. > > That being said, I could imagine that it makes sense to add this as a > core functiona

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Jan Schneider
Zitat von Lloyd Zusman : Jan Schneider horde.org> writes: [ ... ] Any clean patch that makes some sense is at least considered. There is no strict policy, patches are considered based on the code and their purpose. That being said, I could imagine that it makes sense to add this as a core f

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Lloyd Zusman
Jan Schneider horde.org> writes: > > Zitat von Lloyd Zusman asfast.com>: > > > [ ... ] > > > > Well, I'm just thinking of a generic hook that is run when a reply is > > requested, but before the text is presented to the user. Let's say > > this could be called "imp_hook_prereply". Just like fo

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Jan Schneider
Zitat von Lloyd Zusman : Jan Schneider horde.org> writes: Zitat von Lloyd Zusman asfast.com>: > [ ... ] > > Well, I'm just thinking of a generic hook that is run when a reply is > requested, but before the text is presented to the user. Let's say > this could be called "imp_hook_prereply".

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Eric Jon Rostetter
Quoting Lloyd Zusman : But this proposed "prereply" hook would be equally generic as "postlogin", "postsent", "signature", and most of the other hooks that already exist. People can write whatever code they want for these existing hooks. Why would mine be any different? I see the argument for

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Jan Schneider
Zitat von Eric Jon Rostetter : Quoting Lloyd Zusman : But this proposed "prereply" hook would be equally generic as "postlogin", "postsent", "signature", and most of the other hooks that already exist. People can write whatever code they want for these existing hooks. Why would mine be any dif

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Eric Jon Rostetter
Quoting Jan Schneider : I see the argument for including the code to support the hook, but not provide his actual hook code... Then people who do want a pre-reply hook would be able to write one (say, maybe it checks for replies to known phishing addresses, or something else potentially useful)

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Michael M Slusarz
Quoting Jan Schneider : Zitat von Eric Jon Rostetter : Quoting Lloyd Zusman : But this proposed "prereply" hook would be equally generic as "postlogin", "postsent", "signature", and most of the other hooks that already exist. People can write whatever code they want for these existing hooks.

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Chuck Hagenbuch
Quoting Eric Jon Rostetter : We always provide examples, for a good reason. If we are going to add that hook, we should find a useful example. If we don't find one, then the hook doesn't make sense to me. Unless I'm misunderstanding, I can think of a couple potential ones... And how about th

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Jan Schneider
Zitat von Chuck Hagenbuch : Quoting Eric Jon Rostetter : We always provide examples, for a good reason. If we are going to add that hook, we should find a useful example. If we don't find one, then the hook doesn't make sense to me. Unless I'm misunderstanding, I can think of a couple potent

Re: [imp] Generating From headers with a catch-all email address?

2009-04-01 Thread Jan Schneider
Zitat von Eric Jon Rostetter : Quoting Jan Schneider : I see the argument for including the code to support the hook, but not provide his actual hook code... Then people who do want a pre-reply hook would be able to write one (say, maybe it checks for replies to known phishing addresses, or s

Re: [imp] Generating From headers with a catch-all email address?

2009-04-02 Thread Harakiri
--- On Wed, 4/1/09, Jan Schneider wrote: > From: Jan Schneider > > I don't see a use for the original topic (change > from based on reply) > > but I can see where other cases might be useful > (stop/verify replies to > > certain addresses, etc). Weird - i made a topic exactly about that l