PDA

View Full Version : Problem sending mail from email client Server error: '554 5.7.1 Relay access denied'


mailman
29th January 2012, 12:21
Hi all this is my first post here
i am trying to get a issue fixed in my ispconfig that i have had for a while and it doesnt matter what i do i cant seem to get it to work, when i sent email from outlook or my phone or tablet i am getting a error
"Your message did not reach some or all of the intended recipients.

Subject:
Sent: 29/01/2012 8:46 PM

The following recipient(s) cannot be reached:

adamrwolarczuk@gmail.com on 29/01/2012 8:46 PM
Server error: '554 5.7.1 <adamrwolarczuk@gmail.com>: Relay access denied'
"

But if i do it in the webmail interface it is working no issues, could someone please tell me how i fix thisas i am getting more and more clients i need thi to work

Thanks in advance

falko
30th January 2012, 21:16
Did you enable "Server requires authentication" in your email client?

mailman
31st January 2012, 00:00
hi there yes i hvae done that

falko
31st January 2012, 14:19
Are there any errors in your mail log (in the /var/log/ directory)?

trexen
14th February 2013, 13:55
Hi Falko,

I have the same problem, if i enable "Server requires authentication" in your email client? i get prompted to write password and then i get error, i can login to webmail whit same password ant it works fine, i can send mail also.
Got latest stable ispc.

log:
......
Feb 14 12:55:08 s10 postfix/smtpd[13073]: connect from h24n3fls305o253.xxxxxxx.com[xxx.229.xxx.24]
Feb 14 12:55:09 s10 postfix/smtpd[13073]: NOQUEUE: reject: RCPT from h24n3fls305o253.xxxxxxxx.com[xxx.229.xxx.24]: 554 5.7.1 <xxxxxxxx@hotmail.com>: Relay access denied; from=<marcus.xxxxxxxx@xxxxxxxxx.se> to=<xxxxxxx@hotmail.com> proto=ESMTP helo=<A4C000825>
Feb 14 12:55:11 s10 postfix/smtpd[13073]: disconnect from h24n3fls305o253.xxxxxia.com[xxx.229.xxx.24]
......


Feb 14 13:57:56 s10 postfix/smtpd[14763]: connect from h24n3fls305o253.xxxxa.com[xxx.229.xxx.24]
Feb 14 13:57:56 s10 postfix/smtpd[14763]: warning: h24n3fls305o253.xxxxia.com[xxx.229.xxx.24]: SASL LOGIN authentication failed: authentication failure
Feb 14 13:57:56 s10 postfix/smtpd[14763]: lost connection after AUTH from h24n3fls305o253.xxxa.com[xxx.229.xxx.24]
Feb 14 13:57:56 s10 postfix/smtpd[14763]: disconnect from h24n3fls305o253.xxxa.com[xxx.229xxx.24]

Feb 14 13:58:07 s10 postfix/smtpd[14763]: connect from h24n3fls305o253.xxxa.com[xxx.229.xxx.24]
Feb 14 13:58:08 s10 postfix/smtpd[14763]: warning: h24n3fls305o253.xxxxia.com[xxx.229.xxx.24]: SASL LOGIN authentication failed: authentication failure


auth.log

Feb 14 14:09:42 s10 postfix/smtpd[15169]: sql auxprop plugin using mysql engine
Feb 14 14:09:42 s10 saslauthd[15715]: PAM unable to dlopen(/lib/security/pam_mysql.so): /usr/lib/i686/cmov/libssl.so.0
.9.8: symbol CRYPTO_memcmp, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 with link time reference
Feb 14 14:09:42 s10 saslauthd[15715]: PAM adding faulty module: /lib/security/pam_mysql.so
Feb 14 14:09:42 s10 saslauthd[15715]: DEBUG: auth_pam: pam_authenticate failed: Module is unknown
Feb 14 14:09:42 s10 saslauthd[15715]: do_auth : auth failure: [user=first.last@mydomain.se] [service=smtp
] [realm=mydomain.se] [mech=pam] [reason=PAM auth error]
.......

I did som aptitude upgrade eaarlier today and it update ssl and libssl.
and after that it failed

running Debian Squeeze 6

regards
//Marcus

trexen
14th February 2013, 17:28
Well i restore yesterdays snapshot and its working fine again.

DONīT UPDATE DEBIAN TODAY, SOME SSL LIBSSL PACKAGE I BAD for Debian 6 squeeze installation.

apex
14th February 2013, 19:27
I've got the same issue, but no snapshot to revert back to. Any other solutions?

apex
14th February 2013, 19:59
Nvrmind, restarted saslauthd and all good.

maumar
25th February 2013, 12:09
servers with dovecot sasl seems to be ok, instead the only one with courier has needed a saslauthd restart
as far as I have seen

EDIT: in dovecot servers there is not saslauthd, atr all, and after reboot still login failed

maumar
25th February 2013, 15:34
Nvrmind, restarted saslauthd and all good.

edit: sorry, it's ok, better :)