Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
0 answers
59 views

Postfix Mail being redirected to private inbox

I am relatively new to Linux, setting up servers and especially handling mail related things. I've bought a new domain and rented a VPS, which now hosts my website. I need a more open environment for ...
Brentspine's user avatar
0 votes
0 answers
14 views

Multiple Postfix Instances *without* postmulti

I have been running multiple instances of certain services (php-fpm, mysqld, httpd) and am now trying to do the same with Postfix. Searching online, I have so far only been able to find descriptions ...
user10709800's user avatar
0 votes
0 answers
37 views

Configure fail2ban to parse multiple log lines, e.g. Postfix mail rejects

I want to to block local authenticated mail users who generate spam, i.e. disable their SMTP access for a while as one of several countermeasures against hijacked accounts and malware. To accomplish ...
Jens's user avatar
  • 149
-1 votes
0 answers
34 views

Postfix virtual mailboxes with only one single domain

I have read the Postfix documentation for virtual mailboxes but I can't find methods for my use case, with is shared domains, both UNIX and non-UNIX accounts, because I only have one domain. But ...
ZP-ZPanda's user avatar
0 votes
0 answers
27 views

How to monitor users usage of GPG keys on company email server

I've been tasked to monitor our user's usage of PGP keys (ie: how many emails are sent/received using PGP). How can I go about doing this? We all use Ubuntu and the Thunderbird email client and ...
GodAtum's user avatar
  • 319
1 vote
0 answers
23 views

Postfix configuration to block spammer domain isn't working

I have an Ubuntu 22.04 cloud VM with Postfix 3.6.4-1ubuntu1.3 installed that I largely use for receiving e-mails sent to addresses at my personal domain that I provide when signing up for less-...
jwodder's user avatar
  • 117
0 votes
1 answer
99 views

Saslauthd service not starting after upgrade to Ubuntu 24.04

I stuck with not starting saslauthd service after upgrade Ubuntu to 24.04 (it runs along with Virutalmin). So i can't authenticate to smtp (cant send mails, but still can recieve) due to error: 454 4....
Tomasz's user avatar
  • 1
0 votes
2 answers
57 views

Not able to connect to MySQL from postfix

opensource community I am using Postfix, dovecot and Postfix Admin for my complete email setup I am using virtual users so I have installed postfix-mysql and dovecot-mysql Issue: My postfix service is ...
Sahil Pahuja's user avatar
0 votes
1 answer
41 views

(Postfix) set rate_delay for 2 sending domains to 1 receiving domain

Currently I own 2 sender domains aaa.com and bbb.com. The restriction is that: Each domain can only send one email after another with a delay of 200 seconds. Each domain can only send 100 emails ...
wrigamer's user avatar
0 votes
0 answers
64 views

postfix MTA seemingly benign I/O Error : postqueue fatal: output write error: Input/output error

I am getting the following message in my syslog exactly every 30 seconds. Everything is working but words like "Fatal" and "Input/output error" cause me an inordinate amount of ...
Paul Lemmons's user avatar
0 votes
1 answer
186 views

Can't receive messages in inbox of Thunderbird with Postfix and Dovecot

I have dovecot and postfix installed and working properly. I send messages to the server with postfix and Dovecot from clientnorbert@clientnorbert-1-2, with the email clientnorbert@ubuntumailsystem ...
Doujinx's user avatar
1 vote
1 answer
75 views

dovecot telnet localhost 143

I have problem with dovecot, when im trying telnet localhost 143 i got root@ubuntuserver:/etc/dovecot# telnet localhost 143 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection ...
Doujinx's user avatar
0 votes
1 answer
49 views

How to send email from smtp server1 to smtp server2 (Postfix) via client?

How to make server1 with postfix can send email to server2 with postfix by redirecting DNS query to it (type forward). These servers are on the same local network. Server1 is to receive a non-...
test1's user avatar
  • 1
0 votes
0 answers
33 views

Connection closed by foreing host - Postifx, Dovecot

