[pfx] Re: sender_dependend_relay_host_maps and local recipients

2023-07-25 Thread Robert Senger via Postfix-users
Thanks Wietse, that works. Almost... Had to add "receive_override_options = no_address_mappings, no_unknown_recipient_checks" to make sure local recipients/aliases are preserved, and moved that to a separate smtpd port for that I use only for sending through external ESP servers. Now it

[pfx] Re: sender_dependend_relay_host_maps and local recipients

2023-07-24 Thread Wietse Venema via Postfix-users
Robert Senger via Postfix-users: > Hi Viktor, > > thank you. So, it's not possible to route email different when sent > from an authenticated user through port 587, than imcoming email sent > through port 25? This would avoid a loop, as far as I understand > things... Postfix routing does not car

[pfx] Re: sender_dependend_relay_host_maps and local recipients

2023-07-24 Thread Robert Senger via Postfix-users
Hi Viktor, thank you. So, it's not possible to route email different when sent from an authenticated user through port 587, than imcoming email sent through port 25? This would avoid a loop, as far as I understand things... I think I'll set up a separate instance for the external accounts in the

[pfx] Re: sender_dependend_relay_host_maps and local recipients

2023-07-24 Thread Viktor Dukhovni via Postfix-users
On Mon, Jul 24, 2023 at 03:53:17PM +0200, Robert Senger via Postfix-users wrote: > I have a few freemail accounts that I use mainly for testing and > special purposes. All those accounts are forwaring incoming mail to a > corresponding account at my ow server, like > "r.senger_@example.com". For s

[pfx] sender_dependend_relay_host_maps and local recipients

2023-07-24 Thread Robert Senger via Postfix-users
Hi all, I have a few freemail accounts that I use mainly for testing and special purposes. All those accounts are forwaring incoming mail to a corresponding account at my ow server, like "r.senger_@example.com". For sending, I've defined sender_dependent_relayhost_maps that relay all mail sent by

Re: local recipients and virtual aliases

2021-06-01 Thread Markus Schönhaber
01.06.21, 17:38 +0200, Wietse Venema: > Markus Sch?nhaber: >> Hi, >> >> given a postfix config like this: >> >> # postconf -n >> compatibility_level = 2 >> mydestination = example.com >> myhostname = f34-test.example.com >> >> If I try to send mail to notlo...@example.com with "notlocal" neither >

Re: local recipients and virtual aliases

2021-06-01 Thread Wietse Venema
Markus Sch?nhaber: > Hi, > > given a postfix config like this: > > # postconf -n > compatibility_level = 2 > mydestination = example.com > myhostname = f34-test.example.com > > If I try to send mail to notlo...@example.com with "notlocal" neither > being a system user nor being contained in the

local recipients and virtual aliases

2021-06-01 Thread Markus Schönhaber
Hi, given a postfix config like this: # postconf -n compatibility_level = 2 mydestination = example.com myhostname = f34-test.example.com If I try to send mail to notlo...@example.com with "notlocal" neither being a system user nor being contained in the alias_maps, it is rejected with "550 5.1.

Re: Change 451 Temp Lookup code to permanent 550 code for unknown local recipients

2019-03-03 Thread James Brown
> On 4 Mar 2019, at 4:40 pm, Viktor Dukhovni wrote: > > [ Just this once, I'm going to make an exception and send HTML email. It's > only >new content is colour added to two snippets of the original text. ] > >> On Mar 4, 2019, at 12:29 AM, James Brown wrote: >> >> 2019-03-04 15:52:00.949

Re: Change 451 Temp Lookup code to permanent 550 code for unknown local recipients

