Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.

learn more… | top users | synonyms

1
vote
1answer
12 views

how to adjust the boot sequence using systemd

I need to send email using postfix as server once wifi has received IP address (based on dhcpcd). It seems that systemd by default boot postfix before wifi (wlan0) is ready. The consequence associated ...
3
votes
1answer
2k views

Mail forward: 550 5.7.1 Anonymous client does not have permissions to send as this sender

I want to install a small mailing list that forwards mails related to a specific project to all project members. So, let's say there are two members in that project userA@mailA.tld and ...
3
votes
1answer
742 views

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address?

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users E.g: abc@localdomain can send ...
5
votes
2answers
1k views

Restricting who can send to an email address

I'd like to do so that only certain From: addresses can send to an email address (mailing list) on an Ubuntu system running Postfix. Understanding the Postfix the manuals are requires a lot of ...
0
votes
1answer
46 views

postfix - unknown group: vmail

I have a VPS running Debian 8 in which I used this tutorial to set up. It is running dovecot and postfix. Recently I have started receiving errors every few minutes in my mail.err log file which look ...
1
vote
3answers
865 views

Dovecot with CAcert certificates, Outlook can't connect to IMAP

I have quite standard installation of postfix and dovecot on Ubuntu 12.10. I generated my own certificates and got them signed by cacert.org. The process of creating certs was like below: openssl ...
3
votes
2answers
921 views

Use /etc/aliases for outgoing mail relayed by postfix with local domain

I'm using Ubuntu 12.04 with postfix configured as satellite system that relays outgoing mail to Gmail. For sake of example, my registered domain is example.com I want root cronjobs' error output to be ...
3
votes
2answers
70 views

Install mdadm without postfix in ubuntu trusty

I want to build a RAID system on top of Ubuntu Trusty. When I do apt-get install mdadm A screen pop up asking me to configure postfix. Because I will run this installation in automation script. Is ...
1
vote
1answer
43 views

Why postfix doesn't verify the sender is who they say they are using reverse dns, SPF or DMARC?

Making sure postfix isn't an open relay, I tried to send a mail from my mail address towards my mail address, the telnet log goes like this: Resolving hostname... Connecting... SMTP -> FROM ...
1
vote
1answer
9 views

Include another file in Postfix proxy configuration

I am trying to configure Postfix with FreeIPA and need to provide the bind DN, base DN, password, servers etc. for LDAP proxies. These need to go into four different configuration files, making it a ...
0
votes
1answer
849 views

Sending emails from AutoMySQLBackup from Linux Mint

I have set AutoMySQLBackup on a Linux Mint machine and I want to have the backups sent to an email, but I cannot make it work. I'm new to Linux environment and don't understand it very much. I ...
0
votes
2answers
3k views

SMTP issues - unable to connect : CentOS 6.5, Postfix, Dovecot, MySQL

I'm trying to setup an email server on a CentOS system with Postfix, Dovecot and MySQL. I'm following this article for an Ubuntu system: ...
2
votes
1answer
65 views

Mutt and Postfix : relay access denied

I try to send mail with Mutt through my own mail server. My mail server run Postfix and Dovecot. I configured it by following this tutorial. I can send / receive email on my server with Gnome ...
0
votes
1answer
2k views

mailx: nss-config-dir=/etc/pki/nssdb/: No such file or directory

I am trying to send email using mailx using remote SMTP server (in my case it is office365 SMTP Server). Here is the command: # echo "THis is the Body of the email" | mailx -v -s "This is email ...
2
votes
1answer
1k views

CLIENT wrappermode (port smtps/465) is unimplemented

I am getting the following error when I try to send email using a relayhost from a CentOS 7 server using postfix: Oct 19 19:53:08 localhost postfix/pickup[7174]: 64DAF1A53CB: uid=1002 ...
2
votes
3answers
2k views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
3
votes
0answers
13 views

Spam in Zimbra OpenRelay