2024-02-07T10:44:27.271322+00:00 ubuntuserver postfix/postfix-script[23192]: starting the Postfix mail system 2024-02-07T10:44:27.277625+00:00 ubuntuserver postfix/master[23194]: daemon started -- ...
Doujinx's user avatar
0 votes
1 answer
1k views

Dovecot - rcpt [email protected]: Failed to initialize user

I have an SMTP server: Dovecot as its IMAP server Postfix as its MTA OpenDKIM to sign the emails. When I send mail it throws this error: Jan 01 10:46:01 example.com dovecot[211047]: lmtp(219823): ...
Mohammed Baashar's user avatar
0 votes
1 answer
263 views

Postfix doesn't send mail; example.com loops back to myself & Connection timed out

I have Postfix on Ubuntu 22.04. I can only receive but not send emails. I have configured Postfix using How To Install and Configure Postfix on Ubuntu 22.04 tutorial from DigitalOcean. sudo tail -f /...
Mohammed Baashar's user avatar
0 votes
2 answers
169 views

How can set the order of name servers in LINUX?

This question is in context with the DNS queries by postfix MTA in Ubuntu OS. The issue I am facing is that I have two name servers one internal and one external. External DNS name server is added in ...
Ayush Gupta's user avatar
0 votes
1 answer
347 views

Milter Application Error Postfix Email Server

I am trying to sign the emails on my email server with opendkim but I am running against an error that I just can't seem to fix. The error I am getting is: warning: milter local:opendkim/opendkim.sock:...
Niels Koop's user avatar
0 votes
0 answers
373 views

How to upgrade postfix/dovecot/spamassassin/postscreen email server from Ubuntu 20.04 to Ubuntu 22.04?

I am running an Ubuntu 20.04 based LEMP Email server running Postfix, Dovecot, Postscreen, and SpamAssassin. I built the server using this Linuxbabe Guide, and followed the instructions and every ...
DanRan's user avatar
  • 93
0 votes
1 answer
216 views

How to set up the relayhost to send emails to other external SMTP servers using PostFIX?

I am currently configuring an SMTP server on OCI but have some doubts. I would like to send emails with my domain to external servers such as GMAIL, OUTLOOK, and others. I had configured the "...
Shinomoto Asakura's user avatar
0 votes
2 answers
93 views

Postfix : change email from unix_user@domain to a something@domain

I have two domains on a server, they are rarely used and they have 2 ubuntu users like domain1_user domain2_user and I want to associate email addresses like info@domain1 info@domain2 Obviously I ...
Marius's user avatar
  • 1
1 vote
3 answers
229 views

Postfix - Cannot run - update-ca-certificates -fresh

I just face an extensive Email service disruption at my work. During the incident, we had some postfix giving some errors concerning: Fatal: connect #n to subsystem private/rewrite: Connection refused....
pSyToR's user avatar
  • 113
0 votes
0 answers
21 views

Postfix 2nd domain

I have two postfix servers(virtual machines) on same host 1st domain = mail.xyz.org 2nd domain = mail.xyz.edu I want to send mail from 1st domain to 2nd domain. If i try, it gives error: Recipient ...
munishhh's user avatar
1 vote
1 answer
1k views

Troubleshooting SMTP and IMAP Configuration for Postfix Email Server on Ubuntu

I've recently installed Postfix and dovecot on my linux machine running Zorin OS 16.3(Ubuntu Based Linux Distro) to be able to host my own email server for my website. The server is port forwarded ...
Codrut's user avatar
  • 111
0 votes
0 answers
140 views

Dovecot authentication with hardware key ( yubikey )

Recently, I've been working on implementing hardware keys for authorization in dovecot/postfix and unfortunately, perhaps due to lack of knowledge, I wasn't able to implement it. From what I've seen, ...
Croxxy's user avatar
  • 1
0 votes
0 answers
51 views

"mail spamd[495361]: internal error, python traceback seen in response" on Ubuntu 20.04 when receiving email from gmail. How to debug and fix?

