Questions tagged [postfix]

Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

Oracle Linux postfix conf SMTP - Default sender 'from' issue

How do I specify a default sender 'from:' address in postfix config for emails through smtp? I'm trying to send emails through SMTP and a relay from two different servers with Oracle Linux 8 The ...
user avatar
0 votes
0 answers
9 views

How to edit DMARC report message?

There is a mail server (postfix), which has DKIM, SPF and DMARC policies configured. All of them are PASSED, system works perfect. As an administrator, I receive these kind of letters everyday: ...
user avatar
  • 185
0 votes
0 answers
8 views

Cannot properly send email in MacOS via postfix

Telling story short. My MacOS version is: 12.4. In /etc/postfix/: In sasl_passwd i have: smtp.emailsrvr.com:587 <myEmail>:<password> In main.cf i have: # custom POSTFIX email sender ...
user avatar
0 votes
0 answers
29 views

Postfix: enable DKIM signing on local non-secure submissions to port 25

I have a Postfix server which accepts outgoing mail submissions from local network on port 587 (TLS) which requires authentication, signs them with OpenDKIM and they get delivered nice and clean into ...
user avatar
-2 votes
1 answer
29 views

Impossible to create an email address from the postfix admin

Good morning, I am doing a year-end project which consists in creating a postfix mail server, I arrived at the creation of emails except that when I want to create an impossble mail addendum I have ...
user avatar
0 votes
0 answers
30 views

understanding /etc/aliases file functions [duplicate]

I am trying to understand the "/etc/aliases" file in linux. What is it and how does it work. Can you give a very clear example with most needed details but in a simple language.
user avatar
1 vote
0 answers
21 views

Rate Limiting Outgoing via Relay Host

How do I get per domain rate limiting in Postfix? I have a Postfix server that's behind a relay host. The relay host is our MS Exchange bridge. The relay does not perform any throttling, nor will it ...
user avatar
1 vote
1 answer
28 views

What's required to let a domain send outbound emails from multiple domains?

Let's say I have: 40 outbound emails to send main domain - main_domain.com 4 separate domains-workers with Postfix - mail.my_postfix1.com...mail.my_postfix4.com Goal: send 10 emails via each of 4 ...
user avatar
  • 19
0 votes
1 answer
45 views

Postfix can send to everywhere except Comcast?

I have a VPS running CentOS that hosts a few websites with email. It's recently come to my attention that outgoing emails to @comcast.net addresses are not delivering. I've observed that these ...
user avatar
0 votes
1 answer
35 views

How can I store emails on an external drive with Postfix/Dovecot?

So I set up a a Postfix/Dovecot server on my Raspberry Pi, and I wanted to be able to actually store the emails themselves I have on an external SSD I have since my SD card is 32 GBs and my SSD is ...
user avatar
0 votes
1 answer
57 views

postfix + dovecot server successfully by client mail app problem to add account to this server

I need help to solve this problem. I setup a postfix and dovecot server and have some problems with the mail client. I can received the mail and reply from the postfix. Just cannot setup a mail client ...
user avatar
0 votes
1 answer
36 views

Postfix doesn't send emails until after systemctl restart postfix

I'm been trying to set up smtp postfix on Ubuntu 18.04. I've finally got it so that gmail recipients see SPF and DKIM pass (although it still ends up in the spam folder, not sure why?) However, when ...
user avatar
  • 111
0 votes
2 answers
92 views

Rejecting Email with Postfix smtpd_sender_restrictions

I'm having some trouble blocking email sent with a particular "From" address. The email header looks like this: From: "Levi Spammer" <lspammer@iamspammer.com> My postfix ...
user avatar
0 votes
0 answers
27 views

How to set up postfix to relay outbound mail only?

I have a postfix/dovecot server in Linode. However many times my outgoing mail is being rejected because Linodes IP's are on blacklists. To solve this issue I signed up to Amazon lightsail and created ...
user avatar
  • 1,477
0 votes
0 answers
36 views

Mail sent to root never arrives

