Re: How do check DKIM and SPF on incoming email?

2022-11-15 Thread support
@raf is right. if you have enabled opendkim and policyd-spf on postfix, that headers related to spf and dkim will be added automatically. regards November 16, 2022 at 8:09 AM, "raf" wrote: > > On Mon, Nov 14, 2022 at 12:33:02PM -0700, Bryan Arenal > wrote: > > > > > Hi there, > > > >

Re: How do check DKIM and SPF on incoming email?

2022-11-15 Thread raf
On Mon, Nov 14, 2022 at 12:33:02PM -0700, Bryan Arenal wrote: > Hi there, > > Is Postfix capable of checking DKIM and SPF records on incoming email > and adding headers based upon its findings? For example, an email > with a valid DKIM signature shows these headers sent to O365: > >

Re: Re: What happens if Postfix can't reach relay_host? - Postfix on laptops for system messages, with relay_host behind VPN

2022-11-15 Thread Viktor Dukhovni
On Tue, Nov 15, 2022 at 11:56:22PM +0100, r.barc...@habmalnefrage.de wrote: > So my idea might only work, if I use the LAN IP address (e.g. > 10.1.2.3) of the internal mail server as relay_host. If Postfix can't > connect to 10.1.2.3, it will probably retry mail relaying for some > days,

Re: Re: What happens if Postfix can't reach relay_host? - Postfix on laptops for system messages, with relay_host behind VPN

2022-11-15 Thread r . barclay
Wietse, Thanks so much for your quick and helpful response! It's an honor to talk to you! So my idea might only work, if I use the LAN IP address (e.g. 10.1.2.3) of the internal mail server as relay_host. If Postfix can't connect to 10.1.2.3, it will probably retry mail relaying for some days,

Re: What happens if Postfix can't reach relay_host? - Postfix on laptops for system messages, with relay_host behind VPN

2022-11-15 Thread Wietse Venema
r.barc...@habmalnefrage.de: > This leads to my question: What happens to laptop-locally generated > / received emails, if their local Postfix can't reach the relay_host > in the intranet? The Postfx SMTP client will retry delivery after a soft error (host or port not reachable) until the message

What happens if Postfix can't reach relay_host? - Postfix on laptops for system messages, with relay_host behind VPN

2022-11-15 Thread r . barclay
Hello, I'd like to install Postfix on our Debian Linux laptops to handle local system messages / notifications, e.g. from "unattended-upgrades" (like "dnf-automatic" on RH-based Linuxes) or from failed cron jobs. In our LAN we have an internal Postfix VM (not accessible from the Internet)

Re: check remote auth

2022-11-15 Thread Viktor Dukhovni
On Tue, Nov 15, 2022 at 11:59:30AM -0500, Viktor Dukhovni wrote: > > I'm wondering how others would do this. Is there a similar tool to > > check smtp auth like 'smtp-source' for stress testing? Or everyone has > > to come up with their own solution? > > You could try

Re: check remote auth

2022-11-15 Thread Viktor Dukhovni
On Tue, Nov 15, 2022 at 03:07:42PM +, Juan Smitt Jr wrote: > We frequently have to create relay rules to remote smtp servers using > username and password. > > Before we create the confguration, we always check the availability of > the remote server and port and we also try to check if the

Re: incoming log entries missing during peak arrival time

2022-11-15 Thread Viktor Dukhovni
On Tue, Nov 15, 2022 at 03:59:36PM +, Eric Wilkison wrote: > Syslog can drop the logs under heavy load. Look for these logs to confirm: > > xxx messages lost due to rate-limiting > > Add to rsyslog.conf to disable rate limiting (assuming your using imjournal): > >

Re: Postfix on unprivileged ports

2022-11-15 Thread Viktor Dukhovni
On Tue, Nov 15, 2022 at 01:12:49PM -0300, Christian Schmitz wrote: > I have a postfix server running for years, send and receive emails well with > another servers and the email clients ( kmail) are in the internal trusted > network. As a matter of existing best practice, submission of mail

Postfix on unprivileged ports

2022-11-15 Thread Christian Schmitz
Hi Everyone: I have a postfix server running for years, send and receive emails well with another servers and the email clients ( kmail) are in the internal trusted network. In the near future i will require use the from outside of company ( internet ) and i found that some internet services

Re: incoming log entries missing during peak arrival time

2022-11-15 Thread Eric Wilkison
Syslog can drop the logs under heavy load. Look for these logs to confirm: xxx messages lost due to rate-limiting Add to rsyslog.conf to disable rate limiting (assuming your using imjournal): $imjournalRatelimitInterval 0 $imjournalRatelimitBurst 0 Eric

Re: postfix/cleanup logs

2022-11-15 Thread Rob McGee
On 11/15/2022 2:25 AM, Fourhundred Thecat wrote: I have this option in master.cf for smtpd:   -o cleanup_service_name=anonymize-sender-ip and here it is defined:   anonymize-sender-ip  unix  n -    n    -    0 cleanup   -o

check remote auth

2022-11-15 Thread Juan Smitt Jr
Hi, We frequently have to create relay rules to remote smtp servers using username and password. Before we create the confguration, we always check the availability of the remote server and port and we also try to check if the provided username and password are valid. For this we are using

Re: incoming log entries missing during peak arrival time

2022-11-15 Thread Dhammika Gunawardena
Hi Thanks for the reply. OS : CentOS Linux release 7.9.2009 (Core) - VMWARE Virtual Machine, 8vCPU, 24GB RAM Postfix version : postfix3-3.5.8-1.gf.el7.x86_64 _postconf -nf _ alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases bounce_queue_lifetime = 0 command_directory =

Re: incoming log entries missing during peak arrival time

2022-11-15 Thread Wietse Venema
Dhammika Gunawardena: > Hi > > We maintain a private relay server to send ebills for a customer. > During peak sending hours, we miss about 5-10% of incoming messages but > outgoing messages are available. > We capture subject line in incoming message to track ebills. When > incoming messages

Re: incoming log entries missing during peak arrival time

2022-11-15 Thread John Stoffel
> "Dhammika" == Dhammika Gunawardena writes: > We maintain a private relay server to send ebills for a customer. Please send more details on your setup: OS, postfix version, "postconf -nf" output, etc. Give more details > During peak sending hours, we miss about 5-10% of incoming

incoming log entries missing during peak arrival time

2022-11-15 Thread Dhammika Gunawardena
Hi We maintain a private relay server to send ebills for a customer. During peak sending hours, we miss about 5-10% of incoming messages but outgoing messages are available. We capture subject line in incoming message to track ebills. When incoming messages are missing, we are in trouble.

postfix/cleanup logs

2022-11-15 Thread Fourhundred Thecat
Hello, I have this option in master.cf for smtpd: -o cleanup_service_name=anonymize-sender-ip and here it is defined: anonymize-sender-ip unix n -n-0 cleanup -o header_checks=regexp:/var/local/postfix/maps/anonymize-sender-ip and in