I am running Ubuntu Server 20.04 on a Raspberry Pi. It is set up as a web/email LEMP server. When I send an email from my gmail account to a an email address on my LEMP server, I get an error from ...
DanRan's user avatar
  • 93
1 vote
1 answer
450 views

Audit log emails not going to the correct address

On Ubuntu 20, I'm trying to send audit logs to [email protected]. I do have a real domain and email server but I'm redacting them here. When I trigger an audit event, the email is instead sent ...
J'e's user avatar
  • 75
0 votes
1 answer
1k views

How to set up a postfix relay server for Google Workspace(gmail)?

There is a need to make a relay server for the company's corporate mail. The need arose due to the presence of some google ip in the spam lists, and this sometimes leads to the fact that letters end ...
Tarik's user avatar
  • 1
0 votes
0 answers
219 views

Postfix block spam email address

I have an smtp relay server on ubuntu 22.04.Config below: main.cf(Postfix 3.6.4) # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name ...
Tarik's user avatar
  • 1
0 votes
1 answer
96 views

Postfix/Dovecot Not receiving external emails in Ubuntu 16.04

I have read all of the threads and can't figure out what is the problem. I can send emails. I can receive emails from my localhost and my other email names of the same domain, but I cannot receive ...
Don40's user avatar
  • 103
0 votes
0 answers
77 views

VPS - Sending mails fails on ubuntu via postfix

i have a VPS on Hetzner and struggling with sending mails. They says that block outgoing port 25, 465. I have tried to change postfix configurations to change the port for smtp to 587 but still unable ...
EAK TEAM's user avatar
  • 103
0 votes
1 answer
617 views

Send An E-mail To A GMAIL Address From Linux Mail Command Using Postfix As The MTA

