Re: Is it possible rewrite like this?

2014-09-18 Thread punit jain
Did you try :- /^info_dom(\d+)@.*$/info_dom${1}@dom${1}.com using PCRE maps. On Thu, Sep 18, 2014 at 12:35 PM, Philip Rhoades wrote: > People, > > I've had a look at the rewrite stuff but I can't see that it is possible > to do what I want: > > For outgoing mail for users with names like:

Re: multiple copies to different destinations

2012-04-16 Thread Punit Jain
" To: postfix-users@postfix.org Sent: Monday, April 16, 2012 11:28:17 PM Subject: Re: multiple copies to different destinations On 4/16/2012 12:46 PM, Punit Jain wrote: > Hi , > > I have a requirement where I need to send a copy of mail to pipe daemon for > some processing, based

multiple copies to different destinations

2012-04-16 Thread Punit Jain
Hi , I have a requirement where I need to send a copy of mail to pipe daemon for some processing, based on if recipient has an attribute set in ldap. At the same time mail is also delivered to recipient. The pipe daemon can pass the mail to SMS fateway for sms to be delivered. Any clues how to

smtpd Restrictions

2011-12-16 Thread Punit Jain
Hi, I want to create restriction where a group of users should not be allowed to send email among themselves but should be allowed to send to others and on internet. I tried creating restrictions as below but it doesnot work : - smtpd_sender_restrictions = check_sender_access hash:/etc/postf

Re: Issue regarding header checks

2011-07-25 Thread punit jain
Thanks I forgot to update it did work

Re: Issue regarding header checks

2011-07-25 Thread punit jain
> > /^To: (\d)+@test\.com/i DISCARD > > > > So basically any email sent as num...@test.com should be discarded. > > > No. Any mail containing a TO: header with > numb...@test.com > should bei discarded! How do we make sure this only applies to outgoing messages and doesnot ffect incoming ?

Issue regarding header checks

2011-07-25 Thread punit jain
Hi, I have configured postfix to DISCARD messages with specific To: header using the rule below : - header_checks=pcre:/etc/postfix/header_checks cat /etc/postfix/header_checks : /^To: (\d)+@test\.com/i DISCARD So basically any email sent as num...@test.com should be discarded. However t

max limit on number of addresses per mail

2011-05-16 Thread punit jain
Hi , I know there is an overall limit on number of addresses controlled by smtpd_recipient_limit., however do we have a max value for number of To, Cc and Bcc fields separately ? Regards, Punit

Re: SMTP AUTH

2011-05-04 Thread punit jain
This isn't possible without separating local mail submission from general > internet incoming mail. > > Probably the easiest way to do that is to require your users to submit mail > on the submission port 587 or smtps port 465, and use your firewall to block > or redirect port 25 from your local ne

Re: SMTP AUTH

2011-05-04 Thread punit jain
> >> How do I enforce that ? > > Don't give your users login rights on your mail server. > > what about webmail ? :) > > (sendt from 127.0.0.1 to 0.0.0.0 ip will get catched by permit_mynetworks, > but not by permit_auth* unless its smtp authed) > Webmail is fine as users anyhow need to login. I a

Re: SMTP AUTH

2011-05-04 Thread punit jain
> Wouldn't it be better to leave permit_mynetworks in place and restrict > > $mynetworks to 127.0.0.0/8 instead? > > maybe, but the OP imho want to smtp auth ALL emails > > All *outgoing emails only, from *all users irrespective of whether they sending to local or non local domains. Is there a way

Re: SMTP AUTH

2011-05-04 Thread punit jain
Does it make sense ? or you want me to explain more ?

Re: SMTP AUTH

2011-05-04 Thread punit jain
When I send a mail from a local user to local domain user hosted on my server I want to make sure it still asks for auth request. How do I achieve it ?

SMTP AUTH

2011-05-04 Thread punit jain
Hi, How do I ensure that SMTP AUTH is also in place for local domains as well ? Regards, Puneet

Re: Custom Policy Integration

2010-06-05 Thread punit jain
Hi Wieste, Thanks for the link.I would like to know if my understanding is correct. Here is what I understood: - 1. Postfix uses Milter (mail filter) protocol to allow external application to inspect SMTP events (CONNECT, DISCONNECT), SMTP commands (HELO, MAIL FROM, etc.) as well as mail content

Re: Custom Policy Integration

2010-06-03 Thread punit jain
Hi Wietse, Gone through the links. I find Milter to be more suitable for my requirement. A quick query on smtpd_milters, the call to external filter would be same way the smtp negotiation happens ( HELO, MAIL FROM, RCPT TO etc ) before accepting the message to be queued or is the call in some form

Custom Policy Integration

2010-06-02 Thread punit jain
Hi , I have a postfix server running and it needs to be integrated with 3rd party Policy server. What that server expects is smtp negotiation ie. "mail from", "rcpt to" along with "source IP" to be sent to policy server in form of a HTTP call. Based on the policy, the policy server will return a c

Re: Rate Limiting

2010-05-19 Thread Punit Jain
> Anything is possible. I'm working on a similar idea for controlling this, where I track the message count over a period of time, for each sender, and if it goes beyond a threshold, they are suspended until it's resolved (or they stop sending). > General idea is to catch the SASL sender on before

Re: Rate Limiting

2010-05-19 Thread Punit Jain
> Throttling is not the solution to fight spam originating within your network. If you know who is doing it, boot him. If you don't, identify who it is, then boot him. Period. Why are you playing paddy cakes with a spammer on your network? Its not user on my network, rather a stolen password whic

Rate Limiting

