Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac Mail.app 使用gmail & hotmail(outlook)的问题 #1017

Open
xiebruce opened this issue Mar 16, 2019 · 7 comments
Open

Mac Mail.app 使用gmail & hotmail(outlook)的问题 #1017

xiebruce opened this issue Mar 16, 2019 · 7 comments

Comments

@xiebruce
Copy link

Is your feature request related to a problem? Please describe.

1、ss开启pac的时候,Mail.app的gmail邮箱无法使用,Mail.app走的不就是系统代理么,为什么会无法使用呢(这个我确实不明白)?因为pac的时候,系统网络里勾选的是“Automatic Proxy Configuration”,为什么Mail.app请求谷歌服务器发件或收件的时候不走这里呢?是因为它是imap/smtp协议而不是http协议的原因么?
2、ss开全局的时候,gmail能正常收发件了,但hotmail却无法使用,要求我输入密码,输入密码还显示密码错误,但密码是不可能输错的,因为pac的时候我也一样输入就可以:
image
由于hotmail的smtp要使用STARTTLS 加密方式POP, IMAP, and SMTP settings for Outlook.com,但Mac自带的Mail.app压根就没有这种加密方式,只有ssl/tls,所以最后我采用Exchange的方式登录hotmail,这样可以正常收发件
image
我把这两个地址贴出来了,这两个地址是一模一样的:

https://outlook.office365.com/EWS/Exchange.asmx
https://outlook.office365.com/EWS/Exchange.asmx

奇怪就奇怪在,我全局访问的时候,只有Hotmail无法正常收发邮件,而gmail和国内的163,qq等都能正常收发,比如我试了用qq发给163,qq能正常发出,163也能正常收到(说明国内邮箱走了代理也是没问题的,但Hotmail作为一个国外邮箱却有问题)。

我用proxifier抓到hotmail请求的是这个地址:
image
我试了关闭本地防火墙,也不行,说明不是443端口的问题,我在我的服务器上(ss-server所在的服务器)去ping outlook.office365.com,能ping通。

我在Mac上通过以下设置后再去pingoutook.ha.office365.com 一样能ping通(即走了代理也能ping通):

export https_proxy=http://127.0.0.1:1087;
export http_proxy=http://127.0.0.1:1087;
export all_proxy=socks5://127.0.0.1:1086;

对了,我的服务器在US-LA。

Describe the solution you'd like
1、我想实现在ss设置为pac的情况下,Mail.app的gmail邮箱能正常收发邮件,一般都用proxifier或privoxy做转发,由于ShadowsocksX-NG本身就是自带privoxy的,所以我想用这个自带的privoxy来做。

我看了privoxy的配置文件,我在设置ShadowsocksX-NG的代理端口什么的时候,其实就是写入到配置文件,配置文件会被重写,所以我没法自己在里面写配置,能否修改一下ShadowsocksX-NG,让它在写入privoxy配置的时候,顺便也写几个转发(比如在ss里提供一个自定义写入的框),让Mail在ss设置pac模式的情况下能直接走代理呢?

我看大佬你的github也是留的gmail邮箱,说明你平时也用gmail,不知道你是怎么解决这个问题的?

2、Hotmail在全局模式下无法访问的问题,我只是顺带说出来,不知道大佬有没有遇到过,或者觉得可能是哪里的问题?

@luvvien
Copy link

luvvien commented Mar 19, 2019

推荐使用outline全局可用 outline教程

@xiebruce
Copy link
Author

@luvvien 谢谢你的推荐,不过我用ss-NG不是用不了全局,而是我不想用全局,因为用了全局,国内的所有服务都跑到地球另一边绕一圈(我服务器在LA),速度会变慢很多,我感觉outline其实已经是一个全局vpn了,不是类似ss的那种代理了。

@orrhsu
Copy link

orrhsu commented Sep 9, 2019

我也碰到了类似的问题,给你一个参考
我的outlook邮箱也是在开全局代理的情况下会无法连接,后来登录微软账号近期活动发现,因为登录位置改变,微软把这个登录认为是不安全的所以拦截了,根据提示重置了一下密码提高安全性后就认可这个登录了,你可以看看是不是这种问题

@xiebruce
Copy link
Author

xiebruce commented Sep 9, 2019

@adamshsu 谢谢

@jzwfan
Copy link

jzwfan commented Jun 2, 2021

@xiebruce 怎么处理的,怎么没后续了呀

@xiebruce
Copy link
Author

xiebruce commented Jun 2, 2021

@jzwfan这里,而且这个软件已经两年不更新了,应该也不会再更新了

@jzwfan
Copy link

jzwfan commented Jun 2, 2021

@xiebruce 谢谢,我用ss两年了,自己搭建的服务,也就没想着换了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants