Re: [Fwd: Re: Fwd: Re: postfix, dovecot auth and rip/lip]

2009-02-10 Thread Nate
At 06:45 PM 2/10/2009, post...@corwyn.net wrote: At 07:22 PM 2/10/2009, Nate wrote: At 03:53 PM 3/18/2008, you wrote: Wietse Venema wrote: We're using SMTP AUTH in postfix, querying the dovecot auth socket which works well; however, in our virtual hosted environment it requires that

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread postfix
At 05:24 PM 2/10/2009, mouss wrote: You can create dummy mailboxes that use the folders as their maildir. for example: joe+s...@example.com/some/path/example.com/joe/Maildir/.Spam/ then tell amavisd-new to add the +spam extension to mail tagged as spam. This may or may not be easy depending

Re: Redirect all mail from one domain to the same u...@otherdomain?

2009-02-10 Thread Jeff Weinberger
jeff_homeip a écrit : [snip] that creates some complications...and might be too difficult a script and a Makefile... or sql as below: but why not use wildcard virtual aliases? You noted below that they break recipient validations. Do you mean that smtp_recipient_restrictions won't

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread postfix
At 11:04 PM 2/10/2009, post...@corwyn.net wrote: At 05:24 PM 2/10/2009, mouss wrote: While I can readily create a user b...@example.com, who has a default maildir location for that sql of 'example.com/bob/' I can't quite figure out how to change the SQL to get the folder for

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 12:55:31AM -0500, post...@corwyn.net wrote: At 11:04 PM 2/10/2009, post...@corwyn.net wrote: At 05:24 PM 2/10/2009, mouss wrote: While I can readily create a user b...@example.com, who has a default maildir location for that sql of 'example.com/bob/' I can't quite

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread postfix
At 01:05 AM 2/11/2009, Victor Duchovni wrote: On Wed, Feb 11, 2009 at 12:55:31AM -0500, post...@corwyn.net wrote: This is a bad idea. You are allowing external parties to construct mailbox filenames on your system. Potential for various directory pathname injection attacks:

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread postfix
At 01:31 AM 2/11/2009, post...@corwyn.net wrote: At 01:05 AM 2/11/2009, Victor Duchovni wrote: On Wed, Feb 11, 2009 at 12:55:31AM -0500, post...@corwyn.net wrote: This is a bad idea. You are allowing external parties to construct mailbox filenames on your system. Potential for various directory

Re: Create additional sub-folders postfix/courier

2009-02-10 Thread postfix
And a last betterer/simpler way to do it. SELECT if(INSTR(maildir,'+'),concat(left(maildir,instr(maildir,'+')-1),'/Maildir/.',right(maildir,length(maildir)-instr(maildir,'+'))),CONCAT(maildir,'Maildir/')) from mailbox where username ='%s' and active='1'

Strange problem with pickup process (maybe just a coincidence)

2009-02-11 Thread Santiago Romero
Hi. I have a strange problem monitoring the pickup process: we have a monitoring system that, sometimes, warns us with pickup process not in memory (master and qmgr seems to continue running). When we enter the machine, we notice that pickup is really in memory, but after that alarm, every

Problem with postfix and amavisd-new

2009-02-11 Thread Vittorio Manfredini
I have some problem with postfix and amavisd-new. Postfix is configured as a mx backup and use amavisd-new to check about spam. I setup amavisd-new to rejict messages that are disoverd as SPAM, but seem that postfix bounce this messages and sent a sender non-delivery notification. Why this

Re: Strange problem with pickup process (maybe just a coincidence)

2009-02-11 Thread Bastian Blank
On Wed, Feb 11, 2009 at 09:00:14AM +0100, Santiago Romero wrote: I have a strange problem monitoring the pickup process: we have a monitoring system that, sometimes, warns us with pickup process not in memory What is the meaning of this message? Does the wake up restart the process

Re: Strange problem with pickup process (maybe just a coincidence)

2009-02-11 Thread Santiago Romero
Bastian Blank escribió: On Wed, Feb 11, 2009 at 09:00:14AM +0100, Santiago Romero wrote: I have a strange problem monitoring the pickup process: we have a monitoring system that, sometimes, warns us with pickup process not in memory What is the meaning of this message? This

Re: How to allow mails from some other servers to pass: reject_sender_login_mismatch

