Relaying mail from localhost on unix box

Hi - we have some applications running on a unix box, the mail is then sent to a domino server for relay. It uses localhost so that it can be queued if the relay server is down.

The sender address shows as user@machinename.domain.com. Is there a way in a Notes config to remove the machine name and have it just get sent as user@domain.com? We’ve found that not all external addresses care one way or the other what is there, so it will accept the message, where others will not.

Subject: Relay

Well, there are a few tricks depending on what is being used on the *nix box for the relay.

For examples look at this link: sendmail address rewriting mini-HOWTO: Configuring sendmail

You could also do the following, although I have not tested it but it should work.

Create a rule in Domino to place any messages from “user@nixbox.domain.com” on hold. Create an agent to monitor mail.box for any messages that are held, verify the held messages is from user@nixbox.domain.com then change the field to user@domain.com then remove the hold status so router will pick it back up.

http://www.aqu8.com

Subject: Relay

Thanks for the info, that’s all I’ve been able to find so far is what can be done on the unix side - masquerading, postfix, sendmail, etc. Is there any way that it can be done on the Notes side? Global domain doc, config doc, etc? We have quite a few unix boxes that will be relaying, so they’re wanting to put a resolution in place within Notes. I’m not sure if it can even be done, or what/where to start looking.