If I send emails with echo "test" | mail -s "Test" myuser echo "test" | mail -s "Test" root /var/log/mail.log contains Apr 7 16:30:30 ScotLX postfix/pickup[...
user avatar
  • 13
0 votes
0 answers
8 views

Postfix: Getting a macro from ldap map and using it with an LDA

I want to use a mailbox defined in an ldap attribute. It's easy to resolve the mailbox from the email address with a simple query in an ldap map, but I can't figure out how to use that resulting ...
user avatar
  • 1
0 votes
2 answers
45 views

Disable postfix from emailing sender

We email customers their voicemails from no-reply@our-domain.com. I see that Postfix is trying to send out a lot of emails to no-reply@our-domain.com. I assume this is either delivery reports or ...
user avatar
0 votes
1 answer
126 views

Send-only SMTP mail via postfix rejected by relayhost (550-Please turn on SMTP Authentication)

I want to configure a Centos 8 machine to send emails via an external SMTP relay. (I control the Centos box and have no control over the external relay). I've read countless posts on how to set up ...
user avatar
  • 387
0 votes
1 answer
34 views

How do you use the `postconf -Me ...` option?

I'm trying to use the postconf(1) command to add a new entry to the master.cf file like so: $ sudo postconf -e -M 'submission/inet=private=n unpriv=- chroot=y wakeup=- maxproc=-...
user avatar
  • 2,315
0 votes
0 answers
71 views

Difference between smtpd_sender_restrictions and smtpd_recipient_restrictions

i've to block a sender of my mail server. if i put the address in sender restriction: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access,...
user avatar
  • 1
0 votes
1 answer
51 views

postfix dovecot mysql - I can send mail, dont see any new mail

I'm trying to rebuild a debian based internet mail server running Postfix + Dovecot using mysql as a virtual mailbox backend. The server turned into confetti after an update broke a lot of things. ...
user avatar
  • 93
2 votes
1 answer
108 views

Why would postfix/smtpd DNS lookup fail?

I am preparing a replacement for a 2 years old mail server — Postfix on Debian. The changes are: amd64 → arm64 Debian 10.2 → 11.2 Postfix 3.4.7 → 3.5.6 The configuration stays the same. When I try ...
user avatar
1 vote
1 answer
154 views

Dovecot - cannot move email out of inbox [closed]

Background ... I had an HDD go bad in an Ubuntu 20 server. I build an Ubuntu 20 server in a completely new machine, then moved as much as I could from the errored HDD to the brand new RAID. Part of ...
user avatar
0 votes
1 answer
51 views

grep locks up after searching thru spool/postfix

I'm trying to search for a text string inside a file on my server, with the command: grep -iRl "database_password" / BUT! it seems to hang itself after going thru postfix directories. This ...
user avatar
0 votes
0 answers
166 views

GMail woes: Error 550 5.7.1

I have a series of Inbound email servers and virtual domains that send out email via one smtp outbound server. We do absolutely no SPAMMING or Bulkmail of any kind. outbound server is Centos 7, ...
user avatar
  • 145
0 votes
1 answer
124 views

Rspamd Ratelimit doesn't work

I have set up my rspamd and redis server but the ratelimit doesn't work. The Rspamd speaks to Postfix and my log file doesnt show anything unusual. Even GTUBE works --> So, the spam protection ...
user avatar
  • 33
0 votes
1 answer
52 views

Postfix under fedora 35 does not show mail configuration menu

Following this guide for Fedora 35: https://gist.github.com/raelgc/6031274 sudo yum install postfix does not produce the following menu: General type of mail configuration: No configuration ...
user avatar
1 vote
1 answer
1k views

Upgraded Postfix and now seeing "discarding EHLO keywords: CHUNKING" in maillog

Upgraded Postfix to 3.5.8-2.el8 on RHEL 8.5 and started seeing below in /var/log/maillog: postfix/smtpd[7575]: discarding EHLO keywords: CHUNKING Reviewed main.cf and master.cf but can't see any ...
user avatar
  • 1,951
0 votes
0 answers
13 views

Is there a way to get spamassassin to block spam with format

Recently I've started getting a lot of spam that is being sent to an MX backup server and then forwarded to my mail server. I think this started because I blocked the spammer IP addresses in the ...
user avatar
  • 1
0 votes
0 answers
38 views

Whats the Interface between a Postfix server and a Mail Program?

I set up a postfix server and he works. I can send and get mails. As long as I send mails in bash over ssh on the server. But how do I send and get mails from a mail program e.g. Thunderbird. I know ...
user avatar
0 votes
1 answer
248 views

"mail" command works while in a bash script, but command is not found when using it in the CLI

I have postfix installed in my Linux machine as a send-only mail server and works great when I use the "sendmail" command. Recently I created an executable bash script to run as a daemon and ...
user avatar
0 votes
1 answer
34 views

How can I prevent postfix from resending messages from its mailq when restoring from backup (can I delete them before restart?)

I'm running a small application server (raspberry pi) with a btrfs subvolume as its root filessystem. This server has a simple postfix running to catch mails sent by the application and deliver them ...
user avatar
  • 331
0 votes
2 answers
105 views

Postfix cant fix open relay

postfix configuration: ~ # postconf -n | grep mynetworks mynetworks = 127.0.0.0/8 mynetworks_style = host smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject ...
user avatar
0 votes
0 answers
54 views

Postfix - Exclude user from sending and receiving to-from some domains

In postfix or dovecot, it's possible exclude an user from sending and receiving mail to and from some domains by creating a rule that the user cannot deactivate?
user avatar
  • 1
1 vote
0 answers
42 views

Dovecot - password query syntax error

Whenever Thunderbird attempts to connect to my server I receive an error in the maillog of dovecot: auth-worker(32527): Error: sql(admin,xxx.xxx.xxx.xxx,): Password query failed: You have an error in ...
user avatar
  • 11
0 votes
0 answers
237 views

postfix on centos 7 maildir delivery failed: create maildir file /home/testuser/Maildir/tmp/ : Permission denied

I'm trying to set up postfix on a centos 7 server. I've been following this toturial: https://netcorecloud.com/tutorials/install-centos-postfix/ Everything is looking correct and succesful, however I ...
user avatar
0 votes
0 answers
36 views

Roundcubemail - sending emails not working

I installed Roundcubemail from Github, version 1.4.8-complete (from this tutorial https://www.tecmint.com/setup-postfix-mail-server-in-ubuntu-debian/). I can check my emails via roundcube (from /var/...
user avatar
  • 41
1 vote
1 answer
158 views

Postfix 550 5.1.1 <usr@domain.tld>: Recipient address rejected: User unknown in relay recipient table;

I want to have postfix relaying mail to my dovecot, which is running on the same host. My users are defined in dovecot's passwd file under /etc/dovecot/users like this: usr@domain.tld:{PLAIN}pw.:10000:...
user avatar
  • 11
1 vote
1 answer
59 views

Postfix Null Client Settings

I would like to set up a Postfix null client, i.e. a mail server that sends but does not receive emails, on an Ubuntu 20.04 machine. I spent days trying suggestions from tutorials, the Postfix ...
user avatar
  • 71
1 vote
1 answer
140 views

During email delivery, how do MTA, MDA, POP/IMAP connect with each other?

I have already read Why use Dovecot AND Postfix/Sendmail?, Why use both Dovecot and Postfix?, Why use both Dovecot and Postfix? which give the general idea, but here I'm looking for more precise ...
user avatar
  • 2,163
1 vote
1 answer
100 views

Postfix thinks its on a read only filesystem?

I want to run some analytics on my mail.log (postfix 3.2.13 on Ubuntu 20.04 LTS) including updating a db of undeliverable emails, so I wrote script, excluded mail.log from the generic /var/log ...
user avatar
  • 4,295
0 votes
1 answer
571 views

Postfix error for office365: TLS library problem - wrong version number

I am trying to reconfigure a (currently working) debian 10 postfix configuration because we have moved to Office365 as SMTP server. The postfix mail configuration is only used for sending out mails ...
user avatar
1 vote
0 answers
137 views

Mailcow: mail for gmail.com loops back to myself

I have a dedicated server with Proxmox (previously with VMWare). There is a VM with Mailcow-dockerized installed. The interface on hypervisor vmbr0 is NATed (NAT on physical NIC with subnet 192.168....
user avatar
  • 31
0 votes
0 answers
47 views

How to setup postfix authorization to allow only certain users in a particular FreeIPA group to send mail?

I have an ubuntu 20 mail server with Postfix. How can I do the following? Use IPA for authentication to Postfix smtp server Only allow accounts that are memberOf a particular group to send mail
user avatar
  • 1
0 votes
1 answer
33 views

Postfix client configuration problem

I'm having an issue with a postfix relay, or more accurately a postfix client configuration. I have a postfix relay that works just fine and 2 machines that uses that relay to send mail through an ...
user avatar
1 vote
2 answers
1k views

Postfix: sending outgoing mail through port 465/587 locally

I've got a mail server set up using postfix, dovecot, opendkim, and spamassassin. After a bit of hassle, I managed to get incoming mail working--I even set this account up using that server. However, ...
user avatar
  • 31
0 votes
0 answers
223 views

Prepend message body with warning text on Postfix?

Due to internal policy, we need to prepend each external mail message with some text like "This is external message, please be careful". We're with Postfix now, so seems I need some extra ...
user avatar
  • 141
0 votes
0 answers
544 views

Postfix: 554 5.4.0 Error: too many hops

I've got a mail server set up using postfix, dovecot, opendkim, and spamassassin. After a bit of hassle, I managed to get incoming mail working--I even set this account up using that server. However, ...
user avatar
  • 31
0 votes
1 answer
382 views

Postfix: "Relay access denied"

I've been trying to set up a mail server, with dovecot, postfix, opendkim, and spamassassin. After some hassle I managed to get incoming mail working (I signed up for this account with the email!). ...
user avatar
  • 31
0 votes
1 answer
518 views

postfix : list of all email addresses accepted

I would like to know if there is a way, internal to postfix or external (script or other) allowing to know the complete list of all the valid email addresses accepted for reception of mail by a ...
user avatar

1
2 3 4 5
14