Rsync for backup Maildir

2022-11-13 Thread support
Hello I am using Maildir for mail stores. For data HA purpose I backup all Maildir to second server via rsync -az. In the second server I run the same software as main server such as postfix and dovecot. My question is, when main server is down, I change DNS records to point to the second serv

Re: Issue routing mail

2022-11-13 Thread Scott Kitterman
On Sunday, November 13, 2022 7:26:25 PM EST David wrote: > Folks > I'm noticing that two installations of Postfix: > version 3.4.13-0ubuntu1.2) on Ubuntu 20.04.5 > version 3.6.4-1ubuntu1 on Ubuntu 22.04.1 > are both failing to use the MX value for outgoing > mail. Specifically, sending mail to

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread raf
On Sat, Nov 12, 2022 at 11:53:06AM -0500, Paul Kudla wrote: > Ok I am popping email from an external server (aol etc) > > i get the proper email from address in the header's and resend all works ok > if i am popping local email > > ie t...@scom.ca --> p...@scom.ca postfix lets it go as is > >

Issue routing mail

2022-11-13 Thread David
Folks I'm noticing that two installations of Postfix: version 3.4.13-0ubuntu1.2) on Ubuntu 20.04.5 version 3.6.4-1ubuntu1 on Ubuntu 22.04.1 are both failing to use the MX value for outgoing mail. Specifically, sending mail to any...@sonic.net (forget that no such account exists) should be con

Re: command (octal?) strings caught in postscreen pregreet ?

2022-11-13 Thread Viktor Dukhovni
On Sun, Nov 13, 2022 at 10:49:46AM -0500, PGNet Dev wrote: > in postfix logs i see lots of these sort of entries > > postfix/postscreen[46378]: PREGREET 182 after 0 from [137.220.233.97]:33196: > \026\245\001\000\261\310\000\000\255\003\003'_\260T\362\266\255\001\370\255\037\003\000\334+\213\364

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Viktor Dukhovni
On Sun, Nov 13, 2022 at 11:19:16AM -0500, Paul Kudla wrote: > what exactly is it that you want Clear "postconf -nf" and "postconf -Mf" details of just the Postfix instance that you believe is doing unexpected rewriting. As well as the content of any relevant "tables" (header_checks files, canoni

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Paul Kudla
My apologies what exactly is it that you want do you want me to report this as a bug?? from what i have seen there is probably a config variable that needs to be set to stop the address from being rewriten. anyways i have already provided all of this Reporting problems to postfix-users@po

command (octal?) strings caught in postscreen pregreet ?

2022-11-13 Thread PGNet Dev
in postfix logs i see lots of these sort of entries postfix/postscreen[46378]: PREGREET 182 after 0 from [137.220.233.97]:33196: \026\245\001\000\261\310\000\000\255\003\003'_\260T\362\266\255\001\370\255\037\003\000\334+\213\364 the backslashed/numeric strings vary from message to mes

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Wietse Venema
Paul Kudla: > > Ok I tried to skip over this comment so . > > I am NOT making a mistake ... Postfix is defaulting to remapping the Perhaps you can follow simple instructions, as given my previous response. Wietse

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Paul Kudla
Ok I tried to skip over this comment so . I am NOT making a mistake ... Postfix is defaulting to remapping the sender address when the sender is outside my network (ie my users) and trying to be delivered local. that being said Please see : and this is a know fetchmail reported issue

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Wietse Venema
Paul Kudla: > > ok this is fair as i always ask for the same info when other people are > unclear. > > i have found various mapping functions via google none of which worked > or had no effect Then, you are making a mistake. Which mistake? TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_

Re: Postfix is Rewriting the email from address with the serveraddress when server from is foreign

2022-11-13 Thread Paul Kudla
ok this is fair as i always ask for the same info when other people are unclear. i have found various mapping functions via google none of which worked or had no effect rewriting email headers seems to be a work in progress internet wide as everyone keep's changing stuff when forwarding a