First apologize me for the grammar, english isn't my native language. The problem I have is users from our local zimbra mail are getting spam messages from other email addresses who don't exist, like ...
1
vote
1answer
8 views

postfix&dovecot — adding some spam filter

I have setup my SMTP server (on a Linux/Ubuntu 15.04 VPS rented at OVH) according to http://www.binarytides.com/install-postfix-dovecot-debian/ (so there is no traditional user on the box; hence it ...
1
vote
1answer
53 views

is my newly setup mail server on my laptop hacked?

I have just installed postfix on Arch Linux. I am following Arch wiki to set aliases to set following line in /etc/postfix/aliases root: edward after this I ran postalias /etc/postfix/aliases and ...
-4
votes
1answer
25 views

Postfix can not send from Mydomain - only to third party domains

So I have setup an Ubuntu server and want to use postfix in order to sendmail via php. The server host: example.com When the server sends an email to anything@example.com, I get an error. If sending ...
1
vote
1answer
6k views

Mail filtering with procmail in a postfix/dovecot system with virtual users

I had a postfix/dovecot system with mail users working. After unsuccessfully following a few tutorials online to enable procmail, now I have an unusable system. What I want is to enable procmail ...
2
votes
1answer
52 views

Why does postfix copy /etc/resolv.conf to its chroot too early, causing DNS failures?

Edit: For anyone else having this problem, this question was actually was very badly asked/understood and a better description of the problem (and the correct solution) can be found here. I'm trying ...
3
votes
2answers
94 views

(Raspian) DHCP startup race conditions - lots of service failures at startup (no DNS for ~5-10 seconds)

