Questions tagged [smtp-auth]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
97 views

How to use NGINX as legacy SMTP proxy to new SMTP system?

We have some very old radio equipment in the field which uses SMTP to notify us of failures. Unfortunately this equipment does not support modern SMTP authentication methods (SSL, etc), and can only ...
Ryan Griggs's user avatar
  • 1,013
0 votes
0 answers
33 views

Exim - looking up account in both saslauthd and passwd file

I have a working Exim4 setup on Debian Bullseye, authentication uses plaintext/saslauthd. I would like to add a few "service account" emails on the localhost, and I believ ethe easiest way ...
zenlord's user avatar
  • 242
0 votes
0 answers
59 views

postfix: remap user credentials for relayhost

I've been trying to figure out how to have postfix remap the username for an SMTP relay host similar to how fetchmail does for the inbound email. In my fetchmailrc I have something that looks like ...
Digijock's user avatar
0 votes
2 answers
72 views

In Postfix, Should SSL FQDN Matches with myhostname or mydomain field in /etc/postfix/main.cf?

Quoted from the documentation: myhostname The internet hostname of this mail system. The default is to use the fully-qualified domain name (FQDN) from gethostname(), or to use the non-FQDN result ...
Thor-x86_128's user avatar
2 votes
2 answers
168 views

How to restrict based on combined usage of sender email and client ip address in postfix?

I have a MTA (postfix) with sasl implemented. I want that for a subset of users I can map their email address to a particular range of ips (separate for each email user). If a user tries to send email ...
SUNITA GUPTA's user avatar
0 votes
1 answer
1k views

Client is sending SMTP emails but they are not recorded in the "Sent" folder in webclients

