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" (content of main.cf) and/or "postconf -M" (content of master.cf)

learn more… | top users | synonyms

1
vote
1answer
24 views

Outbound emails not being signed with DKIM using Postfix on Centos

I have been using phpmailer for my emails and i had dkim working correctly with this. I have a key mail._domainkey.domain.com. I have validated my past emails with http://www.mail-tester.com/ and i ...
0
votes
1answer
30 views

What directory permissions does Postfix require to copy mail into a users maildir folder?

I have postfix setup and running. Everything seems good other than the directory permission errors. In the past i accidentally ran chown -R apache / which as you can imagine broke a crazy amount of ...
-2
votes
0answers
24 views

Postfix User unknown in relay recipient table

I've setup a postfix system, with virtual users, mysql, dovecot, clamd, phpmyadmin and postgrey. I'd like to use virtual alias instead of virtual users, so that, nobody can user their mail account on ...
-1
votes
0answers
28 views

Postfix won't authenticate through SMTP but SASL does

I've been struggling to setup a Postfix on my server and I think I'm so close. So far I managed to get a success out of testsaslauthd like this: # testsaslauthd -s smtp -u mehran@example.com -p 123 ...
1
vote
0answers
46 views

Unable to send email via Postfix SMTP via Mac Mail App

I installed a SMTP server with Postfix as mail agent (on Ubuntu 12.04). Config is as follow: $ postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no ...
0
votes
0answers
35 views

Mail spam error while sending mails using Gmail id via Postfix hosted on Amazon EC2 server

This issue is related to using my own SMTP server to send email by any user mail id like some other mail APIs do e.g; Amazon SES, MailChimp. I am using Postfix as a mail server for my applications. I ...
0
votes
0answers
20 views

How to monitor the postfix mail queue using monit?

Is there a way to monitor the postfix mail queue using monit? the available scripts just check, up/down/memory or CPU. I would like notices when the queue starts filling up. it would be nice to be ...
0
votes
1answer
53 views

Telnet: Unable to connect to remove host: Connection refused (Postfix - Ubuntu 14.04 VPS)

I have installed postfix following this tutorial but when I try to telnet mail.mydomain.com 110 (995,993,143 or 25) it throws the following error: Telnet: Unable to connect to remove host: Connection ...
0
votes
0answers
49 views

530 5.7.0 must starttls command first

I have installed postfix and davecot into my server. And I tried to test it to send email. But I got the error message: 530 5.7.0 Must issue a STARTTLS command first after telnet localhost smtp, ...
-3
votes
1answer
20 views

postfix check user database to prevent forged address

Please check sample spam mail Hello: We are facing problem with our mail server. We have two server for mail system, one is pop only (Dovecot installed) and another one is SMTP (postfix, amavis, ...
3
votes
1answer
86 views

Postfix reject_unknown_reverse_client_hostname: replace default unknown_client_reject_code (450) to 550. Why/When I should not?

In the daily battle against SPAM, there have been several times when I've been tempted to heavily enforce DNS requirements from clients connecting from the wild Internet. In detail, I would have ...
-1
votes
0answers
28 views

Trouble configuring postfix

I am trying to configure postfix to be able to send emails from PHP for development purposes. I just installed it following this guide. When I try to send mail to the virtual users I set up I don't ...
2
votes
2answers
40 views

Postfix header stating wrong IP

I am using Postfix 2.11.3 on Debian 8.0 I configured Postfix to run multiple instances (3), one for each public IP connected to our server in order to balance outgoing traffic depending on the ...
0
votes
1answer
21 views

Dovecot not used as LDA by Postfix

I try to set up a mail server on Ubuntu using Postfix, Dovecot and LDAP. So far I can send and receive mails with Postfix and can connect to Dovecot via telnet (port 143) with an LDAP user. As a next ...
-3
votes
1answer
37 views

What's the difference between postfix/smtp and postfix/smtpd

A bit confused when reading through the logs of my smtp/mail server, I'm turning this questions to you guys. In the maillog files I'm seeing entries for postfix/smtp as well as postfix/smtpd. I can ...
0
votes
1answer
50 views

Gmail bouncing postfix mail [duplicate]

I followed this tutorial to get email working on my VPS. I've been having problems sending email to Gmail. I can receive emails fine, but any mail that is sent to Gmail is bounced with the following ...
-1
votes
1answer
40 views

Telnet Port 25 responds via localhost but not remotely

I just set up Postfix + Dovecot on Ubuntu and it doesn't seem to behave 100% as expected. If I run telnet localhost 25, I get: Trying ::1... Connected to localhost. Escape character is '^]'. 220 ...
-2
votes
1answer
28 views