2019-03-03 Thread Viktor Dukhovni
[ Just this once, I'm going to make an exception and send HTML email. It's only new content is colour added to two snippets of the original text. ] > On Mar 4, 2019, at 12:29 AM, James Brown wrote: > > 2019-03-04 15:52:00.949864+1100 localhost smtpd[25337]: connect from > localhost[127.0.0.

Re: Change 451 Temp Lookup code to permanent 550 code for unknown local recipients

2019-03-03 Thread Pau Amma
On Mon, March 4, 2019 5:29 am, James Brown wrote: > Postfix 3.4.0, using Dovecot for SASL authentication and MySQL. > > I have set: > > unknown_local_recipient_reject_code = 550 > > But when an email comes through to an unknown user, a 451 Temporary Lookup > Failure code is given, not a 550: > > 20

Change 451 Temp Lookup code to permanent 550 code for unknown local recipients

2019-03-03 Thread James Brown
Postfix 3.4.0, using Dovecot for SASL authentication and MySQL. I have set: unknown_local_recipient_reject_code = 550 But when an email comes through to an unknown user, a 451 Temporary Lookup Failure code is given, not a 550: 2019-03-04 15:52:00.949864+1100 localhost smtpd[25337]: connect fr

Re: Local recipients ?

2015-06-10 Thread Jim Reid
On 11 Jun 2015, at 00:20, Timothy Murphy wrote: > Here helen.gayleard.com is the internal name of my server > (on which postfix and dovecot are running), > while mail.eircom.net is my smarthost. helen.gayleard.com does not resolve in the public DNS and mail.eircom.net is correctly saying this n

Re: Local recipients ?

2015-06-10 Thread Wietse Venema
Timothy Murphy: > How does postfix define local recipients? > I'm getting this error in /var/log/maillog > > Jun 10 20:25:14 helen postfix/smtp[6867]: 9C2A081968: > to=, orig_to=, > relay=mail.eircom.net[159.134.198.135]:25, delay=8696, > delays=8682/0.06/3.1/10,

Local recipients ?

2015-06-10 Thread Timothy Murphy
How does postfix define local recipients? I'm getting this error in /var/log/maillog Jun 10 20:25:14 helen postfix/smtp[6867]: 9C2A081968: to=, orig_to=, relay=mail.eircom.net[159.134.198.135]:25, delay=8696, delays=8682/0.06/3.1/10, dsn=4.1.0, status=deferred (host mail.eirco

Re: Local Recipients

2015-04-12 Thread Viktor Dukhovni
On Sun, Apr 12, 2015 at 08:17:50PM -0700, Postfix wrote: > How do I stop a local account from getting all email sent to a domain? Wrong question. The right questions are: * What did I do to cause all mail for a domain to be sent to the same account? * What relevant configuration

Local Recipients

2015-04-12 Thread Postfix
Hi, How do I stop a local account from getting all email sent to a domain? For example, there is one address in virtual o...@mydomain.com However anything sent there like two@ or three@ will still get delivered to one@ I looked at Configuring local_recipient_maps in main.cf but the manua

Re: Restrict some users to local recipients only?

2013-02-15 Thread Jeroen Geilman
On 02/14/2013 12:23 AM, Patrick wrote: > I have a customer who would like to configure the Postfix server he uses > such that certain users can only send to local users. Use a restriction class that implements this; examples are included here: http://www.postfix.org/RESTRICTI

Re: Restrict some users to local recipients only?

2013-02-13 Thread Patrick
Hi Dominik, I believe envelope senders is what he's wanting, though SASL authenticated users could probably work, too. Patrick On Tue, Feb 12, 2013 at 4:31 PM, Dominik George wrote: > Hi Patrick, > > > I have a customer who would like to configure the Postfix server he uses > > such that cert

Re: Restrict some users to local recipients only?

2013-02-12 Thread Dominik George
Hi Patrick, > I have a customer who would like to configure the Postfix server he uses > such that certain users can only send to local users. I'm wondering if > there are any built-in facilities for restricting which delivery agents can > be used by particular users? (Or some other clever way of

Restrict some users to local recipients only?

2013-02-12 Thread Patrick
I have a customer who would like to configure the Postfix server he uses such that certain users can only send to local users. I'm wondering if there are any built-in facilities for restricting which delivery agents can be used by particular users? (Or some other clever way of achieving the same en

virtual_alias/mailbox/_maps: none-local-recipients + local-recipients stored in ldap

2012-08-23 Thread Denny Schierz
hi, we want to migrate from Sendmail to Postfix and on our testsystem we found the following solution, to convert the setup: main.cf: = [...] myhostname = mx01.our.domain mydomain = our.domain append_at_myorigin = no append_dot_mydomain = no # lists are M

Re: local recipients in ldap dir

2010-03-26 Thread Victor Duchovni
ww.postfix.org/DATABASE_README.html http://www.postfix.org/ldap_table.5.html > - how to configure postfix to lookup up into ldap for local recipients? "Local recipients" are *by definition* shell accounts, in that information about them is obtained via getpwnam(3) (/etc/passwd and nssw

Re: local recipients in ldap dir

2010-03-26 Thread Jerry
but.. > > - how to configure postfix to lookup up into ldap for local > recipients? > - and if yes is it possible to keep mailboxes under one folder, like > for vmail? > > the whole idea is to have these local recipients' mailboxes behaving > like virtual, no shell acco

local recipients in ldap dir

2010-03-26 Thread me
thing(postfix) to actually work, either errors about: unknown user, or status is 'sent/delivered' but nothing in inbox I know that easier would be to make it virtual, this works, but.. - how to configure postfix to lookup up into ldap for local recipients? - and if yes is it possible to

Re: Rejecting Unknown Local Recipients issue

2010-02-16 Thread Sahil Tandon
On Wed, 17 Feb 2010, Jeremy Brooking wrote: > I have recently inherited a postfix mailserver that accepts > undeliverable mail and am trying to resolve this issue. > > I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and > tried to impliment the suggestions there, however, it is bec

Rejecting Unknown Local Recipients issue

2010-02-16 Thread Jeremy Brooking
Hi, I have recently inherited a postfix mailserver that accepts undeliverable mail and am trying to resolve this issue. I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and tried to impliment the suggestions there, however, it is becoming more apparent I am out of my depth. Our