zotonic email and yahoo

7 views
Skip to first unread message

Michael Connors

unread,
Jan 27, 2012, 11:43:21 AM1/27/12
to zotoni...@googlegroups.com
Hi,
I have discovered that a couple of my sites that use Zotonic 0.7 are having trouble delivering email to yahoo.

- They are using relays.

- I don't have this problem with 0.6.

- I can send mail from both of the servers to a yahoo account via telnet. 

- Holds for all email sent from the site: Registration verification, mailing lists, contact form

Some emails are disappearing completely, while other show up eventually without a body.


Has anyone else experienced this? Anyone got any ideas on debugging it? 


Michael

--
Michael Connors

Michael Connors

unread,
Jan 27, 2012, 11:59:43 AM1/27/12
to zotoni...@googlegroups.com
Hi Again,

It appears that this email problem has gone away in Zotonic 0.8 dev. 

Does anyone know what the fix was? As I would like to backport it to 0.7.

Michael

Marc Worrell

unread,
Jan 28, 2012, 7:10:31 AM1/28/12
to zotoni...@googlegroups.com
I remember fixing it, don't exactly know when though. As currently I am sick and can't go through the logs.

The problem, as far as I can remember, was that yahoo wanted a newline after the last mime separator.

- Marc

Sent from my iPhone

Arjan Scherpenisse

unread,
Jan 28, 2012, 8:24:01 AM1/28/12
to zotoni...@googlegroups.com
Strange.
There is no difference in gen_smtp between master and 0.7.x

The only difference between src/smtp between master and 0.7 is the
following:

ixion:~/devel> diff zotonic/src/smtp/ zotonic-0.7.x/src/smtp/
diff zotonic/src/smtp//z_email_server.erl
zotonic-0.7.x/src/smtp//z_email_server.erl
238,240c238,240
< [{relay, z_config:get(smtp_host, "localhost")},
< {port, z_config:get(smtp_port, 25)},
< {ssl, z_config:get(smtp_ssl, false)}]
---
> [{relay, z_config:get(smtp_host)},
> {port, z_config:get(smtp_port)},
> {ssl, z_config:get(smtp_ssl)}]
274,280c274,275
< undefined ->
< case z_config:get(smtp_bounce_email_override) of
< undefined -> "noreply+"++MessageId;
< VERP -> z_convert:to_list(VERP)
< end;
< VERP ->
< z_convert:to_list(VERP)
---
> undefined -> "noreply+"++MessageId;
> VERP -> z_convert:to_list(VERP)


Does not seem related to this problem.

Arjan

On 01/28/2012 01:10 PM, Marc Worrell wrote:
> I remember fixing it, don't exactly know when though. As currently I am
> sick and can't go through the logs.
>
> The problem, as far as I can remember, was that yahoo wanted a newline
> after the last mime separator.
>
> - Marc
>
> Sent from my iPhone
>
> On 27 jan. 2012, at 17:59, Michael Connors <conn...@gmail.com

> <mailto:conn...@gmail.com>> wrote:
>
>> Hi Again,
>>
>> It appears that this email problem has gone away in Zotonic 0.8 dev.
>>
>> Does anyone know what the fix was? As I would like to backport it to 0.7.
>>
>> Michael
>>
>> On 27 January 2012 17:43, Michael Connors <conn...@gmail.com

Michael Connors

unread,
Feb 3, 2012, 6:24:32 AM2/3/12
to zotoni...@googlegroups.com
Hi,

It turns out I am not at the latest 0.7, as there were some changes that would not have been compatible with my site.

In order to fix it, I copied deps/gen_smtp/src/mimemail.erl back to my version.

Thanks,

Michael


PS Get well soon Marc. 
Reply all
Reply to author
Forward
0 new messages