[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-18 Thread Glenn Tenney via Postfix-users
On Monday, March 18, 2024, Benny Pedersen via Postfix-users < postfix-users@postfix.org> wrote: > catch all is badly advised, it makes recipient validation impososibe, > don't do it > > define maps with what is wanted, not with what is not wanted, catch-all is > unwanted > I know, but a couple of

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-18 Thread Glenn Tenney via Postfix-users
On Monday, March 18, 2024, Benny Pedersen via Postfix-users < postfix-users@postfix.org> wrote: > Glenn Tenney via Postfix-users skrev den 2024-03-18 03:52: > > My question in one, hopefully simple sentence, is: >> >> In Postfix, how do I configure Postfix such

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-18 Thread Glenn Tenney via Postfix-users
On Sunday, March 17, 2024, Viktor Dukhovni via Postfix-users < postfix-users@postfix.org> wrote: > > > - You can reject SMTP recipients via various restriction checks > > > that perform access(5) lookups against tables of your choice. > > > > How can I do it not based on the network or d

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-17 Thread Glenn Tenney via Postfix-users
On Sun, Mar 17, 2024 at 8:49 PM Viktor Dukhovni via Postfix-users wrote: > > > Add "local.invalid local" to the transport(5) table, and rewrite > > > anything that needs local(8) delivery to mailbox@local.invalid. > > > > I honestly re-read the above sentence several times and have no clue > > wh

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-17 Thread Glenn Tenney via Postfix-users
On Sun, Mar 17, 2024 at 8:05 PM Phil Biggs via Postfix-users wrote: > Not sure about the rest of your requirements but perhaps > > smtpd_recipient_restrictions = reject_unverified_recipient > https://www.postfix.org/ADDRESS_VERIFICATION_README.html I don't think I can do that because I host a cou

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-17 Thread Glenn Tenney via Postfix-users
On Sun, Mar 17, 2024 at 3:40 PM Viktor Dukhovni via Postfix-users wrote: > My general advice is to use aliases(5) very sparingly, just for lists > that require an "owner-" or ":include:" lists. All other rewrites > should be via virtual(5), and perhaps even keep $mydestination empty! > > Add "loc

[pfx] Re: Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-17 Thread Glenn Tenney via Postfix-users
On Sun, Mar 17, 2024 at 3:40 PM Viktor Dukhovni via Postfix-users wrote: > > Question 1: Am I correct that all (or most) of this be done with a > > virtual_alias_maps table (i.e. hash:/usr/local/etc/postfix/virtual)? > > If not, then: HOW? > > Most of what? You need to be specific, it's been som

[pfx] Help please on converting SENDMAIL VIRTUSERTABLE to postfix

2024-03-17 Thread Glenn Tenney via Postfix-users
Now that I seem to have postfix running ok on my replacement server (going from Linux/Sendmail to Freebsd/Postfix), I have to convert all of my "virtusertable" entries over to postfix. I've read through https://www.postfix.org/VIRTUAL_README.html & https://www.postfix.org/postconf.5.html & https://

[pfx] Re: Postfix + Dovecot FreeBSD - a problem

2024-03-14 Thread Glenn Tenney via Postfix-users
On Mon, Mar 11, 2024 at 11:08 PM Viktor Dukhovni via Postfix-users wrote: > Well, at this point, post in one message: > > - Logging of a submission failure postdating your most recent > changes and "postfix restart". > - Output of: postmap -q au...@domain.name $(postconf -xh > smtpd

[pfx] Re: Postfix + Dovecot FreeBSD - a problem

2024-03-11 Thread Glenn Tenney via Postfix-users
On Mon, Mar 11, 2024 at 10:07 PM Viktor Dukhovni via Postfix-users wrote: > > I truly have no clue why my maillog is so different than yours. I set > > "smtpd_tls_loglevel = 2" and here's the log (on the machine running > > postfix @ domain.name) from gmail connecting, and logging in as > > "auser

[pfx] Re: Postfix + Dovecot FreeBSD - a problem

2024-03-11 Thread Glenn Tenney via Postfix-users
On Mon, Mar 11, 2024 at 5:13 PM Viktor Dukhovni via Postfix-users wrote: thanks for your patience with me and your help! > The reject message in your original post was: > > Mar 8 20:41:08 MACHINE postfix/submission/smtpd[28831]: NOQUEUE: > reject: RCPT from mail-oo1-f41.google.com[20

[pfx] Re: Postfix + Dovecot FreeBSD - a problem

2024-03-11 Thread Glenn Tenney via Postfix-users
On Mon, Mar 11, 2024 at 5:13 PM Viktor Dukhovni via Postfix-users wrote: thanks for your patience with me and your help! > The reject message in your original post was: > > Mar 8 20:41:08 MACHINE postfix/submission/smtpd[28831]: NOQUEUE: > reject: RCPT from mail-oo1-f41.google.com[20

[pfx] Re: Postfix + Dovecot FreeBSD - a problem

2024-03-11 Thread Glenn Tenney via Postfix-users
On Mon, Mar 11, 2024 at 1:09 AM Viktor Dukhovni via Postfix-users wrote: > You've implemented smtpd_sender_login_maps and > reject_sender_login_mismatch or an equivalent variant, but the entry > for that sender address does list the actual SASL login used (which > is shown in an earlier log entry

[pfx] Postfix + Dovecot FreeBSD - a problem

2024-03-10 Thread Glenn Tenney via Postfix-users
Objective is setting up a "new" box to replace a sendmail server... Friends suggested Postfix, but then no one had experience enough with it to help. Right now, postfix receives and sends; and I can login and use imap, but there are two issues that I've been researching for a week now: (1) One of