Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread durwin
owner-postfix-us...@postfix.org wrote on 07/02/2018 09:58:57 AM: > From: Noel Jones > To: postfix-users@postfix.org > Date: 07/02/2018 09:59 AM > Subject: Re: Reject unknown users, even when sent from 'mydomain' > Sent by: owner-postfix-us...@postfix.org >

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread Noel Jones
On 7/2/2018 10:20 AM, dur...@mgtsciences.com wrote: > If my postfix server is 172.23.93.188, and my Domino server is > 172.23.93.10. > The router forwards all mail to 188.  The postfix server must send > it to 10 > for delivery.  What is needed to allow this 'relaying' from 188 to > 10 without > be

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread durwin
owner-postfix-us...@postfix.org wrote on 07/02/2018 09:14:06 AM: > From: Wietse Venema > To: Postfix users > Date: 07/02/2018 09:14 AM > Subject: Re: Reject unknown users, even when sent from 'mydomain' > Sent by: owner-postfix-us...@postfix.org > > dur

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread Wietse Venema
dur...@mgtsciences.com: > I have smtpd_authorized_xclient_hosts defined. I then used this. > > EHLO > XCLIENT NAME= ADDR= > EHLO > MAIL FROM: > RCPT TO: > > I get 'Relay access denied'. However, I am not trying to relay, I am > trying > to deliver *to* this postfix server. 'Mydomain' *is* t

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread durwin
owner-postfix-us...@postfix.org wrote on 07/02/2018 07:59:35 AM: > From: Matus UHLAR - fantomas > To: postfix-users@postfix.org, owner-postfix-us...@postfix.org > Date: 07/02/2018 08:00 AM > Subject: Re: Reject unknown users, even when sent from 'mydomain' >

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread Matus UHLAR - fantomas
owner-postfix-us...@postfix.org wrote on 06/29/2018 09:12:34 PM: From: "Bill Cole" To: "Postfix users" Date: 06/29/2018 09:13 PM Subject: Re: Reject unknown users, even when sent from 'mydomain' Sent by: owner-postfix-us...@postfix.org On 29 Jun 2018, at 16:55 (

Re: Reject unknown users, even when sent from 'mydomain'

2018-07-02 Thread durwin
owner-postfix-us...@postfix.org wrote on 06/29/2018 09:12:34 PM: > From: "Bill Cole" > To: "Postfix users" > Date: 06/29/2018 09:13 PM > Subject: Re: Reject unknown users, even when sent from 'mydomain' > Sent by: owner-postfix-us...@postfix.o

Re: Reject unknown users, even when sent from 'mydomain'

2018-06-29 Thread Bill Cole
On 29 Jun 2018, at 16:55 (-0400), dur...@mgtsciences.com wrote: Still delivers unknown user. I've attached the main.cf and the log. For future reference: please read the last section of the Postfix DEBUG_README file and note that it does not recommend debug-level logging or whole main.cf fi

Re: Reject unknown users, even when sent from 'mydomain'

2018-06-29 Thread durwin
ences, Inc. 6022 Constitution Ave. NE Albuquerque, NM 87110 Phone (505) 255-8611 From: "Bill Cole" To: "Postfix users" Date: 06/28/2018 05:41 PM Subject: Re: Reject unknown users, even when sent from 'mydomain' Sent by:owner-postfix-us...@p

Re: Reject unknown users, even when sent from 'mydomain'

2018-06-29 Thread Matus UHLAR - fantomas
On 28.06.18 13:35, dur...@mgtsciences.com wrote: === command === cat email.txt | nc postfix 25 === end === does this work? you should use SMTP client like 'msmtp' instead. (you can configure authentication and encryption with it). This email message and any attachments are for the sole use of

Re: Reject unknown users, even when sent from 'mydomain'

2018-06-28 Thread Bill Cole
the postfix machine. I use the command below to send an email to an unknown user (from command line). But it delivers it to Domino anyway. I have only one user defined in /etc/postfix/aliases file. Do I have the right configuration to reject unknown users? No. If not, what am I missing

Reject unknown users, even when sent from 'mydomain'

2018-06-28 Thread durwin
email to an unknown user (from command line). But it delivers it to Domino anyway. I have only one user defined in /etc/postfix/aliases file. Do I have the right configuration to reject unknown users? If not, what am I missing? Thank you, Durwin === command === cat email.txt | nc postfix 25

Re: how to black hole unknown users on a server that acts as a mailing list

2016-12-08 Thread cmc
Thanks for the reply > On Thu, Dec 08, 2016 at 02:58:24PM +, cmc wrote: >> We have a server running Postfix, with mailing lists run by >> Mailman, for a local domain. This server receives mail from an >> upstream cloud-based server for all recipients not on the >> cloud-based server (the idea

Re: how to black hole unknown users on a server that acts as a mailing list

2016-12-08 Thread /dev/rob0
On Thu, Dec 08, 2016 at 02:58:24PM +, cmc wrote: > We have a server running Postfix, with mailing lists run by > Mailman, for a local domain. This server receives mail from an > upstream cloud-based server for all recipients not on the > cloud-based server (the idea being that any user not o

how to black hole unknown users on a server that acts as a mailing list

2016-12-08 Thread cmc
Hi, We have a server running Postfix, with mailing lists run by Mailman, for a local domain. This server receives mail from an upstream cloud-based server for all recipients not on the cloud-based server (the idea being that any user not on the cloud server is a mailing list). The mail is relayed

Re: postfix/smtpd connections from unknown users. Dealing with same?

2016-03-08 Thread Robert Chalmers
Yes, I am using postscreen. So I’m presuming that’s enough. postconf -n | grep postscreen postscreen_access_list = permit_mynetworks, cidr:/usr/local/etc/postfix/postscreen_access.cidr, cidr:/usr/local/etc/postfix/postscreen_spf_whitelist.cidr postscreen_bare_newline_action = enforce postscree

Re: postfix/smtpd connections from unknown users. Dealing with same?

2016-03-08 Thread @lbutlr
On Mar 8, 2016, at 9:15 AM, Robert Chalmers wrote: > I can put them in a postfix blacklist. And possible write a script to update > the list on a daily basis as more are added. Are you using postscreen? If not, you should. You’ll see dogs like: Mar 8 09:35:20 mail postfix/postscreen[78466]: CO

Re: postfix/smtpd connections from unknown users. Dealing with same?

2016-03-08 Thread Wietse Venema
Robert Chalmers: > This afternoon, over the course of about 4 hours, I?ve logged 741 > connections like this. > > Mar 8 15:05:46 zeus postfix/smtpd[92324]: connect from unknown[185.130.5.90] > Mar 8 15:07:30 zeus postfix/smtpd[92616]: connect from > unknown[131.161.138.190] > Mar 8 15:07:39 ze

postfix/smtpd connections from unknown users. Dealing with same?

2016-03-08 Thread Robert Chalmers
This afternoon, over the course of about 4 hours, I’ve logged 741 connections like this. Mar 8 15:05:46 zeus postfix/smtpd[92324]: connect from unknown[185.130.5.90] Mar 8 15:07:30 zeus postfix/smtpd[92616]: connect from unknown[131.161.138.190] Mar 8 15:07:39 zeus postfix/smtpd[92324]: connec

Re: Unknown users not rejected on Alias Domains (Virtual Domains)

2014-06-04 Thread Alex JOST
Am 03.06.2014 22:50, schrieb Peter Bittner: Hi, I'm trying to find out which is the correct way to configure alias domains on postfix. For example, I have 3 different domains (example.com, example.info, example.net), and when I send an e-mail to a user on any of the three domains it's always se

Re: Unknown users not rejected on Alias Domains (Virtual Domains)

2014-06-03 Thread Noel Jones
On 6/3/2014 3:50 PM, Peter Bittner wrote: > Hi, > > I'm trying to find out which is the correct way to configure alias > domains on postfix. > > For example, I have 3 different domains (example.com, example.info, > example.net), and when I send an e-mail to a user on any of the three > domains it

Unknown users not rejected on Alias Domains (Virtual Domains)

2014-06-03 Thread Peter Bittner
Hi, I'm trying to find out which is the correct way to configure alias domains on postfix. For example, I have 3 different domains (example.com, example.info, example.net), and when I send an e-mail to a user on any of the three domains it's always sent to "u...@example.com". In other words, I ne

Re: avoid outgoing mail sent to unknown users

2014-01-12 Thread Wietse Venema
Alexandre Ellert: > Is there anyway to populate a cache (file, SQL, ?) with real hard > bounces from remote SMTP and tell postfix to stop send mail to > these addresses next time ? Postfix logs remote SMTP server responses. You provide a tool that populates a table with "bad addresses", and you co

Re: avoid outgoing mail sent to unknown users

2014-01-12 Thread Alexandre Ellert
> but that *does not* help in case of the OP > read the thread start > > it is simply impossible doing on one hand RCPT-verification because > no verification on the root-cause (webserver) but at the same time > not reject messages from the webserver in case verification on the > final destination

Re: avoid outgoing mail sent to unknown users

2014-01-11 Thread li...@rhsoft.net
Am 11.01.2014 18:57, schrieb Benny Pedersen: > Alexandre Ellert skrev den 2014-01-10 22:12: >> How can I tell Postfix to queue the mail in case of remote reply 4xx ? > > 4xx is softfails, so you already do but that *does not* help in case of the OP read the thread start it is simply impossible

Re: avoid outgoing mail sent to unknown users

2014-01-11 Thread Benny Pedersen
Alexandre Ellert skrev den 2014-01-10 22:12: How can I tell Postfix to queue the mail in case of remote reply 4xx ? 4xx is softfails, so you already do

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Wietse Venema
Alexandre Ellert: > But I got : > fatal: bad configuration > in mail.log Show the complete logfile record! Wietse

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> I made more tests and greylisting is still a problem. > > I've tried with : > unverified_recipient_tempfail_action = permit > in main.cf > > But I got : > fatal: bad configuration > in mail.log > > How can I tell Postfix to queue the mail in case of remote reply 4xx ? > I answer to myself, i

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> Wietse : > If the remote SMTP server uses greylisting, then the address > verification result will be "don't know" (*) and the Postfix SMTP server > will reply with 4xx (unless you configure Postfix otherwise). > > Wietse > (*) The Postfix SMTP client does not distiunguish between differen

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> Wietse : > If the remote SMTP server uses greylisting, then the address > verification result will be "don't know" (*) and the Postfix SMTP server > will reply with 4xx (unless you configure Postfix otherwise). > > Wietse > (*) The Postfix SMTP client does not distiunguish between differe

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Wietse Venema
Alexandre Ellert: [reject_unverified_recipient] > Can you confirm that in case of greylisting at the destination > SMTP, it will work fine ? If the remote SMTP server uses greylisting, then the address verification result will be "don't know" (*) and the Postfix SMTP server will reply with 4xx (un

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> This works like a charm. > > One last thing, concerning order of smtpd_recipient_restrictions, I currently > have this in master.cf : > > submission inet n - - - - smtpd > ... > -o > smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> Wietse : > In that case use: > > /etc/postfix/main.cf: >smtpd_recipient_restrictions = >... >check_sender_access hash:/etc/postfix/sender_access >... > > /etc/postfix/sender_access: >x...@example.com reject_unverified_recipient >example.net reject_unverif

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Wietse Venema
Alexandre Ellert: > > Wietse : > > You can push the problem back to the webservers, by using the the > > Postfix SMTP server's "reject_unverified_recipient" feature. > > > > With this, Postfix will make one connection for the recipient > > address, and then the Postfix SMTP server answers with 5XX

Re: avoid outgoing mail sent to unknown users

2014-01-10 Thread Alexandre Ellert
> Wietse : > You can push the problem back to the webservers, by using the the > Postfix SMTP server's "reject_unverified_recipient" feature. > > With this, Postfix will make one connection for the recipient > address, and then the Postfix SMTP server answers with 5XX to the > web application when

Re: avoid outgoing mail sent to unknown users

2014-01-09 Thread Noel Jones
On 1/9/2014 5:01 PM, Noel Jones wrote: > On 1/9/2014 4:41 PM, Alexandre Ellert wrote: >> Hi, >> >> I relay transactional mail for my customer's web sites. >> Each website has it's own SASL authenticated account and mail are >> sent via submission or smtps. >> >> But, some website doesn't verify ema

Re: avoid outgoing mail sent to unknown users

2014-01-09 Thread Noel Jones
On 1/9/2014 4:41 PM, Alexandre Ellert wrote: > Hi, > > I relay transactional mail for my customer's web sites. > Each website has it's own SASL authenticated account and mail are > sent via submission or smtps. > > But, some website doesn't verify email existence when a user submit > a web form

Re: avoid outgoing mail sent to unknown users

2014-01-09 Thread Wietse Venema
Alexandre Ellert: > Hi, > > I relay transactional mail for my customer's web sites. > Each website has it's own SASL authenticated account and mail are > sent via submission or smtps. > > But, some website doesn't verify email existence when a user submit > a web form or 'create an account'. > T

avoid outgoing mail sent to unknown users

2014-01-09 Thread Alexandre Ellert
Hi, I relay transactional mail for my customer's web sites. Each website has it's own SASL authenticated account and mail are sent via submission or smtps. But, some website doesn't verify email existence when a user submit a web form or 'create an account'. That's why I often see my postfix r

Re: Rejecting mail to unknown users

2013-09-12 Thread Wietse Venema
Zel Uneec: [ Charset ISO-8859-2 unsupported, converting... ] > On 11.09.2013 16:52, Kris Deugau wrote: > > Mark Goodge wrote: > >> It might help if you explained why you want to do this. What particular > >> problem is being caused by your internal users getting an error message > >> instead of a b

Re: Rejecting mail to unknown users

2013-09-12 Thread Zel Uneec
On 11.09.2013 16:52, Kris Deugau wrote: Mark Goodge wrote: It might help if you explained why you want to do this. What particular problem is being caused by your internal users getting an error message instead of a bounce? Some idiot mail clients (*cough*ManyversionsofOutlook*cough*) don't ac

Re: Rejecting mail to unknown users

2013-09-11 Thread Kris Deugau
Mark Goodge wrote: > It might help if you explained why you want to do this. What particular > problem is being caused by your internal users getting an error message > instead of a bounce? Some idiot mail clients (*cough*ManyversionsofOutlook*cough*) don't actually display the SMTP error response

Re: Rejecting mail to unknown users

2013-09-11 Thread li...@rhsoft.net
Am 11.09.2013 16:52, schrieb Kris Deugau: > Mark Goodge wrote: >> It might help if you explained why you want to do this. What particular >> problem is being caused by your internal users getting an error message >> instead of a bounce? > > Some idiot mail clients (*cough*ManyversionsofOutlook*c

Re: Rejecting mail to unknown users

2013-09-11 Thread Noel Jones
On 9/11/2013 9:18 AM, Vishal Agarwal wrote: > Is there any way to control the malware infected computer, not to > send more then counted or limited messages. There are several policy services that implement rate limits. postfwd is one that is commonly used. http://www.postfix.org/SMTPD_POLICY_RE

Re: Rejecting mail to unknown users

2013-09-11 Thread Vishal Agarwal
Is there any way to control the malware infected computer, not to send more then counted or limited messages. On Wed, Sep 11, 2013 at 6:57 PM, Wietse Venema wrote: > Zel Uneec: > > On 11.09.2013 14:43, Wietse Venema wrote: > > > /etc/postfix/main.cf: > > > smtpd_reject_unlisted_recipient

Re: Rejecting mail to unknown users

2013-09-11 Thread Wietse Venema
Zel Uneec: > On 11.09.2013 14:43, Wietse Venema wrote: > > /etc/postfix/main.cf: > > smtpd_reject_unlisted_recipient = no > > smtpd_recipient_restrictions = > > permit_mynetworks > > permit_sasl_authenticated > > reject_unlisted_recipient > > ... > >

Re: Rejecting mail to unknown users

2013-09-11 Thread Zel Uneec
On 11.09.2013 14:43, Wietse Venema wrote: /etc/postfix/main.cf: smtpd_reject_unlisted_recipient = no smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unlisted_recipient ... reject_unauth_destination ... It

Re: Rejecting mail to unknown users

2013-09-11 Thread Wietse Venema
/dev/rob0: > On Wed, Sep 11, 2013 at 01:23:01PM +0200, Zel Uneec wrote: > > This is my problem/question: I have multiple domains on my mail > > server running postfix (adn dovecot), with LDAP based user > > accounts. When someone "from outside" (that is: not from my > > domains) sends mail to a

Re: Rejecting mail to unknown users

2013-09-11 Thread /dev/rob0
On Wed, Sep 11, 2013 at 01:23:01PM +0200, Zel Uneec wrote: > This is my problem/question: I have multiple domains on my mail > server running postfix (adn dovecot), with LDAP based user > accounts. When someone "from outside" (that is: not from my > domains) sends mail to a user that does not ex

Re: Rejecting mail to unknown users

2013-09-11 Thread Zel Uneec
On 11.09.2013 13:31, Mark Goodge wrote: It might help if you explained why you want to do this. What particular problem is being caused by your internal users getting an error message instead of a bounce? As a general rule, sending a bounce is a last resort, something that you do when you can't

Re: Rejecting mail to unknown users

2013-09-11 Thread Mark Goodge
On 11/09/2013 12:23, Zel Uneec wrote: Hello everyone! I need your help setting up postfix. This is my problem/question: I have multiple domains on my mail server running postfix (adn dovecot), with LDAP based user accounts. When someone "from outside" (that is: not from my domains) sends mail t

Rejecting mail to unknown users

2013-09-11 Thread Zel Uneec
Hello everyone! I need your help setting up postfix. This is my problem/question: I have multiple domains on my mail server running postfix (adn dovecot), with LDAP based user accounts. When someone "from outside" (that is: not from my domains) sends mail to a user that does not exist, he get

Re: Problem with rejecting mail to unknown users

2012-02-01 Thread Martin Kruse Jensen
Den 01-02-2012 14:56, /dev/rob0 skrev: On Wed, Feb 01, 2012 at 02:00:15PM +0100, Martin Kruse Jensen wrote: Turns out all I needed was to set relay_recipient_maps - problem appears to be solved! Given the overall confusion of address classes in the postconf, including virtual_mailbox_domain

Re: Problem with rejecting mail to unknown users

2012-02-01 Thread /dev/rob0
On Wed, Feb 01, 2012 at 02:00:15PM +0100, Martin Kruse Jensen wrote: > Turns out all I needed was to set relay_recipient_maps - > problem appears to be solved! Given the overall confusion of address classes in the postconf, including virtual_mailbox_domains being set without corresponding vir

Re: Problem with rejecting mail to unknown users

2012-02-01 Thread Martin Kruse Jensen
Den 01-02-2012 11:48, Reindl Harald skrev: Am 01.02.2012 11:09, schrieb Martin Kruse Jensen: Hi. I'e got a problem I've been trying to solve for some time now, but I can't seem to get it to work. I'm running Postfix on FreeBSD with Maildrop delivery, SASL authentification and PostGreSQL back

Re: Problem with rejecting mail to unknown users

2012-02-01 Thread Reindl Harald
Am 01.02.2012 11:09, schrieb Martin Kruse Jensen: > Hi. > > I'e got a problem I've been trying to solve for some time now, but I can't > seem to get it to work. I'm running > Postfix on FreeBSD with Maildrop delivery, SASL authentification and > PostGreSQL backend. However I'm sending tons > o

Problem with rejecting mail to unknown users

2012-02-01 Thread Martin Kruse Jensen
Hi. I'e got a problem I've been trying to solve for some time now, but I can't seem to get it to work. I'm running Postfix on FreeBSD with Maildrop delivery, SASL authentification and PostGreSQL backend. However I'm sending tons of backscatter because Postfix dosn't reject mail for unknown lo

Re: Unknown Users

2010-02-11 Thread Jose Ildefonso Camargo Tolosa
Greetings, On Thu, Feb 11, 2010 at 10:11 AM, wrote: > Quoting Jonathan Tripathy : > >> Hi Folks, >> >> Does anyone know how to make a backup MX server query the primary mx >> server if a mailbox exsists, before accept the contents of the mail? >> >> I have a problem with MAILER-DAEMON messages..

Re: Unknown Users

2010-02-11 Thread terry
Quoting Jonathan Tripathy : Hi Folks, Does anyone know how to make a backup MX server query the primary mx server if a mailbox exsists, before accept the contents of the mail? I have a problem with MAILER-DAEMON messages... Thanks That might not be the right problem to fix. If the primar

Re: Unknown Users

2010-02-11 Thread Eero Volotinen
2010/2/11 Jonathan Tripathy : > Hi Folks, > > Does anyone know how to make a backup MX server query the primary mx server > if a mailbox exsists, before accept the contents of the mail? > > I have a problem with MAILER-DAEMON messages... for example using address verification: http://www.postfix.o

Unknown Users

2010-02-11 Thread Jonathan Tripathy
Hi Folks, Does anyone know how to make a backup MX server query the primary mx server if a mailbox exsists, before accept the contents of the mail? I have a problem with MAILER-DAEMON messages... Thanks

Forward mail to unknown users non virtual domain @domain.com to unkn...@domain com

2009-07-25 Thread Михаил Евстратов
files Authlib *I want:* Forward mail to unknown users non virtual domain @domain.com to unkn...@domain com *Problem:* I send mail te...@domain.com(absent user) , and maildrop reject mail Jul 24 11:01:25 gw postfix/pipe[19278]: 62A618D28C9: to=, re lay=maildrop, delay=0.27, delays=0.14/0.01/0/0.1

Re: Rejecting email to unknown users at a virtual domain

2008-09-26 Thread mouss
Alan Boyd wrote: Gah. I was hoping there'd be some means to do a simple pipe to an external application which provided the result. :( I suppose the SMTPD_POLICY_README is the way to go, then. Though it's a little more heavyweight than I anticipated. Still, it would allow me to easily ignore

Re: Rejecting email to unknown users at a virtual domain

2008-09-26 Thread Alan Boyd
Gah. I was hoping there'd be some means to do a simple pipe to an external application which provided the result. :( I suppose the SMTPD_POLICY_README is the way to go, then. Though it's a little more heavyweight than I anticipated. Still, it would allow me to easily ignore other domains C

Re: Rejecting email to unknown users at a virtual domain

2008-09-26 Thread Wietse Venema
Alan Boyd: > Hello, > > I'm trying to find a way to reject email which is sent to an unknown > user (determined by an external program) at a virtual domain, such > that the email doesn't even enter the mail queue. Wietse Venema: > For Postfix to reject invalid recipients at the SMTP port, this > i

Re: Rejecting email to unknown users at a virtual domain

2008-09-26 Thread Alan Boyd
Hi, Thanks for the response. Two questions: 1) Which variable in main.cf should this lookup table be referenced in? 2) I've read the man page, but it isn't clear in whether I can reference a database or table which is produced as the output of a program? For example, whether postfix can read

Re: Rejecting email to unknown users at a virtual domain

2008-09-26 Thread Wietse Venema
Alan Boyd: > Hello, > > I'm trying to find a way to reject email which is sent to an unknown > user (determined by an external program) at a virtual domain, such > that the email doesn't even enter the mail queue. > > Currently, my set up is as follows: > I use a virtual mapping to send email

Rejecting email to unknown users at a virtual domain

2008-09-26 Thread Alan Boyd
Hello, I'm trying to find a way to reject email which is sent to an unknown user (determined by an external program) at a virtual domain, such that the email doesn't even enter the mail queue. Currently, my set up is as follows: I use a virtual mapping to send email in the format [EMAIL P