2010-05-18 Thread punit jain
Hi , I am using Postfix as an MTA but I see nowadays lot of spam going out of my system. I have used transport based throttling for a domain but I am looking for options for per sender based rate limiting. Can I achieve per user based throttling using postfix or I have to use some 3rd party softwa

Relay mails to local domains

2009-10-27 Thread punit jain
Hi , I have multiple domains hosted on my postfix server. I am planning to relay mails for one of the domain test.com to my AS/AV appliance. I tried setting relayhost = 192.168.180.25 which is IP address of my appliance but it doesnot relay mails to this IP infact delivers locally: - Oct 27 18:58

mails not getting delivered

2009-05-19 Thread punit jain
Hi , I have a setup with postfix integrated with spamassassin and amavis. I have a configuration with all spam tagged mails redirected to a spam id. For a user i have a problem with mails not being recieved in inbox though postfix logs say its delivered. I checked out time stamp with client system

Re: Relay requirements

2009-04-10 Thread punit jain
that i presume there is no better solution for split-domain scenario apart from maintaining user based transport maps? On Fri, Apr 10, 2009 at 9:09 PM, Sahil Tandon wrote: > On Fri, 10 Apr 2009, punit jain wrote: > > > My organisation is primarily a domino setup but we are now moving to

Relay requirements

2009-04-10 Thread punit jain
Hi , My organisation is primarily a domino setup but we are now moving to postfix. Postfix is the edge server with a valid MX now. I accept mail for my domain xxx.com. I am presently in process of moving all the users to postfix slowly with time. Do we have any setting in postfix wherein i accept

SMTP AUTH

2009-04-02 Thread punit jain
Hi I have a requirement where i need to use SMTP AUTH for specific IP addresses only. As far as i read its applicable for server as a whole. Any ideas ?

Re: SMTP AUTH failing

2009-02-03 Thread punit jain
OK managed to solve the issue. :-) Thanks On Tue, Feb 3, 2009 at 4:42 PM, Patrick Ben Koetter wrote: > * punit jain : > > Ok I have changed password and also tested from outside. Relaying is > denied > > but SMTP AUTH doesnt work. In outlook i can send mail w/o clicking

Re: SMTP AUTH failing

2009-02-03 Thread punit jain
On Tue, Feb 3, 2009 at 4:22 PM, punit jain wrote: > Ok I have changed password and also tested from outside. Relaying is denied > but SMTP AUTH doesnt work. In outlook i can send mail w/o clicking on "My > server requires authentication" . Also attached are logs: - > >

SMTP AUTH failing

2009-02-03 Thread punit jain
Hi All, I have a mailserver which is getting abused by spammers. It is right now an open relay and has been blocked by major sites. naughtygoo...@yahoo.in (host f.mx.mail.yahoo.com[209.191.88.247] refused to talk to me: 421 4.7.1 [TS03] All messages from 1

Re: queue buildup

2009-01-07 Thread punit jain
ges get older, they'll expire and be > returned to the sender. > > Terry > > > punit jain wrote: > >> Hi All, >> >> My mail server has due to some reasons queued plenty of mails: - >> >> qshape deferred >&g

queue buildup

2009-01-06 Thread punit jain
Hi All, My mail server has due to some reasons queued plenty of mails: - qshape deferred T 5 10 20 40 80 160 320 640 1280 1280+ TOTAL 1349 0 2 2 6 5 6 18 23 58 1229 multilinks.com 1342 0

Re: flush daemon

2008-12-29 Thread punit jain
ime when the remote domain mentioned in fast_flush_domain is slow ? Will preemption of messages take place or will it effect the delivery process ? On Mon, Dec 29, 2008 at 11:51 AM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Mon, Dec 29, 2008 at 11:12:57AM +0530,

flush daemon

2008-12-28 Thread punit jain
Hi All, I have a question regarding Flush daemon. I have set fast_flush_domains to one of my local virtual domain i have hosted. If i look into flush directory i find domain file with listing of queue files. The problem is i don't have any mails in queue directory but still domain file in flush d

SASL problem

2008-08-18 Thread punit jain
HI All, I have postfix server running and have configured sasl. I have configured SASL but i could see : - telnet 0.0.0.0 25 Trying 0.0.0.0... Connected to 0.0.0.0. Escape character is '^]'. 220 mail.example.com ESMTP Postfix ehlo irfan 250-mail.andare.ch 250-PIPELINING 250-SIZE 2048 250-VRFY

Re: SASL query

2008-08-17 Thread punit jain
Thanks . This clears my doubt. :-) On Sat, Aug 16, 2008 at 6:50 PM, Patrick Ben Koetter <[EMAIL PROTECTED]>wrote: > * Wietse Venema <[EMAIL PROTECTED]>: > > Patrick Ben Koetter: > > > A reasonable setting is: > > > > > > smtpd_sasl_security_options = noanonymous > > > > > > This allows any availa

Re: No incoming mail

2008-08-15 Thread punit jain
Do you have proper MX record set in DNS ? On Fri, Aug 15, 2008 at 11:02 PM, Rupert Reid <[EMAIL PROTECTED]>wrote: > As you can imagine from the question I am asking I am new to postfix, > however, I hope that the many experts among you will be able to help me > resolve this problem. I have confi

Re: SASL query

2008-08-15 Thread punit jain
Hi Patrick, I was going through link http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailclients.html " It appears that clients try authentication methods in the order as advertised by the server (e.g., PLAIN ANONYMOUS CRAM-MD5) which means that if you disable plaintext passwor

SASL query

2008-08-14 Thread punit jain
Hi All, I have a query on SASL mechanism. I have enabled 3 mechanisms and that can be seen as : - ehlo localhost 250-proxy.test.com 250-PIPELINING 250-SIZE 1024 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250