Postfix SMTP Authentication FailedPostfix: How do I Make Email Aliases Work?How to configure Postfix client...
Why can't I get pgrep output right to variable on bash script?
Are all namekians brothers?
How would a solely written language work mechanically
Why is participating in the European Parliamentary elections used as a threat?
What is this high flying aircraft over Pennsylvania?
Non-Borel set in arbitrary metric space
How can a new country break out from a developed country without war?
Derivative of an interpolated function
Can you describe someone as luxurious? As in someone who likes luxurious things?
Extract substring according to regexp with sed or grep
Trouble reading roman numeral notation with flats
Highest stage count that are used one right after the other?
Hashing password to increase entropy
categorizing a variable turns it from insignificant to significant
Calculate Pi using Monte Carlo
Why didn't Voldemort know what Grindelwald looked like?
Why is "la Gestapo" feminine?
Did I make a mistake by ccing email to boss to others?
What should be the ideal length of sentences in a blog post for ease of reading?
Do native speakers use "ultima" and "proxima" frequently in spoken English?
Capacitor electron flow
Why does a 97 / 92 key piano exist by Bosendorfer?
What can I do if I am asked to learn different programming languages very frequently?
Why do Radio Buttons not fill the entire outer circle?
Postfix SMTP Authentication Failed
Postfix: How do I Make Email Aliases Work?How to configure Postfix client relay to Exchange 2010 serverPostfix rejects all incoming mail (Client host rejected: Access denied)Postfix SMTP-relay server against Gmail on CentOS 6.4How to stop Postfix from accepting mail to root@hostname.localdomainPOSTFIX fatal: no SASL authentication mechanismsSASL authentication failure: Password verification failed (postfix + cyrus + saslauthd)Postfix SMTP recipient filter not filteringPostfix. Sending some messages using external smtp server and some messages “directly”. Issue with sender_dependent_relayhost_mapspostfix suddenly failed to expand mail aliases
I've configure postfix for mandrill as follows
in /etc/postfix/sasl_passwd
[smtp.mandrillapp.com]:587 myusername:apikey
then ran postmap /etc/postfix/sasl_passwd
In /etc/postfix/main.cf
I added
myhostname = webmail.mysite.com
mydestination = localhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
relayhost = [smtp.mandrillapp.com]:587
But mail sending failed log shows
SASL authentication failed; server smtp.mandrillapp.com[52.7.100.156] said: 435 4.7.8 Error: authentication failed:
postfix email-server mandrill
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've configure postfix for mandrill as follows
in /etc/postfix/sasl_passwd
[smtp.mandrillapp.com]:587 myusername:apikey
then ran postmap /etc/postfix/sasl_passwd
In /etc/postfix/main.cf
I added
myhostname = webmail.mysite.com
mydestination = localhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
relayhost = [smtp.mandrillapp.com]:587
But mail sending failed log shows
SASL authentication failed; server smtp.mandrillapp.com[52.7.100.156] said: 435 4.7.8 Error: authentication failed:
postfix email-server mandrill
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've configure postfix for mandrill as follows
in /etc/postfix/sasl_passwd
[smtp.mandrillapp.com]:587 myusername:apikey
then ran postmap /etc/postfix/sasl_passwd
In /etc/postfix/main.cf
I added
myhostname = webmail.mysite.com
mydestination = localhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
relayhost = [smtp.mandrillapp.com]:587
But mail sending failed log shows
SASL authentication failed; server smtp.mandrillapp.com[52.7.100.156] said: 435 4.7.8 Error: authentication failed:
postfix email-server mandrill
I've configure postfix for mandrill as follows
in /etc/postfix/sasl_passwd
[smtp.mandrillapp.com]:587 myusername:apikey
then ran postmap /etc/postfix/sasl_passwd
In /etc/postfix/main.cf
I added
myhostname = webmail.mysite.com
mydestination = localhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
relayhost = [smtp.mandrillapp.com]:587
But mail sending failed log shows
SASL authentication failed; server smtp.mandrillapp.com[52.7.100.156] said: 435 4.7.8 Error: authentication failed:
postfix email-server mandrill
postfix email-server mandrill
asked Nov 20 '16 at 6:16
nikolasnikolas
1011
1011
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In your smtp_sasl_password_maps
map, the key should be only the hostname, without brackets or port number.
smtp.mandrillapp.com nikolas@example.com:Y1gkQRajCjusxkvEXwv1Z
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f815945%2fpostfix-smtp-authentication-failed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your smtp_sasl_password_maps
map, the key should be only the hostname, without brackets or port number.
smtp.mandrillapp.com nikolas@example.com:Y1gkQRajCjusxkvEXwv1Z
add a comment |
In your smtp_sasl_password_maps
map, the key should be only the hostname, without brackets or port number.
smtp.mandrillapp.com nikolas@example.com:Y1gkQRajCjusxkvEXwv1Z
add a comment |
In your smtp_sasl_password_maps
map, the key should be only the hostname, without brackets or port number.
smtp.mandrillapp.com nikolas@example.com:Y1gkQRajCjusxkvEXwv1Z
In your smtp_sasl_password_maps
map, the key should be only the hostname, without brackets or port number.
smtp.mandrillapp.com nikolas@example.com:Y1gkQRajCjusxkvEXwv1Z
answered Nov 20 '16 at 12:25
Michael Hampton♦Michael Hampton
172k27316642
172k27316642
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f815945%2fpostfix-smtp-authentication-failed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown