Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
On 28/09/2021 17:24, Wietse Venema wrote: Jo?o Silva: A table with the format alias@domain alias_owner is allowed? You can stick anything in there, but for meaningful results, - alias@domain must be an envelope sender address, and - alias_owner must be a SASL login name. Wietse

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread Wietse Venema
Jo?o Silva: > A table with the format > > alias@domain alias_owner > > is allowed? You can stick anything in there, but for meaningful results, - alias@domain must be an envelope sender address, and - alias_owner must be a SASL login name. Wietse

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
On 28/09/2021 16:39, Viktor Dukhovni wrote: On Tue, Sep 28, 2021 at 03:50:06PM +0100, João Silva wrote: It would be nice to have a option to specify a list of allowed domains. This is not meaningful, because the lookup result is a list of SASL identities, which are just opaque octet

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread Viktor Dukhovni
On Tue, Sep 28, 2021 at 03:50:06PM +0100, João Silva wrote: > It would be nice to have a option to specify a list of allowed domains. This is not meaningful, because the lookup result is a list of SASL identities, which are just opaque octet strings, there's no notion of "domain" there. In

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
On 28/09/2021 15:42, Matus UHLAR - fantomas wrote: On 28.09.21 14:31, João Silva wrote: I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form @domain user1,user2 From the docs: "In all cases the result of table

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread Matus UHLAR - fantomas
On 28.09.21 14:31, João Silva wrote: I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form @domain user1,user2 From the docs: "In all cases the result of table lookup must be either "not found" or a list of SASL login

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
On 28/09/2021 14:41, post...@ptld.com wrote: I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form @domain user1,user2 From the docs: "In all cases the result of table lookup must be either "not found" or a list of

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread postfix
I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form @domain user1,user2 From the docs: "In all cases the result of table lookup must be either "not found" or a list of SASL login names separated by comma and/or

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form @domain user1,user2 From the docs: "In all cases the result of table lookup must be either "not found" or a list of SASL login names separated by comma and/or

Re: Filtering MAIL FROM for autenticated users

2021-09-28 Thread Max-Julian Pogner
Hi, did you already ctrl+f for 'reject_sender_login_mismatch' and 'smtpd_sender_login_maps' in http://www.postfix.org/postconf.5.html ? regards, Max On 28/09/2021 13:36, João Silva wrote: Hi I need to limit the domains in "mail from" for autenticated users to prevent sending emails with

Filtering MAIL FROM for autenticated users

2021-09-28 Thread João Silva
Hi I need to limit the domains in "mail from" for autenticated users to prevent sending emails with a "third party" domain. I have read the documentation and did not reached any conclusion. My best guess is that is some configuration that may be passed as an option to submission and smtps.

Re: Filtering mail from outside users only

2015-11-18 Thread Vicki Brown
Thank you. It is not clear from the docs whether these are examples or literal, which is why I asked "are these literal?" > On Nov 18, 2015, at 03:53, Wietse Venema wrote: > > Vicki Brown: >> Also, when I try these entries literally, I get >> fatal: bind 1.2.3.4 port

Re: Filtering mail from outside users only

2015-11-18 Thread Benny Pedersen
On November 18, 2015 9:29:29 AM Vicki Brown wrote: Also, when I try these entries literally, I get fatal: bind 1.2.3.4 port 25: Can't assign requested address means you have one port 25 listner in master.cf, if you need one more all must be specified pr ip and port not just

Re: Filtering mail from outside users only

2015-11-18 Thread Wietse Venema
Vicki Brown: > Also, when I try these entries literally, I get > fatal: bind 1.2.3.4 port 25: Can't assign requested address Those are examples. You should specify an IP address that is configured on your server. Wietsde

Filtering mail from outside users only

2015-11-18 Thread Vicki Brown
I am reading http://www.postfix.org/FILTER_README.html <http://www.postfix.org/FILTER_README.html>, the section on "Filtering mail from outside users only" and I am befuddled. Am I correctly understanding that this recipe requires three smtp ... entries in master.cf?

Re: Filtering mail from outside users only

2015-11-18 Thread Vicki Brown
rg/FILTER_README.html>, the section on "Filtering mail > from outside users only" and I am befuddled. > > Am I correctly understanding that this recipe requires three > smtp ... > entries in master.cf? > > Where can I find documentation for 1.2.3.4:smtp and 1.2.3.5:smtp? > > - Vicki >

Re: Filtering mail from insider users only

2015-08-23 Thread Wietse Venema
Robert Morton: How would you configure master.cf to filter mail from insider users only? I see in the section how to do this for outsider users only. Any help would be appreciated. /etc/postfix/main.cf: smtpd_client_restrictions = cidr:/etc/postfix/client_access.cidr

Filtering mail from insider users only

2015-08-23 Thread Robert Morton
How would you configure master.cf to filter mail from insider users only? I see in the section how to do this for outsider users only. Any help would be appreciated. Thanks, Rob Morton

Re: Filtering mail from insider users only

2015-08-23 Thread Robert Morton
Thank you. On Aug 23, 2015, at 8:17 PM, Wietse Venema wie...@porcupine.org wrote: Robert Morton: How would you configure master.cf to filter mail from insider users only? I see in the section how to do this for outsider users only. Any help would be appreciated.

Re: filtering mail from outside with dynamic address

2009-08-12 Thread Mikael Bak
Hi, Florin Andrei wrote: Running Postfix 2.5.5 on Linux. The system is multihomed, connected to several private networks, and to the Internet with a dynamic DNS hostname. Is it really recommended to run a mail server that accepts email from outside with non static IP address? I would not do

Re: filtering mail from outside with dynamic address

2009-08-12 Thread Barney Desmond
2009/8/12 Florin Andrei flo...@andrei.myip.org: Is there a way to bind the listener to an interface using the interface name (eth5:smtp) instead of the IP (1.2.3.4:smtp)? No. The bind(2) system call specifies an address. Not an interface, and not the route. Connections with source address of

Re: filtering mail from outside with dynamic address

2009-08-12 Thread Wietse Venema
Florin Andrei: Wietse Venema wrote: Florin Andrei: Florin Andrei wrote: Is there a way to bind the listener to an interface using the interface name (eth5:smtp) instead of the IP (1.2.3.4:smtp)? No. The bind(2) system call specifies an address. Not an interface, and not the route.

filtering mail from outside with dynamic address

2009-08-11 Thread Florin Andrei
Running Postfix 2.5.5 on Linux. The system is multihomed, connected to several private networks, and to the Internet with a dynamic DNS hostname. I'm using Amavisd-new with SpamAssassin and a bunch of other things to filter email. Currently all email is filtered by Amavis. But I want to only

Re: filtering mail from outside with dynamic address

2009-08-11 Thread Florin Andrei
Florin Andrei wrote: Is there a way to bind the listener to an interface using the interface name (eth5:smtp) instead of the IP (1.2.3.4:smtp)? Also, you know what would *really* help? The ability to say: bind to all interfaces except this one, by name. That would be really, really neat.

Re: filtering mail from outside with dynamic address

2009-08-11 Thread Florin Andrei
Wietse Venema wrote: Florin Andrei: Florin Andrei wrote: Is there a way to bind the listener to an interface using the interface name (eth5:smtp) instead of the IP (1.2.3.4:smtp)? No. The bind(2) system call specifies an address. Not an interface, and not the route. Connections with source

About filtering mail with mailq

2009-02-13 Thread deconya
Hi Im new postfix and Im learning how to use. My first problem is about the spam because in my server are incoming mails with my domain but using bad adresses and making copy to the aol.com domain. Im making: #postqueue -p | grep ' Feb @aol.com' | sed 's/*//' | awk '{print $1}' spam.txt but

Re: About filtering mail with mailq

2009-02-13 Thread Charles Marcus
On 2/13/2009 6:36 AM, deconya wrote: Im new postfix and Im learning how to use. My first problem is about the spam because in my server are incoming mails with my domain but using bad adresses and making copy to the aol.com http://aol.com domain. Im making: Don't accept messages for invalid

Re: About filtering mail with mailq

2009-02-13 Thread mouss
deconya a écrit : Hi Im new postfix and Im learning how to use. My first problem is about the spam because in my server are incoming mails with my domain but using bad adresses and making copy to the aol.com http://aol.com domain. Im making: #postqueue -p | grep ' Feb @aol.com

Re: filtering mail

2009-02-12 Thread Peter Blair
Including every solicited bulk email. They usually create unique bounce addresses to track dead target mailboxes etc. On Wed, Feb 11, 2009 at 9:30 AM, Michael Katz mkn...@messagepartners.com wrote: Ilo Lorusso wrote: Hi is their a way I can reject messages when its from address does not

