Questions tagged [postfix]

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` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

postfix mail bounces back with 5.0.0

im trying to setup posfix so i can send emails with a "free" domain name from http://freedns.afraid.org/. i can receive mails alright, but sending is a different story...the mail bounces back with ...
1
vote
0answers
19 views

Postfix connection refused

So I recently set up Postfix and Dovecot with SpamAssassin for my email server and I tried using telnet to test SMTP and on all SMTP ports (25, 465, 587), I receive connection refused. I've set IP ...
5
votes
3answers
6k views

Relay host based on destination MX record

I wish to set up Postfix to use an external relay depending on the destination hostname, ie: If destination hostname is *.outlook.com, use relay some_smtp.example.com If any other destination ...
0
votes
2answers
312 views

clamd socket error in conjunction with amavisd (used for postfix) on CentOS 7

I can't seem to figure out a problem after a few hours of trouble-shooting and looking for similar cases. Like ohter email servers in the exact same configuration, the affected one is based on CentOS ...
0
votes
0answers
22 views

How to configure iRedMail to send mail to Gmail without flagged as spam [duplicate]

Currently, I am using Amazon EC2 with Route 53 to control the Doman and DNS with my own server. I have successfully installed the iRedMail and everything works fine. The only problem is that sending ...
11
votes
2answers
19k views

Why is Postfix trying to connect to other machines SMTP port 25?

I get these errors: Jul 5 11:09:25 relay postfix/smtp[3084]: connect to ab.xyz.com[10.41.0.101]:25: Connection refused Jul 5 11:09:25 relay postfix/smtp[3087]: connect to ab.xyz.com[10.41.0.247]:25:...
0
votes
1answer
26 views

Security Related to Send-Only Postfix Server

New Ubuntu admin here, trying to enable the PHP mail() function on my server. I have it working, but am wondering if my setup is secure... My [full] mail solution is as follows: 1) For incoming mail ...
0
votes
3answers
1k views

CentOS: Unable to start Postfix after upgrade to version 3

We are running CentOS 7, and just upgraded Postfix to version 3. Postfix won't start after the upgrade. First, there is a compatibility issue in the log, but we resolved it as suggested (postconf ...
2
votes
2answers
2k views

Postfix doesn't require authentication for local emails?

I've got a Postfix/Courier mail server (Authenticated with SASL/MySQL) all according to this tutorial. I'm currently running my server on Debian 6, it is a VPS. It works well as far as I can see but I ...
0
votes
2answers
2k views

Postfix SMTP Authentication Failed

I've configure postfix for mandrill as follows in /etc/postfix/sasl_passwd [smtp.mandrillapp.com]:587 myusername:apikey then ran postmap /etc/postfix/sasl_passwd In /etc/postfix/main.cf I added ...
27
votes
4answers
24k views

“No worthy mechs found” when trying to relay email to Gmail using Postfix

I've been trying to configure email to forward to Gmail, using Postfix to relay email to smtp.gmail.com. However, I'm failing to get it to authenticate with smtp.gmail.com, which is a rather vital ...
0
votes
0answers
26 views

Is it possible for postfix to catch all for a domain (*@hostname.com) and forward to multiple email addresses? [on hold]

topic says what I need to do. Is this even a feature in postfix? Everything I looked into said you can only send to a single email address.
1
vote
1answer
2k views

Restrict relay with postfix to certain domain from single IP

In my company we're using Postfix as a relay for Google Apps SMTP server in a Debian server. Legacy machines like scanners forward messages to our relay server. How can i allow the scanner to only ...
0
votes
0answers
21 views

Postfix: Default action for content filter

Assuming an "Advanced after-queue content filter" setup /etc/postfix/main.cf: content_filter = scan:localhost:10025 Can a default action be configured, if the content filter does not accept emails ...
1
vote
2answers
1k views

Set up certs for multiple domains in Postfix and Dovecot

I don't know how to set up main.conf postfix config file and 10-ssl.conf dovecot config files in order to make my mail server capable to handle with multiple certificates. Let me explain... I have two ...
0
votes
1answer
30 views

How do I check for a DKIM-signature? (Postfix)

I'm running Postfix on my Debian client and I'm trying to setup DKIM. The problem I'm having is that the mails do not seem to get signed by DKIM. I'm using telnet to send an email from one local user ...
1
vote
1answer
36 views

Postfix does not pass mails to Amavis, when received from Z-push

Im kind of staring myself blind in how get ActiveSync to work correctly with my mailserver, so maybe anybody here have an idea? The deal is mailserver is hosting four domains and I want that all sent ...
0
votes
1answer
2k views

How to turn on Postfix to always send DSN for authenticated senders?

There is a problem with Mail program on MacOS. It hasn't option to ask for Delivery Notification (for example, inform that email was accepted by email server of recepient) and DSN messages never ...
0
votes
0answers
10 views

postfix advanced content filter with simple filter script, need SMTP client and server

The whole point of trying to setup content filtering is because I need to log the headers and body of every email going through postfix, not just SMTP. I set up simple content filtering which I later ...
0
votes
1answer
53 views

Can't Get Postfix to Use a Different Public IP for SMTP

Ubuntu 18.04 on DigitalOcean, Postfix 3.3.0 postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 content_filter = ...
1
vote
1answer
3k views

Office365 relay-POSTFIX-Authentication unsuccessful

Having issues setting Office 365 as relay in postfix yum install cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 sasl_passwd: [smtp.office365.com]:587 user@xompany.com:password main.cf: relayhost = [...
0
votes
1answer
27 views

How to whitelist a single ip in postfix [closed]

Little bit of information: i am running a proxmox host with multiple containers. one container in particular, was set up with iredmail/ombi. i can send and recieve mail to postfix externally just fine....
0
votes
1answer
1k views

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to ...
5
votes
1answer
82 views

Self-destructing recipient address on Postfix (rewrite recipient address)

I'd like to implement self-destructing e-mail address rules on my Postfix mail server. The idea is to have public address like this: john0220@mydomain.com where 0220 in the address means "February ...
0
votes
1answer
2k views

Add email recipient in header in Postfix

I have an email virtual alias in Postfix that forwards the email to another address: email1@domain1.com -> email2@domain2.com. The domain2.com is a catch-all that parses the email and sends it to a ...
1
vote
2answers
657 views

can I use multiple selectors for opendkim?

I have 4 domains hosted on a single server. Should I use 4 separate dkim keys or one for all of them? Also as far as selectors go do I need to use the one specified in opendkim.conf or can/should I ...
1
vote
1answer
944 views

Dovecot - Fatal: execv(/usr/lib/dovecot/imap-login) failed: Permission denied

I'm in the process of trying to set my own mail server reasonably closely following this guide: http://sealedabstract.com/code/nsa-proof-your-e-mail-in-2-hours/ I've just started to test the ...
0
votes
0answers
49 views

Postfix TLS unable to send (but can receive) mail

Using Roundcube (1.3.10) with Postfix (3.4.3) and Dovecot (2.2.36) on CentOS 7 VPS. I can login and receive emails, but I cannot send them. Trying to send mail results in it hanging: "Waiting for ...
0
votes
0answers
24 views

postfix dovecot avoid duplicate sendings from two different IPs but same computer, same sender/recipients, same subject & body

Is there a way to avoid duplicate sendings from two different IPs but same computer, same sender, same recipients, same subject & body ? I'm using a postfix/dovecot server to which one of the ...
1
vote
0answers
45 views

Does anyone have an explanation about one mail not delivered by Postfix? [closed]

Today I'm having a weird issue I can't explain. There's one mail who is not delivered but I don't know why. I'm using Postfix with a chain of filters. Every incoming mail should pass first by ...
0
votes
0answers
14 views

G Suite STMP Relay rejects correct IP address

I'm trying to set up relaying mail from a web server (running on the domain example.com) to my G Suite domain example.com. I have configured the SMTP relay services as follows in the G Suite admin ...
0
votes
1answer
1k views

Dovecot/Postfix - New e-mails doesn't show up in my inbox, even though ~/Maildir seems to be configured correctly?

first off, there is a very similar question to mine. I am aware of that, however the method the people on this thread presented unfortunately didn't work in the same expected way for me as it did for ...
3
votes
2answers
8k views

postfix: milter-reject: END-OF-MESSAGE from …: 4.7.1 Service unavailable (opendkim)

I configured OpenDkim to work with postfix and I'm getting the following error when I try to send mail out: postfix/cleanup[11542]: 40F271A291A: milter-reject: END-OF-MESSAGE from ***[***]: 4.7.1 ...
0
votes
1answer
65 views

Mail through virtual alias and alias bounced by spamassassin with user unknown

I have the following entry in /etc/postfix/virtual: v2@mydomain.org tibor@mydomain.org, tracking@works-organiser.com tracking@works-organiser.com tracking.tracking@localhost The following entry in /...
1
vote
1answer
49 views

Dovecot/Postfix Forwarding with spamassassin not working (status=bounced (user unknown))

On Debian 10 I've set up Dovecot and Postfix with Spamassassin working just fine, but when I try to set up forwarding to a remote e-mail with virtual alias, the message bounces. I tried both of the ...
27
votes
7answers
48k views

postfix - how do you redirect all emails to one user, eg *@example.com → user@example.com

I'm using postfix for my email. I know I can use /etc/aliases and newaliases command to redirect certain email, eg I can redirect root@example.com to user@example.com by putting root: user in my /etc/...
0
votes
0answers
145 views

Kopano LDAP unable to login when username has special character

Ok, so I currently have a Kopano server working with Openldap to manage logins. The problem I currently have is that if I decide to define a user's login as his email, I can't send a message via ...
0
votes
4answers
6k views

Postfix not receiving mails from outside the localhost

I've a Postfix + Dovecot set up in my Parabola (Arch based) installation. It looks like it works, I can send emails to any address and it works, and also receive mails but only from local addresses. ...
1
vote
3answers
2k views

Postfix relay from local network

I have problem with postfix relay sendind mail from local network. I receive next error Jul 9 23:00:46 ext1 postfix/smtpd[2301]: warning: inet_protocols: disabling IPv6 name/address support: ...
0
votes
1answer
93 views

Postfix - Use Address Rewriting to add specific recipient to all mail - can't use always_bcc

I am setting up a Postfix relay for one purpose - to add a specific email recipient to all emails being relayed through this server. I thought that I could use always_bcc, which worked, but the bcc ...
2
votes
1answer
2k views

Amavis not found by Postfix

I'm having this super annoying Postfix problem. I did a clean install of my web/mail/everything server and configured ISPConfig 3. Everything right now is working, except for Postfix. I can't send or ...
1
vote
1answer
2k views

Spamassassin logging

I have a Postfix, Postgrey, Spamassassin, amavisd-new, dovecot setup. When I send an e-mail through the system, the log file goes completely nuts. I can't find any info to explain what the log lines ...
0
votes
0answers
71 views

everything Pass but emails still go to the spam folder! I think it would be about hostname but not sure and don't know how to fix this

I checked too many topics and answers tested too many things! but can't find a solution to my problem. I'm a newbie user and maybe didn't understand some answers well. I need to fix this problem as ...
3
votes
1answer
110 views

Postfix instances sporadically processing other instances incoming emails

I have a server with Postfix multi instances setup on it, with each instance having its own IP: instance 1: example.com (root domain with mailboxes for bounce/fbl ad-hoc processing) instance 2: unsub....
4
votes
2answers
1k views

Postfix not communicating with opendkim

I want to setup automatic signing with DKIM for all outgoing emails. This ir virtual private server and hosts a single website. I have tried lots of tutorials on how to implement dkim email signing, ...
1
vote
2answers
30 views

Postfix discard not working properly

I have set up some bad phrases to look for inside the body_checks file. I'm not sure if I should post them here b/c of the nature of the words. An example of how I have it structured is like this: /...
4
votes
1answer
493 views

Postfix working as backend/local MTA

I'm in the process of configuring an email platform and I would like to clear some doubts that I have. When building this system I have 2 options: Have PHP doing the connections to my SMTP external ...
-1
votes
1answer
65 views

Email forwarding

We run multiple brands on multiple servers, and what we basically want is for Postfix (which I have set up and forwarding successfully) to forward on <username>@brand2.com to <username>@...
-2
votes
1answer
408 views

Not sending encrypted messages

My mail server appears not to send encrypted mail. Image of red padlock in Gmail indicating unencrypted It seems like most of the information/tutorials focus on setting up TLS so that a client can ...
0
votes
0answers
13 views

Postfix/Amavis X-Original-to: header wrong

In the mails I receive, I have X-Original-To: user@hostname.example.com instead of X-Original-To: some.alias@example.com I understand that the reason is that the header is overwritten by Amavis, ...