Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Why does the SpamAssassin not insert some headers?

Trying to configure SpamAssassin 4.0.0 with Postfix 3.7.10 on Debian 12. I'm using spamass-milter 0.4.0. My /etc/spamassasin/local.cf has the following entries: required_score 5.1 ...
thomson's user avatar
0 votes
2 answers
272 views

554 5.7.1 Relay access denied - cant send mails

I tried to upgrade debian from 10 to 11 and the everything got messed up. Im trying to fix postfix. I can receive emails but cant send. I get the error "554 5.7.1 Relay access denied" My ...
Anarkie's user avatar
  • 11
0 votes
1 answer
45 views

How can I convince postfix to send mail to my local maildir using dovecot lmtr?

I have installed dovecot and postfix on debian 12 and it is working but broken. I can connect to dovecot and see the existence of /var/mail/username/ on my server. My problem is simply that sending ...
Rich's user avatar
  • 183
1 vote
2 answers
96 views

alert certificate expired:../ssl/record/rec_layer_s3.c:1543:SSL alert number 45 when sending mails from the same server that hosts postfix

So, I have setup an smtp server using smtp in a Debian 11 machine. It works perfect when sending emails from my phone and my computer, but it does not work when trying to send emails from the same ...
Gottfried Rosenberger's user avatar
0 votes
1 answer
187 views

Not able to receive emails on Postfix

I installed a mail server with Postfix and Dovecot on Debian. I can send emails without worries to Outlook, Yahoo, ...BUT I can't receive emails from outside. I use my internet box (free) as a router. ...
MEZIANE Yacine's user avatar
1 vote
1 answer
123 views

Postfix: deliver mail in order

I’ve got a setup where ordering of eMails matters (passing commit messages to a Fediverse client which converts them to Markdown and posts them). On the sending side, I have my sendmail set up to ...
mirabilos's user avatar
  • 739
1 vote
1 answer
352 views

Unattended-Upgrade sends status e-mail to wrong address

I have a strange error that I cannot figure out myself. I want unattended upgrades to send a status e-mail to a certain address. But somehow it always changes the "to" field in that email to ...
xronin's user avatar
  • 11
0 votes
1 answer
93 views

postfix logging no the known defaults

Actually i overtook the administration of a mail cluster which uses postfix. And i was really confused when i saw the different loggings: one of the servers logs to a custom logfile, instead there is ...
germebl's user avatar
  • 11
1 vote
1 answer
1k views

status=deferred when sending a mail with Postfix on my VPS

I come here after having searched on the net and groped for long. I got a VPS on Debian 11 with the domain name leibnizproject.com and I want to send mails from it, with the command mail -s "test&...
Zlotz's user avatar
  • 11
0 votes
2 answers
893 views

Postfix: "relay access denied" for all incoming mail?

I'm attempting to setup a small mail server with Postfix, Dovecot, and MySQL (MariaDB) on Debian. I've also configured SSL with Let's Encrypt. So far I haven't setup rDNS, DKIM, DMARC, SPF, etc. - ...
St4rb0y's user avatar
  • 59
0 votes
0 answers
139 views

Connecting postfix to mysql with ssl

I've been trying to get the correct recipe of settings to allow postfix to connect to mysql where ssl is required. So far I have the following config that is not working: user = mysqluser password = ...
Aaron A's user avatar
  • 249
0 votes
1 answer
1k views

How to correctly configure OpenDKIM with Postfix on Debian 11?

The desired settings are to create a multi domain mail server. This is my main domain example.com and this is my subdomain: mail.example.com Taking the rDNS as the following verifications: hostname -f ...
J. Mick's user avatar
  • 101
0 votes
0 answers
38 views

is there a postfix relocation service?

since i am running out of disk space on my debian server, i bought a usb raid and mounted it in the system under "/raid". I now want to move the whole postfix email directory "/var/...
Max Muster's user avatar
2 votes
1 answer
590 views

How to change the default email address for the non-root user in postfix?

I have a user called admin (not root) and have setup everything under that user's account. I have also crontab that is meant to run a bash script at a certain time in the day. For some reason the ...
Houman's user avatar
  • 1,675
2 votes
1 answer
525 views

Postfix rejecting outgoing emails because of "Relay access denied." | "generic_checks: name=reject_unauth_destination status=2"

I am currently rolling out a Postfix/Dovecot configuration on our servers to replace our monolithic mail server. On the test enviroment I have everything set up and it worked there. Now I am rolling ...
spyro95's user avatar
  • 23
1 vote
2 answers
1k views

How to make Postfix listen on few IP addresses with correct certificates?

I've got problem setting up postfix to listen on few (3 actually) IP addresses, on port 25, using correct SSL certificates. Background: I'm using Debian 11, with Postfix (v 3.5.6 from repo)/Dovecot ...
Marcin Wilk's user avatar
1 vote
0 answers
1k views

Why systemd says that postfix failed, while postfix works perfectly well

We are using the postfix mta on a debian server. Everything seems to work well (mail is sent and received), except that systemd says that the postfix@- service failed: # systemctl restart postfix@- ...
manu5801's user avatar
0 votes
0 answers
670 views