Mailserver force password change

Mailserver has been setup using postfix,dovecot,mysql,postfixadmin and squirrel mail. Is it possible to forcefully make an user change his password after certain days and also send an alert email ...
-1
votes
0answers
100 views

host says my server is sending spam, can mail headers tell me why?

My VPS host, linode is telling me that my server is sending spam. I'm pretty sure my server isn't compromised, but I'm wondering if I've left something open somewhere. The report from spamcop lists a ...
-1
votes
0answers
50 views

Postfix config on a VPS to prevent open relay, accept all incoming emails and require authentication for outgoping emails

I have a virtual private server on which I am trying to configure Postfix as an SMTP server. The server is remote and it is hosting multiple domains. I read some documentation, and various posts on ...
-1
votes
0answers
19 views

SMTP relay is showing host address in postfix message-id

We want to use a SMTP relay and completely remove the main servers details from the email headers. I have modified /etc/postfix/master.cf cleanup unix n - n - 0 ...
1
vote
0answers
24 views

Password mismatch in dovecot with postafixadmin

After many hours trying to set up a new mail server, I just can't figure out why the passwords which postfixadmin store are a mismatch with what dovecot passes for authentication. In postfixadmin, ...
1
vote
1answer
42 views

Why does adding /etc/mailname prevent amavis from adding X-spam flags?

Whenever I restarted my amavis process I encountered the message: Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory amavisd-new. I decided to add an ...
-1
votes
0answers
11 views

Blocking attachments in individual e-mail box

For a client, I want to block a certain e-mail box from receiving any attachments. The company uses Postfix. How can I achieve this?
0
votes
1answer
18 views

postfix cannot send emails [duplicate]

I recently migrated some sites from my old server to a new one with the same configuration on DigitalOcean. The sites working great except for the php mail() function that isn't sending emails. The ...
0
votes
0answers
12 views

Exclude HAproxy check from postfix log [duplicate]

I use HA Proxy to loadbalanced SMTP connection. Does it possible to exclude HAproxy check from postfix log ? This is a example of my mail.log : Jun 3 09:30:24 mail2 postfix/smtpd[6277]: connect ...
0
votes
0answers
19 views

just postfix config error or did I get hacked? [duplicate]

A few hours ago I noticed that my server is sending more mails than usual, I thought it was through a compromised account, so I changed the password of the account in question but the spam didn't ...
3
votes
1answer
20 views

Retaining recipient address when forwarding using postfix

I'm setting up postfix to forward e-mails sent to a domain to outside e-mail addresses. i.e. when I get an e-mail at philip@contoso.com it gets sent automatically to philip@example.com. That's working ...
0
votes
0answers
13 views

Postfix cannot create file [duplicate]

I have a custom postfix transport setup to handle certain incoming emails, like this in master.cf: emailpmbridge unix - n n - - pipe flags=FR user=xmail ...
1
vote
1answer
89 views

ansible command with_items

In ansible 1.5.4 the following command worked flawlessly: - name: Generate postfix dhparams command: "{{ item }}" with_items: - openssl gendh -out /etc/postfix/dh_512.pem -2 512 ...
0
votes
1answer
105 views

Boot time log: 'Failed to start Postfix Mail Transport Agent'

centos 7.1 postfix 2.10.1 After restarting server in /var/log/messages during boot time Postfix noted only in these 4 lines (all actions during 1 second): systemd: Starting Postfix Mail Transport ...
2
votes
0answers
85 views

Why would an SMTP client send a RSET (Reset) command?

I’m trying to understand how exactly an email is processed by Postfix – and some of the finer details of SMTP mail transactions. My short-term goal is to debug a proprietary (binary, closed source) ...
0
votes
0answers
29 views

Run script when postfix not deliver mail

I would like to run some script when postfix can't deliver e-mail (because of 5XX error, or is expired from queue). How to do it? I tried to rewrite bounce script(defined as bounce in ...
1
vote
1answer
61 views

OpenDKIM milter with Postfix

