cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2444
Views
0
Helpful
11
Replies

Accepting mail for postmaster

Nicolas Melay
Level 1
Level 1

Hi all.

My Ironport C300 is set up to check the validity of local recipients in incoming mail with a LDAP query.

In my mail system however, the postmaster e-mail address is not LDAP-checkable by default...
All postmaster mail for all our domains goes there, so it would need to check OK for several e-mail addresses.
So mail sent to postmaster is rejected for all but our main domain.

I tried adding "postmaster@" to the RAT, but this will allow postmaster mail even for non-existing domains.
I could try and add a postmaster@domain entry for each domain entry in the RAT, and tag it not to use LDAP, but that seems unclean and error prone.

What's the Right Way (tm) to do this ?
Is it possible to tell ASyncOS to ALWAYS accept postmaster@ adresses for local domains ?

TIA,

Nicolas.

11 Replies 11

Donald Nash
Level 3
Level 3

When I had this same problem, I had the folks who run the LDAP put "postmaster" in it. Using the RAT to allow "postmaster@domain" didn't work for me.

You could add a RAT entry for the full e-mail address on every domain i.e.
postmaster@domain.com
postmaster@domain2.com
postmaster@domain3.com etc etc

The above would be the most secure way of doing this, and you could add all of them in one RAT entry. and mark as bypass ldap.

I personally wouldn't add postmaster@ as that will make you a open relay for all postmaster@ addresses.

Nicolas Melay
Level 1
Level 1

OK, thanks all.
I was hoping for a better solution...

Adding a RAT entry seems the safest bet, since I need to add any new domain here anyway.
Just wish the postmaster@domain entry was implicit.

Rejecting postmaster mail goes against RFCs by the way...
I'll try and contact Ironport's support about this.

Donald Nash
Level 3
Level 3

Rejecting postmaster mail goes against RFCs by the way...
I'll try and contact Ironport's support about this.

My personal opinion is that they're already doing it correctly. You're right about RFC compliance, but I'd prefer that AsyncOS not make any RAT decisions for me. It's easy enough to make your RAT look something like this:
domain1
postmaster@domain1
domain2
postmaster@domain2

is easy enough, if somewhat verbose.

Nicolas Melay
Level 1
Level 1

I guess a per-RAT-entry checkbox would be the right solution.

Nicolas Melay
Level 1
Level 1

Hmm, I thought about it again, and realized adding a postmaster@ entry in the RAT wasn't such a bad idea at all. :D

If I do it, mail sent to postmaster@anydomain will end up in my postmaster box anyway (since it's my mail system's default behavior), it won't get relayed anywhere else.
And spammers got to my gateway with one of my domain names to start with, so there's no reason for them to try and forge the domain part, and even if they did, I couldn't care less.

Well, the bottom line is I won't get more spam in my postmaster box and I won't end-up relaying stuff unknowingly with a postmaster@ entry in my RAT, so I'll stick with that.

Sorry for bothering. ;)

Hi, in the nicest possible way this is a really bad idea.
When spammers find that you are a open relay for postmaster addresses and they will find out, you have the possibility of your Senderbase score being lowered.
Also it doesn't matter how your internal servers are set up, when the IronPort accepts the mail based on the RAT postmaster@ it will process and then use DNS to deliver. You could add a SMTP route to point at /DEV/NULL for all the postmaster addresses so that they aren't rerouted.
Please get in contact with your local IronPort SE in regards to this.

Best Regards

Rayman_Jr
Level 1
Level 1

I fully agree with monkeymadness. There is a great risk of getting your SBRS lowered and finally end up into DNSBLs.

If you really want to accept all postmaster@anydomain and deliver those into your postmaster box you need an additional Incoming Content Filter which change the recipient to your "postmaster@mydomain. That way you prevent open relay for postmaster.

Condition: rcpt-to == "^postmaster@"
Action: alt-rcpt-to ("postmaster@mydomain.com")

I fully agree with monkeymadness. There is a great risk of getting your SBRS lowered and finally end up into DNSBLs.

If you really want to accept all postmaster@anydomain and deliver those into your postmaster box you need an additional Incoming Content Filter which change the recipient to your "postmaster@mydomain. That way you prevent open relay for postmaster.

Condition: rcpt-to == "^postmaster@"
Action: alt-rcpt-to ("postmaster@mydomain.com")


That content filter will change every postmaster to a internal one which you don't want.
Ideally you need a Message filter that will count the rcpt's make sure that it's only goimng to Postmaster@domain.com and drop if it's not to your domain. (I will work on this and get back to you)

P.S. The better option is still to restrict your RAT that way no content filter is needed :lol:

Nicolas Melay
Level 1
Level 1

Ouch, right. I completely overlooked the routing part here. :?
And since Spamhaus got the bright idea to list the IP address I use for testing in its PBL last week, I couldn't complete my tests.

Back to a saner setup. :)

Just in case you didn't know, there is plenty of sites out there that can send test mail to your organisation, and you can make them appear to be from and to anyone you like :)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: