Questions tagged [postfix]

Open source email server for Unix

Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. It is intended as a fast, easier-to-administer, and secure alternative to the widely-used Sendmail MTA.

The Postfix Home Page: Home page for Postfix, contains up to date documentation, Howtos and FAQs, and a great deal more useful information.

Ubuntu Community Help Wiki - Postfix: Very detailed Ubuntu-centric information on the setup of Postfix.

720 questions
113
votes
4 answers

Where are the postfix log files?

I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file /var/log/mail nor any other concerning mail or postfix…
Steve Rakebrandt
  • 1,233
  • 2
  • 8
  • 5
20
votes
3 answers

When sending email with Postfix, how can I hide the sender’s IP and username in the Received header?

When sending mail, Postfix inserts the authenticated user’s IP and username into the Received header on the email. While this is useful for tracking down who sent a particular email that was sent from your mail server, it also has privacy…
18
votes
1 answer

After installing Postfix, why doesn't it pop up the configuration interface

When I first time install Postfix, after install, an interface would pop up and ask me which type to choose from; something like: Internet: Satellite: Smarthost: Local only: Today I removed Postfix using: sudo apt-get remove postfix And I…
gilzero
  • 511
10
votes
1 answer

How to set the hostname of a postfix mail server?

In a VPS with Ubuntu 12.04 LTS, I have installed postfix. The domain name is example.com, the VPS hostname is server.example.com. For the domain example.com I create an MX record. After that a mail server mail.example.com is up and running. How to…
ptheo
  • 1,676
8
votes
1 answer

Postfix configuration : postmap: fatal: bad string length 0 < 1: setgid_group =

When configuring postfix, Got the following error on sudo postmap /etc/postfix/sasl_passwd postmap: fatal: bad string length 0 < 1: setgid_group =
Philippe Gachoud
  • 5,900
  • 3
  • 43
  • 50
8
votes
2 answers

Postgrey - how to add sending server to whitelist to disable greylisting

I'm using postgrey on all my MX servers (main and 2 backups). I need to disable greylisting on a main server when receiving mails from backup server. How to do that? When I add IP/FQDN to /etc/postgrey/whitelist_clients, it doesn't help. Specifying…
Xdg
  • 223
  • 1
  • 3
  • 9
4
votes
1 answer

How to set up TLS for Postfix on Ubuntu

How do you set up TLS for Postfix on Ubuntu? I've recently switched from sendmail to postfix and the emails sent by our website no longer have TLS from what I can tell on gmail, it's showing the broken pad lock: I've checked our…
Holly
  • 155
3
votes
1 answer

hash:/etc/postfix/relayhost_map lookup error

I am running Ubuntu 16.04 on Google Cloud Compute. After completing this tutorial on sending Email with SendGrid, I am getting an error when testing sendgrid in command line: - server3 postfix/trivial-rewrite[15407]: warning: …
adam
  • 305
3
votes
1 answer

postconf -d not updating after service postfix reload

I am trying to update postfix main.cf using the commands, postconf -ev disable_vrfy_command=yes service postfix reload but when I check postconf -d I still get disable_vrfy_command=no. I also tried restarting postfix and editing main.cf, and still…
3
votes
1 answer

Postifx receives mail but won't send mail out

I literally have no idea what's going on. I can receive mail perfectly fine to my email but when i go to reply it will not send I just get a Mail Delivery System email saying it couldn't deliver. I haven't configured dovecot as I didnt think I…
mattmill98
  • 67
  • 8
3
votes
3 answers

550 Action not taken (in reply to end of DATA command))

I got this when i check my postfix logs everything was alright i didnt make any changes in my server just some iptables now when i send an text email everything is ok and the status of email is sent the problem when i send an email with any…
3
votes
2 answers

Potential Postfix Infection

So I'm operating an Ubuntu VPS that uses postfix for sending outgoing mail. I have several email addresses attached to the domain that it hosted on the VPS, one of them is say user@domain.com. The owner of this email address has two personal…
3
votes
2 answers

How to make Postfix use new IP address?

I'm using the Postfix mail server and I have 6 IPs available. I'd like to use another IP to it with my pricipal ip. How can I do this? For example: main IP: 66.66.66.66 other IP: 66.66.66.67
3
votes
1 answer

Postfix logging

I have received a letter from my hoster, that my server sends a lot of emails. It's strange. How can I enable logging of emails? Or just of to headers. Ubuntu 12.04, postfix.
Dmitry
  • 257
3
votes
1 answer

Postfix will not receive emails

My Postfix setup does not receive emails from anywhere other than the localhost (sendmail). I can log in and send emails from my server, but nothing comes in. Here is my postconf -n alias_database = hash:/etc/aliases alias_maps =…
1
2 3 4