This is a discussion on Simple Sendmail Setup within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello all, I'm having trouble setting up sendmail to do some simple admin messaging. I have 48 AIX servers ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello all, I'm having trouble setting up sendmail to do some simple admin messaging. I have 48 AIX servers divided amongst 16 remote sites on an internal corporate network. As of yet, there isn't any domain configuration on these systems. I need the ability to forward administrative messages to an SMTP server at the main office and I'm getting bogged down with the myriad of sendmail settings. As the links to these remotes sites can be down from time to time, I need the ability to store and forward the messages to the remote SMTP server. I thought it would be simple as no other users will be using the mail features on these systems and all messages would be outbound. All the examples I've found so far are for more complex environments. Can anyone recommend what to do here or have examples of how I should go about setting this up?? Many thanks for your help, -Scott |
| |||
| In article <MPG.1b0657d5e0b42328989690@news-west.giganews.com>, someone@somewhere.net says... > > > Hello all, > > I'm having trouble setting up sendmail to do some simple admin > messaging. > > I have 48 AIX servers divided amongst 16 remote sites on an internal > corporate network. > > As of yet, there isn't any domain configuration on these systems. > > I need the ability to forward administrative messages to an SMTP server > at the main office and I'm getting bogged down with the myriad of > sendmail settings. > > As the links to these remotes sites can be down from time to time, I > need the ability to store and forward the messages to the remote SMTP > server. > > I thought it would be simple as no other users will be using the mail > features on these systems and all messages would be outbound. All the > examples I've found so far are for more complex environments. > > Can anyone recommend what to do here or have examples of how I should go > about setting this up?? > > Many thanks for your help, > -Scott Apologize as this is probably a dumb question. As no domain names are set and DNS isn't being used, I'm assuming I still need to go through and and least set the domain names? |
| ||||
| On Sat, 8 May 2004 03:36:07 -0700, Scott <someone@somewhere.net> wrote: > > >Hello all, > >I'm having trouble setting up sendmail to do some simple admin >messaging. > >I have 48 AIX servers divided amongst 16 remote sites on an internal >corporate network. > >As of yet, there isn't any domain configuration on these systems. > >I need the ability to forward administrative messages to an SMTP server >at the main office and I'm getting bogged down with the myriad of >sendmail settings. > >As the links to these remotes sites can be down from time to time, I >need the ability to store and forward the messages to the remote SMTP >server. > >I thought it would be simple as no other users will be using the mail >features on these systems and all messages would be outbound. All the >examples I've found so far are for more complex environments. > >Can anyone recommend what to do here or have examples of how I should go >about setting this up?? > >Many thanks for your help, >-Scott > Scott You can put the name of a relay to forward all mails to in /etc/sendmail.cf. search for "DS" and put it in there. I'm not sure if it can be an IP address or host name. If it needs to be a host name you may be able to get away with putting an entry for the host in your local host file. One other thing, you don't need sendmail running all the time (more secure) just to send mails. What you may want to do though is have a cron job running every so often to invoke it and flush any queued up mails you may have. You should only get these if the host was unable to contact the relay when you 1st tried to send the mail. Something like "sendmail -q". I'm not able to verify that switch right now, but I think it's the right one.... Steven |