Re: use postfix over ssh

2020-10-10 Thread Ranjan Maitra
Hi Viktor, Thanks for your response! On Sat, 10 Oct 2020 19:31:09 -0400 Viktor Dukhovni wrote: > On Sat, Oct 10, 2020 at 04:04:30PM -0500, Ranjan Maitra wrote: > > > I have postfix running on both my home and office machines. I am able > > to send e-mail from my office machine (that uses my em

Re: Delivering to virtual_alias_maps only?

2020-10-10 Thread Viktor Dukhovni
On Sat, Oct 10, 2020 at 05:15:37PM +0200, Marek Kozlowski wrote: > Is it possible to accept mail if the recipients address is found in > virtual_alias_maps and reject in all other cases? Let's imagine I have > two entries for virtual_alias_maps: Following http://www.postfix.org/MULTI_INSTAN

Re: use postfix over ssh

2020-10-10 Thread Viktor Dukhovni
On Sat, Oct 10, 2020 at 04:04:30PM -0500, Ranjan Maitra wrote: > I have postfix running on both my home and office machines. I am able > to send e-mail from my office machine (that uses my employer's > mailhub, etc), but not from my home machine when using my office > e-mail address as the sender'

Re: use postfix over ssh

2020-10-10 Thread Ranjan Maitra
On Sat, 10 Oct 2020 23:36:28 +0200 Jaroslaw Rafa wrote: > Dnia 10.10.2020 o godz. 16:04:30 Ranjan Maitra pisze: > > > > I have postfix running on both my home and office machines. I am able to > > send e-mail from my office machine (that uses my employer's mailhub, etc), > > but not from my home

Re: use postfix over ssh

2020-10-10 Thread Jaroslaw Rafa
Dnia 10.10.2020 o godz. 16:04:30 Ranjan Maitra pisze: > > I have postfix running on both my home and office machines. I am able to > send e-mail from my office machine (that uses my employer's mailhub, etc), > but not from my home machine when using my office e-mail address as the > sender's addre

use postfix over ssh

2020-10-10 Thread Ranjan Maitra
Hi, I am not sure that this has a(n easy) solution or is even possible, but I thought that I would find out from experts because it has been difficult to search for the answer. I have postfix running on both my home and office machines. I am able to send e-mail from my office machine (that use

reject mail to all local system accounts

2020-10-10 Thread cody
How do i reject incoming e-mail's from remote servers to all local system accounts? I can list them in a map via smtpd_recipient_restriction but wonder if there is an easier way to do that. thanks, cody

Re: Delivering to virtual_alias_maps only?

2020-10-10 Thread Wietse Venema
Wietse Venema: > Marek Kozlowski: > > :-) > > > > Must be simple... but I missed it. > > The answer is in http://www.postfix.org/ADDRESS_CLASS_README.html. > > If you don't want to receive and deliver email for the local class, > set local_recipient_maps to empty, or set the local_transport to >

Re: Delivering to virtual_alias_maps only?

2020-10-10 Thread Wietse Venema
Marek Kozlowski: > :-) > > Must be simple... but I missed it. The answer is in http://www.postfix.org/ADDRESS_CLASS_README.html. If you don't want to receive and deliver email for the local class, set local_recipient_maps to empty, or set the local_transport to "error:email to this domain is not

Delivering to virtual_alias_maps only?

2020-10-10 Thread Marek Kozlowski
:-) Must be simple... but I missed it. I asked for it in the context on LDAP but I think I may simplify my question: Is it possible to accept mail if the recipients address is found in virtual_alias_maps and reject in all other cases? Let's imagine I have two entries for virtual_alias_maps:

Re: testing an LDAP lookup?

2020-10-10 Thread Wietse Venema
Marek Kozlowski: > :-) > > I can't find the answer in both: > > http://www.postfix.org/LDAP_README.html > http://www.postfix.org/ldap_table.5.html > > :-( > > Is there a way of testing an LDAP (alias_maps = ldap:...) lookup table > apart of the postfix. I mean: for some set of addresses I'm no

testing an LDAP lookup?

2020-10-10 Thread Marek Kozlowski
:-) I can't find the answer in both: http://www.postfix.org/LDAP_README.html http://www.postfix.org/ldap_table.5.html :-( Is there a way of testing an LDAP (alias_maps = ldap:...) lookup table apart of the postfix. I mean: for some set of addresses I'm not sure if the result is as expected a

Re: Sender restriction to reject message with multiple from addresses

2020-10-10 Thread Richard James Salts
On Saturday, 10 October 2020 1:59:33 PM AEDT Demi M. Obenour wrote: > On 10/9/20 9:48 PM, Viktor Dukhovni wrote: > >> What are the semantics of a From: header with multiple addresses? > > > > The message purports to be the work of multiple authors. Such a message > > is required to have a "Sender