Re: Raw postfix newbie here...

2020-08-09 Thread Benny Pedersen
Daniele Nicolodi skrev den 2020-08-10 02:41: Can you please elaborate on why this is the case, or point me to the relevant documentation? Is it a matter of tooling, robustness, performance, or something else? /etc/aliases is designed only for system users, not virtual users, there is imho no

Re: Raw postfix newbie here...

2020-08-09 Thread Benny Pedersen
Curtis Maurand skrev den 2020-08-10 02:19: On Aug 9, 2020, at 8:09 PM, Viktor Dukhovni wrote: - Mail to managed lists with an owner-alias - Mail to pipes - Mail to :include:/some/file lists. this can be put into the transports table and you can skip the /etc/aliases altoget

Re: Raw postfix newbie here...

2020-08-09 Thread cfs_postfix
Viktor Dukhovni wrote .. > When not material (i.e. not resolving a problem with a particular > domain), you can choose to consitently lightly obfuscate domain names > and email addresses, in a consistent manner, a=>a, b=>b, ... Would require a lot of search & replace. Whattheheck, it isn't li

Re: Raw postfix newbie here...

2020-08-09 Thread Daniele Nicolodi
On 09/08/2020 18:29, Viktor Dukhovni wrote: > Yes, to varying degrees, but /etc/aliases is not entirely superfluous, > just best avoided when all you're doing is rewriting one email address > to another email *address*, with Postfix, that task is best handled in > virtual(5). Can you please elabor

Re: Raw postfix newbie here...

2020-08-09 Thread Viktor Dukhovni
On Sun, Aug 09, 2020 at 08:19:50PM -0400, Curtis Maurand wrote: > > On Aug 9, 2020, at 8:09 PM, Viktor Dukhovni > > wrote: > > > > - Mail to managed lists with an owner-alias > >- Mail to pipes > >- Mail to :include:/some/file lists. > > this can be put into the transports

Re: Raw postfix newbie here...

2020-08-09 Thread Curtis Maurand
> On Aug 9, 2020, at 8:09 PM, Viktor Dukhovni > wrote: > > - Mail to managed lists with an owner-alias >- Mail to pipes >- Mail to :include:/some/file lists. this can be put into the transports table and you can skip the /etc/aliases altogether.

Re: Raw postfix newbie here...

2020-08-09 Thread Viktor Dukhovni
On Sun, Aug 09, 2020 at 06:44:55PM -0400, cfs_post...@insec.lofcom.com wrote: > > and (avoiding HTML formatting) post "postconf -nf" and "postconf > > -Mf" output (the latter if master.cf is pertinent). > >One question; this will absolutely expose real domains, machine >names,

Re: Raw postfix newbie here...

2020-08-09 Thread cfs_postfix
My sincere thanks for the reply. Viktor Dukhovni wrote .. > - As much as possible ask one question at a time. Yeah, my general philosophy is to break large problems down to component parts and fix those one-at-a-time; that generally makes the large problem eventually disappear. >

Re: Postfix is no longer forwarding root mail after I changed the forwarding address

2020-08-09 Thread Bob Proulx
PopeRigby wrote: > I have Postfix setup to automatically forward any mail that goes to root to > an > external address. I just recently changed my email main email address from a > Tutanota one to a Mailbox.org one. I went into /etc/aliases and switched out > my addresses there, so now it looks

Re: Checking from-addresses on outbound mail

2020-08-09 Thread Ansgar Wiechers
On 2020-08-09 Nick wrote: > For mail sent via submission it's possible to prevent a forged > mail-from, by using options on the submission service in master.cf. > > It's also possible to prevent a forged header-from, by using a > submission-specific cleanup service, as in the BUILTIN_FILTER_README

Checking from-addresses on outbound mail

2020-08-09 Thread Nick
For mail sent via submission it's possible to prevent a forged mail-from, by using options on the submission service in master.cf. It's also possible to prevent a forged header-from, by using a submission-specific cleanup service, as in the BUILTIN_FILTER_README. But these don't work for mail ori

Re: Raw postfix newbie here...

2020-08-09 Thread Viktor Dukhovni
On Sun, Aug 09, 2020 at 02:07:30PM -0400, cfs_post...@insec.lofcom.com wrote: > So I am asking if painfully newbie-ish questions regarding migrating > from sendmail to postfix are permitted here. Been running linux a > while, but sendmail was always a bit of a mystery, and postfix is > brand-spank

Raw postfix newbie here...

2020-08-09 Thread cfs_postfix
Hello. I am migrating from an ancient version of sendmail to a new machine using postfix on CentOS 7, and am having problems with what I thought would be the simplest of things - I've already started over multiple times (thank heavens for default config file backups!) but even walking one st

Re: PostgreSQL virtual_mailbox_domain lookups fail, but virtual_alias_maps work just fine, help?

2020-08-09 Thread Wietse Venema
David Reagan: > Thanks. Switching the query to the default '%s' and making sure I didn't > have 'result_format' set fixed it. The postmap query works. > > Is the fact that %d won't work in this context documented anywhere? I > didn't see anything in http://www.postfix.org/pgsql_table.5.html or a

Re: PostgreSQL virtual_mailbox_domain lookups fail, but virtual_alias_maps work just fine, help?

2020-08-09 Thread David Reagan
Thanks. Switching the query to the default '%s' and making sure I didn't have 'result_format' set fixed it. The postmap query works. Is the fact that %d won't work in this context documented anywhere? I didn't see anything in http://www.postfix.org/pgsql_table.5.html or any of the other docs I