Re: Using Postfix as a Backup MX

2020-03-31 Thread Linda Pagillo
Guys, I have another question. This is in reference to the response that Bob Proulx gave me. He said that, " One critical item is that the relay_recipient_maps must be kept in sync across all of the systems". Why is this critical? On Tue, Mar 31, 2020 at 1:58 PM Linda Pagillo wrote: > A huge

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Ranjan Maitra
On Wed, 1 Apr 2020 09:51:31 +1300 Peter wrote: > On 1/04/20 1:42 am, Ranjan Maitra wrote: > > On Tue, 31 Mar 2020 19:41:58 +1300 Peter wrote: > > > >> On 31/03/20 5:42 pm, Bob Proulx wrote: > >>> The "$vpn" part is a variable was simply a placeholder for the IP > >>> address of your VPN

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Peter
On 1/04/20 1:42 am, Ranjan Maitra wrote: On Tue, 31 Mar 2020 19:41:58 +1300 Peter wrote: On 31/03/20 5:42 pm, Bob Proulx wrote: The "$vpn" part is a variable was simply a placeholder for the IP address of your VPN connected relayhost. It would be an IP address like 93.184.216.34 but put in

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Bob Proulx
Peter wrote: > Bob Proulx wrote: > >iptables -A OUTPUT -o 93.184.216.34 -m tcp --dport 25 -j ACCEPT > >iptables -A OUTPUT -m tcp --dport 25 -j REJECT > > > > But replace 93.184.216.34 with the IP address of your VPN relay host. > > I simply used an actual address inorder to clarify the

Re: Using Postfix as a Backup MX

2020-03-31 Thread Linda Pagillo
A huge thanks to all of you for your valuable input. I appreciate it very much. I have considered the spam problem that I know will occur if I set this up. I was going to install Message Sniffer on the backup MX and use it in conjunction with SpamAssassin to try and block as much spam as possible.

Re: Using Postfix as a Backup MX

2020-03-31 Thread Ken Wright
Linda, I used LinuxBabe's instructions and have been completely happy with the results.  She has a way of explaining things, and it makes sense, at least to me.  I do recommend you either copy-and-paste her code snippets or pay especial attention when you input them; I accidentally put a period

Re: Using Postfix as a Backup MX

2020-03-31 Thread Linda Pagillo
Thank you! Yeah, the email is not in my sent folder and I did not receive any of the responses, not even in my Spam folder. Thank again for sending this my way. I will check it out. On Tue, Mar 31, 2020 at 12:37 PM Matus UHLAR - fantomas wrote: > On 31.03.20 12:03, Linda Pagillo wrote: > >Hi

Re: Using Postfix as a Backup MX

2020-03-31 Thread Matus UHLAR - fantomas
On 31.03.20 12:03, Linda Pagillo wrote: Hi gang. I could have swore I sent this to the list days ago, but no one responded and I can't find the email I sent in my sent folder which is completely weird. three people responsed and discussed. Check at https://marc.info/?t=15854488622=1=2 also

Using Postfix as a Backup MX

2020-03-31 Thread Linda Pagillo
Hi gang. I could have swore I sent this to the list days ago, but no one responded and I can't find the email I sent in my sent folder which is completely weird. Anyway... I have a few Windows-based mail servers. I would like to set up Postfix as a backup MX server for the Windows servers. I have

Re: pflogsumm error.

2020-03-31 Thread Matus UHLAR - fantomas
On 30.03.20 14:27, @lbutlr wrote: When running pflogsumm I am getting many error like this: Use of uninitialized value $domain in string eq at /usr/local/bin/pflogsumm line 1546, <> line 283375. Use of uninitialized value $domain in substitution (s///) at /usr/local/bin/pflogsumm line 1552,

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Ranjan Maitra
On Tue, 31 Mar 2020 19:41:58 +1300 Peter wrote: > On 31/03/20 5:42 pm, Bob Proulx wrote: > > The "$vpn" part is a variable was simply a placeholder for the IP > > address of your VPN connected relayhost. It would be an IP address > > like 93.184.216.34 but put in the IP address of your relay

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-03-31 Thread Viktor Dukhovni
On Tue, Mar 31, 2020 at 12:58:56AM -0700, Owais Khan wrote: > and is there any way i could exactly count sent mail from a particaular "from > id" other than pflogsumm utility. Perhaps you'll find "collate" useful: https://github.com/vdukhovni/postfix/tree/master/postfix/auxiliary/collate

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-03-31 Thread Dominic Raferd
On Tue, 31 Mar 2020 at 08:59, Owais Khan wrote: > and is there any way i could exactly count sent mail from a particaular > "from > id" other than pflogsumm utility. > To see postfix's log messages of some sort of refusal by gmail when relaying to it, use something like this: grep

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-03-31 Thread Owais Khan
and is there any way i could exactly count sent mail from a particaular "from id" other than pflogsumm utility. Thanks -- Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-03-31 Thread Owais Khan
yes it is G-SUITE domain. please tell me is there any way we could find out from witch id the mail is bounced on post fix. As i see bounced statuses and deffer-ed status but could not find the problematic mail id. Thanks -- Sent from:

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Tessa Plum
sorry just OT, my VPS has only IPv6 interface, can I deploy it as mail server? Thank you. Tessa Peter wrote: Actually it's an interface name (such as tun0), not an IP address:

Re: delaying postfix until/unless VPN is up/connected

2020-03-31 Thread Peter
On 31/03/20 5:42 pm, Bob Proulx wrote: The "$vpn" part is a variable was simply a placeholder for the IP address of your VPN connected relayhost. It would be an IP address like 93.184.216.34 but put in the IP address of your relay host that is only accessible when the VPN is up. iptables -A