I'm toying with the "options autosupport.to" and am trying to put a alias in there as I have it defined in my NIS "aliases" map. The docs say up to 5 addresses can be in there but I want just one, my alias.
My specifics:
DOT = 6.5.4 autosupport.support.transport smtp autosupport.mailhost {our smtp relay host which has an alias set up, that works from other Unix Hosts}
When I do a "autosupport.doit" the error message is "Unknown User".
Anybody fiddle with this before?
Thanks
-Bob B.
I'm toying with the "options autosupport.to" and am trying to put a alias in there as I have it defined in my NIS "aliases" map. The docs say up to 5 addresses can be in there but I want just one, my alias.
My specifics:
DOT = 6.5.4 autosupport.support.transport smtp autosupport.mailhost {our smtp relay host which has an alias set up, that works from other Unix Hosts}
When I do a "autosupport.doit" the error message is "Unknown User".
Anybody fiddle with this before?
You say your smtp relay host understands the alias, so you should probably set your autosupport.to like this:
options autosupport.to alias@smtp-relay-host.rr.com
The filer will send one email to the alias on the relay host and the relay will resend the email to all the addresses in the alias. The filer itself isn't going to expand email aliases.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
Steve,
I do but it still fails with:
well> options autosupport.doit TESTING well> Wed Aug 10 12:34:24 CDT [asup.smtp.fail:warning]: Autosupport mail to unixtm@rrc.state.tx.us failed (Unknown user) for message: USER_TRIGGERED (TESTING) Wed Aug 10 12:34:24 CDT [asup.smtp.noRecipients:error]: Short autosupport not sent because there are no valid autosupport.noteto recipients (USER_TRIGGERED (TESTING)) Wed Aug 10 12:34:24 CDT [asup.smtp.drop:error]: Autosupport mail (/etc/log/autosupport/200508101234.0) was not sent for host (0). The system will drop the message
Steve Losen wrote:
You say your smtp relay host understands the alias, so you should probably set your autosupport.to like this:
options autosupport.to alias@smtp-relay-host.rr.com
The filer will send one email to the alias on the relay host and the relay will resend the email to all the addresses in the alias. The filer itself isn't going to expand email aliases.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
rob-7704@austin.rr.com (Robert Borowicz) writes, on being advised to set autosupport.to ...
I do but it still fails with:
well> options autosupport.doit TESTING well> Wed Aug 10 12:34:24 CDT [asup.smtp.fail:warning]: Autosupport mail to unixtm@rrc.state.tx.us failed (Unknown user) for message: USER_TRIGGERED (TESTING) Wed Aug 10 12:34:24 CDT [asup.smtp.noRecipients:error]: Short autosupport not sent because there are no valid autosupport.noteto recipients (USER_TRIGGERED (TESTING)) Wed Aug 10 12:34:24 CDT [asup.smtp.drop:error]: Autosupport mail (/etc/log/autosupport/200508101234.0) was not sent for host (0). The system will drop the message
Note that this error can result from an autosupport.from that your mail relay finds unacceptable as the SMTP envelope sender (a.k.a. return path).
If that doesn't lead to a solution, look at the mail logs on your mail relay host. If you're running a half-way-decent MTA there, they will be more informative than anything ONTAP tells you.