2009-02-11 Thread an...@iguanait.com
Hi, yes, you are right using mynetworks is ok. I also though for this way. I just didn't understood from beginning why it didn't work with access file, but now is clear. Thanks! On Wed, 2009-02-11 at 04:35 -0500, Digest of postfix-users list wrote: your access file is used for

Whitelist final draft

2009-02-11 Thread David Cottle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I now have added dnswl to my config to whitelist. Can I get some comments it looks okay please? smtpd_client_restrictions = check_client_access hash:/etc/postfix/whitelist, check_sender_access hash:/etc/postfix/check_backscatterer,

Re: Problem with postfix and amavisd-new

2009-02-11 Thread Charles Marcus
On 2/11/2009, Vittorio Manfredini (vitto...@vitsoft.bz) wrote: I setup amavisd-new to rejict messages that are disoverd as SPAM, but seem that postfix bounce this messages and sent a sender non-delivery notification. Never bounce a message once its been accepted. Either setup amavisd-new as a

Re: Connection Refused

2009-02-11 Thread Jason Wohlford
On Feb 10, 2009, at 9:05 PM, Sahil Tandon wrote: On Tue, 10 Feb 2009, Jason Wohlford wrote: Is there a way to notify me (i.e. postmaster) when my smtpd_proxy_filter fails? I see in the logs where a warning: connect to proxy service 127.0.0.1:10024: Connection refused occurs. How do I get a

Assistance with email error

2009-02-11 Thread Joey
Hello All, I have researched this without a 100% clear reason that an exchange server would return this error: The error that the other server returned was: 550 550 #5.1.0 Address rejected My guess is it's an invalid email address that we attempted to be delivered to, but I want to be

Re: Connection Refused

2009-02-11 Thread Martin Schmitt
Jason Wohlford schrieb: I thought 'notify_classes=bounce,delay,policy,protocol,resource,software' would do the trick, but no luck. I have the default setting notify_classes = resource, software active and receive those notifications all the time. Check the value of error_notice_recipient and

Re: filtering mail

2009-02-11 Thread Michael Katz
Ilo Lorusso wrote: Hi is their a way I can reject messages when its from address does not match the envelope from address? Doing that will drop tons of legit email. Mike Katz http://messagepartners.com using postfix ofcourse Thanks Regards Ilo

Re: 451 Remote TLS ERROR - Connection closed by peer

2009-02-11 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 04:27:07PM +0100, Ralf Hildebrandt wrote: When sending to nashfinch.com I get: Feb 11 16:23:36 mail postfix/smtp[22382]: setting up TLS connection to nashfinch.com.s5a1.psmtp.com[64.18.4.10]:25 Feb 11 16:23:37 mail postfix/smtp[22382]: Trusted TLS connection

Re: how to accept some addresses but relay the rest?

2009-02-11 Thread Noel Jones
Andy Spiegl wrote: On 2009-02-10, 12:00, Noel Jones wrote: This should get you started: Thanks! # relay_recipients ... list of valid recipients at example.com ... us...@example.com OK us...@example.com OK ... Hm, but I don't have the list of valid recipients. :-( All I have is the list

PATCH: postfix, dovecot auth and rip/lip

2009-02-11 Thread Wietse Venema
Can someone have a look at this patch for Postfix = 2.5? The patch for Postfix 2.3 does not work because I had to add a SASL mechanism filter feature. Wietse *** xsasl_dovecot_server.c.orig Sun Mar 16 19:09:04 2008 --- xsasl_dovecot_server.c Wed Feb 11 10:26:37 2009 ***

Re: Whitelist final draft

2009-02-11 Thread Noel Jones
David Cottle wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I now have added dnswl to my config to whitelist. Can I get some comments it looks okay please? smtpd_client_restrictions = check_client_access hash:/etc/postfix/whitelist, check_sender_access

Re: problem with virtual domains and mailman

2009-02-11 Thread Wietse Venema
G?ran H?glund: virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual-alias-maps.cf, proxy:mysql:/etc/postfix/mysql-virtual-mailbox-to-alias-maps.cf hash:/usr/local/mailman/data/aliases As I suspected, you are mixing local alias syntax with virtual alias syntax. The two have

best book to learn on?

2009-02-11 Thread Charlie
Hi, Looking to get educated on postfix, and I started browsing through amazons reviews. I've found the book 'The book of postfix' and that everyone seemed quite happy with it. But the problem is the book is from 2005 / 2006. Is this book still current? Or has there been enough revisions that I

