Re: activate mailx in AIX 5.2



Hi saam,

if my guess is correct, you would like to use another smtp server to
relay your mails out. since you are using mailx. however sendmail in
aix is configured and started by default to act as an smtp server
itself to relay any mails locally going out. but for most cases... "i'm
not sure about your network environment" it will fail when it tries to
contact the domain you are sending to directly either because it does
not have a fully qualified domain name or the destination does not
allow that or maybe its not even able to route to the WAN or a public
routable ip if you are saying yahoo or gmail.

however, if you already have a smtp server which you always use to
relay any mails from other hosts, i think it should be quite straight
forward.
most likely you will only need to add in your 3 lpars ip addresses to
allow relay, on your smtp server. And then go to /etc/mail/sendmail.cf
on all 3 lpars, look for a line that starts with "DS".
it should say something like smart relay host.... then append your smtp
DNS name or ipaddress

e.g.
DSsmtp.mydomain.com
DS10.10.10.10

in fact once you do this, you do not need to start sendmail subsystem
anymore... so you can comment it out in your /etc/rc.tcpip

hope this helps =)

.



Relevant Pages

  • Sendmail ignores SmartHost directive
    ... I'm trying to set up Sendmail to "send-only". ... sends local mails to my SMTP server. ...
    (freebsd-questions)
  • Re: SMTP server relay problems
    ... uncheck the "allow incoming e-mail to be relayed" in the ... the web server's IP address and it will relay. ... >> I am running an SMTP server and need to be able to ...
    (microsoft.public.inetserver.iis.security)
  • Locally aliases expansion before relaying
    ... I have to configure sendmail on a freebsd 6.1-RELEASE system. ... I want that all the mails will be transfered to a relay smtp server. ... I want that the aliases of /etc/mail/aliases will be expanded locally ...
    (comp.mail.sendmail)
  • Re: Sendmail
    ... receiving email directly only when you have the MX for your domain pointing to the host running sendmail. ... If you want to deliver all the mails to your ISP's SMTP server for further relaying, just define that SMTP server as SMART HOST in your sendmail's ... also have the option of directly delivering mails to other domains through sendmail though some domains may not accept it depending upon their configuration and policies and your IP address. ...
    (Fedora)
  • aliases and stmp serbver relay
    ... I have to configure sendmail on a freebsd 6.1-RELEASE system. ... I want that all the mails will be transfered to smtp.server.xyz ... I want that the aliases of /etc/mail/aliases are expanded localy ... before they are sent to the smtp server. ...
    (comp.mail.sendmail)

Loading