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
8 answers

Mail Server using Postfix

I have currently set up my web application on Amazon EC2 server. As a well known fact sending email from EC2 has a problem. As a cheap and long lasting solution instead of using "authsmtp" is it possible to rent a server and use it as a Mail Server?…
Sujay
  • 31
  • 1
  • 7
2
votes
1 answer

SPF permerror reported by Hotmail

Our server has been receiving abuse reports from Hotmail, because of an auth-failure. One of our sending servers has been blacklisted and Hotmail is refusing delisting. We have investigated a lot, and maybe the error on the SPF record might be the…
SDKKR
  • 35
  • 4
2
votes
7 answers

Postfix open relay

Greetings, Google says that I'm originating too many emails from my IP. Since I NEVER uses this smtp to originate emails, I suspect my postfix is somewhat misconfigured, so that I have an open relay google LOG entry: Oct 8 06:29:29…
jbastos
  • 265
  • 1
  • 3
  • 9
2
votes
1 answer

Using SPF for spoof protection

I'm trying to work through properly configuring SPF for my domain. We have two MX servers that only receive mail, and two outbound relay servers which we expect to list in our SPF record. We also have a mail server in a subdomain called…
Alex Regan
  • 143
  • 6
2
votes
1 answer

Fully altering recipient on Postfix

What I am trying to achieve is that any email coming to joe@example.com gets rewritten to bob@example.com and delivered to bob@example.com. Both canonical_maps and virtual_alias_maps work for delivering to the alternate recipient. When I read the…
ETL
  • 6,513
  • 1
  • 28
  • 48
2
votes
1 answer

Postfix equivalent of Exim :fail: for virtual aliases

I'm in the process of migrating an existing mail setup from Exim to Postfix, which involves multiple virtual domains (i.e. they're not tied to the machine name or local system accounts). I've come across a few entries in /etc/aliases which look like…
pwaring
  • 209
  • 2
  • 7
2
votes
1 answer

Postfix change add-on priority

I have just started to fight with Spam mails because of my new project. I will explain structure of that system. We have Postfix as MTA on relay server and fresh Spamassasian and Policyd(v2 Cluebringer) add-ons for it. These are working well and…
itirazimvar
  • 171
  • 1
  • 7
2
votes
1 answer

Postfix's received emails put in /var/mail/user/.Sent Messages

For some reason, emails that I receive on my Amazon Linux EC2 instance, running postfix and dovecot, are put in the directory /var/mail//.Sent\ Messages, instead of the expected /var/mail/. Postfix's master.cf contains the following…
Jojodmo
  • 131
  • 6
2
votes
1 answer

Dovecot: virtual and local users homonyms: Mail access for users with UID 1000 not permitted

Well, the case seems simple but I can’t find a satisfactory answer. I have a Postfix/Dovecot installation with the later configured to work with virtual emails which works like a charm... for virtual users who do not have an account on the server.…
Arcturus B
  • 200
  • 1
  • 10
2
votes
2 answers

Postfix + Dovecot with MySQL backend: md5-hashed passwords and CRAM-MD5 auth

My question What are the risks of switching from MD5 to CRAM-MD5 passwords in the database, especially considering the following, and how to approach that for an existing installation (provided I know the plain text passwords)? With (switching to)…
Izzy
  • 349
  • 1
  • 5
  • 19
2
votes
1 answer

Why mail.log is not logging to file?

my server yesterday started sending thousands of spam emails. I blocked it adding default_transport=No transport to the postfix main.cf. But now of course I can't send legit emails as well. I have 10+ websites in my Centos Server, using Nginx. I…
Pikk
  • 339
  • 1
  • 6
  • 19
2
votes
2 answers

postfix maildir with custom path

I need to have postfix store mail in a maildir in /var/mail//. I've got mail_spool_directory = /var/mail and I'm preparing home_mailbox = but I don't know where to go from there. Assistance please? EDIT: SF ate my tag. Please…
Glen Solsberry
  • 1,536
  • 5
  • 28
  • 38
2
votes
1 answer

Ubuntu: Postfix and Cyrus expecting saslauthd PID file in different locations

I'm running postfix and cyrus in parallel on my server, as far as I understand this is a quite common think to do. Both daemons use sasl authorization. However, postfix is looking for the saslauthd pid file in /var/spool/postfix/var/run/saslauthd…
Stefan
  • 21
  • 1
2
votes
2 answers

postfix error: 535 5.7.8 Error: authentication failed: authentication failure

I need to connect to Dyn mail relay and I'm using their KB. I'm trying to connect to my postfix server with telnet to port 25. This is the postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory =…
edotan
  • 1,876
  • 13
  • 39
  • 57
2
votes
2 answers

Postfix sender acces restriction - Security breach?

We encounter security problems with our mail server and would like some advice. The story behind it On our mail server (Postfix 2.9.6 + Dovecot 2.1.7) we would like to be able to create restricted email accounts. Those accounts (used by the…
user301825
  • 43
  • 5