Re: Deciding transports based on milter headers

2013-08-19 Thread Abhijeet Rastogi
. No matter what header does internal mails contain, I want them delivered via lmtp itself. I'm sorry for the inconvenience caused by dividing text among two mails. This is really bad but I am still dying to find the solution to this. Hope to see a reply soon. On Mon, Aug 19, 2013 at 5:49 PM

Re: Deciding transports based on milter headers

2013-08-19 Thread Abhijeet Rastogi
1.com to A1.com or A1.com to A2.com, they're lmtp'ed directly on postfix-INT itself. (This is done to save bandwidth) Sorry for wrong info in previous mail, I was trying to be as quick as possible to catch you while you're online. On Mon, Aug 19, 2013 at 4:42 PM, Abhijeet Rastogi

Re: Deciding transports based on milter headers

2013-08-19 Thread Abhijeet Rastogi
Thanks for replying. Please see my answers inline. On Mon, Aug 19, 2013 at 4:21 PM, Wietse Venema wrote: > Abhijeet Rastogi: > > Hi all, > > > > Some info before starting: > > > > a. There are two postfix instances on two different boxes. One (named > > P

Deciding transports based on milter headers

2013-08-19 Thread Abhijeet Rastogi
4-8 If the mail is external mail, what's the way to decide the transport depending upon the milter_header L3 that was added. How to achieve this? -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: Deferred mail and transports and retries

2013-07-26 Thread Abhijeet Rastogi
pam system stops performing for some odd reason. Thanks for the help. > > Wietse > -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: Deferred mail and transports and retries

2013-07-25 Thread Abhijeet Rastogi
same "smtp service". Is there a possibility where I can change the smtp service while retrying for a already deferred mail? On Thu, Jul 25, 2013 at 6:06 PM, Wietse Venema wrote: > Abhijeet Rastogi: > > Hi Wietse, > > > > Thanks for you reply. I may be wron

Re: Deferred mail and transports and retries

2013-07-25 Thread Abhijeet Rastogi
s (ip addresses) are tried in one go before actually deferring a mail? Thanks in advance. On Thu, Jul 25, 2013 at 3:54 PM, Wietse Venema wrote: > Abhijeet Rastogi: > > The issue is, why does postfix retry the second time instantly (within 1 > > sec)? Shouldn't postfix wait t

Re: Deferred mail and transports and retries

2013-07-25 Thread Abhijeet Rastogi
: > On Thu, Jul 25, 2013 at 12:16:15PM +0530, Abhijeet Rastogi wrote: > > Hi all, > > > > 1. If a mail is temporarily deferred from a remote MTA, postfix should > > back-off instantly for some time but I observed this today. > > > > Jul 24 06:40:16 server.name p

Deferred mail and transports and retries

2013-07-24 Thread Abhijeet Rastogi
s, is there a way I can change this behaviour? -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Right way to evaluate a Outbound Spam prevention product

2013-07-01 Thread Abhijeet Rastogi
't use always_bcc) but I want it to be scanned via two different spam solutions. Can anyone guide me as to how do I proceed? What are the possible ways to achieve this? Thanks -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: Blacklist IP with a reject message

2013-06-26 Thread Abhijeet Rastogi
ich will be re-read on every > request. Look for "lfile" or "ltable" at http://www.postfwd.org/doc.** > html#files <http://www.postfwd.org/doc.html#files> > > id=IPBLOCK > client_address=lfile:/some/**file > action=REJECT Your ip address has been blocked > > -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Blacklist IP with a reject message

2013-06-25 Thread Abhijeet Rastogi
also. For now, my postfix instance supports these lookup tables. $ postconf -c /etc/postfix -m btree cidr environ hash internal nis pcre pgsql proxy regexp static tcp texthash unix None of them is a database that's light like Redis and supports master-slave configuration. Can you sugges

Re: Reject mails based on headers (comparing envelop mailfrom and body from)

2013-05-07 Thread Abhijeet Rastogi
ote: > > Hi Abhijeet, > > you might be interested in DMARC, a relatively new technique that tries > to do what you want: attach validation rules based on the From header. > > See dmarc.org for details. > > > Tom > > On 05/07/2013 05:06 PM, Abhijeet Rastogi wrote:

Re: Reject mails based on headers (comparing envelop mailfrom and body from)

2013-05-07 Thread Abhijeet Rastogi
e kind of mails (for ex, adding POSSIBLE SPAM in subject etc), that would be awesome too. I'm trying to not write a milter for this though. On Tue, May 7, 2013 at 7:57 PM, Noel Jones wrote: > On 5/7/2013 8:54 AM, Abhijeet Rastogi wrote: >> Hi all, >> >> So, I've a

Reject mails based on headers (comparing envelop mailfrom and body from)

2013-05-07 Thread Abhijeet Rastogi
eople can exploit this thing to send mails from say, "ad...@paypal.com" and fool users. In Gmail, they handle this kind of thing by showing "via" thing when viewing the mail. -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: Add a log line in postfix logs

2013-04-23 Thread Abhijeet Rastogi
will be missed. If I add it at the bottom, there is a possibility that it'll never be matched. So, what exactly is the solution now? My sole requirement is getting "queueid", "from" and "to" in the same log line. Getting other headers is just a secondary thing. On Tu

Re: Add a log line in postfix logs

2013-04-23 Thread Abhijeet Rastogi
"/^to:/" in check_headers. Because there won't be a message which won't contain "to" header. But, I'm not comfortable with doing that because then I'll have duplicate information in one line. ("to" header's value will come two times) On Tu

Add a log line in postfix logs

2013-04-23 Thread Abhijeet Rastogi
hat I want but it also adds other stuff like "proto", "helo" etc which I don't want. I want logs to be as clean as possible. Is there a way I can accomplish this? -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: New Postfix log analyzer tool, statistics, grapher, ... PostgreSQL DB 9.2.x based

2013-04-12 Thread Abhijeet Rastogi
C++ coder. > > In brief, a continuous effort is needed as usual. > > *NOTE: I've removed the attached screenshot because e-mail size is > limited to 4 characters.* > > Thanks for your attention > > Best regards, > Nicolas > -- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: dictionary-attack

2013-03-25 Thread Abhijeet Rastogi
-- Regards, Abhijeet Rastogi (shadyabhi) http://blog.abhijeetr.com

Re: Realtime log reporting when postfix delivers mails

2013-03-16 Thread Abhijeet Rastogi
requirement. What is the > best way for this > > > Thanks > Ram > > > > > > -- Regards, Abhijeet Rastogi (shadyabhi) https://plus.google.com/107316377741966576356/