postfix logs, spams and bounce messages

2009-02-11 Thread ddaas
Hi there, Yahoo starts blocking e-mails from our server. It is possible that someone/somehow is sending spams. Please help me find what is sending spam from our server. First please explain to me the following logs (ourdomain is hosted on our server): Feb 3 14:45:57 softexp

Re: best book to learn on?

2009-02-11 Thread Noel Jones
Charlie wrote: Hi, Looking to get educated on postfix, and I started browsing through amazons reviews. I've found the book 'The book of postfix' and that everyone seemed quite happy with it. But the problem is the book is from 2005 / 2006. Is this book still current? Or has there been enough

Re: postfix logs, spams and bounce messages

2009-02-11 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 08:05:56PM +0200, ddaas wrote: Feb 3 14:45:57 softexp postfix/smtpd[23394]: NOQUEUE: reject: RCPT from unknown[117.87.x.x]: 554 5.7.1 Service unavailable; Client host [117.87.x.x] blocked using sbl-xbl.spamhaus.org;

Re: postfix logs, spams and bounce messages

2009-02-11 Thread Noel Jones
ddaas wrote: Hi there, Yahoo starts blocking e-mails from our server. It is possible that someone/somehow is sending spams. Please help me find what is sending spam from our server. First please explain to me the following logs (ourdomain is hosted on our server): Feb 3 14:45:57 softexp

postfix benchmark performance

2009-02-11 Thread Silas Boyd-Wickizer
Hello, I'm doing some experiments with a synthetic benchmark and postfix. My current postfix configuration can deliver ~3000 msg/sec to 1000 virtual mailboxes; however, the system (16 core/4x4 AMD opteron) is ~90% idle. All logs and queues reside in a RAM filesystem, so disk IO is not a

Re: best book to learn on?

2009-02-11 Thread Charlie
Noel Jones wrote: Charlie wrote: Hi, Looking to get educated on postfix, and I started browsing through amazons reviews. I've found the book 'The book of postfix' and that everyone seemed quite happy with it. But the problem is the book is from 2005 / 2006. Is this book still current? Or

Re: postfix benchmark performance

2009-02-11 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 01:41:19PM -0500, Silas Boyd-Wickizer wrote: Hello, I'm doing some experiments with a synthetic benchmark and postfix. My current postfix configuration can deliver ~3000 msg/sec to 1000 virtual mailboxes; however, the system (16 core/4x4 AMD opteron) is ~90% idle.

Re: problem with virtual domains and mailman

2009-02-11 Thread Göran Höglund
Hi Thanks that helped! Now i just have to get the listmanager deliver the mails ... But that is another list I assume. /GH Wietse Venema skrev: G?ran H?glund: virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual-alias-maps.cf,

Re: postfix benchmark performance

2009-02-11 Thread Silas Boyd-Wickizer
With 16 logical CPUs, in this configuration you'll find your CPU load to be 1/16th of the theoretical maximum + overhead. Your report of 10% is about right. The system has 16 physical execution units: four quad core AMD Opterons. In the configuration I described, 90% of total cycles are

Mail Received But Not Delivered

2009-02-11 Thread Rich Shepard
This has not happened before: two messages sent to me, and received, but not delivered to my mailbox. Here's what the maillog shows: Feb 9 11:43:59 salmo postfix/qmgr[32715]: E4041AAE: from=usern...@gte.net, size=4572, nrcpt=1 (queue active) Feb 11 11:33:33 salmo postfix/qmgr[21684]:

Re: Mail Received But Not Delivered

2009-02-11 Thread Terry Carmen
Rich Shepard wrote: This has not happened before: two messages sent to me, and received, but not delivered to my mailbox. Here's what the maillog shows: Feb 9 11:43:59 salmo postfix/qmgr[32715]: E4041AAE: from=usern...@gte.net, size=4572, nrcpt=1 (queue active) Feb 11 11:33:33 salmo

Re: No reason not to use reject_unverified sender (was Re: reject_unverified_sender vs greylisting)

2009-02-11 Thread mouss
Paweł Leśniak a écrit : mouss pisze: João Miguel Neves a écrit : OK, I'll take that into consideration if I re-enable SAV. if you re-enable SAV, do as much checks as you can. the minimum is zen.spamhaus.org. but you can also use spamcop. it would also be good to do it after

