I have been suffering from the same error message but this was due to an error on my part when I was changing SMTP Inbound Restrictions to allow an AS/400 to relay SMTP mail though my Domino SMTP server to the Internet. I accidentally allowed the Domino Server to become an Open Relay which was subsequently detected by the Open Relay DB organisation which promptly placed my server on a blacklist. It could be blacklisting which is causing the Permanent SMTP Error 554 messages.
If this is the reason you need to make sure your server is no longer behaving as an Open Relay – just check your mail.box – it will be full of SPAM items which are not addressed to or from your users.
The main parameters you need to check are in the Configuration Doc under “Router/SMTP”, “Restrictions and Controls”, “SMTP Inbound Controls”. The settings:
“Allow messages to be sent only to the following external interenet domains:” set to blank (if you put anything in hese you’ll seriously restrict your users’ ability to send mail to anywhere except the nominated domains)
“Deny Messages to be sent to the following external internet domains” should be ‘*’ (ie all)
“Deny messages from the following internet hosts to be sent to external internet domains” should be ‘*’ (all)
To control which server can send internet mail via the SMTP server use the settings under “Inbound Relay Enforcement”
“Perform Anti-Relay enforcement for these connecting hosts:” set to ‘External hosts’
“Exclude these connecting hosts from anti-relay checks:” set to include your server2 hostname (make sure your DNS is set up to allow reverse lookups – if not, you will have to use the ip address of the server)
“Exceptions for authenticated users:” set as ‘Allow all authenticated users to relay’
If your server2 is a Domino Host on the same Domino Domain you shouldn’t need to add it to the exclusions list.
Have you set up a Global Domain document, a Foreign SMTP Domain document and finally a SMTP Connection documnet for your SMTP server? I believe this is the ‘old’ way of setting up a single SMTP gateway server (see “Sample mail routing configurations” in the Lotus Administrator Help) but it’s the only way I know and it works!!
If you have been blacklisted the SMTP error message should refer to a site address which has logged your server. If not, you can check for blacklisting at the following site which checks 39 organisations (I guess there are many more but this is a start… http://openrbl.org (click on the Openrb JS Client button, enter your server’s EXTERNAL ip address ie the one the outside world sees you. If you don’t know what this is, go to www.dnsreport.com and enter your domain name in the DNS Report field and go for it…checkout the report – you may find some interesting anomalies which could need attention – look for the MX Record – here you will find your external mail server address (it’s the one with ‘host’ not ‘relay’).
I hope this is comprehensive enough but you’ve basically got what I’ve learnt about over this last week following the original mistake made on Friday 20 Jan and I’m still waiting to get off the blacklist at ORDB!!
Best of luck