Author: ryan Date: To: Dave C. CC: exim-users Subject: Re: [Exim] rewrite to empty sender?
> a webhosting customer has a webform, with a place for the user to enter > their email address. this goes to a "formmail" type of script, which
> sends mail to the webhosting customer's address, _FROM_ the address the
> user entered.
>
> Now lets say the user enters:
>
> sdfgsdfgsdfgsdfgsdfg
>
> Currently, exim tacks on qualify_domain, which is just the webserver's
> primary hostname, which is NOT a domain we receive mail for, and
> definately not one for which the above random garbage is a valid
> address in..
>
> I tried setting qualify_domain to null, but that leaves the address as
> "sdfgsdfgsdfg@", which is refused by mailservers...
>
> I'm trying to figure out what the "Right Thing <tm>" to do about this
> is.
>
> I'm open to any suggestions..
>
Tell the webhosting customer to validate the mail addresses it's sending
out.
Or, set qualify_domain to null, and let the mail disappear. That's really
the best solution.