Re: Mail Received But Not Delivered

2009-02-11 Thread Rich Shepard
On Wed, 11 Feb 2009, Terry Carmen wrote: What do you get with: grep E4041AAE /var/log/maillog Terry, Feb 9 11:43:58 salmo postfix/smtpd[17963]: E4041AAE: client=vms173007pub.verizon.net[206.46.173.7] Feb 9 11:43:59 salmo postfix/cleanup[17966]: E4041AAE:

Re: Redirect all mail from one domain to the same u...@otherdomain?

2009-02-11 Thread mouss
Jeff Weinberger a écrit : [snip] This is helpful, but I still need the query to take all the other alias domains into account. So, I need the IF condition, or a second map. I don't think so. I used this. I don't remember the details, but the idea is that you can often get rid of flow

Re: Mail Received But Not Delivered

2009-02-11 Thread Terry Carmen
Rich Shepard wrote: On Wed, 11 Feb 2009, Terry Carmen wrote: What do you get with: grep E4041AAE /var/log/maillog Terry, Feb 9 11:43:58 salmo postfix/smtpd[17963]: E4041AAE: client=vms173007pub.verizon.net[206.46.173.7] Feb 9 11:43:59 salmo postfix/cleanup[17966]: E4041AAE:

Re: Mail Received But Not Delivered

2009-02-11 Thread J.P. Trosclair
Rich Shepard wrote: On Wed, 11 Feb 2009, Terry Carmen wrote: What do you get with: grep E4041AAE /var/log/maillog Terry, Feb 9 11:43:58 salmo postfix/smtpd[17963]: E4041AAE: client=vms173007pub.verizon.net[206.46.173.7] Feb 9 11:43:59 salmo postfix/cleanup[17966]: E4041AAE:

Re: postfix benchmark performance

2009-02-11 Thread Wietse Venema
Silas Boyd-Wickizer: Hello, I'm doing some experiments with a synthetic benchmark and postfix. My current postfix configuration can deliver ~3000 msg/sec to 1000 virtual mailboxes; however, the system (16 core/4x4 AMD opteron) is ~90% idle. All logs and queues reside Why do you believe

Re: Create additional sub-folders postfix/courier

2009-02-11 Thread mouss
post...@corwyn.net a écrit : And a last betterer/simpler way to do it. SELECT if(INSTR(maildir,'+'),concat(left(maildir,instr(maildir,'+')-1),'/Maildir/.',right(maildir,length(maildir)-instr(maildir,'+'))),CONCAT(maildir,'Maildir/')) from mailbox where username ='%s' and active='1'

Re: postfix benchmark performance

2009-02-11 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 02:28:40PM -0500, Silas Boyd-Wickizer wrote: With 16 logical CPUs, in this configuration you'll find your CPU load to be 1/16th of the theoretical maximum + overhead. Your report of 10% is about right. The system has 16 physical execution units: four quad core AMD

Re: Create additional sub-folders postfix/courier

2009-02-11 Thread Victor Duchovni
On Wed, Feb 11, 2009 at 09:24:25PM +0100, mouss wrote: post...@corwyn.net a ?crit : And a last betterer/simpler way to do it. SELECT

Re: Create additional sub-folders postfix/courier

2009-02-11 Thread mouss
Victor Duchovni a écrit : On Wed, Feb 11, 2009 at 09:24:25PM +0100, mouss wrote: post...@corwyn.net a ?crit : And a last betterer/simpler way to do it. SELECT

Re: Mail Received But Not Delivered

2009-02-11 Thread Rich Shepard
On Wed, 11 Feb 2009, Terry Carmen wrote: Postfix delivered it to procmail, so postfix is done with it. I saw that, but there's nothing in ~/procmail/log since 2007. Time to look further. Thanks, Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility

Re: Mail Received But Not Delivered

2009-02-11 Thread Terry Carmen
Rich Shepard wrote: On Wed, 11 Feb 2009, Terry Carmen wrote: Postfix delivered it to procmail, so postfix is done with it. I saw that, but there's nothing in ~/procmail/log since 2007. Time to look further. Yep. That's definitely a good place to start. At a minimum the procmail log

Mail looping with transport maps and virtual alias maps

2009-02-11 Thread Brian Mathis
I have a few requirements which seem to be opposed to each other, as what I'm currently doing is causing a mail loop and bounce. Here's what I'm trying to accomplish: 1) This server is a standalone server sending outgoing mail, it is not receiving anything other than locally posted messages 2)

Re: Create additional sub-folders postfix/courier

2009-02-11 Thread postfix
At 03:46 PM 2/11/2009, mouss wrote: Victor Duchovni a écrit : SELECT if(INSTR(maildir,'+'),concat(left(maildir,instr(maildir,'+')-1),'/Maildir/.',right(maildir,length(maildir)-instr(maildir,'+'))),CONCAT(maildir,'Maildir/')) from mailbox where username ='%s' and active='1' you are still

Re: Virtual domains, aliases and deliver (Dovecot)

2009-02-11 Thread Sahil Tandon
On Wed, 11 Feb 2009, Roderick A. Anderson wrote: I'm still trying to get my head wrapped around all the options and how they interact with each other and non-Postfix stuff. I have questions in regards to a mail server that will be a virtual mailbox server. I have set

Re: postfix logs, spams and bounce messages

2009-02-12 Thread ddaas
I did the modification and it seems it work better. Since that modification I got no message rejected from yahoo. 1. Could you please explain to me why should the RBL checks be done before Sender Address Verification? And why it is not advisable to do SAV at all? 2. It is correct that my

Re: postfix logs, spams and bounce messages

2009-02-12 Thread mouss
ddaas a écrit : I did the modification and it seems it work better. Since that modification I got no message rejected from yahoo. 1. Could you please explain to me why should the RBL checks be done before Sender Address Verification? And why it is not advisable to do SAV at all? 2. It is

Re: postfix benchmark performance

2009-02-12 Thread lst_hoe02
Zitat von Silas Boyd-Wickizer s...@mit.edu: Why do you believe that this should use 100% of ALL Cpus? If you look at your synthetic test then you will likely find that there are at any point in time only a few mail receiving processes and mail delivering processes, and that these processes

Re: postfix logs, spams and bounce messages

2009-02-12 Thread mouss
Justin Piszcz a écrit : On Wed, 11 Feb 2009, Victor Duchovni wrote: You are doing Sender Address Verification (reject_unverified_sender) before doing RBL checks. Fix this. Do the RBL checks first, and consider not doing SAV at all, but if you do use it, do SAV *last*.

Re: recipient_delimiter and virtual users

2009-02-12 Thread mouss
post...@corwyn.net a écrit : OK, so I've become intrigued with recipient delimiters. My users are currently stored in a mysql database, 'postfix'. The table format is as postfixadmin sets it up, so in the username is the user email address u...@example.com Before I started

holding mail for recipient

2009-02-12 Thread Christoph Erdle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, after having implemented dynamic aliases using ldap I have the following problem: I want to hold mails for a specific recipient which is an alias to multiple addresses so admin interaction is required to send to this alias. Problem

Add X-Envelope From/To into incoming mail

2009-02-12 Thread Petr Hudeček
Hi everybody! I need add X-Envelope From: and X-Envelope To: into incoming mail from envelope mail, no from head mail! I use Postfix and procmail. Can you help me, please?

Re: Enforcing TLS by recipient and sender domain

2009-02-12 Thread Wietse Venema
Urban Hillebrand: Hello list, is there a way to enforce TLS dependent on the sender domain? Yes. Use check_sender_access and reject_plaintext_session. Wietse Background: Many customers are using our SMTP infrastructure (opportunistic TLS is active). Now one customer wants to

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread Wietse Venema
Petr Hude?ek: Hi everybody! I need add X-Envelope From: and X-Envelope To: into incoming mail from envelope mail, no from head mail! I use Postfix and procmail. Can you help me, please? Use PREPEND actions in access maps. http://www.postfix.org/SMTPD_ACCESS_README.5.html

Mail Annotation in Postfix

2009-02-12 Thread Zoltan Balogh
Hello All, I work on a project where we annotate emails coming through a mail server. By annotation I mean attaching additional possibly useful information to email body based on the email content. Annotation is enacted selectively based on users preferences. What is your opinion, what is the

Re: Enforcing TLS by recipient and sender domain

2009-02-12 Thread Urban Hillebrand
On Thu, Feb 12, 2009 at 07:13:19AM -0500, Wietse Venema wrote: Urban Hillebrand: Hello list, is there a way to enforce TLS dependent on the sender domain? Yes. Use check_sender_access and reject_plaintext_session. Thank you Wietse, but isn´t this a smtpD setting? My problem is about

Re: Mail Annotation in Postfix

2009-02-12 Thread Patrick Ben Koetter
* Zoltan Balogh zee.bal...@gmail.com: Hello All, I work on a project where we annotate emails coming through a mail server. By annotation I mean attaching additional possibly useful information to email body based on the email content. Annotation is enacted selectively based on users

Re: How to safely re-inject an archived queue file?

2009-02-12 Thread Curtis
On Wed, Feb 11, 2009 at 6:51 PM, Wietse Venema wie...@porcupine.org wrote: Curtis: Hi, I'm looking for a safe way to re-inject an archived queue file that was backed up and removed (via postsuper) from the hold queue. (Not just this once, but on a regular basis.) I realize that it would be

Re: How to safely re-inject an archived queue file?

2009-02-12 Thread Victor Duchovni
On Thu, Feb 12, 2009 at 06:51:20AM -0700, Curtis wrote: So, on a box that I know has nothing else feeding into the maildrop queue, it would be safe to skip the step of dropping it in the idle queue of a second instance (on the same filesystem) and running postsuper -s to get a properly named

Re: Sending hangs for no apparent reason..

2009-02-12 Thread Gaute Amundsen
It happened again :( Not in connection with backup, but in another situation with high load. Output of ps http://div.org/postfix_debug/postfix.processes.txt http://div.org/postfix_debug/stack_trace.28848 - qmgr http://div.org/postfix_debug/stack_trace.7175 - smtp

Re: Enforcing TLS by recipient and sender domain

2009-02-12 Thread Wietse Venema
Victor Duchovni: On Thu, Feb 12, 2009 at 08:33:35AM -0500, Wietse Venema wrote: is there a way to enforce TLS dependent on the sender domain? This would have to be simulated with sender_dependent_relayhost_maps. Specify a Postfix instance that encrypts all outbound mail. Postfix

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread John Villalovos
On Thu, Feb 12, 2009 at 7:10 AM, Petr Hudeček ph...@seznam.cz wrote: Hi everybody! I need add X-Envelope From: and X-Envelope To: into incoming mail from envelope mail, no from head mail! I use Postfix and procmail. Can you help me, please? I believe by default there is an: X-Original-To

Re: How to safely re-inject an archived queue file?

2009-02-12 Thread Victor Duchovni
On Thu, Feb 12, 2009 at 08:46:51AM -0700, Curtis wrote: Perfect. Does the pickup command have a trigger like qmgr that I can use with postkick to get the queue file picked up from the maildrop queue immediately? I'm guessing not since there's no mention of it in the man page, but I thought

Re: holding mail for recipient

2009-02-12 Thread Noel Jones
Christoph Erdle wrote: I want to hold mails for a specific recipient which is an alias to multiple addresses so admin interaction is required to send to this alias. Problem is that the mail is now held twice (following is the output of mailq and releasing the message): Feb 12 12:40:08

Re: recipient_delimiter and virtual users

2009-02-12 Thread postfix
At 04:28 AM 2/12/2009, mouss wrote: recipient_delimiter works out of the box. there is no need to change your tables, your sql statements nor add users. The problem is I don't know what the out of the box behavior should be. If I set recipient_delimiter = + then mail to u...@example.com,

Re: recipient_delimiter and virtual users

2009-02-12 Thread Victor Duchovni
On Thu, Feb 12, 2009 at 12:33:57PM -0500, post...@corwyn.net wrote: At 04:28 AM 2/12/2009, mouss wrote: recipient_delimiter works out of the box. there is no need to change your tables, your sql statements nor add users. The problem is I don't know what the out of the box behavior should be.

virtual_alias_maps against local_recipient_maps

2009-02-12 Thread jakjr
Hello, Is there a way to check the result of a iteration(email address) on virtual_alias_maps(cleanup) against the local_recipient_maps (smtp) ? Best Regards Jakjr

Re: virtual_alias_maps against local_recipient_maps

2009-02-12 Thread Noel Jones
jakjr wrote: Hello, Is there a way to check the result of a iteration(email address) on virtual_alias_maps(cleanup) against the local_recipient_maps (smtp) ? Best Regards Jakjr No. If you describe your problem maybe someone can give some helpful suggestions. -- Noel Jones

Re: rbl clients.

2009-02-12 Thread Peter Blair
http://stats.dnsbl.com/ As victor said, ZEN is usually enough for most people, but it's always good to know why you're not using the rest. On Thu, Feb 12, 2009 at 2:02 PM, Linux Addict linuxaddi...@gmail.com wrote: Please see below my smtpd_recipient_restrictions. On my rbl client list I have

Re: filtering mail

2009-02-12 Thread Peter Blair
Including every solicited bulk email. They usually create unique bounce addresses to track dead target mailboxes etc. On Wed, Feb 11, 2009 at 9:30 AM, Michael Katz mkn...@messagepartners.com wrote: Ilo Lorusso wrote: Hi is their a way I can reject messages when its from address does not

Re: Redirect all mail from one domain to the same u...@otherdomain?

2009-02-12 Thread Jeff Weinberger
Mouss wrote: Jeff Weinberger a �crit : [snip] This is helpful, but I still need the query to take all the other alias domains into account. So, I need the IF condition, or a second map. I don't think so. I used this. I don't remember the details, but the idea is that you can often get

How disk I/O affect postfix performance ?

2009-02-12 Thread Yu (Irvin) Fan
Hi, We're building a box to run two postfix instances to receive and send high volume of emails. According to the documentation it's better to run the two instances on separate disks for performance reason. I'm trying to understand how exactly does the disk I/O affect the postfix performance? By

Re: Add X-Envelope From/To into incoming mail

2009-02-12 Thread Sahil Tandon
On Thu, 12 Feb 2009, Petr Hude?ek wrote: I need add X-Envelope From: and X-Envelope To: into incoming mail from envelope mail, no from head mail! I use Postfix and procmail. Can you help me, please? Would Return-Path: and X-Original-To: suffice? Postfix adds these headers by default. --

Re: holding mail for recipient

2009-02-12 Thread Christoph Erdle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.02.2009 um 18:02 schrieb Noel Jones: Christoph Erdle wrote: I want to hold mails for a specific recipient which is an alias to multiple addresses so admin interaction is required to send to this alias. Problem is that the mail is now

RE: Timing question

2009-02-13 Thread Rocco Scappatura
Sorry for the delay.. Could you explain - in the same terms - how is quantified the time before a message is passed to the queue manager, after it is processed by the content filter? The time to deliver is measured as the time between MAIL FROM and end-of-data.

Holiday/out of office message

2009-02-13 Thread Schwalbe, Oliver
Hello Newsgroup, i will implement a holiday/out of office message in my postfix. the user should sent a message to holiday@domain.de and the holiday/out of office notification for the mailsender are active. with a 2. mail to holiday@domain.de the notification will be inactive. Can anybody

throtling / queue management system

2009-02-13 Thread Gerardo Herzig
Hi all. Im want something for throtling msgs, say if user X sends more than 10 emails/minute, then requeue next msgs from user X with some lower priority. Policyd is not bad, but it rejects emails when the limit is reached. Anyone knows an application like this? Will involve hacking/patching

About filtering mail with mailq

2009-02-13 Thread deconya
Hi Im new postfix and Im learning how to use. My first problem is about the spam because in my server are incoming mails with my domain but using bad adresses and making copy to the aol.com domain. Im making: #postqueue -p | grep ' Feb @aol.com' | sed 's/*//' | awk '{print $1}' spam.txt but

Re: Problem with sending email to multiple recipients

2009-02-13 Thread Charles Marcus
On 2/13/2009, sim085 (sim...@hotmail.com) wrote: Any suggestions? You'll get a lot more help if you follow the instructions that were in the welcome message you got when you signed up to the list... Specifically and for starters, output of postconf -n and logs exhibiting the problem? -- Best

header_checks check_sender_access don't work

2009-02-13 Thread ddaas
Hi there, I have 2 problems I want to discuss with you guys. 1. I want to block e-mails from some specific address. So I used header_checks = regexp:/usr/local/etc/postfix/header_checks and in header_checks I have: /^From: badaddr...@domain.com/ REJECT message But nothing happens. 2. I

Re: About filtering mail with mailq

2009-02-13 Thread Charles Marcus
On 2/13/2009 6:36 AM, deconya wrote: Im new postfix and Im learning how to use. My first problem is about the spam because in my server are incoming mails with my domain but using bad adresses and making copy to the aol.com http://aol.com domain. Im making: Don't accept messages for invalid

Re: How disk I/O affect postfix performance ?

2009-02-13 Thread Wietse Venema
Wietse Venema: Yu (Irvin) Fan: Hi, We're building a box to run two postfix instances to receive and send high volume of emails. According to the documentation it's better to run the two instances on separate disks for performance reason. I'm trying to understand how exactly does the

More main.cf cleanup

2009-02-13 Thread Charles Marcus
Hello again, I just want to confirm before I change this that I'm not missing something that will cause me some pain... Currently I have all of my restrictions under smtpd_recipient_restrictions, but after seeing some questions about these on the list, I'm thinking that there are two that should

Re: throtling / queue management system

2009-02-13 Thread Wietse Venema
Gerardo Herzig: Wietse Venema wrote: Gerardo Herzig: Hi all. Im want something for throtling msgs, say if user X sends more than 10 emails/minute, then requeue next msgs from user X with some lower priority. Postfix has no queue priotity. When the street to the airport is

Re: No virtual alias with diferent cleanup for submission service

2009-02-13 Thread Noel Jones
rafa wrote: Hello everyone, I created a second cleanup for the submission service to have separate header checks from incoming emails. cleanup-out unix n - - - 0 cleanup -o header_checks=pcre:/etc/postfix/header_checks-out -o

unknown mail transport error

2009-02-13 Thread Henri Chevreton
Hi, I have a simple postfix server that was working fine for more than one year. I have now many mail transport error that seems to begin after an update, and I do need some help ! Thanks in advance This server is a debian etch and postfix is 2.3.8-2+etch1 A strange thing : I've send e-mail

Re: More main.cf cleanup

2009-02-13 Thread Justin Piszcz
On Fri, 13 Feb 2009, Charles Marcus wrote: On 2/13/2009, Ralf Hildebrandt (ralf.hildebra...@charite.de) wrote: I'm thinking it would be better to move the check_client_access check to smtpd_client_restrictions, and the check_sender_access check to smtpd_sender_restrictions, so I'd then have:

Re: header_checks check_sender_access don't work

2009-02-13 Thread Noel Jones
ddaas wrote: Hi there, I have 2 problems I want to discuss with you guys. 1. I want to block e-mails from some specific address. So I used header_checks = regexp:/usr/local/etc/postfix/header_checks and in header_checks I have: /^From: badaddr...@domain.com/ REJECT message But nothing

Re: No virtual alias with diferent cleanup for submission service

2009-02-13 Thread rafa
Noel Jones wrote: To fix this, just add -o receive_override_options= (ie. an empty value) to your submission service. Now it's working. Thanks. rafael.

DSN: Improper sequence of commands in postfix 2.5.4

2009-02-13 Thread Eddy Beliveau
Hi! I'm using Postfix 2.5.4 and it worked well. Thanks ;-) One of my academic user received this error message Google didn't help me much Do you know what can cause this failure ? Is it cause by my server ? Thanks, Eddy Sujet : Delivery Status Notification (Failure) Date : Thu,

SMTP relay only

2009-02-13 Thread Rocco Scappatura
Hello, I need to setup a mail server for outgoing email only. I clearly would like to restrict access to my networks only. Moreover, I would like to permit only to some envelope senders to relay email trhough a such MTA. And no other envelope sender should be able to relay trhough this MTA. So

Re: unknown mail transport error

2009-02-13 Thread Wietse Venema
Henri Chevreton: Feb 13 14:25:37 alty postfix/master[3972]: warning: process /usr/lib/postfix/local pid 19045 killed by signal 6 That is your problem. Wietse

Re: header_checks check_sender_access don't work

2009-02-13 Thread ddaas
Thank you Noel ! Your regex worked. But related the second problem, how can I block this kind of spams? Spams from remote servers From: myaddr...@myvirtualdomain.com To: myaddr...@myvirtualdomain.com? It is ok for me to block all e-mail that are comming from remote smtp servers From

Re: More main.cf cleanup

2009-02-13 Thread Charles Marcus
On 2/13/2009, Justin Piszcz (jpis...@lucidpixels.com) wrote: I have one question to add to this thread, in the past it has always been up to the admin whether to put all beneath recipient restrictions (with the exception of SAV), is this still considered best-practice? Or should one follow

<    1   2   3   4   5   6   7   8   9   10   >