For example, when using a command similar to the one below:echo test message | mailx -r email@example.com -s test userX@domain.test
if the sender's domain, somedomain.local, does not exist in Axigen, the relay will be denied. You will find in the log a message similar to the one below:550 Relay denied for <domain.test>
In order to allow the relay, a rule that allows unauthenticated relay from the address 0.0.0.0 will be created, as below:
- navigate into the Webadmin interface to Security & Filtering -> Acceptance & Routing -> Routing Basic Settings -> 'Allow / Disallow relaying' section
- in the 'Exceptions' sub-section click the 'Add IP / Range' button
- in the combo box next to 'Add exception for' select 'Single IP'
- in the 'IP' textbox type: 0.0.0.0
- in the combo box next to 'Allow Delivery' select 'yes'
- do not tick the checkbox next to 'Require Authentication'
- click the 'SAVE IP / RANGE' button
The rule will look similar to the screenshot below:
Note: The configuration of the sendmail wrapper included in Axigen is described in the KB article available at http://www.axigen.com/kb/show/35