I have been using instantly.ai to send emails. I connected IONOS.ca and JustHost.com mailboxes to instantly and it works fine (warmup, receiving and sending [yes other emails receive the emails sent, ...
Guest Man's user avatar
0 votes
2 answers
295 views

How to send email on behalf of a customer, such that they handle replies?

Scenario: I have a customer A, who authorizes me / my software to send email on their behalf to their customers P, Q, etc. Additionally, P, Q, etc. should see the email as coming from a.example.com. ...
MarnixKlooster ReinstateMonica's user avatar
1 vote
1 answer
353 views

Postfix (SASL) and OpenDMARC-Reports

I am after suggestions on how to implement email sending of OpenDMARC-Reports. The problem I am having, is that (for obvious reasons), I have implemented SASL authentication on the smtpd server for ...
Tom Thorp's user avatar
0 votes
1 answer
3k views

Postfix Recipient address rejected: Access denied error after removing permit_mynetworks

I have a mail server which have to remove "permit_mynetworks" from Postfix configuration file(main.cf) in case of abuse. I only set it to allow SASL autheniented relay. But now, postfix ...
Cooper Max's user avatar
0 votes
0 answers
1k views

Postfix: Disable SMTP Authentication for specific email addresses?

I've got a server running postfix, in my main.cf, I'm using smtp_sasl_auth_enable = yes smtp_sender_dependent_authentication = yes I've got about 30 different email addresses (different domains, ...
MrFent's user avatar
  • 101
0 votes
0 answers
201 views

.NET program sending of email not working on client server only

I've originally asked this in SO but it seems this is a more appropriate place. Basically, I have a program that sends email which works on my local machine and on our company's server. However, it's ...
Lawrence's user avatar
  • 101
0 votes
1 answer
4k views

SMTP authentication issues with Postfix Dovecot

I had bought a domain example.com and a VPS, and I used iRedMail to set up a mailserver. Not wanting iRedMail to mess up with my Nginx, I decided to install Nginx and Roundcube by myself. However, it ...
Sam's user avatar
  • 25
1 vote
1 answer
735 views

nginx mail module always passing PLAIN method AUTH command to backend

I have implemented a nginx with mail module, and proxy to backend Hmail server. I realized no matter how I disable the auth-methods PLAIN. The nginx is just ignoring it. How can I force to using ...
woon minika's user avatar
1 vote
1 answer
605 views

Postfix: how to use SASL authentication?

Hi I am trying to use a very simple sasl authentication. I have been testing the method here but still encounter error. my server is a fresh install server. And the command I run: # saslpasswd2 -c -u ...
sloweriang's user avatar
-1 votes
1 answer
2k views

How can I enable DKIM email verification on windows server 2019 for sending DKIM verified email via SMTP service?

I am sending activation and verification emails from my domain : https://www.monstermmorpg.com/ Recently I have moved to a new installation The new server is : Windows Server 2019 How can I set a ...
Furkan Gözükara's user avatar
0 votes
1 answer
3k views

MS Exchange: How to enable SMTP to use OAUTH2.0 but with basic AUTH disabled

(I have asked this question also on stackoverflow but I now think that this might be a more useful community to ask hence I am also posting here.) I am trying to know whether it is possible to enable ...
user663702's user avatar
0 votes
1 answer
968 views

Postfix dovecot unable to authenticate

I use to work with postfix/sasl/courrier-auth on Gentoo for years. I just migrated to Debian 10 postfix/dovecot. I'm unable to make it work : Send mail ok, TLS ok. But unable to authenticate (SMTP 587,...
user625434's user avatar
2 votes
1 answer
815 views

ICMP "Port Unreachable" when sending email

Since several months I have sporadic problems when I send emails. With tcpdump I finally found out that I'm getting "Port unreachable" messages from what seems to be my email provider, ...
bug.spencor's user avatar
0 votes
1 answer
1k views

SMTP Untrusted TLS connection still sending emails

When sending mail from my client through a mail server that is then using AWS SES as a mail relay I'm seeing this in the postfix log as each message moves through: smtp: Untrusted TLS connection ...
Meltemi's user avatar
  • 579
1 vote
1 answer
8k views

"535 5.7.8 Error: authentication failed: authentication failure" with postfix and dovecot sasl authentication

I'm testing remote smtp login on a server and keep getting 535 5.7.8 Error: authentication failed: authentication failure errors in the syslog and mail.log. Postfix is configured to use system user ...
StevieD's user avatar
  • 552
0 votes
1 answer
3k views

Dovecot as Proxy with submission

In my infrastructure I have several mailservers (mailcow) serving different domains per instance. I want to build a mail-proxy in front of them to reduce the number of used IPs per service and allow ...
TRW's user avatar
  • 518
0 votes
1 answer
281 views

Postfix encryption not available

EDIT #2 What's this error? Aug 17 02:27:19 mail postfix/smtpd[1197]: lost connection after CONNECT from unknown[x.x.x.x] Aug 17 02:27:19 mail postfix/smtpd[1197]: disconnect from unknown[x.x.x.x] Aug ...
Polaq's user avatar
  • 1
0 votes
1 answer
3k views

Sending mail from java servlet fails authentication

Centos7, tomcat 9, Exim 4.94 Moved all my tomcat apps from centos6 to centos7 server. Tomcat version is 9 and was the same on both servers. I send email from one of the java apps. public void ...
ScottD's user avatar
  • 21
0 votes
1 answer
286 views

How to get gmail to use postfix as an SMTP server

I'm trying to get gmail to send email from my vanity domain - it understandably wants to use an SMTP server set up for that domain. I tried to configure postfix to be an SMTP server for my vanity ...
Steven Hook's user avatar
-1 votes
1 answer
679 views

Outlook 2010 can receive but not send - authentication fails - Thunderbird works

After the mailserver was upgraded from CentOS6 to CentOS 7, Outlook 2010 on Windows 7 can receive email but not send, the error says authentication failed. However Mozilla Thunderbird can receive and ...
Nick W's user avatar
  • 99
1 vote
1 answer
8k views

Roundcube Webmail

I have an extremely frustrating situation with Roundcube Webmail: A client of mine has asked for a WordPress server and a full service email system. The email system is registered already, and ...
Brandon Powell's user avatar
1 vote
1 answer
307 views

Configure smtp server ssl for different domains

I have a problem which I have been trying to solve for weeks but cannot find a working solution. I have a webserver with 5 different domains. I am using Outlook365 as mail server so no local email ...
Walter's user avatar
  • 11
0 votes
1 answer
672 views

Forward plain-text emails to TLS enabled SMTP server?

I am running old applications that are not supporting any encryption/authentication protocol on outgoing e-mails. Is it possible to send plain-text emails to a local "relay" server that forward it ...
ELCouz's user avatar
  • 125
0 votes
1 answer
5k views

How to debug "lost connection after STARTTLS"?

We have a web server which sends mail out via our Postfix relay over a LAN connection. Users from outside our network also send mail out via SMTP AUTH though that relay too. However, we have a ...
TommyPeanuts's user avatar
0 votes
1 answer
988 views

TLS from unknown: No client certificate presented

We have setup a windows server virtual SMTP (under IIS6 manager). In the SMTP settings, TLS encryption is enabled, fqdn field is "sharepoint.mycompany.com". In the server's cert store "personal" ...
Mark's user avatar
  • 217
0 votes
1 answer
495 views

How to identify mail user from Syslog and mail.log? [duplicate]

I have a user on my system who appears to be sending large quantities of mail and I'm having difficulty identifying who he is. I don't know his IP address or username by which he authenticated. One ...
Peter White's user avatar
1 vote
1 answer
2k views

Can't telnet to Postfix SMTP server after adding smtpd_sasl_auth_enable option

I have the Postfix SMTP server installed on my CentOS 7 machine on port 25. To test that it's working, I connect to it using telnet, like this: # telnet localhost 25 and the result is: Trying ::1....
GetFree's user avatar
  • 1,530
1 vote
0 answers
1k views

Exchange 2013 SMTP AUTH "5.7.1 Client does not have permissions to send as this sender"

I'm having an issue sending email via SMTP AUTH on an Exchange server 2013, was hoping someone can give me some ideas on where else to check. I've had this working on other Exchange servers without ...
theogre's user avatar
  • 11
1 vote
1 answer
4k views

Server responded: 503 AUTH command used when not advertised\r\n?

I recently migrated from one server where my mail settings worked without a problem to a new server which now results in the following error: Server responded: 503 AUTH command used when not ...
Ross Hodgman's user avatar
1 vote
0 answers
4k views

Exchange Server SMTP Auth Login gets rejected

I have an Exchange 2010 Server that denies SMTP logins on a seperate receive connector for no clear reason. For a groupware I have to enable "auth login" on the receive connector. "Basic ...
HannesS's user avatar
  • 322
1 vote
1 answer
8k views

Setup policyd on Zimbra 8.8.x to rate limit the number of messages each account can send with smtp-auth

I'm running Zimbra 8.8.9 and I'm trying to rate limit the number of messages that a single user can send over smtp after authenticating with smtp-auth. The purpose is to limit the damage in case one ...
Luca Gibelli's user avatar
  • 2,771
0 votes
1 answer
2k views

Postfix auth issue

I'm currently facing auth issue. When I'm trying to auth via telnet, I face an issue "535 5.7.8 Error: authentication failed: authentication failure" I use password and login the same, as I use for ...
132's user avatar
  • 3
0 votes
1 answer
5k views

EXIM SMTP allows to send mails without login / authentication via telnet to any domain

I'm ashamed, but I have to ask for help. My server is being used for sending spam, I've found out I can simply connect with telnet (edit: from any server in office, home and even directly from CMD/...
Mateusz's user avatar
0 votes
1 answer
466 views

Setup SMTP connection between mautic and iRedMail

I have set up my iRedMail on AWS EC2 small instance, now everything is working fine under port 25, but I need to authenticate users to authenticate themselves. In mautic "to authenticate we need ...
Deepak Bharadwaj's user avatar
1 vote
1 answer
622 views

Trying to make submission (587) work - Exchange 2016

I'm trying to allow the authenticated relay (Client Frontend connector) to process requests from LAN and internet, but I'm struggling so far. First, I have linked this connector to my SSL wildcard ...
Nemesis's user avatar
  • 31
2 votes
1 answer
533 views

Reject Exim authentication attempts based on username

Is it possible to set up Exim so that, based on the username passed along to it, it can reject an authentication attempt before it will try to do a password lookup for that username? I've done similar ...
Bastille's user avatar
2 votes
0 answers
1k views

Postfix: How to use reject_sender_login_mismatch when using MySQL virtual users?

I want to force senders to use an envelope sender address that's identical to the SASL login username. From the Postfix SASL README I see I should list, in the smtpd_sender_login_maps option, a hash ...
JCCyC's user avatar
  • 690
0 votes
1 answer
405 views

Authentication succeeds, but sending still fails

I'm trying to configure my home server to relay e-mails from the family's iPhones. To this end I created a single "user" account in the server's SASL-database and configured sendmail to use CRAM-MD5 ...
Mikhail T.'s user avatar
  • 2,377
0 votes
1 answer
494 views

sendmail authentication with passwords in SHA512 hash

Is it possible for sendmail to authenticate users from LDAP with passwords stored as SHA512 hash ? If yes, how? Edit: OS is Arch Linux and i want to use only LDAP to authenticate users.
Aas's user avatar
  • 328
1 vote
1 answer
3k views

postfix: smtpd_sender_login_maps regex matches everything instead of only SASL

I want to prevent spoofing so I found this postfix option: smtpd_sender_login_maps (default: empty) Optional lookup table with the SASL login names that own the sender (MAIL FROM) addresses. ...
Chazy Chaz's user avatar
2 votes
2 answers
8k views

Exim not Listening on port 465 or 587 for TLS connection

I am configuring Exim on a Ubuntu server to send and receive mails via TLS. Followed many guides which shows on how to configure Exim with TLS but still my Exim doesn't listen on 465 or 587 Exim ...
Sachin's user avatar
  • 21
1 vote
0 answers
809 views

How to make nginx mail auth connection persistent?

We are using nginx 1.7.3 as a reverse proxy for our Mail SMTP service. For authentication of each SMTP connection, we have configured nginx to connect with a http based service for authentication. ...
Prabhash Rathore's user avatar
2 votes
1 answer
3k views

postfix not working correctly after system upgrade (no SASL authentication mechanism)

I had a working postfix/dovecot configuration running on a Ubuntu Server machine 14.04 LTS. Then I made a upgrade to 16.04.2 using do-release-upgrade. Everything seemed to work besides my mail service....
C0dR's user avatar
  • 81
0 votes
3 answers
11k views

linux sendmail doesn't work (stat=deferred)

I have set up an linux webserver on my raspberry pi and now want the server be able to send emails without configuring a complete mailserver. Thats why I have chosen the MTA 'sendmail', which I'm ...
pixelmusik's user avatar
1 vote
1 answer
2k views

Authenticated External SMTP Relay

Description I am trying to use "Default MAIL-SERVER" (port 2525) receive connector as an authenticated external relay. I am successful with the mailbox "[email protected]" but I am unable do it ...
Lordbalmon's user avatar