| Linode Forum https://forum.linode.com/ |
|
| can't send email from an email client using postfix https://forum.linode.com/viewtopic.php?f=11&t=6480 |
Page 1 of 1 |
| Author: | lilmike [ Sat Jan 01, 2011 11:34 pm ] |
| Post subject: | can't send email from an email client using postfix |
Hi, I have tried and tried and tried to get email to work by sending from an email client. However, it keeps giving me this error: Jan1 21:28:51 mtgames postfix/smtpd[23134]: NOQUEUE: reject: RCPT from ip72-219-42-29.br.br.cox.net[72.219.42.29]: 554 5.7.1 <ip72-219-42-29.br.br.cox.net[72.219.42.29]>: Client host rejected: Access denied; from=<webmaster@ai5hf.org> to=<ai5hf@hotmail.com> proto=ESMTP helo=<michaeldesktop> I'm not quite sure what to do to get this fixed, so any help would be appreciated. My email client keeps saying the server settings might be incorrect, and a couple other generic error messages. Thanks for any help, -Michael. |
|
| Author: | jefe78 [ Sun Jan 02, 2011 1:34 am ] |
| Post subject: | |
Can you send/receive mail locally? May want to confirm that first. |
|
| Author: | Stever [ Sun Jan 02, 2011 1:45 pm ] |
| Post subject: | |
Have you set up SASL on the server? What do you have "smtpd_client_restrictions" set to in main.cf? Is your SMTP client set up to authenticate? In general you will need to set up sasl on the server to be able to authenticate your client before it will allow sending email from a remote client. Otherwise you will be an open relay. |
|
| Author: | lilmike [ Sun Jan 02, 2011 8:50 pm ] |
| Post subject: | |
Hi, I basically followed everything in the linode library about setting up dovecot and postfix. I believe my client is set to authenticate, but not exactly sure. I believe that it is, however. Not quite sure how i can check for the smtpd restrictions. Thanks, -Michael. |
|
| Author: | lilmike [ Sun Jan 02, 2011 9:27 pm ] |
| Post subject: | |
Oh yes, and how can I figure out if i can send mail from my local server? I tried squirrel mail, and that seems to work. Is there any way to use mailx? I thought it just used the current user, E.G. root@mtgames.org. Thanks, -Michael. |
|
| Author: | lilmike [ Thu Jan 06, 2011 8:47 pm ] |
| Post subject: | |
Hi, Just was wondering if anyone had any idea about this, because it seems I can send email from the local server, but not from my client. I think I've set up sasl, but can't be sure. Thanks, -Michael. P.S. I followed all the steps in the linode library article about dovecot and postfix. |
|
| Author: | lilmike [ Sat Jan 15, 2011 8:10 pm ] |
| Post subject: | |
Hi, I really am trying to get this done, and to answer everyone's questions again, I believe i can send from the local server, using squirrel mail. I can't send from a remote client, and I believe it is set to authenticate. My settings are: Logon using cleartext authentication, my server requires authentication, outgoing mail requires a secure connection, port 465. I think i set up sasl, at least i have some files related to that in my directories. A program i installed decided to change the database and everything for postfix, so I tried cleaning it up to make both programs happy. It didn't seem to change the sasl settings however, so I had to change those. This is what it looks like: /etc/pam.d/smtp: auth required pam_mysql.so user=******* passwd=*********** host=127.0.0.1 db=****** table=emailusers usercolumn=email passwdcolumn=password crypt=1 account sufficient pam_mysql.so user= ********* passwd=************* host=127.0.0.1 db=*********** table=emailusers usercolumn=email passwdcolumn=password crypt=1 /etc/postfix/sasl/smtpd.conf: pwcheck_method: saslauthd mech_list: plain login allow_plaintext: true auxprop_plugin: mysql sql_hostnames: 127.0.0.1 sql_user: ******** sql_passwd: ************ sql_database: ************** sql_select: SELECT password FROM emailusers WHERE email = '%u' That looks all correct to me. Now, the last thing I have to check is to see if my email client is set to authenticate, which I'm almost certain it is. I'm using windows live mail and have the my outgoing server requires authentication checked. Thanks for any help, -Michael. |
|
| Author: | lilmike [ Mon Jan 24, 2011 12:38 pm ] |
| Post subject: | |
Hi, I really need help here. I really can't see any reason it's doing this, although there actually is no line that says "smtpd_client_restrictions" in main.cf. Thanks, -Michael. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|