Re: email tracking from postfix log file

2012-02-09 Thread Ralf Hildebrandt
* Tom Kinghorn : > On 10/02/2012 09:28, Ralf Hildebrandt wrote: > >* kshitij mali: > >cat /var/log/maillog | egrep -i 'from=<.*@yahoo\.com>' > > > Why waste processing cycles, just use egrep instead of using cat first. > > egrep -i 'from=<.*@yahoo\.com>' /var/log/maillog Yeah, but I wanted to mak

Re: email tracking from postfix log file

2012-02-09 Thread Tom Kinghorn
On 10/02/2012 09:28, Ralf Hildebrandt wrote: * kshitij mali: cat /var/log/maillog | egrep -i 'from=<.*@yahoo\.com>' Why waste processing cycles, just use egrep instead of using cat first. egrep -i 'from=<.*@yahoo\.com>' /var/log/maillog

Re: email tracking from postfix log file

2012-02-09 Thread Ralf Hildebrandt
* kshitij mali : > Hi , > > how to trace email from particular domain i want to trace all log from > yahoo.com > > cat /var/log/maillog | egrep -i 'from=<*@yahoo.com' cat /var/log/maillog | egrep -i 'from=<.*@yahoo\.com>' -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité

Re: email tracking from postfix log file

2012-02-09 Thread kshitij mali
Hi , how to trace email from particular domain i want to trace all log from yahoo.com cat /var/log/maillog | egrep -i 'from=<*@yahoo.com' the above commad is not working properly pls some help me with regular expression Regards kshitij On Wed, Jun 1, 2011 at 6:07 PM, Duane Hill wrote: > Wed

email trace from postfix logs

2012-02-09 Thread kshitij mali
Hi , how to trace email from particular domain i want to trace all log from yahoo.com cat /var/log/maillog | egrep -i 'from=<*@yahoo.com' the above commad is not working properly pls some help me with regular expression Regards kshitij

Re: Linux filesystem advice for email use

2012-02-09 Thread Stan Hoeppner
On 2/8/2012 8:24 PM, Bill Cole wrote: > I would stay away from btrfs until it is much more mature. As a general > rule (very general) mail systems stress allocation and metadata > efficiency more than sustained data flow, so you'd want to avoid options > like the older versions of XFS. "older ver

Re: Redirect all mail to one user retaining original envelope rcpt

2012-02-09 Thread Wietse Venema
Fabio Sangiovanni: > Hi, > > I need to configure Postfix to get the following result: I need > every mail submitted by users to be redirected to a remote account > (via SMTP or LMTP), and every message must contain an header with > the original envelope rcpt. Example: /etc/postfix/main.cf sm

Redirect all mail to one user retaining original envelope rcpt

2012-02-09 Thread Fabio Sangiovanni
Hi, I need to configure Postfix to get the following result: I need every mail submitted by users to be redirected to a remote account (via SMTP or LMTP), and every message must contain an header with the original envelope rcpt. Example: user MUA submits 2 messages, one for a...@domain1.com and

Re: Implement SMTP Auth in a non-disruptive way?

2012-02-09 Thread Jose Ildefonso Camargo Tolosa
Uh sorry Rendi! As I said: I was in a hurry, I didn't mean to direct the answer to you! It should go to Peter (I took the wrong name). Anyway, I don't have the original OP message (I don't know why, I just don't have it), so, I answered with what I have, and based on my experience: with thes

Re: rfc822 regex

2012-02-09 Thread Bill Cole
On 9 Feb 2012, at 8:47, Viktor Dukhovni wrote: On Thu, Feb 09, 2012 at 01:15:52PM +0530, Ram wrote: I am trying to validate email ids of subscribers coming to my site Is there a standard regular expression for email id syntax that confirms to rfc822. I want to avoid junk entries from enter

Re: logging all used helo

2012-02-09 Thread Noel Jones
On 2/9/2012 8:29 AM, Robert Schetterer wrote: > Hi , is there a simple way to do logging > of all used helo s, beside debug mode ? Here's a little patch that adds helo= to the client info log entry. This has been posted to this list before. It should apply to all "recent" versions of postfix. T

Re: logging all used helo

