Re: rule for restricting incoming email

2015-02-12 Thread Matus UHLAR - fantomas
On Tue, 10 Feb 2015, Rajesh M wrote: now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected On 11.02.15 10:47, Lucio Chiappetti wrote: To me this seems a task for procmail. On Wed, 11 Feb 2015, Matus UHLAR - fa

Re: rule for restricting incoming email

2015-02-12 Thread Lucio Chiappetti
On Wed, 11 Feb 2015, Matus UHLAR - fantomas wrote: On Tue, 10 Feb 2015, Rajesh M wrote: now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected On 11.02.15 10:47, Lucio Chiappetti wrote: To me this seems a task

Re: rule for restricting incoming email

2015-02-11 Thread David B Funk
ver spamassassin does not seem to check Delivered-To header what could be the problem ? rajesh - Original Message - From: David B Funk [mailto:dbf...@engineering.uiowa.edu] To: users@spamassassin.apache.org Sent: Tue, 10 Feb 2015 17:17:32 -0600 (CST) Subject: Re: rule for restricting

Re: rule for restricting incoming email

2015-02-11 Thread John Hardin
On Wed, 11 Feb 2015, David B Funk wrote: On Wed, 11 Feb 2015, Axb wrote: On 02/11/2015 07:09 PM, Benny Pedersen wrote: > On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: > > > i am using qmailtoaster > > > > when the emails are sent to specified recepients via bcc

Re: rule for restricting incoming email

2015-02-11 Thread Axb
On 02/11/2015 07:35 PM, David B Funk wrote: On Wed, 11 Feb 2015, Axb wrote: On 02/11/2015 07:09 PM, Benny Pedersen wrote: On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a

Re: rule for restricting incoming email

2015-02-11 Thread David B Funk
On Wed, 11 Feb 2015, Axb wrote: On 02/11/2015 07:09 PM, Benny Pedersen wrote: On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a header Delivered-To created which i tried to

Re: rule for restricting incoming email

2015-02-11 Thread John Hardin
On Wed, 11 Feb 2015, Benny Pedersen wrote: On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a header Delivered-To created which i tried to use to check however spamassass

Re: rule for restricting incoming email

2015-02-11 Thread Axb
On 02/11/2015 07:09 PM, Benny Pedersen wrote: On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a header Delivered-To created which i tried to use to check however spamassassi

Re: rule for restricting incoming email

2015-02-11 Thread Benny Pedersen
On 11. feb. 2015 18.31.43 "Rajesh M" <24x7ser...@24x7server.net> wrote: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a header Delivered-To created which i tried to use to check however spamassassin does not seem to check Delivered-To header

Re: rule for restricting incoming email

2015-02-11 Thread John Hardin
lue issues when the rules don't work. You're kinda asking us how to help you hammer screws in straight. - Original Message - From: David B Funk [mailto:dbf...@engineering.uiowa.edu] To: users@spamassassin.apache.org Sent: Tue, 10 Feb 2015 17:17:32 -0600 (CST) Subject: Re: rule

Re: rule for restricting incoming email

2015-02-11 Thread Reindl Harald
Am 11.02.2015 um 18:30 schrieb Rajesh M: i am using qmailtoaster when the emails are sent to specified recepients via bcc then there is a header Delivered-To created which i tried to use to check however spamassassin does not seem to check Delivered-To header what could be the problem ? tha

Re: rule for restricting incoming email

2015-02-11 Thread Rajesh M
- From: David B Funk [mailto:dbf...@engineering.uiowa.edu] To: users@spamassassin.apache.org Sent: Tue, 10 Feb 2015 17:17:32 -0600 (CST) Subject: Re: rule for restricting incoming email On Tue, 10 Feb 2015, Benny Pedersen wrote: > Antony Stone skrev den 2015-02-10 21:33: > >> What happens

Re: rule for restricting incoming email

2015-02-11 Thread Matus UHLAR - fantomas
On Tue, 10 Feb 2015, Rajesh M wrote: i have an email id : u...@abc.com now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected as spam On 11.02.15 10:47, Lucio Chiappetti wrote: To me this seems a task for procm

Re: rule for restricting incoming email

2015-02-11 Thread Lucio Chiappetti
On Tue, 10 Feb 2015, Rajesh M wrote: i have an email id : u...@abc.com now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected as spam To me this seems a task for procmail. The USER can make a list of domains or a

Re: rule for restricting incoming email

2015-02-10 Thread David B Funk
On Tue, 10 Feb 2015, Benny Pedersen wrote: Antony Stone skrev den 2015-02-10 21:33: What happens to an email from u...@abc.com, sent to someone other than u...@recipient.example.com? Won't that then be whitelisted, even though whoever it's addressed to hasn't asked for that (only user@recipie

Re: rule for restricting incoming email

2015-02-10 Thread Benny Pedersen
Antony Stone skrev den 2015-02-10 21:33: What happens to an email from u...@abc.com, sent to someone other than u...@recipient.example.com? Won't that then be whitelisted, even though whoever it's addressed to hasn't asked for that (only user@recipient asked for this treatment)? yes add al

Re: rule for restricting incoming email

2015-02-10 Thread Reindl Harald
Am 10.02.2015 um 21:33 schrieb Antony Stone: On Tuesday 10 Feb 2015 at 20:27, Benny Pedersen wrote: Antony Stone skrev den 2015-02-10 19:28: I think the original question was in fact asking about allowing email from specific external *domains*, not from specific *addresses*, however more imp

Re: rule for restricting incoming email

2015-02-10 Thread Antony Stone
On Tuesday 10 Feb 2015 at 20:27, Benny Pedersen wrote: > Antony Stone skrev den 2015-02-10 19:28: > > I think the original question was in fact asking about allowing email > > from specific external *domains*, not from specific *addresses*, however > > more importantly, how to get these rules to a

Re: rule for restricting incoming email

2015-02-10 Thread Benny Pedersen
Antony Stone skrev den 2015-02-10 19:28: I think the original question was in fact asking about allowing email from specific external *domains*, not from specific *addresses*, however more importantly, how to get these rules to apply only to mail destined for a single user's address, no matte

Re: rule for restricting incoming email

2015-02-10 Thread Antony Stone
On Tuesday 10 Feb 2015 at 18:12, Benny Pedersen wrote: > Rajesh M skrev den 2015-02-10 18:56: > > i have an email id : u...@abc.com > > > > now i need to set a rule such that u...@abc.com can receive emails > > only from specific external domains and rest all should be rejected as > > spam > > b

Re: rule for restricting incoming email

2015-02-10 Thread Benny Pedersen
Rajesh M skrev den 2015-02-10 18:56: i have an email id : u...@abc.com now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected as spam blacklist_from *@example.com unblacklist_from u...@example.com if you need mor

Re: rule for restricting incoming email

2015-02-10 Thread John Hardin
On Tue, 10 Feb 2015, Rajesh M wrote: i send bcc email to test@mydomain. then the header contains Delivered-To Take a look at the Received header on the BCC message. The username may also appear there. -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.

rule for restricting incoming email

2015-02-10 Thread Rajesh M
hi i have an email id : u...@abc.com now i need to set a rule such that u...@abc.com can receive emails only from specific external domains and rest all should be rejected as spam i have set a rule as such header MYDOMAIN_A ToCc =~ /\b(?:test\@mydomain\.com)\b/i header MYDOMAIN_B Delivered-To