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

SMTP Authentication on smtp_forward and smtp_proxy not working #871

Closed
salvop opened this Issue Mar 2, 2015 · 7 comments

Comments

Projects
None yet
4 participants
@salvop

salvop commented Mar 2, 2015

SMTP authentication on smtp_forward and smtp_proxy is not working, smtp queue are always started without issuing authentication to relay provider. Also documentation is lacking on this.

Module is almost useless without authentication to relay.

@smfreegard

This comment has been minimized.

Show comment
Hide comment
@smfreegard

smfreegard Mar 2, 2015

Collaborator

Ok - I've just read the code and yes, the docs haven't kept up with the features added and the multi-domain configuration that was added has really confused how the authentication works. Can you confirm that the following in smtp_forward.ini or smtp_proxy.ini works for you.

host=1.2.3.4

[auth]
type=plain
user=auth_username
pass=auth_password

and can you also try this:

host=1.2.3.4
auth.type=plain
auth.user=auth_username
auth.pass=auth_password

Let me know and I'll document it.

Collaborator

smfreegard commented Mar 2, 2015

Ok - I've just read the code and yes, the docs haven't kept up with the features added and the multi-domain configuration that was added has really confused how the authentication works. Can you confirm that the following in smtp_forward.ini or smtp_proxy.ini works for you.

host=1.2.3.4

[auth]
type=plain
user=auth_username
pass=auth_password

and can you also try this:

host=1.2.3.4
auth.type=plain
auth.user=auth_username
auth.pass=auth_password

Let me know and I'll document it.

@smfreegard

This comment has been minimized.

Show comment
Hide comment
@smfreegard

smfreegard Mar 2, 2015

Collaborator

Actually - I think the latter example won't work at all, but if you can confirm that please.

Collaborator

smfreegard commented Mar 2, 2015

Actually - I think the latter example won't work at all, but if you can confirm that please.

@salvop

This comment has been minimized.

Show comment
Hide comment
@salvop

salvop Mar 2, 2015

I tried and in both cases auth data are not passed to smtp client. below you can see output from console:

[INFO] [queue/smtp_forward] forwarding to smtp.sendgrid.net:587

Any workaround???

salvop commented Mar 2, 2015

I tried and in both cases auth data are not passed to smtp client. below you can see output from console:

[INFO] [queue/smtp_forward] forwarding to smtp.sendgrid.net:587

Any workaround???

@salvop salvop closed this Mar 2, 2015

@salvop salvop reopened this Mar 2, 2015

@smfreegard

This comment has been minimized.

Show comment
Hide comment
@smfreegard

smfreegard Mar 2, 2015

Collaborator

Can you gist your smtp_forward.ini file please?

Collaborator

smfreegard commented Mar 2, 2015

Can you gist your smtp_forward.ini file please?

@salvop

This comment has been minimized.

Show comment
Hide comment
@salvop

salvop Mar 2, 2015

host=smtp.sendgrid.net
port=587
[auth]
type=plain
user=user
pass=pass

salvop commented Mar 2, 2015

host=smtp.sendgrid.net
port=587
[auth]
type=plain
user=user
pass=pass

@duanefields

This comment has been minimized.

Show comment
Hide comment
@duanefields

duanefields Mar 9, 2015

Contributor

Hmm, this wasn't working for me, so either I'm missing something or it wasn't working - for the moment I've patched this in my branch, https://github.com/glg/Haraka, but I probably don't know enough to do this "correctly"... anyway, it case it's useful to someone...

Contributor

duanefields commented Mar 9, 2015

Hmm, this wasn't working for me, so either I'm missing something or it wasn't working - for the moment I've patched this in my branch, https://github.com/glg/Haraka, but I probably don't know enough to do this "correctly"... anyway, it case it's useful to someone...

@vivek779

This comment has been minimized.

Show comment
Hide comment
@vivek779

vivek779 Jan 5, 2016

Hi i was working on smtp_proxy plugin it works fine but i am not able to figure out how to set two or more server for sending proxy .Suppose i have 3 server A,B,C i want to send proxy on both server B,C I have mentioned host user and password of both server but it is sending proxy on single server could anyone please guide how it will send proxy to both server and in which manner it will send proxy

vivek779 commented Jan 5, 2016

Hi i was working on smtp_proxy plugin it works fine but i am not able to figure out how to set two or more server for sending proxy .Suppose i have 3 server A,B,C i want to send proxy on both server B,C I have mentioned host user and password of both server but it is sending proxy on single server could anyone please guide how it will send proxy to both server and in which manner it will send proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment