People who code: we want your input. Take the Survey

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
0
votes
0answers
8 views

Amavis and Spamassassin error with '.pre' files (using iRedMail)

I installed iRedMail which would install amavis and spamassassin. When I test sending and receiving email, I have an error in the /var/log/mail.log, I see this line of error: postfix/amavis/smtp[...
0
votes
0answers
16 views

Postfix started to fail, cant send messages, but can log

first of all, the server was working until now, and i dont even know why this started to fail, but since several hours, i cannot send messages between users, i bet its not a fail in the certificates, ...
2
votes
1answer
23 views

Posftwd is double counting emails when used with Posftix and amavis

Our Postfix mail server uses Amavis with spam assassin for spam and virus scanning. We have it setup in a way , postfix forwards mail to amavis and amavis then re queue the email back to postfix to ...
1
vote
1answer
32 views

Postfix rejects emails relayed from O365

I have to do a migration of Office 365 from Postfix with Sogo. My goal is to configure small hybrid of Office 365 with Postfix, a bit the same way you do with Exchange On-premises. Currently, postfix ...
0
votes
1answer
12 views

Postfix check_sender_access unused

I am running Postfix 3.3.0 on a host which acts as a mail server for a development environment. It therefore captures all mail as if it were local. But in order to make accessing the mails it has ...
2
votes
1answer
40 views

Postfix + Dovecot, Sieve execution flow and auto reply

I'm using Postfix and Dovecot LMTP on my server. My question is how do I create a silently discarding recipient address and respond auto reply? Also I want to learn Postfix and Dovecot execution ...
0
votes
0answers
25 views

451 4.3.0 Temporary lookup failure - iRedMail - Ubuntu Server

I'm new to this area and I configured an ubuntu server with iRedMail. It receives from gmail.com but when trying to send emails using PHPMailer (SMTP) I get the following error. Tried to figure out ...
-2
votes
1answer
84 views

Got Blacklisted By DNSBL Or Gmail

I’m trying to build a mail server, but when I tried to check the if TCP Port 25 (outbound) is blocked I got the following root@mail:~# telnet smtp.gmail.com 25 Trying 173.194.76.109... Connected to ...
0
votes
1answer
37 views

What's the number in square brackets, in the maillog for?

Here are some lines of my maillog. What are those numbers in square brackets telling me? Is that a pid for each individual email i get? So [11342] for example, belongs to the same message right? ...
1
vote
1answer
35 views

Set Postfix and Dovecot mail server to store emails as 'vmail:vmail' user group

Please advise how to set Postfix and Dovecot mail server to store incoming emails with owner user and group vmail:vmail while currently it stores them as the mailbox owner user and group. I tried to ...
1
vote
1answer
17 views

Postfix: how to use SASL authentication?

Hi I am trying to use a very simple sasl authentication. I have been testing the method here but still encounter error. my server is a fresh install server. And the command I run: # saslpasswd2 -c -u ...
-1
votes
1answer
25 views

mxtransport setting for postfix does not work

I have server with postfix. Because google did not liked my IP address, I did used external SMTP server for delivering emails. I setup check_recipient_mx_access and I know it worked "sometime ago&...
0
votes
0answers
22 views

Postfix relay emails with authenticated FROM address quickly and delay unauthenticated ones

I have setup a mailing server using iRedMail, and a web server with LAMP stack and postfix to relay emails via the mailing server + WP installation. Everything is setup correctly and working just fine....
0
votes
1answer
42 views

Postfix relay user if not found on local mail server

I have a particular need which seemed to be realizable with Postfix. I have 2 mail servers at my disposal. the first in a local linux server which is managed by Postfix with Dovecot the second ...
0
votes
2answers
36 views

ImapSync between Exchange 2007 and Linux Postfix/Dovecot server

After running imapsync between an Exchange 2007 and a normal postfix/dovecot Linux server (we're in the process of migrating FROM Exchange to an OSS solution), and seeing that the process ran ...
1
vote
0answers
133 views

Postfix recipient alias not found if the sender is not local

I've installed a Postfix-Dovecot mail server following a guide (How to Set Up an Email Server With Postfix, Dovecot and MySQL) that defines a simple setup with virtual mailboxes and a database that ...
0
votes
0answers
14 views

Implement Postfix Filter Loop Simple error “socket.error: [Errno 98] Address already in use”

enter image description here Fowllow this https://github.com/MiroslavHoudek/postfix-filter-loop to implement simple version of "Advanced content filter example" in http://www.postfix.org/...
1
vote
1answer
37 views

Postfix not sending emails to external domains from mailing client

I have just finished setting up postfix and dovecot on my virtual server. I am able to send emails to external email addresses from my Linux console using mailx but when I try to set up mail account ...
0
votes
0answers
22 views

How to permit SMTP authentication but don't permit system login?

I have set a postfix server that uses System user as email account. Initially, I set to have: usermod -L user1 But this prevents SMTP authentication in gmail. So I have this one instead usermod -U ...
1
vote
0answers
18 views

postfix transport to smtp or lmtp depending on LDAP attribute

In postfix, I usually route mails depending on "mailhost" attribute as follows: query_filter = (|(&(mail=%U@%d)(accountstatus=active))(&(mailalternateaddress=%U@%d)(accountstatus=...
1
vote
1answer
28 views

Restrict outgoing email from some subdomain to internal domains only using postfix

I am new to email servers and after some time and hard work I managed to configure a mail server, all the certs, all the ports etc... Everything is working really fine! And now I was requested to ...
-1
votes
1answer
29 views

How to renew wrong SMTP Openssl s_client certificate?

I dont know where openssl got the certificate but I am pretty sure I generated everything via letsencrypt certbot. Now, this command displays a wrong certificate CN: openssl s_client -showcerts -...
-1
votes
0answers
33 views

How can i configure Zimbra server to catch all incoming emails by another application

PICTURE FOR DESCRIPTION I created a Zimbra mail server on VM Ubuntu 16.04 with Virtualbox in my Ubuntu 20.4. Now I want to configure the Zimbra server to catch all incoming emails by another ...
0
votes
0answers
6 views

How to use a different relay host for forwarded emails

In virtual_alias_maps I have some aliases for the domains managed by my mail server, that redirect to a foreign mail server. So every mail that is sent to e.g. some.name@mydomain.tld is directly ...
0
votes
1answer
29 views

Postfix: Optimising order of spam checks?

I have a mail server (postfix v3.3) on a VPS running Ubuntu 18.04, processing both inbound and outbound mail (I have some websites sending mail, and some SASL auth users with accounts on the machine) ...
0
votes
1answer
12 views

postfix/sasl/pam (mysql) auth error

I've followed tutorial on http://flurdy.com/docs/postfix/ to set up an email server, and most of it works (after switching from Courier to Dovecot). Just not sending email through SMTP. Sending with ...
0
votes
0answers
16 views

Is possible to limit only outgoing mails using policyd-rate-limit?

Policyd-rate-limit limits all incoming and outgoing mails. Is possible to limit only for outgoing mails ? I tried to do something like that and it seems to work. Please give me any suggestion. main.cf:...
0
votes
1answer
17 views

Policyd-rate-limit for Postfix correctly configured but still wont work

I have tested policyd-rate-limit on my developer server and there is everything work correctly. But my production server wont work with policyd-rate-limit. My configuration: Postfix ( dev ) version: 3....
0
votes
2answers
109 views

Wouldn't setting the DNS server to 127.0.0.1 prevent my system from actually resolving remote hosts? I found this answer

Wouldn't setting the DNS server to 127.0.0.1 prevent my system from actually resolving remote hosts? My business email server has the DNS set to the ISP given DNS servers. My Spamassassin is giving ...
0
votes
0answers
38 views

Postfix Too many failures for the recipient

when I try to send an email from my personal email address (hosted externally) to a specific address on my own mail server (in this example name@myserver.com) the email is rejected and I get the ...
0
votes
1answer
27 views

Postfix qmgr[]: warning: connect to transport private/test: No such file or directory and mail transport unavailable

I added to Postfix the following options: master.cf: test unix - - n - - smtp main.cf: transport_maps = hash:/etc/postfix/transport_maps test_destination_rate_delay = 5s ...
0
votes
1answer
24 views

Policyd-rate-limit how to set limit outgoing mails for each individual sender domain

I am using policyd-rate-limit and it works only for global sending outgoing mails like that: limits: - [30, 600] Limit to 30 mails yb 10 minutes. And when I try to set limit for each user like ...
0
votes
0answers
14 views

If I have relayhost in postfix main.cf, how can I make local alias work?

So I have a postfix host that has relayhost and below configs, #myhostname = alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydomain = prod.1.com #...
0
votes
2answers
597 views

How do I prevent the SPF_HELO_NONE warning when sending from Postfix?

When using a tool like https://dkimvalidator.com/ to verify configuration of DKIM, SPF, DMARC, etc. for sending mail from a web server, I get a warning like this: 0.0 SPF_HELO_NONE SPF: HELO does not ...
0
votes
0answers
8 views

Postfix overwrite myhostname with custom one via main.cf

I'm using postfix. I'm trying to overwrite the config param myhostname, but for whatever reason it's always using the OS hostname. The OS hostname is linux.0fa738.com which I don't want. I'd want it ...
-1
votes
0answers
10 views

`mailbox_command = docker exec … ` gives me `/root/.docker/config.json: permission denied`

I have under main.cf: mailbox_command = docker exec .... When email arrives, it gives me: Command output: WARNING: Error loading config file: /root/.docker/config.json: stat /root/.docker/config.json: ...
0
votes
1answer
18 views

Postfix outbound mail not leaving the server (bounced)

I am setting up outbound e-mail for a new Centos 7 server, it just needs to send from PHP not receive. I've checked that port 25 is open and also listening on 0.0.0.0, which it is so netstat reports: ...
0
votes
1answer
25 views

How to use postfix to send emails via/as(?) a signed up user

This question may be a little vague, bear me with here, I honestly don't know what to even search for to get to the right answer. I'm playing around with Postfix. It's up and running, I can send ...
0
votes
0answers
16 views

Modoboa account name change broke my mailbox: postfix 450 mailbox unavailable

Background/How I got here I use modoboa to manage my self hosted mail. Originally I owned example97.com so I used me@example97.com as my email address and added *@example97.com as an alias, so that I ...
0
votes
1answer
21 views

Connect to private/dovecot-lmtp No such file or directory for postmulti Postfix

I have a second instance of Postfix and problem with connecting to to dovecot-lmtp socket. In the primary postfix instance everything is OK but for secondary one I have this information in logs: ...
0
votes
0answers
22 views

Postfix can receive, but not send, external mails (unknown user)

My postfix/dovecot configuration, running on Ubuntu 18.04, works perfectly locally. Also, my dovecot can receive mails from outside mails (For example, gauthier@mydomain.com can receive a mail from a ...
0
votes
0answers
23 views

Connection refused on SMTP port 465

I'm trying to open the 465 port to secure my postfix SMTP. But when I try to open, I execute telnet mail.example.com 465 Trying my.server.public.ip ... telnet: Unable to connect to remote host: ...
2
votes
2answers
101 views

Postfix “loops back to myself” only when trying to send to fallback relay

I have read the many answers to many similar questions, but have not found exactly this question or any answer that helped. I have a Postfix 2.11 server (mail-server.example.com) that is strictly for ...
0
votes
0answers
25 views

How to send copy message taking into account sender mail ( Postfix )

Is it possible to send copy of message taking into account sender address ? Example: if sender will send mail to my server using test.com domain then my server will forward email to original recipient ...
0
votes
1answer
28 views

What exactly happens in the “graphic setup” of postfix?

I'm following this tutorial on how to install and configure postfix, but using Ansible instead of a plain installation. Because of using Ansible, I do not get the following steps of the "...
1
vote
1answer
41 views

What role does /etc/mailname play in postfix?

I'm troubleshooting a postfix configuration, and /etc/mailname is often mentioned in this context. What exactly is its role? Does it in some way relate to postfix's myorigin/myhostname/mydomain config ...
0
votes
0answers
38 views

Postfix headers: Put FROM into REPLY-TO and change FROM

I've configured Postfix to use SMTP through another relay host. Now I need to change the email headers in order to be accepted by the relay host because the application which runs on my server is an ...
0
votes
1answer
28 views

Postfix - Connection timed out on port 2525

I am trying to send main with Postfix and Dovecot but I am always getting: May 10 15:13:41 3b15 postfix/smtp[21418]: connect to gmail-smtp-in.l.google.com[64.233.162.27]:25: Connection timed out May ...
1
vote
0answers
71 views

I'm looking for a way to configure distance clustering of postfix and dovecot

I currently have a postfix server and dovecot server sharing files from an NFS server in the UK and the same config in Switzerland. I tried to mailsync but that appeared to lose emails, so then I ...
0
votes
1answer
27 views

Postfix combine multiple checks

I am trying to configure Postfix to allow mail only if it is from a certain email, AND if it is from a certain server (google). This is my configuration: smtpd_sender_restrictions = ...

1
2 3 4 5
119