Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 01, 2011 11:34 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/
"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.
"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 1:34 am 
Offline
Junior Member

Joined: Sun Nov 07, 2010 10:36 pm
Posts: 33
Website: http://www.rent-matcher.com
Can you send/receive mail locally? May want to confirm that first.


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 1:45 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
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.


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 8:50 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 9:27 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 8:47 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Sat Jan 15, 2011 8:10 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Mon Jan 24, 2011 12:38 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
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.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group