Shwick2
October 4th, 2008, 12:08 PM
Ubuntu 8.04
How do I configure mailx to use my ISP's SMTP server? Also I have to enter a username/password.
pdwerryhouse
October 4th, 2008, 05:57 PM
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:
relayhost = isp.smtp.server.domain.name
and then reload postfix with:
postfix reload
Shwick2
October 4th, 2008, 09:03 PM
thanks got it working
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.