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)

-1
votes
0answers
8 views

How did I set up a mail alias on ClearOs 7?

A year or two ago, I set up some kind of mail alias on my ClearOs 7 server, so that mail sent to addressa@myserver.net went to me@myserver.net. Now I want to change where the mail goes, but I can't ...
0
votes
1answer
21 views

Don't use relayhost for a single domain (sender/from)

I'm trying to send one domain based on the sender (from) out directly to the mx of the recipient. However the following doesn't work: main.cf relayhost = ses.amazon.com ...
0
votes
0answers
44 views

EC2/EIP email flagged as spam

My company is delivering email out of an ec2 instance using Postfix, but messages are sent to the spam folder in all major providers (Gmail, Outlook, Yahoo). We have an EIP associated with this ...
0
votes
1answer
34 views

Merge ~/Maildir between two servers that use system accounts

I have looked at the following and didn't see a solution to my issue: Migrating from any IMAP/POP3 server to Dovecot Creating Dovecot Master users/passwords doesn't work Move Maildir safely on ...
0
votes
2answers
29 views

Postfix generic changes causing DKIM permerror

We have modifed the Return-Path: and Reply-To: sections of our email by doing the following: /etc/postfix/main.cf smtp_generic_maps = hash:/etc/postfix/generic /etc/postfix/generic bounce@...
-1
votes
0answers
17 views

Postfix modify List-Unsubscribe before sending

In our email source we need the List-Unsubscribe: section modified before forwarding the email. List-Unsubscribe: <http://tracking.relay.com/index.php/lists/ch551tp7yqefa/unsubscribe/jx79099njz2ad/...
1
vote
1answer
29 views

Postfix (Imap) with Dovecot: no auth available

I'm using Dovecot to get Imap access to my mail server (on Raspbian). I'm using system users and am able to successfully test logins (doveadm auth test ...). But I'm not able to get auth option via ...
0
votes
0answers
18 views

postfix to access user authentication for smtp

I have a postfix smtp server (on centos7) that is used only for outgoing emails within same network 10.x.x.x/x. There are couple of clients that doesn't need authentication and 3 others that need ...
0
votes
0answers
28 views

Postfix: fail2ban and iptables bans don't stop connections and authentication attempts

I'm running Ubuntu 16.04.6 LTS with Postfix 3.1.0 and fail2ban 0.9.3. Nowadays my /var/log/mail.log is constantly polluted with bruteforce attempts like this: postfix/submission/smtpd[2282]: connect ...
0
votes
0answers
26 views

Postfix - block by sender email domain ip

For some time now I receive a lot of spam emails. The emails are all different but if I lookup the domain of the email address it always resolves to the same IP address. So: xyz@domain1.tld -> ...
-1
votes
0answers
21 views

Postfix SMTP unable to connect with inet_interfaces = all

mydomain.com is my domain and 99.99.99.99 is my VPS IP. /etc/postfix/main.cf containts compatibility_level = 2 data_directory = /var/lib/postfix mail_owner = postfix myhostname = mail.mydomain.com ...
0
votes
2answers
52 views