I just configured opendkim and postfix and it is supossed to be signing my emails but it doesn't. I used /usr/sbin/opendkim-testkey to test the keys and it seems to be ok with them but the mails I ...
1
vote
1answer
21 views

SMTP server for testing purposes with a few specific requirements [closed]

As our company started doing development work on their on-line product they used a gmail address for testing purposes, using '+' notation to deliver all test e-mails to a single mailbox. Over time ...
0
votes
1answer
30 views

Postfix E-Mail transfer doesn`t work - SASL Authentification failed

I want to use the postfix MTA to send E-mails from my Nagios monitoring system to the contacts. However, i get the follwing error, if a mail will be send May 28 16:20:29 op5-system ...
-2
votes
1answer
31 views

postfix & dspam “Daemon mode failed to start ”

I'm experiencing this issue on my postfix/dspam/dovecot configuration: May 28 12:35:59 mx01 dspam[1514]: Creating local domain socket /var/spool/postf ix/dspam/dspam.sock May 28 12:35:59 mx01 ...
0
votes
2answers
47 views

Postfix spam abuse [duplicate]

I have a terrible problem, my joomla website is being abused to massively send spam. I have no clue on what is actually happening, but my postfix mail queue is constantly filled with thousands of spam ...
0
votes
0answers
70 views

CentOS Postfix/Dovecot status deferred conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting

Linux Kernel: Linux 2.6.32-504.16.2.el6.i686 on i686 RAM: 6GB OS: CentOS 6.6 Postfix 2.6.6 Dovecot 2.0.9 Relay Host Verizon Stunnel through 127.0.0.1:2525 Webmin 1.750 Virtualmin 4.17.gpl Multiple ...
0
votes
0answers
60 views

Route postfix through different ISP/Gateway

Our network has 2 different gateways/ISPs, one with a dynamic IP used mostly for web traffic and SQUID and another with a dedicated connection and a static IP to handle VOIP and email. The network ...
0
votes
1answer
47 views

Postfix : How to reject sender addresses that don't exist only for local domains

On my Postfix I'm trying to reject senders that use fake addresses from domains managed locally. But I only want to perform the check for the local domains, not for every senders. So if example.com ...
0
votes
0answers
21 views

Postfix treat all outgoing main as external [duplicate]

I have a setup with two mailservers for the same domain. First mailserver is the primary server and is running Hmailserver, this server routes undeliverable mails to the second server (running ...
0
votes
0answers
65 views

Add Disclaimer using alterMIME and Postfix on CentOS Linux [duplicate]

I need to configure Postfix to add a .JPG signature on all outgoing mail. I run postfix on CentOS Linux 7. I followed the document on ...
0
votes
1answer
39 views

Postfix + php translating email addresses sent to local domains to something@localhost.localdomain [closed]

My first question here, if I don't provide sufficient info straight away, please take it easy on me with the downvotes ;-) I'm running a VPS hosted by afterburst.com with OpenVZ I installed and ...
2
votes
1answer
80 views

Add a custom header to Postfix with the relayed domain

I've got a Postfix setup that allows relays only from certain domains. I accomplish this using the relay_domains flag in main.cf and it queries mysql to find the list of allowed domains. ...
0
votes
0answers
18 views

DNS records for mail server [duplicate]

I've been toying with an old box I've got at home and decided it might be fun to set up a mail server. It's running a lightweight debian distro, postfix, and dovecot, along side a web server, PHP, ...
2
votes
2answers
38 views

Will adding an MX record for email forwarding conflict with an email provider like sendgrid

I'm planning on receiving email/forwarding email using postfix, but sending email using sendgrid. According to this tutorial, I need an MX record pointing to my machine - ...
0
votes
0answers
25 views

How to make Postfix SMTP TLS Optional?

Just did an [emergency] conversion from qmail to postfix last night - but now I'm getting people complaining that mail client errors are showing up stating "no available encryption methods available" ...
1
vote
0answers
39 views

Postfix/Dovecot multiple authentication backends

I trying to configure multiple sources on a postfix/dove server of all these: virtual_alias_maps = ldap:/etc/postfix/valiases.cf,ldap:/etc/postfix/useraliases.cf,ldap:/etc/postfix/groupaliases.cf ...
1
vote
1answer
77 views

IPtables drops all, but postfix still send emails

My iptables rules: # delete all current rules and user chains iptables -F iptables -X # global policy (target by default) iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP # ...