Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Postfix is a mail transfer agent (MTA) that supports IPv6, DNSBL, SMTP AUTH (SASL), TLS and various database backend.

Postfix was written by Wietse Venema in 1997 and first released in December 1998 as IBM Secure Mailer.

It was designed to be highly secure and configurable, and is a drop-in replacement for , with much simpler configuration syntax.

The software was also formerly known as VMailer.

6398 questions
2
votes
1 answer

Validate email address at my own domain with gmail

I need to have the ability to send email using gmail's web interface, but have them appear to originate from my own domain instead of originating at a gmail address. In order to do this, gmail asks for my smtp server's information (url, account,…
alex_223
  • 120
  • 1
  • 9
2
votes
2 answers

Can't find mail configuration data on old server

I'm working on a server with some very old mail configurations that have recently started getting some difficulties. I decided to just redo the configuration from scratch since there's a lot of useless and obsolete code in this setup, but there…
jono
  • 123
  • 3
2
votes
3 answers

Postfix header_checks not working

I just can't seem to figure out why header_checks are not being evaluated. I add following line to /etc/postfix/main.cf: header_checks = pcre:/etc/postfix/header_checks.pcre And here is header_checks.pcre : /^From: skrbniki@pressclip.si/ REDIRECT…
Ana Sustic
  • 121
  • 1
  • 3
2
votes
0 answers

Configure Postfix to route to specific IP based on the recipient MX record

I have Postfix running on a VPS with Ubuntu 12.04, the server has multiple IP addresses. I want to configure Postfix so that it will route mail to send via one of these IP's based on the MX record of the recipient e-mail domain. For example, if I am…
T Smith
  • 31
  • 4
2
votes
0 answers

Postfix permit localhost use plain login

I have postfix 2.11 setup on Debian jessie with Dovecot SASL and I require encrypted login mechanism to send mail via smtp. For this purpose in the main.cf I've smtpd_tls_auth_only = yes option set. I'm happy with results, but I want to allow…
BartQ
  • 21
  • 1
2
votes
1 answer

sendmail cant send mail - Centos6/7

I have a newly minted CentOS 6.7 box to set up sendmail on. It seems sending email but not really, no idea whats the issue could be. What I did: yum install sendmail sendmail-cf sendmail-doc sendmail-devel telnet service sendmail start chkconfig…
Adeel
  • 21
  • 3
2
votes
1 answer

SPF: premature end-of-input on private/policy

I just moved to a new server with quite the same configuration of the old one, and everything is working fine except SPF. Here are the error message I get: Nov 3 10:49:05 ns3016726 postfix/spawn[16996]: warning: command /usr/bin/python exit status…
Nicolas BADIA
  • 366
  • 1
  • 6
  • 15
2
votes
1 answer

OpenDKIM mail header: temperror

I've just installed and configured OpenDKIM to use it with Postfix and Dovecot on my server. I can send e-mails to another accounts, but when I check the header I find this: dkim=temperror (no key for signature) Here is the most important…
user320075
2
votes
2 answers

Gmail not accepting emails from my local Postfix server

When I am trying to send from my postfix server to gmail accounts, I am getting the following error message in logs: Our system has detected that this message is 550-5.7.1 not RFC 2822 compliant. To reduce the amount of spam sent to Gmail,…
Manoj S T
  • 21
  • 1
  • 2
2
votes
1 answer

Two DKIM signatures in outgoing messages

I have DKIM and SPF correctly configured on my server with postfix myserver.com. However, when I send emails from Gmail configured to authenticate and send email as myname@myserver.com authenticating against postfix on myserver.com, the email ends…
SteveSong
  • 141
  • 4
2
votes
2 answers

Postfix rewrite recipient based on domain

I'm looking for a postfix configuration to create recipient rewrite rules based on the recipient domain name including catch all for domains not found in the "not rewrite"-list. For example: laber@example.com, no rewrite and deliver to MX of…
user4336901
  • 31
  • 1
  • 3
2
votes
1 answer

OpenDKIM - How can I set these signing options in the conf file

I followed this guide for opendkim, and I wondering how to set the following options in the conf file: Signature expiration (x) creation time (t) standard headers to be validated (h=) body signature length (l=) to be auto determined and included in…
Vnge
  • 195
  • 3
  • 12
2
votes
2 answers

Postfix, carbon copy forwarded email

Basically this is the setup I am currently using: virtual_alias_maps x1 x2 recipient_bcc_maps x2 x3 When I send an e-mail to x1, I expect it to be forwarded to x2, and then copied to x3, but what happens instead is the email comes up to x2 and…
2
votes
2 answers

Can't send mail via php with msmtp

I want the server able to send mail via gmail smtp. The installation of msmtp was successful. I able to send using msmtp via the command line. However, when I try to send via php, it got me this error. postfix/smtp[11241]: connect to …
dev-jim
  • 313
  • 1
  • 2
  • 8
2
votes
0 answers

Postfix fails to verify GMail's DKIM signature

I have my Debian (7.9 "wheezy") E-Mail-server (Postfix 2.9.6-2) setup to sign and verify DKIM signatures in e-mail messages using OpenDKIM (version 2.6.8-4). My server passes the DKIM test at GMail when I send a mail from my server to their service…
comfreak
  • 1,501
  • 1
  • 21
  • 33