Re: Reg. Postfix bounce email

2012-12-20 Thread Viktor Dukhovni
On Thu, Dec 20, 2012 at 10:58:01PM +0530, Sreenivas Reddy T wrote:

   I have set up the postfix  server for catch-all email address.
 Whenever an email arrives, my script (Command Based Filter) will do headers
 parsing and store it in  the database, But whenever some error occurs in
 the script, Postfix sends an email with error message - meaning stack trace
 of program to the sender email. I want it to send to a particular email
 address instead of *sender *of that email. How can i achieve this?

If a message is undeliverable, it bounces to the sender. If you
don't want it to bounce to the sender, make sure to deliver it
(report success to Postfix).

Your script needs to never fail for any reason other than transient
resource issues (in that case exit with an exit code of EX_TEMPFAIL
aka 75) or because the message is permanently undeliverable in
which case exit with one of:

#define EX_DATAERR  65  /* data format error */
#define EX_NOUSER   67  /* addressee unknown */
#define EX_NOHOST   68  /* host name unknown */
#define EX_UNAVAILABLE  69  /* service unavailable */

If your script is buggy, fix it so it is bug-free. If that's too
difficult, and you want to queue messages in the hope that the bug
is fixed, catch ang log low-level errors and then exit with EX_TEMPFAIL.

-- 
Viktor.


bounce email

2010-03-29 Thread motty.cruz
Hello, 

Lately I had been getting bounce email ( spam), I do not know how to
effectively proceed to solve this problem. Below is the actual email that
one of the users is getting constantly, the spam filer is unable to
detected. The administrator said we can't do nothing other than create a
rule in outlook to trash this email. Anybody have other suggestions, please?
I'm using postfix+amavisd-new to combat spam.


System Specs,

8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 

 

From: Mail Delivery Subsystem [mailto:mailer-dae...@singnet.com.sg]

Sent: Monday, March 29, 2010 9:07 AM

To: u...@example.com

Subject: Returned mail: see transcript for details

 

The original message was received at Mon, 29 Mar 2010 23:59:29 +0800 from
mx17.singnet.com.sg [165.21.74.117]

 

   - The following addresses had permanent fatal errors -
james...@singnet.com.sg

(reason: 550 5.1.1 User unknown)

 

   - Transcript of session follows - 550 5.1.1
james...@singnet.com.sg... User unknown

 

Thanks in Advance, 

-Motty



Re: bounce email

2010-03-29 Thread Noel Jones

On 3/29/2010 11:23 AM, motty.cruz wrote:

Hello,

Lately I had been getting bounce email ( spam), I do not know how to
effectively proceed to solve this problem. Below is the actual email
that one of the users is getting constantly, the spam filer is unable to
detected. The administrator said we can’t do nothing other than create a
rule in outlook to trash this email. Anybody have other suggestions,
please? I’m using postfix+amavisd-new to combat spam.

System Specs,

8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

From: Mail Delivery Subsystem [mailto:mailer-dae...@singnet.com.sg]

Sent: Monday, March 29, 2010 9:07 AM

To: u...@example.com

Subject: Returned mail: see transcript for details


This might help:
http://www.postfix.org/BACKSCATTER_README.html

You can probably find more discussions about this if you 
search the mail list archives for backscatter.


If you need more help, please see:
http://www.postfix.org/DEBUG_README.html#mail

  -- Noel Jones