with sendmail, there are 2 main ways of working with the sendmail.cf ... basic configuration for most servers in most cases can be:
edit sendmail.cf and modify the line beginning "DS" to add your real mail host edit /etc/mail/aliases to add aliases for "root" to your email address, and run newaliases. modify the mc files in /etc/mail/cf/cf and run "make" to convert them into sendmail.cf files to add options you want in order to add LDAP, domain masquerading, etc. and then copy the resulting sendmail.cf to /etc/mail. make sure that in your /etc/hosts file you have a fully qualified domain name for your host to get it running. If you need any help with the latter, just email me, I've got quite a bit of experience with sendmail. Jon On 18 November 2014 12:31, Gabriele Bulfon via illumos-discuss < [email protected]> wrote: > Hi, > > as far as I know, setting up fault management to send emails is not as > straightforward as one would think. > > I would expect settings to have not only the destination email, but also > the smtp server (ip or name) to use. > Relying on system sendmail configuration is just a very headache. > > Why? Because usually storage servers just know how to work with virtual > servers, so they may no have public dns, > public connection, full mx resolution. > That would be delegated to the configured smtp server (maybe just an > IP/port/ssl/user/pass) that knows all this stuff. > > Also, even in case it knows how to deliver through mx resolution, the > system will present himself with a sender that in > most cases is not valid (unknown domain, or whatever). > So, we should also be able to configure a sender email. > > Editing sendmail.cf is a madness. Something I'm not doing for ages, since > I switched to postfix for my real mail servers... > > Just my opinion. > > Gabriele. > > *illumos-discuss* | Archives > <https://www.listbox.com/member/archive/182180/=now> > <https://www.listbox.com/member/archive/rss/182180/23508059-3f15f76a> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
