hmm, this seems quite complicated to do a simple thing. Maybe people never do this, in which case I can struggle with that myself, but it seems other mailers make this simple. Perhaps an approach could be to use the Delivered-To header (if present) for the From field so long as it is in a vm-valid-mail-sending-addresses list. If it is not present (delivered-to header or valid mails variable), simply do the default which is not adding a from header.
This is more from the accessibility point of view, its a little clunky seeming to rely on external packages to do these seemingly simple everyday things. For more complicated on the fly actions pcrisis (or custom hooks) may be suitable. I also wonder whether profiles would strictly be necessary. Virtual folders, auto-folders etc are already equipped to handle this (based on headers). Maybe I'm overlooking other profile based actions that are like this and would be desirable.
hmm, this seems quite complicated to do a simple thing. Maybe people never do this, in which case I can struggle with that myself, but it seems other mailers make this simple. Perhaps an approach could be to use the Delivered-To header (if present) for the From field so long as it is in a vm-valid- mail-sending- addresses list. If it is not present (delivered-to header or valid mails variable), simply do the default which is not adding a from header.
This is more from the accessibility point of view, its a little clunky seeming to rely on external packages to do these seemingly simple everyday things. For more complicated on the fly actions pcrisis (or custom hooks) may be suitable. I also wonder whether profiles would strictly be necessary. Virtual folders, auto-folders etc are already equipped to handle this (based on headers). Maybe I'm overlooking other profile based actions that are like this and would be desirable.