bug-mailfromd
Re: [Bug-mailfromd] srs (sender rewrite)
>
> > I was wondering if there is a macro available that has the value
> > mail.shaflyn.com or even better 157.230.202.57?
>
> No, there is not. And perhaps there's no need to: you can always
> obtain it yourself.
Yes but this would imply that I have twice as much dns lookups. For now this would be ok, I hardly process any messages any way. But if I could use data already available then why not try and do this a bit efficient. Is this information only available in sendmail after the milter has been processed? If it already available before the milters are executed, what about creating something like these sendmail HACK(`, that could create a custom macro that can be send to the milter?
define(`confMILTER_MACROS_ENVRCPT',confMILTER_MACROS_ENVRCPT`, b, r, v, Z')dnl