Questions tagged [postfix]

This tag should not be used. Either tag as "postfix-mta" for questions related to the Postfix mail server, or "postfix-notation" for questions about parsing or manipulating expressions in postfix notation.

This tag should not be used. Either tag as for questions related to the Postfix mail server, or for questions about parsing or manipulating expressions in postfix notation.

332 questions
11
votes
2 answers

Configure Postfix to Use Gmail SMTP on Ubuntu

I'm using this online guide here to enable simple mail sending from linux (ubuntu) terminal with postfix through some gmail account. I've done the steps listed there: sudo apt-get install postfix mailutils libsasl2-2 ca-certificates…
OrenIshShalom
  • 3,258
  • 4
  • 18
  • 39
7
votes
2 answers

Postfix - Must issue a STARTTLS command first

I am trying to send email through gmail via postfix, but it shows me the following error: Must issue a STARTTLS command first. Sep 6 01:11:34 NovusTec postfix/smtp[10889]: 1284460D68: to=, relay=smtp.gmail.com[64.233.190.108]:587,…
Espector
  • 345
  • 2
  • 3
  • 15
7
votes
1 answer

Swiftmailer: Unable to connect with TLS encryption

I'm trying to send emails via Symfony with Swiftmailer. On the production server I get an error: [2016-08-20 11:59:37] app.ERROR: Exception occurred while flushing email queue: Unable to connect with TLS encryption [] [] This is what I have in my…
Clearasil
  • 223
  • 1
  • 2
  • 10
5
votes
3 answers

Postfix - Recipient address rejected: User unknown in local recipient table

I am learning (trying) to build my own mail server in Centos 7 VM. I have come to a problem when my incoming mails are getting rejected. Using POSTFIX I am trying to send emails from gmail to my mail but it is stucked by this error. Below I will…
marhyno
  • 565
  • 1
  • 5
  • 16
4
votes
1 answer

Why is smtplib.SMTP().sendmail not sending a DKIM signed message

I have set up postfix on a server, along with openDKIM. When I run: echo "Testing setup" | mail -s "Postfix test" {my_email_address} I get the email, and in the mail headers there is a DKIM-Signature header. When, however I write a python script to…
Olly F-G
  • 515
  • 1
  • 6
  • 16
4
votes
2 answers

Gmail smtp SASL authentication

I'm using postfix to send email via gmail with an application's password (two step-validation activated). Each time I test sending mail using sendmail command, I get this error: Action: delayed Status: 4.7.14 Diagnostic-Code: X-Postfix; delivery…
Trong Lam Phan
  • 2,014
  • 2
  • 21
  • 42
4
votes
1 answer

PHP mail() fails to send mails | Postfix configuration | Apache 2 | Ubuntu 16.04

First of all, sorry if this is a long post, I'm trying here to gather all the informations (I can recall) that people on other forums seemed to find important. Secondly I apologize if the answer to this post happened to be "obvious", but to make it…
4
votes
1 answer

Infix to postfix for negative numbers

How do I convert negative numbers from infix to postfix ? Suppose I have a expression a = - b - (-c-d) In some places I read that you can parathesize the negative numbers like a = (-b) - (-c-d) But here if I do that, I will get a term like "ab-"…
Zephyr
  • 1,313
  • 3
  • 16
  • 33
4
votes
0 answers

org.postfix.master logs an error every 10 seconds

Every ten seconds, I get errors like these in my OS X El Capitan error logs (with line breaks added here for clarity): 3/7/17 09:15:34.104 com.apple.xpc.launchd[1]: (org.postfix.master[98071]) Service exited with abnormal code: 1 3/7/17…
Eric A. Meyer
  • 911
  • 5
  • 17
4
votes
0 answers

How to set up a postfix dummy smtp server in Travis-CI for use with a Phoenix app?

I am working on a Elixir/Phoenix app that uses Bamboo to send email using a server at 127.0.0.1:25. My TravisCI builds fail because of the lack of a SMTP server in the TravisCI environment. How can I set up the travis-yaml to install a postfix…
3
votes
2 answers

Mail-Tester.com : Freemail in Reply-To, but not From

I can not solve the problem of spam. I only have 7.6 / 10 on Mail-Tester.com. I specify that I use postfix, and I need it only for the sendings. Here is my result: https://www.mail-tester.com/web-n0z33 Mail-Tester.com tells me that the problem come…
stephweb
  • 97
  • 11
3
votes
1 answer

Sending mail using phpmailer using smpt with dkim going thru postfix

So I am using phpmailer using smpt and it is going thru postfix to send emails. When I send a email from my email it goes thru without a problem when it comes to using DKIM and DMARC. But when I send using phpmailer Im not getting a DKIM.
willis
  • 51
  • 9
3
votes
0 answers

Nodemailer keeps refusing authentication for invalid login (not using gmail)

I'm wrapping my head around the strangest issue ever right now. I'm using nodemailer and postfix to send email. The following code is NOT working, giving me the following error : Error: Invalid login: 503 5.5.1 Error: authentication not enabled …
Guillaume Le Mière
  • 4,050
  • 6
  • 32
  • 52
3
votes
1 answer

DKIM Only works on Short Messages

The Problem: I am using OpenDKIM with Postfix. The mail is generated in PHP using the following code and then sent with mail(): // message $message = "--$hash".PHP_EOL; $message .= "Content-Type: text/plain;…
Kittsil
  • 1,909
  • 9
  • 18
3
votes
3 answers

Postfix header checks multiple actions

I want to make a header check rule to add a reply-to and change From to a no-reply. I use it for sort of diffusion list adress I have tried this regexp code but it is not working: if !/^From:(.+@myserver\.fr)/ /^From:(.*)$/ PREPEND…
Jos
  • 91
  • 1
  • 8
1
2 3
22 23