Subject: status=bounced (Host or domain name not found. Name service error for name=e-address.myserver.com type=A:

I wanted to send a message using seamonkey mail but it didn't worked. The server is redhat 7.6 with postfix 2:2.10.1-7.el7. The Firewall are disabled on linux server. I'm giving you the following ...
0
votes
1answer
331 views

“unsupported dictionary type: pcre” postfix header_checks

I have the following header_checks in place on Postfix /^Received:/ IGNORE /^X-Originating-IP:/ IGNORE /^X-Mailer:/ IGNORE /Message-Id:\s+<(.*?)@www.mainserver.com>/ REPLACE ...
-1
votes
1answer
77 views

What does postfix do when receiving emails?

Okay, so here's the situation: I'm new to this, but after a few days of Googling I finally managed to successfully setup postfix on a server. I use two subdomains for email. The first subdomain is ...
2
votes
1answer
35 views

Rewrite email (RFC822) From address to match MAIL FROM (RFC821) envelope address postfix

I'm taking steps to harden my outgoing postfix SMTP server. I want to prevent users from spoofing their sender address. When sending email with postfix SMTP the sender is identified in three ways: ...
0
votes
1answer
18 views

Postfix relay through Mailgun not recieved in GMail

I've set up an Postfix server to relay email through Mailgun to Gmail. It took some puzzling by I managed to have e-mail from my workmail get relayed through postfix to Gmail once. However, subsequent ...
1
vote
2answers
85 views
+50

Dovecot / Postfix cannot allocate memory

i have an VPS with 8GB memory and running on Ubuntu 16.04.02 with Plesk Onyx. Since a while regularly the system crashes on dovecot and/or postfix. Dovecot version: 2.3.4.1-ubuntu16.04.19031416 ...
0
votes
0answers
33 views

Dovecot doesn't find mailboxes containing plus sign

I'm running a Postfix/Dovecot setup and some of my users use + signs in their addresses (not using the postfix recipient_delimiter). It's not possible to send emails to them, because the mailboxes are ...
0
votes
0answers
13 views

Ubuntu Postfix refuses SMTP connection after 12th time of successful connecting and sending email [closed]

I am sending emails through Postfix which is acting as a relay server - which is working totally fine. However, I can send maximal 120 emails in 60 seconds. After that I have to wait at least for a ...
0
votes
1answer
49 views

Prevent from being spoofed by sendgrid

Recently we received an odd mail coming from adress1@company.com to address2@company.com The problem is that address1 didn't send any email to address2. The email was sent using sendgrid. Sendgrid ...
0
votes
0answers
23 views

How to apply amavis for all local postfix senders?

I'm using Postfix 3.1.0 on Ubuntu 16.04 and am trying to get amavis to filter my outgoing mail both from sasl authenticated users and for mail forwarded from the server via procmail, using a policy ...
-1
votes
0answers
15 views

Blocking sender domain in postfix doesn't work

I tried to create a file with list of whitelisted and blacklisted people/domains. But it's not blocking the emails. There's this domain that keeps sending very annoying scam emails and I want to block ...
1
vote
1answer
24 views

Postfix combinations of TLS/STARTTLS and ports 465/587

I'm setting up a barebones Postfix mail server and have this observation: TLS works on port 465 STARTTLS works on port 587 TLS does NOT work on port 587 STARTTLS does NOT work on port 465 Is this ...
0
votes
0answers
16 views

Multi domain SRS for Debian?

How to set up SRS with multiple domains on Debian? I've tried postsrsd but it handles only one, hardcoded domain. I need something that handles many domains on one server (postfix + mysql setup).
0
votes
0answers
16 views

How to record failed ssh and email logins (usernames and passwords?)

I have a Debian VPS and I get a bunch of failed ssh/email (postfix, dovecot) login failures. In the logs I can see the username, but not the password. Is there a way to monitor both? Log examples: ...
0
votes
1answer
13 views

Postfix rate lintiing for locally sent emails

I want to use postfwd or similar to limit the hourly rate of messages outbound from a mailing list server on the same system. Since local messages are injected with postdrop and bypass smtp, no amount ...
0
votes
0answers
11 views

Postfix man.cf not setting smtpd_recipient_restrictions

Using newly built from source Postfix 3.4.5, nothing I do results in any values being given to smtpd_recipient_restrictions in main.cf. I believe I have the format correct, as it worked with a ...
0
votes
0answers
18 views

when I have multiple instance of postfix,how to send mail with specified instance with MUTT

I have Multiple instance of postfix in a server, how to send mail with a specified instance with MUTT. For example, use postfix-2(one of the instances) to send mail with mutt, not use the default ...
-1
votes
0answers
20 views

Postfix reject SPAM using FROM in header_check

I'm using postfix (3.1.12) and receiving spam with prevents to be sent from my email address to me. The trick the spammer does is to differ the FROM mail address and the from address in the DATA ...
0
votes
0answers
17 views

postfix outgoing smtp tls for some domains only

in a shared environment default value "smtp_tls_security_level=may" is may. but we have 3 domains that want to send out only tls secured mails. is it possible to select some of outgoing domains use ...
0
votes
0answers
23 views

how to setting BCC outgoing email for mulitple sender address to multiple address bcc with postfix

Hi i had the zimbra email server (using postfix for MTA system). I want to setting BCC outgoing email for multiple sender address to mulitple address bcc. I try follow step pre below URL on topic "...
0
votes
0answers
31 views

Postfix adding (root) after Sender Address Bounced Email

Postfix adds (root) after sender email address so it bounces. How do I remove the (root) after the email address? I'm using generic mapping and (root) is not part of the email address in the file. I ...
0
votes
0answers
35 views

amavisd-new: Disable a specific virus scanner for certain users (senders / recipients)

I am running a mailserver with postfix and amavisd-new. I use a clamAV virus scanner (with sanesecurity signatures). So far, everything is working fine. Now, I want to block emails that have an MS ...
0
votes
0answers
41 views

Postfix only forward catch all to stop spam

I have two catch all addresses set to forward to a gmail account and today i got a message from my hosting saying that they have blocked port 25 on my vps due to it sending spam out. how would i only ...
0
votes
1answer
27 views

My postfix server is rejecting my client: 4.7.25 Client host rejected: cannot find your hostname, [96.9.90.28]

My postfix host is rejecting my client with this message: 4.7.25 Client host rejected: cannot find your hostname, [96.9.90.28]. From the cli on the postfix server, I get this: root@civicrm:~# host ...
0
votes
2answers
79 views

How to test whether unknown user sent mail in postfix?

Good day to you all, today, I was setting up a postfix mail server. Everything works well: mails get forwarded from my server's mail address, me@server.com, to my personal email personal@external.com....
1
vote
1answer
28 views

PostFix+Dovecot: Case Sensitive Email Address

So I'm having a problem with my email server configuration. I setup my server using this guide. It works great my only problem now is that the email address is case sensitive. I understand why that is ...
0
votes
0answers
22 views

Mailserver push to gmail

I have a local mail server, running on my own custom domain. I have set it up as an alias in my gmail account, and use gmail to send and receive emails via said server instead of logging into it ...
0
votes
1answer
26 views

Postfix (Maia Mailguard) relayhost update ignored

I have a postfix mail server used in conjunction with Maia Mailguard, Amavis, and clamav for spam. I've upgraded the primary mail server and it has a new IP address. I change main.cf and transport to ...
0
votes
0answers
27 views

postfix catchall for multiple alias

I recently configured my mailserver. Everything is working for my accounts. I used the tutorial of Thomas Leister for setting up the Mailserver and the Database. Now I want to add different catchall ...
0
votes
2answers
42 views

How can I create a bounce email?

I run my own mail server, which (among other things) handles emails for one of my services. The service in question takes bookings and sends booking confirmation emails. The emails come from noreply@...
1
vote
1answer
47 views

Unable to receive mail from the amazon network

I currently have several servers at OVH including one that acts as a personal mail server. Postfix takes care of receiving the mails, but I have a problem for the reception coming from certain domains....
2
votes
1answer
76 views

Postfix forwarding [open relay]

Good day to you all. Today, I was setting up postfix on my CentOS 7 vps. What I want I would like my server/postfix act according to the following rules: Everyone on the planet should be able to ...
-1
votes
0answers
15 views

SASL auth authentication failed

I tried to connect to my postfix mail server through smtp auth. But log shows that SASL smtp auth failed:password verification failed . But i didn't change the password and everything works 2 ...
0
votes
0answers
38 views

Postfix master dead but pid file exists

I tried stop and start postfix process but when i call service postfix status it tells me that master dead but pid file exists. i tried delete pid file and restart postfix process. But result the same....
0
votes
1answer
62 views

Setup Postfix to catch emails received to a Java program

I would like to configure my PostFix server to forward every emails received to a Java instance, I found some virtual domain config but I don't know how to plug it to my Java instance. Thanks for ...
0
votes
0answers
15 views

Postfix/dovecot mail location doesn't effect

Well i tried to changed or fix issue or directory while receiving a new email, which i want to make the location to whatever the mail to be in that respective user's home dir mail folder. currently ...
0
votes
0answers
33 views

Why are out of office mails accepted by receiver when they bypass postfix smart host?

With internal recipients everything works great. Exchange 2010 Out of office mails are sent and received. For external recipients, out of office mails are sent OK but they are not accepted by the ...
0
votes
0answers
16 views

Postfix header conditional rewrite

in my mail server I have a mailbox me@mrtsolutions.it and an alias ciao@mrtsolutions.it which send all to me@gmail.com. Now when I send from user@gmail.com an email to ciao@mrtsolutions.it, I receive ...
0
votes
0answers
41 views

No signing table match for <user@gmail.com> in OpenDKIM configuratio

I have a problem with my opendkim configuration. I have the alias ciao@mrtsolutions.it that forward all to mymail@gmail.com. When I send email to alias ciao@mrtsolutions.it from me@mrtsolutions.it, I ...