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

2
votes
1answer
1k views

Postfix virtual alias domain matching with regular expression virtual alias map

Using Postfix (2.11.3) I want to redirect all mail to an external address. /etc/postfix/main.cf: virtual_alias_maps = regexp:/etc/postfix/rewrite /etc/postfix/rewrite: /^.+$/ hijacked@example.com ...
1
vote
3answers
362 views

Send mail at startup

I want to send a mail to myself at the restart of a server. We use AWS, and a restart results in a changed internal 10.x.x.x address. This address has to be configured in Postgres and elsewhere, and ...
1
vote
2answers
1k 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
23 views

Postfix - Delete queue for secondary installation?

I have installed multiple Postfix on the same server. To delete the queue for the main I run the following command postsuper -d ALL How would I do the same but for the second installation?
0
votes
1answer
76 views

CentOS 6 Cron Logging Without Postfix

On a CentOS environment I am setting up, I have no need for email of any kind. I would like to simply disable postfix entirely, however this also disables logging from cron which I do need to have. ...
3
votes
3answers
489 views

Installing Postfix conflicts with MySQL-server package

I had to install MySQL Server community on our server (team lead did not want MariaDB due to support or something). Therefor I removed MariaDB which in turn also removed Postfix. Now I need to ...
0
votes
1answer
246 views

Postfix - Modify header “Message-Id” twice

I am trying to do both of the following actions. However Postfix only changes the first Message-Id. With this example Precedence: bulk won't be added because it's at the bottom. ...
1
vote
1answer
488 views

PHP mail (using Postfix) send out to Gmail marked as SPAM

I'm totally new to "Email Systems" and it's concepts. I just use a simple email sending codes via PHP, like: mail("recipient@gmail.com","my header","my body"); I understand this is going through ...
1
vote
0answers
207 views

postfix sender mailaddress rewrite based on recipient mailaddress

I use postfix to send out mails to my contacts. Usually I use the info address for this and I've set a rule to rewrite my internal address into a valid mail address. So for example me@localhost gets ...
0
votes
0answers
162 views

Modify multiple headers before email gets sent out

I send emails through a PHP script and want to modify the headers of the following X-Mailer-LID: X-Mailer-RecptId: X-Mailer-SID: X-Mailer-Sent-By: I am not sure how or what to change them to ...
1
vote
0answers
82 views

Postfix relay - Remove all traces of main node domain

I am using mydomain.com as the central server and myrelay.com as one of my SMTP relays. I currently have the following set to convert the headers. /etc/postfix/header_checks /^Received:/ IGNORE ...
0
votes
1answer
442 views

How can I get dovecot to retrieve my email?

I am setting up an email server for my personal domain. There will only be one user (me). I am running a DigitalOcean VPS on Arch, everything is up to date as of yesterday. I have got postfix ...
1
vote
3answers
946 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 ...
0
votes
1answer
155 views

CentOS Postfix changing mail server

I've been using Postfix on my CentOS 6 Server on it's default install settings but I would like to configure it to use the mail server from my existing email. I altered the /etc/postfix/main.cf file ...
0
votes
1answer
107 views

How to install Splunk for postfix?

I'd like to have a dashboard accessible through my apache server which displays postfix logs. I found Splunk for postfix, but there is nowhere an Install instruction for it. Do I need a full ...
0
votes
1answer
75 views

postfix: what does /.+/ in pcre do?

I'm rewriting all sender addresses to one address in Ppostfix. main.cf includes this line: sender_canonical_maps = pcre:/etc/postfix/canonical_sender The file canonical_sender looks like this: ...
0
votes
1answer
209 views

Postfix virtual_transport vs mailbox_transport

Whats the difference between mailbox_transport key and virtual_transport key? In old examples I've seen virtual_transport used but it did not seem to work on my Ubuntu 14.04 system, whereas ...
1
vote
1answer
1k views

Postfix with smtp authentication failing

I'm currently in the process of updating my new server to do the same tasks as my original older server (new server is running Debian wheezy, old server is running Debian squeeze). The issue I'm ...
-1
votes
1answer
132 views

how to prevent cron job email splitting into multiple lines

CRON has emailed me the extract below : May 12 04:27:54 rpi postfix/smtpd[9343]: NOQUEUE: reject: RCPT from unknown[95.211.213.214]: 504 5.5.2 <WIN-HBAL58UG0JH>: Helo command rejected: need ...
1
vote
1answer
462 views

How to change the email address Postfix sends out as

I currently use Postfix on an Ubuntu machine that uses Nagios for monitoring. I'd like to change the email address that Postfix uses to send out. Postfix just relays all its email through our ...
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: ...
1
vote
0answers
132 views

Centos 6 and postfix: Internal emails deferred / telnet timed out from SSH

The problem is, that I have a VPS with centOS 6 installed, and I can send emails to anyone, but my own exchange server, Apr 29 11:50:30 amazonnet postfix/smtp[16535]: 2B6FF3CC49A: to=, ...
1
vote
0answers
210 views

Postfix/Dovecot import mail from Gmail

I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the ...
0
votes
0answers
108 views

Postfix problem with sending and receiving emails

I have had problems for one week with the email server Postfix. This came after running the antivirus ClamAV with the remove option on. When reading the mail log I keep getting the error message ...
1
vote
1answer
349 views

Postfix Mail Relay Server with TLS

I currently have Postfix set up on a Centos 6 server, as a simple forwarding service. Currently in /etc/postfix/main.cf I have set the following: smtpd_client_restrictions = ...
2
votes
1answer
183 views

Displaying emails with mutt

