sender dependent relay host problem

2020-09-30 Thread Marko Horn
hello list, i want to seperate the sendout of mails for a specific doamain over 3 mailgateways i setup. it's a test scenario. in the main.cf i set an entry like this: sender_dependent_relayhost_maps = hash:/etc/postfix/lookups/relayhost/sender_relay sender_relay = @testdomain.de fs

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Wietse Venema
Demi M. Obenour: Checking application/pgp-signature: FAILURE > When a message is submitted using postdrop, Postfix is obviously aware > of which user submitted it, as it includes the UID in the Received: > header. Is it possible to use this information in a canonical(5) > table, or is a milter re

Re: sender dependent relay host problem

2020-09-30 Thread Wietse Venema
Marko Horn: > hello list, > > i want to seperate the sendout of mails for a specific doamain over 3 > mailgateways i setup. it's a test scenario. > > in the main.cf i set an entry like this: > sender_dependent_relayhost_maps = > hash:/etc/postfix/lookups/relayhost/sender_relay This table requi

Re: Rejecting messages based on recipient MTA''s IP address

2020-09-30 Thread @lbutlr
On 29 Sep 2020, at 11:46, J David wrote: > domains that have no email service, i.e., those domains > have A records in that range but no MX records at all. As we've covered recently omit eh list, the is no requirement to have an MX record in order to have a mail services. This might not matter t

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Demi M. Obenour
On 2020-09-30 10:08, Wietse Venema wrote: > Demi M. Obenour: > > Checking application/pgp-signature: FAILURE >> When a message is submitted using postdrop, Postfix is obviously aware >> of which user submitted it, as it includes the UID in the Received: >> header. Is it possible to use this infor

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Demi M. Obenour
On 2020-09-30 12:18, @lbutlr wrote: > On 30 Sep 2020, at 10:04, Demi M. Obenour wrote: >> while www-data can only send mail as majordomo, > > That will simply brea mailing list. Look at the headers from this message, > for example. Your policy on the postfox.org server would screw up this list.

Re: Rejecting messages based on recipient MTA''s IP address

2020-09-30 Thread Allen Coates
On 30/09/2020 15:58, @lbutlr wrote: > On 29 Sep 2020, at 11:46, J David wrote: >> domains that have no email service, i.e., those domains >> have A records in that range but no MX records at all. Question at a tangent:- Does the SMTP daemon resolve a destination if there is no MX record? All

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Wietse Venema
Demi M. Obenour: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > On 2020-09-30 10:08, Wietse Venema wrote: > > Demi M. Obenour: > > > > Checking application/pgp-signature: FAILURE > >> When a message is submitted using postdrop, Postfix is obviously aware > >> of whi

Re: sender dependent relay host problem

2020-09-30 Thread Marko Horn
hello wietse, --- Mitten drin statt nur Datei! Am 2020-09-30 16:12, schrieb Wietse Venema: Marko Horn: hello list, i want to seperate the sendout of mails for a specific doamain over 3 mailgateways i setup. it's a test scenario. in the main.cf i set an entry like this: sender_dependent_relay

Re: sender dependent relay host problem

2020-09-30 Thread Wietse Venema
Wietse: > sender_dependent_relayhost_maps requires HOST syntax. > sender_dependent_default_transport_maps requires TRANSPORT:HOST syntax. Marko Horn: > thanks for showing me the mistake in my configuration. > with 'sender_dependent_default_transport_maps it works. > > is it possible with postfix

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Jaroslaw Rafa
Dnia 30.09.2020 o godz. 16:35:37 Wietse Venema pisze: >With authenticated smtp submission, the envelope.from can be >constrained by smtpd_sender_login_maps. > >With sendmail/postdrop submission the UNIX login name can be >overidden with "sendmail -f". There is no code in Postfix to

Re: Accessing the sending user from a canonical(5) table

2020-09-30 Thread Demi M. Obenour
On 2020-09-30 20:32, Jaroslaw Rafa wrote: > Dnia 30.09.2020 o godz. 16:35:37 Wietse Venema pisze: >>With authenticated smtp submission, the envelope.from can be >>constrained by smtpd_sender_login_maps. >> >>With sendmail/postdrop submission the UNIX login name can be >>overidden wi