Expiration log messages

2008-07-27 Thread jeff
What log message should I look for when a message has been deferred and Postfix has decided it is undeliverable? (I'm parsing the log and need to know how to distinguish this from an actual bounce.) Will the log contain a 5xx message for that mail? --

Content filtering using MySQL table

2008-07-27 Thread Jeff Weinberger
Hi: I"m using content filtering by using the following (this is the example) syntax in master.cf: smtp inet ...other stuff here, do not change... smtpd -o content_filter=myfilter:myfilter myfilter unix - n n - 10 pipe flags.. All is wo

Postfix 2.5.3 available

2008-07-27 Thread Wietse Venema
The Postfix 2.5.3 stable release fixes minor issues that were also fixed in the experimental release series. Soon available from the download sites listed at http://www.postfix.org/ 9006 Jul 27 17:05 postfix-2.5-patch03.gz 503552 Jul 27 16:45 postfix-2.5.3.HISTORY 17019 Jul 27 16:27 p

dovecot.sieve file location?

2008-07-27 Thread kbajwa
CentOS 5.2 Postfix-2.3.3 Dovecot-1.1.1 Dovecot.Sieve-1.1.5 I have setup with: home_mailbox = Maildir/ (/etc/postfix/main.cf) & mail-location = maildir:~/Maildir (/etc/dovecot.conf) I have created a 'test' user to test Sieve 'Vacation' setup. My questions are: 1. Which folder '.dovecot.sieve'

Re: Wildcard for domain instead of user?

2008-07-27 Thread Wietse Venema
Jeff Weinberger: > I don't know if this is possible in a virtual alias (or even virtual) > set up, but I would like to be able to set up a user name with a > wildcard domain. Here's what I mean: > > I host several domains. I would like the address '[EMAIL PROTECTED] > ' to go to the same plac

Wildcard for domain instead of user?

2008-07-27 Thread Jeff Weinberger
I don't know if this is possible in a virtual alias (or even virtual) set up, but I would like to be able to set up a user name with a wildcard domain. Here's what I mean: I host several domains. I would like the address '[EMAIL PROTECTED] ' to go to the same place (me). So my initial though

Re: Header check and script

2008-07-27 Thread Ville Walveranta
On Sun, Jul 27, 2008 at 11:13 AM, mouss <[EMAIL PROTECTED]> wrote: > you should have posted this to the other thread: >"Rewriting Subject line, adding an X-header?" > (always think of the archives). Indeed. There seems to be a lot of good stuff in the archives! > note that just because yo

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > > [EMAIL PROTECTED]: > >> voidrecipient_list_add(RECIPIENT_LIST *list, long offset, > >> const char *dsn_orcpt, int dsn_notify, > >> const char *orig_rcpt, const char *rcpt) > > > > You can't change the rcpt argume

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
> [EMAIL PROTECTED]: >> voidrecipient_list_add(RECIPIENT_LIST *list, long offset, >> const char *dsn_orcpt, int dsn_notify, >> const char *orig_rcpt, const char *rcpt) > > You can't change the rcpt argument. > >> { >> int n

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
>> [EMAIL PROTECTED]: >>> > [EMAIL PROTECTED]: >>> >> , postfix reload; and postfix stills working as always. >>> > >>> > Show actual evidence of behavior that does not change, and show >>> > actual evidence based on which it should have changed. >>> > >>> > Wietse >>> > >>> >>> It's easy. On my

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > voidrecipient_list_add(RECIPIENT_LIST *list, long offset, > const char *dsn_orcpt, int dsn_notify, > const char *orig_rcpt, const char *rcpt) You can't change the rcpt argument. > { > int new_avail;

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > > [EMAIL PROTECTED]: > >> > [EMAIL PROTECTED]: > >> >> , postfix reload; and postfix stills working as always. > >> > > >> > Show actual evidence of behavior that does not change, and show > >> > actual evidence based on which it should have changed. > >> > > >> > Wietse > >>

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
> [EMAIL PROTECTED]: >> > [EMAIL PROTECTED]: >> >> , postfix reload; and postfix stills working as always. >> > >> > Show actual evidence of behavior that does not change, and show >> > actual evidence based on which it should have changed. >> > >> >Wietse >> > >> >> It's easy. On my modified l

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > > [EMAIL PROTECTED]: > >> , postfix reload; and postfix stills working as always. > > > > Show actual evidence of behavior that does not change, and show > > actual evidence based on which it should have changed. > > > > Wietse > > > > It's easy. On my modified library, I

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
> [EMAIL PROTECTED]: >> , postfix reload; and postfix stills working as always. > > Show actual evidence of behavior that does not change, and show > actual evidence based on which it should have changed. > > Wietse > It's easy. On my modified library, I modify recipient_list_add(...) functi

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > , postfix reload; and postfix stills working as always. Show actual evidence of behavior that does not change, and show actual evidence based on which it should have changed. Wietse

Re: Header check and script

2008-07-27 Thread mouss
Ville Walveranta wrote: I've been looking for the last day (on and off :-) at Todd Bennett's smtpprox (see http://bent.latency.net/smtpprox/ ). It would likely do what you're looking to do with minimal modifications. My goal is to look for the Subject of the arriving messages you should have p

Re: 1st bounce

2008-07-27 Thread LDB
mouss wrote: LDB wrote: I need a message to immediately go to /dev/null if it hard bounces once. Set to zero this works, maximal_queue_lifetime = 0 but I do not want it to go back to the sender. I need it to go to /dev/null. Any suggestions??? What problem are you trying to solve? disc

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
> [EMAIL PROTECTED]: >> Thank you. I try that some days ago but it didn't work. > > It works only if you understand its limitations. > > The import_environment feature executes AFTER the run-time linker > completes execution. Therefore, import_environment cannot affect > the run-time linker perform

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
[EMAIL PROTECTED]: > Thank you. I try that some days ago but it didn't work. It works only if you understand its limitations. The import_environment feature executes AFTER the run-time linker completes execution. Therefore, import_environment cannot affect the run-time linker performance for the

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
Thank you. I try that some days ago but it didn't work. I'll retry it! Antonio G. Artime

Re: Sender rewriting

2008-07-27 Thread mouss
Daniel Bareiro wrote: Hi all! I am trying to configure my home Postfix so that the outgoing mail to an external email from a user of my LAN are rewritten to a valid account of mail, which would be to me especially useful if I would want to send some type of notification to a external mail by mea

Re: LD_PRELOAD + Postfix problems

2008-07-27 Thread Wietse Venema
http://www.postfix.org/postconf.5.html#import_environment http://www.postfix.org/postconf.5.html#export_environment Wietse

Re: always_bcc exceptions?

2008-07-27 Thread Wietse Venema
mouss: [ Charset ISO-8859-1 unsupported, converting... ] > Jay Chandler wrote: > > Is there a way to exempt users from the always_bcc option (i.e., general > > counsel doesn't want mail logged in the system)? I seem to recall there > > was a way to build an exclusion class, but my brain's gone t

Re: 1st bounce

2008-07-27 Thread mouss
LDB wrote: I need a message to immediately go to /dev/null if it hard bounces once. Set to zero this works, maximal_queue_lifetime = 0 but I do not want it to go back to the sender. I need it to go to /dev/null. Any suggestions??? What problem are you trying to solve? discarding mail th

LD_PRELOAD + Postfix problems

2008-07-27 Thread infaga03
Hello everybody: I'm trying to modify some functions on postfix source and then preload them by using LD_PRELOAD. To get it work, I've modified /etc/postfix/postfix-script as follows: [...] overlay) export LD_LIBRARY_PATH=./:/usr/local/lib/:$LD_LIBRARY_PATH export LD_PRELOAD=/home/antoni

Re: always_bcc exceptions?

2008-07-27 Thread mouss
Jay Chandler wrote: Is there a way to exempt users from the always_bcc option (i.e., general counsel doesn't want mail logged in the system)? I seem to recall there was a way to build an exclusion class, but my brain's gone to bed before I have tonight, it would seem... use recipient_bcc_ma

Sender rewriting

2008-07-27 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! I am trying to configure my home Postfix so that the outgoing mail to an external email from a user of my LAN are rewritten to a valid account of mail, which would be to me especially useful if I would want to send some type of notification to

1st bounce

2008-07-27 Thread LDB
I need a message to immediately go to /dev/null if it hard bounces once. Set to zero this works, maximal_queue_lifetime = 0 but I do not want it to go back to the sender. I need it to go to /dev/null. Any suggestions??? Thanks, LDB

Re: Header check and script

2008-07-27 Thread Ville Walveranta
I've been looking for the last day (on and off :-) at Todd Bennett's smtpprox (see http://bent.latency.net/smtpprox/ ). It would likely do what you're looking to do with minimal modifications. My goal is to look for the Subject of the arriving messages (all arriving messages will be filtered throu

always_bcc exceptions?

2008-07-27 Thread Jay Chandler
Is there a way to exempt users from the always_bcc option (i.e., general counsel doesn't want mail logged in the system)? I seem to recall there was a way to build an exclusion class, but my brain's gone to bed before I have tonight, it would seem... --Jay