i used to use the sock_mail function which someone posted on these forums to use non-local email servers. it worked great. now i want to use the integrated non-local email feature in v1.5, but it wont work. i configure it in the config utility with the same info i used in sock_mail, but it wont work.. if i enable debug mode, this is what it says after i try to register a new user...thanks!
AUTH error: . 502 Command is locally disabled
AUTHENTICATION error : . 500 Command unknown: 'YWROB25N'
AUTHENTICATION error : . 500 Command unknown: 'BGV3AXM4MDM='
RCPT TO:alvin.d.hong@gmail.com error: . 550 relaying mail to gmail.com is not allowed
DATA error: . 503 No recipients specified
DATA(end)error: . 500 Command unknown: 'SUBJECT:'
QUIT error: . 500 Command unknown: 'TO:'
AUTH error: . 502 Command is locally disabled
AUTHENTICATION error : . 500 Command unknown: 'YWROB25N'
AUTHENTICATION error : . 500 Command unknown: 'BGV3AXM4MDM='
RCPT TO:alvin.d.hong@gmail.com error: . 550 relaying mail to gmail.com is not allowed
DATA error: . 503 No recipients specified
DATA(end)error: . 500 Command unknown: 'SUBJECT:'
QUIT error: . 500 Command unknown: 'TO:'
An email has been sent to XXXXXX@gmail.com.
Your account information is contained within the email.
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 7
anyone else having trouble or success with using the non-local email feature new to v1.5? if so, was anyone using the sock_mail function previously as well? thanks!!!
Posts: 11
I get the same error messages (when I turn on debug mode) but no email, did you find out what the problem was?
----
I'm running mandrake 10.1 with the default 2.6.8.1-12 kernel
Apache/2.0.53 (Unix) PHP/4.3.10
Gallery v1.5-RC3-cvs-b21
firefox
Posts: 14524
Could be fixed in CVS:
Posts: 11
Sadly not, I am now running Gallery v1.5-RC3-cvs-b21 which did fix an earlier problem and has made things much easier to diagnose. I’m not sure whether it’s an authentication problem or not, my inclination is to say not as I can send emails through the same server from another machine on the network with no problem.
Posts: 6715
Hello,
an important part of the message is the part with the relaying denied.
lets assume your smtp server is from yahoo.com.
so you can not send messages via this server that have sender adress @gmail.com
this relay not allowed part were in both posts !
Jens
Posts: 11
Thank you for your reply, my Googling had suggested something similar but what I don’t understand is that with my standard email client I can send emails from the wrong domain. Also even when I tell gallery to send the email from my ISP provided email address it still fails.
To explain better, I send my standard email from thunderbird on my PC, with the from address claming to be stunted@ my dads .co.uk domain (which is hosted by plusnet in the UK) through my Hong Kong ISPs SMTP sever (mail.netvigator.com) with out a hitch. With the same settings Gallery complains, and worryingly even if I tell gallery to send email from my netvigator email address through the netvigator SMTP server when connected to netvigator it still fails. To confuse matters further gallery actually runs on a homeip.net dydns domain for dynamic IP reasons.
None of that makes sense does it?
Posts: 11
So, Anyone have any ideas? I’m still getting the error messages
--
Now I'm running mandrake 10.1 with the default 2.6.8.1-12 kernel
Apache/2.0.53 (Unix) PHP/4.3.10
Gallery v1.5-RC3-cvs-b23
firefox[/code]
Posts: 6715
well, and i still see that relaying is denied ...
Posts: 11
But when I replicate the same settings (from address, to address server name etc) in Thunderbird the email goes OK, so what am I doing wrong? Does anyone know of a public SMTP server I can try it out on?
Posts: 11
OK I'm now back with my computer and trying to fix this.
when I set the "Admin email address" and the "Sender email address" fields to my ISP (www.netvigator.com) email address and the "SMTP Server" to my ISPs server (mail.netvigator.com) and try to send an email to any address I get
RCPT TO:user@netvigator.com error: . 550 relaying mail to netvigator.com is not allowed
DATA error: . 503 No recipients specified
DATA(end)error: . 500 Command unknown: 'SUBJECT:'
QUIT error: . 500 Command unknown: 'TO:'
even if I'm trying to send email within the netvigator domain.
This is getting quite frustrating as I can send email using the exact same settings on the same computer from Thunderbird.
Any help? Thanks in advance.