New answers tagged

1 vote

OpenBSD 7.2: Mailbox file in users' home directory - use Postfix or stick to default sendmail?

Sendmail - mailbox location Sendmail does not deliver email to local mailboxes itself. Sendmail uses "local mailer" program/mailer. It is typically procmail program on Linux (or sensible-...
  • 5,968
0 votes

Postfix Sendonly Multiple Domains - smtp Auth for each domain?

What i have ended up doing. I setup Cyrus SASL. And created username and passwords in the format of user@domian to try differentiate them. But they are global user and pass and can send from any ...
  • 1
0 votes

Block spam mail from forwarded domain

I think I was able to solve it with body_checks # /etc/postfix/body_checks /domainx/ DISCARD The second file I edited was: # /etc/postfix/main.cf body_checks = pcre:/etc/postfix/body_checks Followed ...
  • 103
0 votes

How to disable "Sender address rejected:Domain not found" for a single Domain in Postfix

Basically there are 8 restriction access lists that can apply when receiving mail. See https://www.postfix.org/SMTPD_ACCESS_README.html . For each one which has an entry, you need to have a permit ...
1 vote

Postifix: use myorigin=$myhostname for local email and myorigin=$mydomain for trusted networks

Thanks to anx feedback I found the solution. The solution scheme According to Postfix official docs about rewriting, the master process tree is like the following: smtp --+--> cleanup --> ...
0 votes

554 5.7.1 Relay access denied postfix

The error message is exactly saying why it is not working. The MX Toolbox is trying to use your server as a relay and your server is not allowing relaying. If you want to be an open relay (which you ...
  • 31
0 votes

postfix + dovecot error: NOQUEUE: reject: RCPT from localhost[127.0.0.1]:

okay all good, basically i had to comment out some lines: /etc/postfix/master.cf: submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o ...
  • 11
1 vote

Postfix/Dovecot setup throws "User doesn't exist" despite virtual user existing

In Postfix's master.cf there was a setting I don't remember having made: -o receive_override_options=no_address_mappings This, according to Postfix documentation, does what its name suggests: ...
2 votes
Accepted

How to trace/find "lost" emails with log files and doveadm?

Users may sometimes complain that they have lost emails. The problem is almost always that this was done by one of the user’s email clients accidentally. Especially accidentally configuring a “POP3 ...
  • 7,354
0 votes

How to stop Postfix from adding an extra Recipient in email headers?

You must replace in your oscommerce the email.php and mime.php files found in the catalog/includes/classes and catalog/admin/includes/classes folders with a more recent version. Download a recent ...
1 vote

spamhaus sbl error 3.64.1.98 — configuration/replacement?

Stop permanently (554) rejecting mail because of transient errors (should be 4XX), right now. Think about further changes if and when you expect they are worth it. querying public resolvers The ...
  • 7,354
0 votes

Regexp header_checks in postfix for a match over multiple lines

It does not work like that, as documented man 5 header_checks (emphasis mine): Note: message headers are examined one logical header at a time, even when a message header spans multiple lines. Body ...
  • 7,354
0 votes

warning: mysql:/etc/postfix/mysql_virtual_alias_maps.cf lookup error for "root". error configuring MySQL lookups to a database on a remote server

Had the same problem (localhost server though). Turned out somewhere along the line localhost translated from 127.0.0.1 to ::1 in some update I ran. Hard coded 127.0.0.1 in all my *.cf files in ...
0 votes

Postfix change "From: " address when redirecting received email

I needed to rewrite from address from an external mailservice, as I would then redirect it to gmail. I had found that canonical has helped me do that. /etc/postfix/sender_canonical has a list of ...
  • 1
0 votes
Accepted

[Postfix]: check_sender_access: How to catch envelope FROM with brackets?

Solution: I solved this problem by using regular expressions (regexp) checks. main.cf smtpd_recipient_restrictions = check_sender_access regexp:/etc/postfix/sender_access sender_access # Exact match:...
0 votes

Postfix with external alias rejected

Sorry for the late answer. I believe I had the same issue today and I resolved it by using two fixes: configure pointer record with my server hosting provider, NOT in my DNS record. use postfix ...
  • 1
0 votes

Postfix: Reject mail based on From not matching the Received From

There is nothing wrong with the SMTP transaction using a different return address from the Sender indicated in the mail headers. However, if one of them matches the domain of the recipients, they have ...
  • 7,354
0 votes

Postfix + Dovecot with MySQL backend: md5-hashed passwords and CRAM-MD5 auth

Can't comment (and one post every 2 mins?!), but this needs to be said... Thank you so much for posting the details of what you did. It makes complete sense and a PostFixAdmin software update must ...
0 votes
Accepted

SSL Certificate not valid on SNI server - Dovecot/Postfix

SNI is still uncommon for mail. While some mail servers like dovecot support it, many mail clients don't. But no SNI used by the client results in the server sending some default certificate. Thus it ...
0 votes

Automatically discoverable mail server settings

Unfortunately, there's no standard for auto discovering email settings. For Thunderbird it's here: https://wiki.mozilla.org/Thunderbird:Autoconfiguration Outlook is a lot more complicated: https://...
  • 8,819

Top 50 recent answers are included