Results 1 to 3 of 3

Thread: mailx how add ISP as SMTP

  1. #1
    Join Date
    Jul 2008
    Beans
    117

    mailx how add ISP as SMTP

    Ubuntu 8.04

    How do I configure mailx to use my ISP's SMTP server? Also I have to enter a username/password.

  2. #2
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Beans
    157

    Re: mailx how add ISP as SMTP

    mailx is only a local mail user agent. It will drop all outgoing mail into the mail queue used by your system's mail transport agent (postfix by default on ubuntu), and it is this which does the heavy-lifting work of sending the mail out.

    So, to configure postfix to use your ISP's SMTP server, put this in /etc/postfix/main.cf:

    Code:
    relayhost = isp.smtp.server.domain.name
    and then reload postfix with:

    Code:
    postfix reload

  3. #3
    Join Date
    Jul 2008
    Beans
    117

    Re: mailx how add ISP as SMTP

    thanks got it working

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •