1

Topic: Different EHLO based on domain?

Hello.

Today I have found out I have a problem with my main server. People trying to send mail to someone else get rejected with a bounce message:

Client host rejected: Rule #1 Please use your ISP's SMTP server to send
e-mail.

I think this might be because of the fact that my smtp always send EHLO greeting with the main hostname (eg, mx2.xxx.com).

Is there any chance to configure the server to send different EHLO greetings when sending mail, depending from the user's domain?

For example, if user user@aaa-buss.com, and johndoe@tralala.com try to send email through my smtp, then make my smtp send different greetings based on the sender's domain?

Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Different EHLO based on domain?

Don't guess why it happened, just try to find out the root case.

What's rule #1?

Client host rejected: Rule #1

3

Re: Different EHLO based on domain?

Don't know, which is rule #1?

I can't find out exactly what is the problem, but I know 2 things:
1) Those guys are paranoid.
2) They don't speak to anybody.

So, I guess I can't find out exactly what is the problem, but I'll try figuring out myself.

4

Re: Different EHLO based on domain?

OK, I found out what the problem was.

Guys at the other server were rejecting mails from all reverse dns that contained "dsl" in their name. And because my domain is something like "madslack.com" (read it "mad slack" - this is an example) they were rejecting any mail from it. I would never expect anything like this.

Thanks for your support, you should close this now.