MountainX wrote: > I only want my local machine to be able to send email out. I won't want to > receive email. > > Today, I saw this info in my log. The "connect from" surprised me. How can I > prevent anyone outside my local machine from connecting to postfix? > > Jan 26 09:26:48 ubuntu postfix/smtpd[20920]: connect from > 124-11-132-104.static.tfn.net.tw[124.11.132.104] > Jan 26 09:26:49 ubuntu postfix/smtpd[20920]: NOQUEUE: reject: RCPT from > 124-11-132-104.static.tfn.net.tw[124.11.132.104]: 554 5.7.1 > <bibi...@gmail.com>: Relay access denied; from=<logen6...@gmail.com> > to=<bibi...@gmail.com> proto=SMTP helo=<64.22.71.195> > Jan 26 09:26:49 ubuntu postfix/smtpd[20920]: lost connection after RCPT from > 124-11-132-104.static.tfn.net.tw[124.11.132.104] > Jan 26 09:26:49 ubuntu postfix/smtpd[20920]: disconnect from > 124-11-132-104.static.tfn.net.tw[124.11.132.104] > > The relay access was rejected, but I don't want anyone to get even this far. > Newbie-oriented advice appreciated. > > BTW, I set up Postfix according to this guide: > http://behindmyscreen.newsvine.com/_news/2006/12/31/501615-configuringubuntu-postfix-and-gmail-in-101-easy-steps > > > > > ----- > http://davestechshop.net blog > Speaking as a newbie like you, my advice drop everything else and learn how the Firewall works. Then get it your firewall working as you want. Only then start to look at other the rest of the system.
JLA