<div dir="ltr"><div>Nice, thanks for passing on this secret sauce in case we run across something similar.<br><br></div>Matt<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">---------<br><b style="color:rgb(51,102,102)">Matthew Campbell</b><br><font size="1">Storage and Cloud Strategy<br>Office of the CTO<br></font><font face="Verdana" size="1"><br></font><b><span style="color:rgb(51,102,102)">Kaiser Permanente</span></b><br><font size="1">99 S. Oakland<br>Pasadena, CA 91101<br></font><br><font size="1"><a>626-564-7228</a> (office)<br></font><font face="Verdana" size="1"><a>8-338-7228</a> (tie-line)<br><a value="+18186918895">818-314-9897</a> (mobile phone)<br>Green Center 3-North, 031W29</font><font size="1"><br></font>---------<br><b><a style="color:rgb(51,102,102)" href="http://kp.org/thrive" target="_blank">kp.org/thrive</a></b><br></div></div></div>
<br><div class="gmail_quote">On Fri, Jun 12, 2015 at 2:42 PM, Claude Felizardo <span dir="ltr"><<a href="mailto:cafelizardo@gmail.com" target="_blank">cafelizardo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey I just noticed I have stopped getting email’s sent out from my computers at home. Email on laptops and desktops work still, I think it’s my fileserver and probably my NAS that are affected. Seems to have stopped around June 3rd. Only took 9 days to notice - I normally get several emails every day.<br>
<br>
Looking through dslextreme’s website and it says I have outbound port 25 enabled but did they change something?<br>
<br>
Ah, found it in my syslog file:<br>
<br>
Jun 3 16:00:20 xxxxxxxxx postfix/smtp[15084]: 2E42784E27: to=<xxxxx@xxx.xxxt>, orig_to=<xxx>, relay=<a href="http://smtp.gmail.com" rel="noreferrer" target="_blank">smtp.gmail.com</a>[74.125.129.108]:587, delay=2.8, delays=0.02/0.12/2.7/0, dsn=4.7.8, status=deferred (SASL authentication failed; server <a href="http://smtp.gmail.com" rel="noreferrer" target="_blank">smtp.gmail.com</a>[74.125.129.108] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8 <a href="https://support.google.com/mail/answer/14257" rel="noreferrer" target="_blank">https://support.google.com/mail/answer/14257</a> j7sm1765852pdp.83 - gsmtp)<br>
<br>
Note hostname and email addrs have been xxx’d out.<br>
<br>
So I know that dslextreme will no longer be using google for their mail browser but I guess it’s affecting outbound email. I’m going to have to go through every device at home and confirm they can still send email out. Anyone know how to reconfigure postfix to specify the username and password? Looks like I switched from AT&T DSL to DSLExtreme Sep 2013 and I have not really had to reconfigure anything in that time. Don’t see anything in /etc/postfix, been searching for google|gmail|dslextreme in /etc but can’t find anything.<br>
<br>
Found this on the dslextreme website<br>
<br>
<a href="https://www.dslextreme.com/support/kb/email-and-newsgroups/error-550" rel="noreferrer" target="_blank">https://www.dslextreme.com/support/kb/email-and-newsgroups/error-550</a><br>
<br>
found the file.<br>
<br>
I had to edit /etc/postfix/<a href="http://main.cf" rel="noreferrer" target="_blank">main.cf</a> and change the following entires:<br>
relayhost=[<a href="http://smtp.dslextreme.com" rel="noreferrer" target="_blank">smtp.dslextreme.com</a>]:587<br>
smtp_sasl_password_maps=hash/etc/postfix/sasl/passwd.dslextreme <— contains my info<br>
<br>
————-<br>
<br>
Okay, rewind. I opted to reconfigure to use gmail since I’m planning on ditching dslextreme soon and just use my regular gmail account but since I have two factor authentication set up, I had to create a dedidicated application password. That was a chore trying to find it on gmail’s website then figure out which settings and all.<br>
<br>
yup just got 9 days worth of security scans to my inbox and another 8 delayed weather reports sent as sms and email.<br>
<br>
Summary of what I had to do<br>
<br>
1) Edit /etc/postfix/<a href="http://main.cf" rel="noreferrer" target="_blank">main.cf</a><br>
<br>
relayhost=[<a href="http://smtp.gmail.com" rel="noreferrer" target="_blank">smtp.gmail.com</a>]:587<br>
smtp_sasl_password_maps=hash:/etc/postfix/sasl/passwd<br>
<br>
<br>
2) edit /etc/postfix/sasl/passwd<br>
<br>
[<a href="http://smtp.gmail.com" rel="noreferrer" target="_blank">smtp.gmail.com</a>]:587 name:password <— unique application password generated by gmail web site<br>
<br>
3) Regenerate map file<br>
<br>
postmap hash:/etc/postfix/sasl/passwd<br>
<br>
4) Make sure files are set so only root can read using chmod 600<br>
<br>
5) Check config and restart if good<br>
<br>
service postfix check<br>
service postfix restart<br>
<br>
6) Rinse and repeat until it’s working.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Claude<br>
<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>