After being able to retrieve emails from an IMAP account on a remote mail server using fetchmail and POSTFIX as an MTA, I am able to see the emails in the spool folder /var/spool/mail/ghassan in a ...
-1
votes
1answer
1k views

Problems with postfix/dovecot unable to receive mail

Can't receive mail on my server but can send just fine. From what I can tell in the logs, it complains about timing out. I check the connection externally using telnet from my PC, I can connect to ...
2
votes
1answer
110 views

Postfix rejecting everyhing

For some reason postfix is rejecting sending mails and I can't get why. Here are relevant lines of what I used at the beginning: smtpd_recipient_restrictions = check_policy_service ...
2
votes
1answer
1k views

How to prevent bounce of SMTPUTF8 emails

After updating postfix to 3.0, emails with UTF-8 chars in there subjects, are stuck in queue, with the following error: SMTPUTF8 is required, but was not offered by host mail.example.com ...
1
vote
0answers
71 views

How to configure dbox mail storage format for a single mail account?

I'm using ldap database at backend and I want to configure my mail server such a way that one mail id i.e. info@domain.au will be stored as dbox format while other mails will be stored in maildir ...
1
vote
0answers
52 views

IMAP login not recognizing SASL while simple postfix send is

I've got SASLAuthd working (via LDAP), and am also successfully able to telnet via port 25 with my LDAP credentials. Postfix is configured with Dovecot. All 3 services are running fine (Postfix, ...
0
votes
1answer
71 views

Looking for an email server that supports mysql ssl connection

I am trying to secure connections to my MySQL server. I have SSL set up but I am looking for programs that support a SSL connection to MySQL. Specifically I am currently looking for an email server ...
0
votes
0answers
77 views

Postfix: Send bounce message instead of NOQUEUE/error code

So I know this goes against default behavior and is technically backscatter, but this is what I need to do: Instead of an invalid user being rejected early in the SMTP chat with an error like this ...
0
votes
1answer
342 views

Find all the PHP scripts with email in my postfix mail queue

How do I find all the scripts that have mail sitting in my postfix mail queue? This server is sending out spam and I've spot checked it, but I want to make sure I haven't missed any scripts that may ...
2
votes
1answer
43 views

Tool to list every e-mail detail sent from a server

Introduction: I have a specific problem with an Ubuntu server where some security leak allowed spammers to use the server to send e-mail. I fixed most of the problems (caused by some unsecured ...
1
vote
1answer
347 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
1answer
787 views

Ubuntu Postfix Open LDAP integration - no SASL authentication mechanisms

Ive followed all the steps in https://help.ubuntu.com/community/Postfix/DovecotLDAP but I am getting a localhost postfix/smtpd[12520]: fatal: no SASL authentication mechanisms in my ...
0
votes
1answer
89 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, ...
2
votes
2answers
109 views

Can't find emails retrieved by fetchmail

So I set up fetchmail to retrieve emails with IMAP from a remote mail server, I was able to run it. How can I know that it found any emails or not since I did send test emails to the account being ...
0
votes
0answers
1k views

Postfix alias for root not working in SUSE

First try I've set up multiple servers running Postfix. To get a general grasp of the state of the machine I usually redirect e-mail for root to my normal adress. I recently installed SUSE and ...
1
vote
1answer
312 views

Postfix Dovecot unix Error : missing '=' after attribute

According to multiple documents like https://help.ubuntu.com/community/Postfix/DovecotLDAP One of the configuration lines is: dovecot unix - n n - - pipe ...
2
votes
1answer
173 views

cron and at send mail to wrong user

I have cron and sometimes at on an ubuntu 14.04. jobs output should be mail to me, but failed. I make a .forward in my home dir. mail explicitly send to local unix user is forwarded to my corp mail ...
3
votes
1answer
1k views

How to search mail logs effectively with `RegEx`

I was looking for some advice and examples on searching mail log effectively Suppose situation is like this -------- Forwarded Message -------- Subject: Fwd: Re: Notice of Allowance Date: Fri, 13 ...
0
votes
0answers
184 views

Dbmail / Postfix Send mail to local adress

I have a FreeBSD Server with Postfix and DBmail. The mail system is working perfectly except for one thing: I cannnot send an email from domain1.com to domain2.com if they are both hosted on the same ...
1
vote
1answer
172 views

Postfix / Dovecot Mail appears in logs, but not in its respective folder

I'm currently trying to set up Postfix with Dovecot, but something does not seem to work the way it should be. For some reason, mails I sent to my mail account appear in the logs, but do not become ...
1
vote
0answers
97 views

Accept mails only for a certain address with Postfix

How do you configure a mail server to only accept mails on a certain address? For example, my mail server should only accept mail on example@myths.ops and not example@harpy.myths.ops. I've looked ...
1
vote
1answer
158 views

FreeBSD Reinstall postfix with mysql support

I have installed postfix using the ports tree without making modifications to anything. In my main.cf file i can't specify any 'Mysql:/' arguments because postfix does not have mysql support. Now i ...
0
votes
1answer
2k views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
233 views

postfix logs: SMTP sessions stopping after RCPT TO

I took a look at my postfix logs and I've noticed an odd occurrence lately: SMTP sessions that seem to end right after the RCPT TO, as such: postfix/smtpd[11333]: > unknown[XXX.XXX.238.86]: 220 ...
1
vote
1answer
11k views

Relay access denied when using SMTP to external recipients POSTFIX FREEBSD

i am trying to send an email with my freebsd server using postfix and dbmail to an external adress. I have noticed the following things: MYSERVER -> MYSERVER = OKAY EXTERNALSERVER -> MYSERVER = ...