can't send email from an email client using postfix
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
My email client keeps saying the server settings might be incorrect, and a couple other generic error messages.
Thanks for any help,
-Michael.
7 Replies
What do you have "smtpdclientrestrictions" 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
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.
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.
Thanks,
-Michael.
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.
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.
I really need help here.
I really can't see any reason it's doing this, although there actually is no line that says "smtpdclientrestrictions" in main.cf.
Thanks,
-Michael.