(Edit: This applies to much more than postfix; it's just where I noticed/debugged it) I've installed postfix, but when it starts up and creates its chroot, it gets an empty copy of /etc/resolv.conf ...
0
votes
1answer
86 views

Flush Postfix mail queue

I'm running an old version of Postix (1.1.7) on my Red Hat Linux and I wanted to flush the e-mails from a specific recipient with postsuper, which comes with the postfix-perl-scripts package. However, ...
6
votes
1answer
9k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
0
votes
2answers
31 views

Does postfix using mail command report if an email was unable to be sent to an address?

I am writing a program that will be sending external emails using postfix with the mail -s command and I need to verify that the email was sent to the specified address. In which case, I am curious ...
3
votes
3answers
4k views

Run script on receipt of email

I run a Postfix/Dovecot mail server for personal use. There's only a handful of actual mailboxes, essentially just postmaster@domain.com and username@domain.com. I frequently use the virtual file to ...
1
vote
1answer
29 views

How do I debug email delivery delays?

In order to get notified about some stuff going on on a server, I use simple mailutils command executed @hourly by cron: cat $file | mail -s "Subject" $receivers where $receivers is a list of a few ...
2
votes
2answers
1k views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
3
votes
0answers
25 views

Postfix sending hostname needs to be different for different domains

We have an application that generates outbound email for a range of domains. The app servers connect to a part of Postfix servers in a DMZ and these then forward on to filtering in a second DMZ. We ...
1
vote
2answers
912 views

Cent OS 6.6 enable Plaintext authentication on dovecot and postfix

A customer of mine wants to use gmail as their default mail client but I have rolled forward to a new CENTOS server version (6.6, ok it's not "new" new) and the dovecot and postfix settings are ...
0
votes
1answer
64 views

Postfix connecting to itself

I have a weird issue with my postfix installation, also I'm having troubles to debug it because I'm new to the topic. When I check my log lines: postfix/smtp[29663]: A929510E76D9: ...
5
votes
5answers
15k views

How to create Maildir directory with enough permissions for Postfix?

I have CentOS 5.5 with Postfix installed on it. I want to use local delivery agent with default setting, but I want it to store mail with Maildir directory style mailboxes. When I set the mailboxes ...
4
votes
2answers
69 views

OS X Postfix no TLS found

I'm working on OSX El Capitan. About week ago everything worked fine, but then I changed my gmail password and now I can't send emails any more. Additional configuration for /etc/postfix/main.cf is: ...
1
vote
2answers
1k views

postfix multidomain myhostname configuration

I have two IP address running on Postfix and each IP has own domain. In short i want to isolate domain so outside folks think it is running on own IP and fully isolated even PTR also But in postfix ...
7
votes
2answers
376 views

Postfix + SpamAssassin: Incoming mail headers changes

I made a Postfix + SpamAssassin setup following the instructions most websites recommend for this kind os setup. Basically I edited my master.cf to add: smtp inet n - - - ...
2
votes
2answers
91 views

Sending HTML using mailx with postfix 2.6.6 and centOS 6.4 [duplicate]

I'm trying to send an HTML email from our CentOS server to users. In the long run I'll be building a COBOL program that runs the command to send reports to the user. Here are a few details. ...
1
vote
1answer
209 views

Where does Postfix store attachment inside email?

I am trying to find the folder where Postfix store email's attachment but I can't seems to find it. Anyone know how?
5
votes
2answers
20k views

My Postfix installation is sending out spam; how to stop it?

Since a few days, my web/mailserver (centos 6.4) is sending out spammails by the bunch, and only stopping the postfix service is putting an end to it. SMPT is set up to only accept connections over ...
4
votes
2answers
55 views

Is it possible to redirect root email to axigen internal e-mail?

For a few month I've been using Axigen webmail as my main e-mail server. For the last month I was looking for a way of redirecting my root e-mail, as well as my crontab outputs into an internal ...
4
votes
2answers
72 views

Change user maildir to custom location upon creation of the user

I use Ubuntu 14.04.3 LTS . How to change the location of the Mailbox /home/user/Maildir/ to /Location/Mail/? I dont have to create home directory for that user. I did some changes in the ...
1
vote
1answer
64 views

Postfix using external smtp server problem

I am not sure if this is the right stack exchange for my question, there are multiple stack exchange were my question might fit. I have setup my postfix configuration to send my emails through an ...
3
votes
2answers
67 views

Forward Postfix mail based on regexp

We are buildng a ticket system using PHP. We have now bumped into the problem of identifying customer replies. Placing an id in the subject will not do because users could remove this. Posting an id ...
1
vote
2answers
74 views

Postfix: Remove References to Server Software

Every time my postfix servers sent emails at the destination the emails headers include the following: by suppaserver.example.dev (Postfix) with ESMTPSA id 79D412E1A3A How can I remove the ...
1
vote
1answer
66 views

Postfix: Users impersonating other users at same domain

I've a postfix email server running and everything was fine... well until someone decided to impersonate other users. The current situation is: user1@mydomain.dev can send email with a faked from ...
1
vote
1answer
333 views

All mail sent by Postfix is received as spam

I have a dedicated server on Server4You. The machine has Debian 7.8 and Plesk 11.5.30. On the server I have 2 web sites , each with its respective IP address. The problem is that all mail I send is ...
0
votes
0answers
47 views

Mark emails on my mail server as read

I have a Virtual Private Server, running a mail server for my domain. I use postfix and dovecot. I'm using IMAP. On my MacBook, I can retrieve my mails using the default app Mail. However, every time ...
2
votes
1answer
24 views

Postfix database unreachable behaviour

I have a server running postfix and dovecot with a local mysql database to store virtual domains and users. I'm considering to move the database to another server and perhaps switch to using ldap ...
3
votes
2answers
39 views

Control character handling in cron/mailx

I have a cron job which runs a long script producing lots of output. Some of the output is lines delimited by single carriage returns; when run from the command line, these make the successive lines ...
17
votes
1answer
14k views

postfix/smtpd: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I have problem with postfix on debian after upgrading from squeeze to wheezy. Postfix was configured to sign messages using dkim-filter. Before update, everything was working flawlessly, now it fails ...