2012-02-09 Thread Robert Schetterer
Am 09.02.2012 15:37, schrieb Wietse Venema: > Robert Schetterer: >> Hi , is there a simple way to do logging >> of all used helo s, beside debug mode ? > > warn_if_reject check_helo_access static:reject > > Wietse thx Wietse as always ,perfect solution/answer -- Best Regards MfG Robert

Re: logging all used helo

2012-02-09 Thread Wietse Venema
Robert Schetterer: > Hi , is there a simple way to do logging > of all used helo s, beside debug mode ? warn_if_reject check_helo_access static:reject Wietse

logging all used helo

2012-02-09 Thread Robert Schetterer
Hi , is there a simple way to do logging of all used helo s, beside debug mode ? -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria

Re: What wrong with my postfix

2012-02-09 Thread Wietse Venema
kshitij mali: > Feb 6 10:41:22 D1SNX682RL postfix/smtpd[3693]: connect from > unknown[155.14.132.36] > [some headers logged here] > adr3700104...@nol.com.sg> > Feb 6 10:44:27 D1SNX682RL postfix/smtpd[3693]: *lost connection after > DATA*(437492 bytes) from unknown[155.14.132.36] The connecti

Re: rfc822 regex

2012-02-09 Thread Viktor Dukhovni
On Thu, Feb 09, 2012 at 01:15:52PM +0530, Ram wrote: > I am trying to validate email ids of subscribers coming to my site > Is there a standard regular expression for email id syntax that > confirms to rfc822. > > I want to avoid junk entries from entering my database. > > Postfix already che

Re: What wrong with my postfix

2012-02-09 Thread Viktor Dukhovni
On Thu, Feb 09, 2012 at 11:43:54AM +0200, Nerijus Kislauskas wrote: > > Lost connection after data may mean either the client closed the > > connection, or the mail was timed out. > > Are you able to send mails to this postfix server from other machines ? > > If yes then it is unlikely to be a sm

Σχετ: Σχετ: Implement SMTP Auth in a non-disruptive way?

2012-02-09 Thread Peter Tselios
Please do not top-post on this list. I wrote: > I this is a good spot for the standard response of "please don't tell us what > your proposed solution is, please tell us what is the problem you are trying > to solve". In other words, why do you suddenly need SMTP AUTH (and I'm > assuming here

Re: several RCPT TO

2012-02-09 Thread Wietse Venema
Wael MANAI: > I am sending 1 message using postfix.sendmail command. In this > message I have 1 destination (To) but postfix uses 2 different RCPT TO > to send the message, 1 that is the value specify in the command > (option -t in sendmail) and the other = To. > The command used is: > /usr/s

Re: Σχετ: Implement SMTP Auth in a non-disruptive way?

2012-02-09 Thread Larry Stone
Please do not top-post on this list. I wrote: > I this is a good spot for the standard response of "please don't tell us what > your proposed solution is, please tell us what is the problem you are trying > to solve". In other words, why do you suddenly need SMTP AUTH (and I'm > assuming here y

several RCPT TO

2012-02-09 Thread Wael MANAI
Hi, I am sending 1 message using postfix.sendmail command. In this message I have 1 destination (To) but postfix uses 2 different RCPT TO to send the message, 1 that is the value specify in the command (option -t in sendmail) and the other = To. The command used is: /usr/sbin/sendmail -f"po

Re: What wrong with my postfix

2012-02-09 Thread Nerijus Kislauskas
On 02/09/2012 11:13 AM, Ram wrote: > Lost connection after data may mean either the client closed the > connection , or the mail was timed out. > Are you able to send mails to this postfix server from other machines ? > If yes then it is unlikely to be a smtpd server issue No, you ar not right my

Re: What wrong with my postfix

2012-02-09 Thread Ram
On 02/09/2012 01:19 PM, kshitij mali wrote: Hi sir, I use postfix2.5.5 rpm to run postfix as relay server since from last many day my application team of SAP software started complaining for the smtp email failuer pls find the below longs +

Re: What wrong with my postfix

2012-02-09 Thread Robert Schetterer
Am 09.02.2012 08:49, schrieb kshitij mali: > *lost connection after DATA* mostly means the incomming mailserver stops deliver in by timeout this may have many reasons, i.e is there some firewall with smtp inspection involved and/or some network problem if this is a new problem ask for new hardware