I am a beginner in configuring mail delivery systems. Recently, orders came from the management that we need to send confirmation emails to our clients whenever they complete their applications (I ...
Minmin's user avatar
  • 1
0 votes
1 answer
170 views

Postfix to gmail relay - preserving the sender's address

Relayed emails come 'from' [email protected], not [email protected], so I cannot reply. I have several domains and am using Postfix to relay emails sent to [email protected] on to [email protected] as ...
Megalomatt's user avatar
0 votes
1 answer
450 views

iptables - port 25 not getting traffic even though default policy is ACCEPT and all rules are flushed

I am having a problem that's driving me up the wall. I have a server, where after several attempts at various iptable rules, I have flushed iptable rules and set default policy to accept. The output ...
arunkumar's user avatar
  • 121
0 votes
0 answers
201 views

Ubuntu 20.04 Server spamassassin/spamd "internal error, python traceback seen in response." No additional info. How to debug and fix?

On Ubuntu server 20.04, I am running spammassassin/spamd, postfix/dovecot. In my mail logs at /var/log/mail.log I am getting a spamd internal error, python traceback seen in response error as shown ...
DanRan's user avatar
  • 93
2 votes
1 answer
5k views

Ubuntu PostFix smtp.gmail.com Connection timed out / Network is unreachable

So, i have a postfix mail server set up, and when i run the following command: telnet smtp.gmail.com 25 ------------------------------------ Trying 142.250.147.108... Trying 2a00:1450:4025:c01::6d... ...
user avatar
0 votes
0 answers
137 views

Postfix can not open file in home directory

I am trying to setup email piping. I've created an alias that pipes the email to a php script where I can do my processing but I keep getting error Could not open input file: /home/domain/public_html/...
Whip's user avatar
  • 258
1 vote
1 answer
146 views

postfix logs showing ??? as command from client

I am running an Ubuntu 18.04.6 LTS server with the postfix 3.1.0-3ubuntu0.4 package. Both the Apple Mail client and the Postbox client experience a weird delay when first sending an email to the smtp ...
user1204270's user avatar
0 votes
0 answers
1k views

'FETCH' command with a 'BAD' response: Error in IMAP command FETCH: Invalid messageset (0.001 + 0.000 secs). on DoveCot IMAP Server

I'm hosting my webserver using postfix and dovecot. it works fine when i try to connect using my iphone and my macbook. I need to connect an external WebbApplication to get all E-Mails over IMAP ...
El-Salatinie's user avatar
1 vote
1 answer
854 views

Malformed BASE64 value in vmail_ssl.map.db

I'm using postfix in Ubuntu 20.04.5 . Here's my vmail_ssl.map file, with domain names redacted: mail.domain.org /etc/letsencrypt/live/mail.domain.org/privkey.pem /etc/letsencrypt/live/mail.domain.org/...
Valerica's user avatar
1 vote
0 answers
225 views

Getting Error 550 while sending a message (Postfix)

I have Ubuntu Server 22.04, Postfix, Dovecot, MariaDB and Roundcube Webmail. I’ve created two mailboxes: [email protected] and [email protected]. If I try to send a message to each other or to ...
Ilya Shmadchenko's user avatar
-4 votes
1 answer
3k views

SMTP send error Client does not have permission to submit mail to this server. The server response was: 4.7.1 : Relay access denied

This error comes on my server when I am sending mail outside my domain like to Google, Microsoft, etc. Below is my Postfix config file. # See /usr/share/postfix/main.cf.dist for a commented, more ...
Maanic Tech's user avatar
1 vote
1 answer
2k views

Postfix mysql warning: /etc/postfix/sql/mysql_virtual_alias_maps.cf: Permission denied

I am running postfix on an ubuntu 20.04 server. I am trying to fix some warnings in my /var/log/mail.err file I am getting the following: Aug 9 09:34:45 mail postfix/proxymap[281260]: error: open /...
DanRan's user avatar
  • 93
0 votes
1 answer
490 views

Blocking tor traffic with postfix or fail2ban on mailserver

I am running an Ubuntu 20.04 Lemp server, with postfix/dovecot. I have fail2ban set up so that if 2 unsuccessful loging attempts to my email are made by the same ip address, fail2ban bans the ip's ...
DanRan's user avatar
  • 93
2 votes
0 answers
302 views

Postfix SASL error: warning: unknown[xxx.xxx.xxx.xxx]: SASL LOGIN authentication failed: authentication failure

My use case is to use my own mail server to send emails from CCTV NVRs to overcome the daily limits imposed by GMail. The NVR has an option to setup authentication. The config worked for whitelisted ...
justanotherdev's user avatar
2 votes
1 answer
1k views

spamass-milter[1403]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results

I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi. Installed on it is postfix/dovecot/amavis/spamassassin. When I look at my mail.err logs by running the following command: cat /var/log/...
DanRan's user avatar
  • 93
0 votes
2 answers
2k views

"postconf: warning: /etc/postfix/main.cf: undefined parameter: mail" when running the command "postconf default_process_limit" in Ubuntu 20.04 Server

I am running an Ubuntu 20.04 LEMP Server. It is an Email and Web Server. I am having a puzzling warning in my postconf messages that I need help fixing. When I run the command postconf ...
DanRan's user avatar
  • 93
0 votes
1 answer
165 views

postfix loops back to myself email issue (was working before apt upgrade Ubuntu)

Everything was working normal till apt upgrade on Ubuntu 20.04 LTS, don't even remember what was upgraded, just routine, didn't change any config... I really tried to fix, searched, but I don't know ...
Yonathan's user avatar
  • 103
1 vote
1 answer
537 views

postfix removing body of bounced messages

I've noticed for messages that fail to deliver with postfix, the body of the message is removed. Here's an example (real emails replaced with temps): --5F54EFCA0A.1653443634/MYDOMAIN.COM Content-...
smaili's user avatar
  • 111
0 votes
1 answer
1k views

Ubuntu 18.04 - SMTP ERROR: Failed to connect to server: Connection refused (111)

I have this new error since 2 weeks on my server. I haven't touched the code or anything. I usually send mail trough PHPMailer, but I noticed Thunderbird won't work anymore also. I'm on Ubuntu 18.04 ...
Benoit Adam's user avatar

1
2 3 4 5
11