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

2
votes
2answers
5k views

Postfix auto create Maildir

I've been beating my head against a wall for a while now on this one. Basically, here is the rundown: Our MX record points to a frontend SMTP server, which contains aliases for actually routing the ...
2
votes
5answers
1k views

Google marks seemingly perfect emails as spam

First post - was directed here from stackoverflow! The problem: Google marks seemingly correctly formatted emails from my apache/postfix server as spam. Sample email as follows; (I have replaced my ...
1
vote
2answers
139 views

Why do I have to manually copy /etc/services and /etc/resolv.conf into /var/spool/postfix/etc?

I encountered this problem with my Postfix install: https://www.virtualmin.com/node/23909 i.e. I was getting the error: postfix/smtp[130]: fatal: unknown service: smtp/tcp and like at the url ...
1
vote
1answer
375 views

How can I disable sending mail through postfix smtp with out auth

I just setup a mail server with postfix 2.6.6 and dovecot. I have the auth related config in main.cf like below: smtpd_tls_cert_file=/etc/httpd/ssl/mail.crt ...
1
vote
1answer
257 views

procmail is ignoring user settings

I use procmail for filtering emails in combination with postfix. procmail is triggered by postfix via the in the main.cf mailbox_command mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" but ...
1
vote
1answer
785 views

Wildcard aliases in postfix?

is there way to specify wildcard aliases in postfix virtual table? eg. support+*@foo,bar gets sent to support+*@bar.foo in this way i want to achieve that all mails with a ...
1
vote
1answer
4k views

Dovecot Virtual Users Not Authenticating

We have a standard Postfix/Dovecot installation working perfectly with real users but cannot work out how to add virtual users, all virtual user login attempts fail with authentication errors. ...
1
vote
2answers
1k views

Receiving emails on CentOS 5, Postfix

Here's the problem : Our server (CentOS 5, Postfix) can't receive mails, bat can send. Running tcpdump port 25 and sending an email from gmail shows that there are incoming request from gmail But ...
1
vote
2answers
2k views

Postfix - am I sending spam?

today I received like 30 messages within 5 minutes telling me that some mail I send could not be delivered, mostly to *.ru email addresses which I did not send any mail to. I have my own webserver ...
1
vote
3answers
4k views

How do I configure postfix to deliver mail for specified domains to another host, and deliver the rest using MX records

We currently have postfix handling emails generated by a number of apps. A number of these emails are destined for users inside the organisation, whose mail is on an Exchange server in the same site ...
1
vote
2answers
5k views

SASL + postfixadmin - SMTP authentication with hashed password

I'm trying to set up the mail server. I have problem with my SMTP authentication using sasl. I'm using postfixadmin to create my mailboxes, the password is in some kind of md5, postfixadmin ...
1
vote
2answers
3k views

Sending emails with postfix via port 587 on gmail

Since my ISP blocks port 25 I'd like to be able to configure postfix to send smtp email over port 587. Every time I try to send an email I see this in the mail.log Oct 17 10:37:49 new-host-2 ...
1
vote
1answer
192 views

What do I need to do to prevent exploitation of my postfix server?

I have a a web server that needs to send emails, but not recieve them. I have installed postfix (it came with nagios, also installed on this server) and now I need to make sure that my server does ...
0
votes
3answers
72 views

How to force a own set of ciphers in Postfix 2.11?

I would like to force a own set of TLS cipher suites rather than use the Postfix built in ones. My desired set of ciphers is (taken from nginx configuration): ...
0
votes
2answers
1k views

Using multiple “myhostname” in postfix

Does postfix allow to dynamically change "myhostname" ? I rtfmed a lot but did not found anything qualitative. My installation is a postfix multiple domain, multiple ip (tweaked in master.cf) and ...
0
votes
4answers
7k views

Postfix- open relay. How to configure so it is not?

I have setup Postfix but am having trouble with the setup. Whenever I used to send emails to the server, it reject my mails saying 'Relaying Denied', so I changed the following in main.cf: ...
0
votes
1answer
781 views

Postfix pipe to php and pass “to” email address as parameter

I setup a php piping for "incoming@mydomain.com" in my postfix configuration. Now, what I need is to pass the "rcpt to" email address to the PHP script as a command line parameter. Is it possible? ...
0
votes
2answers
1k views

Postfix - Is there a way to reject invalid authentication (even for mynetworks)?

I got a working postfix/dovecot configuration running with the following rule for recipients rejection: smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject This works ...
0
votes
3answers
2k views

postfix: catch outgoing mail and redirect

I'm trying to configure my postfix so all mail that goes through that has tld dev would be redirected to a root user, here is my config files: [alexus@wcmisdlin02 postfix]$ tail -1 main.cf ...
0
votes
2answers
3k views

Yahoo flagging mail as spam when using relay server

I'm using Postfix to relay mail from my site to my mail server. Mail is received properly at my Gmail and Hotmail accounts - only Yahoo is the problem. The Yahoo mail headers state: Received-SPF: ...
0
votes
1answer
4k views

Postfix: virtual_alias_maps delivering everything to one user despite new domain

I have a postfix installation handling mail for a couple of domains, for which all mail goes to one real local user (cmb), and I want to add a new domain (let's call it example.org) for a second user, ...
-7
votes
1answer
352 views

Postfix rejects php mails

I get errors such as Feb 11 05:45:07 htz postfix/sendmail[6465]: fatal: User web6(5006) is not allowed to submit mail Feb 11 05:45:56 htz postfix/sendmail[6466]: fatal: User web21(5012) is not ...
6
votes
2answers
6k views

Postfix Relay to Office365

I am trying to setup a Postfix server on a Linux box to relay all mail to our Office365 (Exchange, hosted by Microsoft) mail server, but, I keep getting an error regarding the sending address: ...
4
votes
1answer
3k views

modify the recipient address of an email on the file in the postfix queue

I have a few emails in my mailq which are bounced for a good reason, the email address is wrong. I was wondering if it is possible to modify the address of the recipient on the fly. I can see the ...
4
votes
1answer
905 views

postfix TLS configuration for incoming gmx-mail

I set up my mailserver with postfix 2.7.1 and dovecot 1.2.15 and everything seemed to work just fine, but now I found out that people using @gmx.net addresses cannot send emails to me and rather ...
4
votes
2answers
380 views

Creating a “fake” open relay to capture non-relayable outgoing mail with postfix

We occasionally have customer-provided servers in our technical support and engineering departments. They're isolated on their own VLAN, with strict firewall rules in place to minimize possible bad ...
4
votes
0answers
71 views

Postfix/Spam Prevention [closed]

How do I make Postfix reject all mails when the client is not authenticated and the sender is from my domain? Is there an easy way to do this?
3
votes
1answer
6k views

Why is Google rejecting mails forwarded from my Postfix server?

I've set up Postfix and created an alias that maps to a gmail account. When I mail from one of my own (google mail) accounts, it goes through, but if someone from the outside mails me, Google won't ...
3
votes
2answers
2k views

Authenticating to Exchange 2010 smarthost?

I have a postfix mail server that should relay all outgoing mail to an Exchange 2010 server (the Exchange box is my smarthost). I have administrator access to the Exchange 2010 system, but I'm not ...
3
votes
5answers
4k views

How do I setup a secondary incoming mail server?

I currently have a server running Debian 6, with postfix and dovecot handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and ...
3
votes
4answers
2k views

Use Postfix to forward mail to a domain to the same address at a different domain

Is there a way to configure Postfix to accept any mail for a domain (catch-all), and then forward that email to the same recipient at a different domain, ignorant of whether the recipient actually ...
3
votes
2answers
2k views

Postfix - specify interface to deliver outbound mail on

I need to be able to specify what interface Postfix will use to deliver outbound mail on. What I am doing is setting up an SMTP gateway to deliver mail from different, unrelated groups. I plan to ...
3
votes
1answer
5k views

Postfix Whitelist before recipient restrictions

Alright. Some background. We have an anti-spam cluster trucking about 2-3 million emails per day, blocking somewhere in the range of 99% of spam email from our end users. The underlying SMTP server ...
3
votes
5answers
531 views

Preferred mail system/server for a company?

Say you are responsible for setting up an email solution at a company. Which would be your choice? I know of the following options, but many of them not well: Gordano Mail System Exchange Exim ...
3
votes
5answers
441 views

Email Delivery To University Mail Servers (.edu emails)

I'm running an app at www.universitytutor.com which lets people find tutors. Most of the tutors are college students. We send out a follow up email 2 weeks after someone contacts a tutor to ask how ...
2
votes
1answer
305 views

cannot find postfix/mailx email in maildir, why not?

In a CentOS 7 development machine, I have configured postfix to allow emails to be traded between localhost addresses. Mailx is also installed. I am able to send email, and the log files indicate ...
2
votes
2answers
353 views

(Postfix + Dovecot) All emails to @aol.com being deferred

I'm running a dovecot/postfix mail server on debian and am having some issues. Everything is working fine except all emails to @aol.com are being deferred. The error code gave me: "The Reverse DNS ...
2
votes
1answer
252 views

How to route some email accounts of a domain with transport_maps to another MX if user doesn't exist locally?

The MX server in my domain example.com point to my Postfix server. However, I have also configured a Google Apps account responsible for emails of example.com. I want all emails to go to my Postfix ...
2
votes
2answers
1k views

Postfix Connection Timed out

I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting "Connection Timed out" when postfix/smtp tries to deliver an email to a remote host like gmail or ...
2
votes
2answers
761 views

postfix sending mails to unknown addresses

I was checking my munin tables and saw a huge list of deferred mails in postfix and looking into /var/log/mail.log gave me an idea: I am sending mails to unknown mail addresses: Dec 23 08:21:32 ...
2
votes
2answers
4k views

Emails going to Gmail's spam, DKIM and SPF are both set up correctly [duplicate]

I set up iRedMail on a VPS for personal email. Everything seems to work (emails can be sent/received), however when I send an email to a Gmail account, it goes straight to spam. In Outlook, it goes to ...
2
votes
2answers
9k views

554 5.7.1 <mail_addr>: Relay access denied centos postfix

I have problem in send mail from postfix in centos I have following setup mail server postfix for sending mail but I am getting error. As in the link I tried following commands telnet localhost ...
2
votes
1answer
139 views

Are these nameservers configured properly?

I'm caught in a technical war between two companies. One is a major email hosting organization. The second is a DNS provider called DNSMadeEasy. The problem: An email from an outside domain to a ...
2
votes
0answers
1k views

Rewriting sender address based on the recipient

I'm trying to set up my postfix server to alter the sender address of outgoing e-mails for one specific recipient domain (example.com) -- otherwise I'd just configure smtp_generic_maps in main.cf and ...
2
votes
2answers
929 views

Use different relay in postfix

In our application, we send different kind of mails. On a broad view we can generalize it in two category, Mails which monitor the health of the app. Mails which we send to end user. Is there any ...
2
votes
1answer
397 views

Postfix on IspCP cannot send to google apps mail if it is in the same domain

In my vps setup I have ispcp omega 1.0.7 installed. Everything works fine except the fact that postfix cannot send to google apps mail when the domain of google apps is also registered in ispcp. ...
2
votes
1answer
1k views

Postfix Add Custom Header Based on MySQL Result

I have a quick question about accessing a MySQL database via Postfix and adding a custom header to an email based on the result. So we have setup an Ubuntu server with Postfix which is using a MySQL ...
2
votes
5answers
2k views

Redirect specific e-mail address sent to a user, to another user

I need to redirect e-mail within our MTA when the two following criteria are both true: When an e-mail is: Sent from: user@isp.com Addressesd to: user@ourcompany.com Result: redirect e-mail to ...
2
votes
1answer
470 views

Logwatch without MTA/Postfix?

Is it possible to have Logwatch send daily emails without actually installing Postfix? I want to keep my server light and installing an MTA just because of Logwatch seems overkill. Or will I need ...
2
votes
1answer
6k views

Postfix + SASL = “Relay Access Denied” when sending from outside the network

I have in /etc/postfix/main.cf: smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination and SASL seems to be working: $ ...