Postfix won't connect to relay SMTP server

We have a Debian virtual machine and I want to use postfix and mailutils to send email via a relay SMTP server Trying to connect to the SMTP server with telnet works. telnet mail.sch.gr 587 Trying 194....
Dimitrios Dalagiorgos's user avatar
0 votes
1 answer
396 views

Postfix rejects incoming mails

Dec 13 15:14:11 raspberrypi postfix/smtpd[7702]: connect from mail-wm1-f52.google.com[209.85.128.52] Dec 13 15:14:11 raspberrypi postfix/smtpd[7702]: warning: connect to Milter service local:/opendkim/...
Pupaak's user avatar
  • 11
0 votes
1 answer
846 views

Postfix doesn't send mail

I am trying to learn about mail servers and am quite daunted by all of the moving pieces in the setup.. Currently I am unable to send via from my smtp server. I can receive mails fine from various ...
carlitobrigante's user avatar
0 votes
1 answer
112 views

POSTFIX: New mail server. Can neither send nor receive mail

I am trying to learn about mail servers and have setup one. However neither can I send, nor receive mail. I can login to my email account and I see the folders (Inbox, Sent, Trash, etc) are being ...
carlitobrigante's user avatar
0 votes
1 answer
587 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....
Macsurf's user avatar
  • 51
2 votes
2 answers
4k views

Debian - Postfix rejecting user (User unknown in local recipient table (in reply to RCPT TO command))

I recently have been moving from Centos to Debian. A few weeks ago I setup up a server with Postfix / Dovecot and it went fine. I'm doing the same again today but keep getting bounces with the error: ...
Kline's user avatar
  • 226
1 vote
1 answer
7k views

Why is sendmail not found?

I've just installed Postfix on Debian and am following this guide on my VPS. When I execute the command: $ echo "test email" | sendmail [email protected] sendmail: command not found Why ...
Glenn's user avatar
  • 45
-1 votes
1 answer
199 views

How do I set up a mail server in a mail subdomain? [closed]

Please forgive me, I'm pretty new at server admin tasks. I've just moved servers, away from my 'learning' VPS and am about to set up email on my Debian VPS. It'll the second time I've done this. Ever. ...
Glenn's user avatar
  • 45
0 votes
1 answer
73 views

Is it possible to receive email for aliases of multiple domains on a single KVM?

Tl dr; Is it possible to receive email for aliases of multiple domains on a single KVM? I had a Digital Ocean server with multiple websites hosted on it, and needed email aliases of more than one of ...
Glenn's user avatar
  • 45
0 votes
1 answer
315 views

Server IP spoofed and attacking

I have a server that has been reported as an attacker since January, finally today I found some information about these attacks, however none of the logs on my server shows anything similar. As a ...
spacebiker's user avatar
0 votes
1 answer
217 views

How would I set up Debian 10 and Postfix security for a limited send-only email setup?

I (me and my wife) run a small Debian 10/Buster web server with a few websites for friends and need to set up outgoing email. I've got to the point where I can send emails from the command line (echo &...
Dave Everitt's user avatar
1 vote
1 answer
2k views

Postfix: How to keep an email in the mail queue for further investigation?

Is there any way to keep an email in the Postfix mail queue for investigation/debugging purposes? I want delay the delivery and the email to be kept in the queue which let's me check it's contents. ...
manifestor's user avatar
  • 6,469
0 votes
1 answer
245 views

FusionDirectory : Sending an email with postfix and force html content-type

I'm not sure that's the way to do it but I'm trying to configure the "lost password recovery" on my FusionDirectory instance. I managed ton configure postfix on my server to use our (...
fearhack's user avatar
0 votes
1 answer
43 views

Postfix configuration troubleshoot

I have a mail server where I use Postfix and Dovecot. On this server I use ISPConfig for handling user mailboxes. I have now 2 main domains (mrtsolutions.it and geacloud.it). I have 2 mailboxes: ...
Lorenzo Martini's user avatar
4 votes
2 answers
4k views

Postfix cannot load Certification Authority data error

I'm trying to use postfix as gmail relay smtp parameters are smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd smtp_sasl_security_options = noanonymous ...
AndreaF's user avatar
  • 225
0 votes
2 answers
145 views

Postfix 3.4.10 bounced : said: 250 recipient <[email protected]> ok (in reply to DATA command))

I am having a problem since updating from postfix 3.1.12-0 + deb9u1 to 3.4.14-0 + deb10u1 I don't think it comes from the versions but rather from a problem of sequence of the commands sent <> ...
ArnaudW's user avatar
  • 21
2 votes
1 answer
1k views

How do I change the time zone for mail.log files?

I'm using Debian buster. I changed the time zone with timedatectl and restarted postfix and dovecot but log records in mail.log are still showing UTC time. How do I fix this?
StevieD's user avatar
  • 562
5 votes
2 answers
14k views

Postfix: Untrusted TLS connection established - How to solve this error?

