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.

738 questions
122
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…
82
votes
6 answers

How to make crontab email me with output?

How can I make crontab email me with the output of its jobs? I have MAILTO=redacted@yahoo.com.au above the jobs, but it doesn't work. I know I need to use something like Postfix or Sendmail but for the life of me I cannot find out how to achieve…
Clonkex
  • 1,684
43
votes
1 answer

How can I install apt packages non-interactively?

If I run: sudo apt-get --yes install postfix or sudo bash -c 'yes | apt-get --yes install postfix' an interactive prompt appears to configure postfix. I need to automate the installation of postfix (I can modify the configuration files after the…
user48956
  • 681
41
votes
3 answers

How do I make cron email my @gmail account

I have a couple of cron jobs that sometimes produce error output and would like to get a notification in my "real" email account, since I don't use my user's mailbox in my Ubuntu laptop, but cron (or is it postfix maybe) keeps trying to email the…
29
votes
5 answers

Cannot open mailbox /var/mail/USER: Permission denied No mail for USER

When i run the command. su - fmaster mail I get the error: Cannot open mailbox /var/mail/fmaster: Permission denied No mail for fmaster also i sign in as fmaster. terminal -> mail. /var/mail/fmaster: Permission denied No mail for fmaster I tried…
Omer Stimpack
  • 471
  • 2
  • 7
  • 13
28
votes
3 answers

Using DKIM in my server for multiple domains (websites)

I've read the tutorial posted by MountainX (Setup DKIM (DomainKeys) for Ubuntu, Postfix and Mailman), but I can't figure out how to apply these steps if I want to host and send e-mails for several domains. Does anybody have a clue?
Diego
  • 823
24
votes
6 answers

Postfix start error Port 25: Address already in use

I'm attempting to get postfix running on my server but keep getting the following error in my /var/log/mail.log: postfix/master[5041]: fatal: bind 0.0.0.0 port 25: Address already in use I did some searching and found this excellent answer by Oli…
neanderslob
  • 756
  • 2
  • 9
  • 25
23
votes
3 answers

Setup DKIM (DomainKeys) for Ubuntu, Postfix and Mailman

I'm running Ubuntu 12.04 with Postfix and Mailman. I want to set up DKIM. DomainKeys Identified Mail, or DKIM, is the successor to Yahoo's "DomainKeys". It incorporates Cisco's Identified Mail. What are the steps for setting this up? Is opendkim…
MountainX
  • 5,969
22
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…
20
votes
3 answers

How do I accept the configuration screen that pops up when installing Postfix?

I was trying to install postfix on Ubuntu 11.10 for SMTP support... I typed sudo apt-get install postfix and then the installation started. But during installation a configuration screen popped up which requested me to select an option. Now the…
AvinashK
  • 421
19
votes
2 answers

How to change Helo Address?

Right now my Helo Address = localhost (helo=localhost). Is it better to set this to my server's domain name? If so, how do I change it? I'm running Ubuntu 12.04 and Postfix. Thanks.
MountainX
  • 5,969
18
votes
3 answers

possible to mark all mail as read using one line terminal?

I am not trying to remove all the mails. I googled for mark all mail as read, actually got posts saying how to delete them instead. I found out using echo p | mail will output first of unread then mark it read, but if I do this, I have to loop…
Dora
  • 485
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
18
votes
1 answer

Disable IPv6 on Ubuntu 20.04

Simple way that worked for a very long time was adding in /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 Afterwards sysctl -p for activation of the setting. It works for…
frank_108
  • 341
  • 1
  • 2
  • 7
15
votes
3 answers

How to send e-mail from Ubuntu server?

What I'm supposed to do is send emails from Ubuntu. The easiest way I have found is using Thunderbird and linking my real e-mail address (abc@hotmail.com) to Thunderbird account. I can successfully receive e-mails and download full history this way.…
afaf12
  • 221
1
2 3
49 50