Questions tagged as ['smtp']
I'm helping out a client setup an smtp relay because our software is failing at times to send email when using the smtp server of smtp.office365.com and we have found that setting up a smtp relay via this link option 3 https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365 resolves this pro ...
my mail provider (posteo.de) offers an FQDN during the HELO/EHLO exchange (e.g. mout2.posteo.de) – which is seen by policyd-spf (s. below) – but SpamAssassin on a receiving server marks the relay as offering no FQDN or domain:
Feb 2 06:17:10 eden policyd-spf: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=18.104.22.168; helo=mout02.posteo.de; envelope-from=xxx@posteo ...
recently I was trying to install roundcube on my server and everything works fine until smtp test. When I try to connect i always get this error:
SMTP send: NOT OK(Connection failed: Failed to connect socket: fsockopen(): unable to connect to ssl://mx.mydomain.me:587 (Unknown error))
Syslog at time of connection:
Feb 1 11:14:35 mx postfix/smtpd: initializing the server-side TLS engine Feb ...
I don't have any problems receiving email from Gmail, or any of the mailing lists that I've signed up for, but for some reason Outlook refuses to send any email to my mailserver.
_handle_client readline: b'EHLO NAM02-BN1-obe.outbound.protection.outlook.com\r\n' │ ('22.214.171.124', 55618) > ...
i installed zimbra on my Cloudserver (Digital ocean) i can receive emails from other external emails but sending is an issue, I have also set up DKIM, SPF, DMARC for the emails but i still cannot send out emails. Anything seems to be the issue? Please what are possible Resolutions/?
I've configured SSMTP to send system messages for users with a UID < 1000 in
If I send an email to
echo test | sendmail -v root) for example it gets properly delivered to
firstname.lastname@example.org (as per
However this doesn't work for user accounts with UIDs greater than 1000. If I send an email ...
I need to setup DKIM to validate an email provider we are using. In the provider's documentation, they require us to add two records, a selector record and a policy record, like this:
selector._domainkey.mydomain.com TXT "k=rsa; p=mykeyhere" _domainkey.mydomain.com TXT "t=y; o=~"
I'm concerned about adding this new policy, because we have quite a few DKIM selectors setup in our DNS zone already, wit ...
I have a web app running on a shared server account for the domain example.com. The web app needs to send the occasional email to the app adminstrator.
The domain example.com is using Outlook.com as the email server.
How can I either:
a) Configure the web app to send emails via an Outlook.com mail account (can you point me to the instructions/settings to configure this?), or
b) Configure the included mail ...
I have successfully set up a Postfix mailserver with an SMTP interface, set up DKIM, DMARC, SPF, all that stuff.
But I had a problem when testing the delivery of emails to Gmail.
Namely, SPF would pass if I sent it by the
sendmail command from the server (some of the
ARC-Authentication-Results header content of the delivered message in Gmail):
spf=pass (google.com: domain of redacted@example ...
I've seen few of this question here but I couldn't find a solution for it.
I'm currently trying to set up Postfix with mailtutils, but I can't see my incoming emails in my mailbox, so I am not sure if there is something wrong in the process.
The mails I sent to my mail account appear to be sent in the logs as delivered but they are not received into the mailbox, not even the spam folder. The logs ar ...
Is it possible to configure smtp for postfix to require authentication, (e.g. with
smtp_sasl_auth_enable = yes), for certain IP ranges but have other ranges un-authenticated?
For our local network we want hosts to be able to relay through the smtp servers without authentication, including sending externally. That network range is listed in
But for other ranges, not on our network but in
I am new to the world of Web Email and domain hosting. I was looking into projects like https://temp-mail.org/en/ and https://kopeechka.store. In these applications I can receive an email address, receive emails to those email addresses, and then delete the email from a simple python client using API calls to their API's. I want to replicate something similar using my own domain name(I have not regist ...
I’m starting with SPF on my (email) domain. (No DKIM or DMARC yet.)
I see little usefulness in HELO identity checking in SPF and am thinking about setting the HELO identity to my domain (instead of the hostname) or the IP of the machine.
Apart from the following points, what is SPF HELO checking good for? What points stand against using IP or domain as identity in SMTP clients?
- it is against (the s ...
I have website on hosting with domain exmpl.com. I have DNS record for exmpl.com:
exmpl.com MX(10) mail.exmpl.com
mail.exmpl.com A XX.XX.XX.XX
exmpl.com TXT v=spf1 +a +mx +a:hosting.server ~all
All incoming mail recived by hosting server.
Now all mail work over hosting server. I want to create SMTP server to send-only mail. I use Postfix. And create DNS record for exmpl.com:
smtp.exmpl.com A XX. ...
I am attempting to setup 2 SMTP servers behind one firewall. One server for
domainA.com and another for
domainB.com. I want to configure the server for
domainA.com to accept mail for
domainB.com and forward it internally.
I have added the following setup in
/etc/postfix/main.cf on domainA.com:
transport_maps = hash:/etc/postfix/transport proxy:mysql:/etc/postfix/mysql/transport_maps_user. ...
I have a Debian server from which I want to block all incoming and outgoing ports (especially all outgoing email ports), except those that I specifically add in iptables. The current setup I have is working and seems restrictive enough, but when I start up a
telnet session to test for example port 25 for smtp it just seems to connect without problems, even though I did not specifically open port 25 a ...
I'm close to understanding it, but one thing in documentation makes me unsure.
At first, lets take a look at postfix architecture from docs. There are two stages: receiving and delivering. During receiving stage mail is stored in incoming queue and smtp client is notified about successfully enqueueing.
Also documentation says relocated_maps is treating by trivial-rewrite ONLY during delivering stage. And ...
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 not working when deployed on the client's server.
The program cannot connect to the smtp server for some reason. Here is the exact error:
System.Net.Sockets.SocketException (0x80004005): A connection attempt ...
I want to configure an email server using SMTP Server set up in a Windows 2012 node.
I could see that, its possible using hMailServer,
Can SMTP work as a email server..?
Would this be possible to create a local domain in SMTP Server set up ..?
Would this be possible to register email ids in SMTP server set up ..?
Is it possible to send and receive emails, by connecting mail clients to it..?
When I execute, the following line postfix uses my sendgrid relay server
echo "Subject: sendmail test" | sendmail -v email@example.com
But when I execute the sendmail function via the PHP script it won't send it to the relay server. Look like it want to distribute it locally
Any thoughts on how to force postfix to use the smtp relay option
It looks like postfix is timing out on STARTTLS, I have ...
I recently changed my gmail password and changed the password in server.conf as well, but now graylog's email alerting fails with:
Sending the email to the following server failed : smtp.gmail.com:587 (javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials h12sm2292608qkp.52 - gsmtp )
Here are th ...
i have a python script and i want it to run each time postfix holds and email i managed to hold emails based on some patterns using regular expression under /etc/postfix/main.cf and i want to run this python script each time an email is holded. i did my research and i found it this potential solution Postfix does not trigger my before-queue milter script an i tried this:
smtp inet n - ...
I have on a virtual server (Ubuntu 20.4) Dokuwiki (2020-07-29 "Hogfather") with the SMTP plugin (Last updated on 2020-11-21) installed. My pages are delivered HTTPS encrypted, using certbot.
I want to use the SMTP plugin from dokuwiki with an existing mail server from my provider. I filled in the necessary credentials: username, SMTP server address, port 465 and SSL.
I get this debug message from do ...
I have a simple config (based on googling and copy paste) that contains an error, I don't know how to proceed.
I would like to forward all mails received to an smtp-server that requires username+password+TLS
listen on 0.0.0.0 port 25 action "relay" relay host "smtp://smtp.foo.bar" mail-from "@foo.bar" match for any action "relay"
Apparently there is an error on line 2:
Oct 13 21:08:56 raspb ...
I have a send-only postfix email server where I sent emails via a command line tool I want to be able to receive emails on a separate provider so that the staff can access the inbox
I have a temporary solution, it is to receive emails on a subdomain: staff.website.com, but I want to use the main domain
I'm researching around to see how I can configure Exim to reroute all outgoing emails to a single email address (possibly external), to be used on a development server when during tests I don't want to accidentally email real people.
It seems like something that should be simple to do, and apparently there's the catch_all_outgoing router as a solution, but it doesn't work as it seems is deprecate ...
We are migrating to a new SMTP host, and have found some issues with some of the sendmail instances I have inherited. The new SMTP host requires all "from" addresses to be from domains we are verified owners of.
I have spent a couple of days trying countless results from google without any results, so thought I would make a post since this seems too specific.
The situation: We have a sendmail instan ...
I've got a 3rd party who host a system for us, it has a function to send a small number of emails for us, less than 100 a day, so we simply supplied an Office365 user to them which has been working for ages.
Last night this stopped working. The interface I can see is simply returning
Message could not be sent. Mailer Error: SMTP connect() failed. (PHPMail)
The third party is massively dragging it ...
i'm trying the Simple content filter example: i followed the steps mentioned here http://www.postfix.org/FILTER_README.html#simple_filter
but in line 24 of the content filter that can be a simple shell script like this
you need to specify your content filter
my question is :
is there any full example with a content filter ( line 24) that i can work with ?
1 #!/bin/sh 2 3 # Simple shell-based fi ...
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 says the SMTP server doesn't support auth. SMTP is all right.
[02-Oct-2021 23:40:16 +0000]: <5gl20r7b> PHP Error: SMTP server does not support authentication (POST /?_task=mail&_unlock=loadin ...