I use Postfix in combination with Lets Encrypt to transmit TLS encrypted e-mails. The following parameters in /etc/postfix/main.cf are relevant: smtp_tls_key_file = /etc/letsencrypt/live/foo.bar/...
Gill-Bates's user avatar
0 votes
1 answer
410 views

Unknown warnings in mail.warn log file

still trying to setup (installation and security) my first server and today I found a few strange lines withing my mail.warn log file. Sep 8 17:41:48 jvps postfix/smtpd[7793]: warning: hostname ...
Moritz's user avatar
  • 111
0 votes
1 answer
2k views

Postfix SMTP Relay Connection Timeout (Mailgun)

I am trying to configure a Postfix SMTP relay to Mailgun services, but I keep getting a connection timeout error in my /var/log/mail.log when I try to send a test email. I used this step by step guide:...
memelords's user avatar
0 votes
1 answer
193 views

Postfix mail server & dovecot can send but not receive

Today i created a mail server with this tutorial : https://www.milbako.com/e-mail-avec-postfix-dovecot-et-mysql/ I can send mails (detected as spam, but it works), but if i send me an email from my ...
Matancy's user avatar
  • 115
3 votes
1 answer
6k views

OpenDKIM won't start: "opendkim: milter socket must be specified"

I'm trying to setup a server using postfix, dovecot, amavis and opendkim for signing. OpenDKIM won't start, here is the output of journalctl -xe, after stopping and starting opendkim: Jul 21 21:54:17 ...
UnlegitApple's user avatar
0 votes
1 answer
635 views

Why doesn't postfix start-fg populate /etc in chroot jail?

I've created a docker container that runs postfix in the foreground using postfix start-fg. It starts fine but is having trouble resolving hostnames, which I think is due to that /var/spool/postfix/...
Marcus Ahlberg's user avatar
0 votes
1 answer
243 views

Spamassassin don't check my mails

I've a problem on my debian 10 server. Spamassassin don't inspect my mail (I've check the headers and send mail spam tests from other domaisn) . The spamassassin daemon is running but something is ...
Guille GM's user avatar
2 votes
0 answers
5k views

postfix/postfix-script: fatal: mail system startup failed

In a Digital Ocean droplet with Debian 10 (buster), trying to set up postfix + dovecot email server. Trying to do postfix start: $ sudo postfix start postfix/postfix-script: warning: symlink leaves ...
Enrique René's user avatar
0 votes
1 answer
265 views

Where are stored my emails?

I am newbie. I created mail server thanks to the tutorial Everything works, but I want to make backup of my emails. I made mysql backup, but email are not there. I checked /var/mail/vhosts and /...
gongarek's user avatar
  • 105
0 votes
1 answer
1k views

Why did I block port 25 incoming on my webserver?

I'm currently in the process of setting up a new (Debian) webserver to replace a very old (Debian) webserver which I also setup years and years ago. I'm trying to "clone" the old webserver as much as ...
Zippy1970's user avatar
  • 289
-1 votes
1 answer
6k views

Postfix 3.4.9 SSL issues -- no shared cipher from servers using TLSv1

Edit 1: I've narrowed it down to TLSv1 that both servers listed below (no others have failed yet) are attempting to use. I'll be contacting their webmasters requesting they stop using an insecure ...
Chris B's user avatar
15 votes
3 answers
13k views

Postfix/postfix-script warning symlink leaves directory: /etc/postfix/./makedefs.out

I trying to get an email server up and running on a raspberry pi running Raspbian Buster. In my postfix checks I am getting a strange notification about a symlink that I definitely did not create ...
DanRan's user avatar
  • 93
0 votes
0 answers
48 views

Enable fail2ban to send out emails without installing too much extra software (like postfix) [duplicate]

I need fail2ban to send out email notifications to myself. It runs on a Debian 10 minimal install All of the tutorials I found simply install the full email packages like Postfix or Sendmail, and ...
ᴍᴇʜᴏᴠ's user avatar
0 votes
1 answer
2k views

DKIM/Postfix/Debian trouble: Postfix cannot connect to opendkim socket

Setup: Debian 10, postfix 3.4.7 and opendkim 2.11 (both installed from Debian's repositories). I followed Debian's instructions at https://wiki.debian.org/opendkim What looks like the culprit is the ...
Cal-linux's user avatar
  • 175
1 vote
1 answer
1k views

Postfix myhostname suggestion has trailing '.' Where is the bug? In dhclient, postfix or where?

After a minimal debian stretch installation using (debian-9.8.0-amd64-netinst.iso), where hostname is left at the default debian and domain was left empty, installing postfix fails because the ...
Peter V. Mørch's user avatar
0 votes
0 answers
157 views

My server is never used to receive emails (only send) how to block all postfix connection or spam attempt?

In the syslog file (debian) I have thousand lines like : Dec 3 10:38:59 vps277777 postfix/smtpd[593]: warning: connect to Milter service inet:localhost:12301: Connection refused Dec 3 10:39:00 ...
user2267379's user avatar

1
2 3 4 5 6