Re: filtering mail

2009-02-11 Thread Michael Katz
Ilo Lorusso wrote: Hi is their a way I can reject messages when its from address does not match the envelope from address? Doing that will drop tons of legit email. Mike Katz http://messagepartners.com using postfix ofcourse Thanks Regards Ilo

RE: Info on Filtering Mail based on subdomain

2008-12-08 Thread Mark A. Olbert
mailman: - Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mouss Sent: Sunday, December 07, 2008 11:30 PM To: postfix-users@postfix.org Subject: Re: Info on Filtering Mail based on subdomain Mark A. Olbert a écrit : Sorry about the line endings

Re: Info on Filtering Mail based on subdomain

2008-12-08 Thread Dario subbia Cavallaro
mouss ha scritto: can you show the contents of transport_maps? And the content of alias map? As far as I can remember I had a similar error and IU had made two mistakes: 1) listed in transport the domain and the destination; 2) no alias set in aliases; And last but not least, there was no

RE: Info on Filtering Mail based on subdomain

2008-12-08 Thread Mark A. Olbert
be. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dario subbia Cavallaro Sent: Monday, December 08, 2008 7:24 AM To: mouss Cc: postfix-users@postfix.org Subject: Re: Info on Filtering Mail based on subdomain mouss ha scritto: can you show the contents

Re: Info on Filtering Mail based on subdomain

2008-12-08 Thread mouss
Mark A. Olbert a écrit : Log info: Dec 8 07:03:23 wiggle_butt postfix/pickup[13057]: 132802741F3: uid=0 from=root Dec 8 07:03:23 wiggle_butt postfix/cleanup[13064]: 132802741F3: message-id=[EMAIL PROTECTED] Dec 8 07:03:23 wiggle_butt postfix/qmgr[13058]: 132802741F3: from=[EMAIL

Info on Filtering Mail based on subdomain

2008-12-07 Thread Mark A. Olbert
I recently installed Exchange as my mail server, with postfix on a linux box serving as an anti-spam front end. This works great for all my regular mail. However, I'm having trouble figuring out how to integrate mailman into the setup. Previously, when mail delivery took place on my linux box

Re: Info on Filtering Mail based on subdomain

2008-12-07 Thread mouss
Mark A. Olbert a écrit : I recently installed Exchange as my mail server, with postfix on a linux box serving as an anti-spam front end. This works great for all my regular mail. However, I'm having trouble figuring out how to integrate mailman into the setup. Previously, when mail

RE: Info on Filtering Mail based on subdomain

2008-12-07 Thread Mark A. Olbert
] On Behalf Of mouss Sent: Sunday, December 07, 2008 4:12 PM To: postfix-users@postfix.org Subject: Re: Info on Filtering Mail based on subdomain Mark A. Olbert a écrit : I recently installed Exchange as my mail server, with postfix on a linux box serving as an anti-spam front end. This works great

Re: Info on Filtering Mail based on subdomain

2008-12-07 Thread mouss
Mark A. Olbert a écrit : That almost makes sense, even in my ignorant state. Please bear with me. I'm pretty sure I've overridden local because I use maia mailguard, which re-injects email into the mail processing queue after running it through amavisd/spamassassin. Here are the additions

RE: Info on Filtering Mail based on subdomain

2008-12-07 Thread Mark A. Olbert
as it is and not as it should be. -Original Message- From: mouss [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2008 4:56 PM To: Mark A. Olbert Cc: postfix-users@postfix.org Subject: Re: Info on Filtering Mail based on subdomain Mark A. Olbert a écrit : That almost makes sense, even in my

RE: Info on Filtering Mail based on subdomain

2008-12-07 Thread Mark A. Olbert
of all - -to see life as it is and not as it should be. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. Olbert Sent: Sunday, December 07, 2008 4:35 PM To: postfix-users@postfix.org Subject: RE: Info on Filtering Mail based on subdomain

Re: Info on Filtering Mail based on subdomain

2008-12-07 Thread mouss
Mark A. Olbert a écrit : Sorry about the line endings. Let me try again: Error message: [EMAIL PROTECTED]:/etc/postfix# mailq -Queue ID- --Size-- Arrival Time -Sender/Recipient--- 140DC2741FE 459 Sun Dec 7 17:57:07 [EMAIL PROTECTED] (host 127.0.0.1[127.0.0.1] said: 550