Re: own script to handle messages

2010-07-01 Thread Jiri Vitek
thank you, that is exactly what i was looking for.. J.Vitek On Tue, 2010-06-29 at 11:10 -0500, Noel Jones wrote: On 6/29/2010 10:58 AM, Jiri Vitek wrote: Hi everybody, i need configure postfix to handle just one incoming address(i can do that without problem), and not sending it to

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 00:07, David Touzeau: dear I know this is not a good idea but this is for an internal server in order to auto-create mailboxes. A script parse the catch-all mailbox and create the appropriate mailbox THe behavior is when i send mail to use...@domain.tld the catch-all take the

Proxymap tunning

2010-07-01 Thread Luciana Moreira
Hello guys, I am working on tunning our postfix server which is already much faster dues to the great input I got in this list :) I now have to configure our proxymap to have the number of processes equal to the maximum required during a burst situation. My question is: could any of these

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
Thanks for this information markus I would like to know if for this kind of virtual maps use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld @domain.tld noexist...@domain.tld when i send an email to use...@domain.tld postfix send to

Re: @myowndomain addresse spoofing

2010-07-01 Thread Rachid Abdelkhalak
Hello, If i understand, the smtpd_recipient_restrictions allow just to give postfix the list of addresses for wich he can accept emails, but my need is to prevent that an other person use an other mail server to send emails using our domain. It mean i want to specify to postfix the servers

Re: Proxymap tunning

2010-07-01 Thread Victor Duchovni
On Thu, Jul 01, 2010 at 10:12:38AM +0200, Luciana Moreira wrote: Hello guys, I am working on tunning our postfix server which is already much faster dues to the great input I got in this list :) I now have to configure our proxymap to have the number of processes equal to the maximum

Re: dealing with Yahoo slowness

2010-07-01 Thread Victor Duchovni
On Wed, Jun 30, 2010 at 10:15:10AM -0700, Florin Andrei wrote: More info. This is how the queues always look, it's a very typical batch: http://i.imgur.com/7MPIx.png This graph has no scale, and would not be very interesting in any case. Have you made attempt to sign-up for Yahoo's feedback

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 10:49, David Touzeau: I would like to know if for this kind of virtual maps use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld use...@domain.tld @domain.tld noexist...@domain.tld when i send an email to use...@domain.tld postfix send to

Re: Proxymap tunning

2010-07-01 Thread Luciana Moreira
Victor Duchovni wrote: On Thu, Jul 01, 2010 at 10:12:38AM +0200, Luciana Moreira wrote: Hello guys, I am working on tunning our postfix server which is already much faster dues to the great input I got in this list :) I now have to configure our proxymap to have the number of processes

Re: Proxymap tunning

2010-07-01 Thread Victor Duchovni
On Thu, Jul 01, 2010 at 12:39:22PM +0200, Luciana Moreira wrote: The cleanup and SMTP servers can work in parallel. If mysql is slow, make sure your tables are properly indexed, and queries are not so complex that they can only be resolved via a table scan. Is this also true for one

Error 451 (Couldn't open temporary) Please Help

2010-07-01 Thread Datatronics Gmail
Hello Everyone, i´m going to make it quick, We are receiving a lot of errors from the Queue of postfix, and emails are not going out, we are getting this error: host mx2.hotmail.com[65.54.188.72] said: 451 Couldn't open temporary file (in reply to DATA command) We have also seen that we have

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
here it is the main.cf 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = 3 address_verify_poll_delay = 3s address_verify_positive_expire_time = 31d

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 14:40, David Touzeau: here it is the main.cf Post the output of postconf -n next time 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = 3

Re: Error 451 (Couldn't open temporary) #2

2010-07-01 Thread Patric Falinder
Datatronics Gmail skrev 2010-07-01 15:06: Hello Everyone, i´m going to make it quick, ** Problem #1 We are receiving a lot of errors from the Queue of postfix, and emails are not going out, we are getting this error: host

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 15:17, Markus Schönhaber wrote: 01.07.2010 14:40, David Touzeau: here it is the main.cf Post the output of postconf -n next time 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 15:48, David Touzeau: here it is the postconf -n 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = 3 address_verify_poll_delay = 3s

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 16:34, Markus Schönhaber wrote: 01.07.2010 15:48, David Touzeau: here it is the postconf -n 2bounce_notice_recipient = postmaster address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count =

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 16:49, David Touzeau: On 01/07/2010 16:34, Markus Schönhaber wrote: Again: What are the contents of /etc/postfix/mydestination? Did you postmap it? And: BTW: what's the point in explicitly setting so many configuration variables to their default values? Jul 1 16:48:08

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
On 01/07/2010 17:22, Markus Schönhaber wrote: 01.07.2010 16:49, David Touzeau: On 01/07/2010 16:34, Markus Schönhaber wrote: Again: What are the contents of /etc/postfix/mydestination? Did you postmap it? And: BTW: what's the point in explicitly setting so many configuration

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 17:38, David Touzeau: this is the content of /etc/postfix/mydestination --- company.tld OK /etc/postfix/aliases --- user1:us...@company.tld user2:us...@company.tld all-users:all-us...@company.tld

Re: set a catch-all for users that not exists in database

2010-07-01 Thread Markus Schönhaber
01.07.2010 18:13, David Touzeau: THanks to explain to me the process but what is for you the best settings to fix the situation ? Hm, I have already said what I consider the best fix for the situation: get rid of the catch-all and implement recipient validation. -- Regards mks

Re: set a catch-all for users that not exists in database

2010-07-01 Thread David Touzeau
I think i have found the solution the solution is to populate the /etc/postfix/virtual with user's emails addresses maps before the catch-all instead this @company.tldall-us...@company.tld fill this: us...@company.tld us...@company.tld us...@company.tld us...@company.tld

Misleading error message on backup MX

2010-07-01 Thread Roland Ramthun
Hi all, I obviously have an configuration error on my backup MX, but can't sort it out alone. I use two mailservers, one primary MX and a secondary MX which relays messages to the primary. A cron job on eara now generated a mail to root, which should be sent to m...@roland-ramthun.de. This

Re: Misleading error message on backup MX

2010-07-01 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Ramthun said the following on 01/07/10 19:39: I use two mailservers, one primary MX and a secondary MX which relays messages to the primary. What's the point in setting a mailbox limit on a backup MX server? If you set mailbox_size_limit

Re: Misleading error message on backup MX

2010-07-01 Thread Brian Evans - Postfix List
On 7/1/2010 1:39 PM, Roland Ramthun wrote: Hi all, I obviously have an configuration error on my backup MX, but can't sort it out alone. I use two mailservers, one primary MX and a secondary MX which relays messages to the primary. A cron job on eara now generated a mail to root, which

Re: Forcing an address to soft bounce

2010-07-01 Thread Wietse Venema
Srdan Dukic: Hi, I've got an email server which I use for testing various setups. I am now trying to get this server to soft bounce all mail for a particular address e.g. 'softbou...@example.com'. I am doing this to test whether the sending server is handling and reporting the soft bounces

header_checks REJECT

2010-07-01 Thread David Hill
Hello, I am using Postfix 2.7.1. The header_checks manpage says REJECT will insert a default enhanced status code of 5.7.1 if the optional text is not specified. However, the server gives back 450 4.7.1. 220 mail.server.com ESMTP Postfix EHLO hostname 250-mail.server.com 250-PIPELINING

Re: header_checks REJECT

2010-07-01 Thread Wietse Venema
David Hill: Hello, I am using Postfix 2.7.1. The header_checks manpage says REJECT will insert a default enhanced status code of 5.7.1 if the optional text is not specified. However, the server gives back 450 4.7.1. 220 mail.server.com ESMTP Postfix EHLO hostname 250-mail.server.com

Re: Misleading error message on backup MX

2010-07-01 Thread Roland Ramthun
On Thu, 01 Jul 2010 14:03:23 -0400 Brian Evans - Postfix List grkni...@scent-team.com wrote: global/mail_params.h 563:extern int var_mailbox_limit; Both of these parameters are signed integers as of Postfix 2.6.5 (and possibly later versions) Once you exceed 2,147,483,647; you get

Re: Misleading error message on backup MX

2010-07-01 Thread Roland Ramthun
On Thu, 01 Jul 2010 20:00:09 +0200 Luigi Rosa li...@luigirosa.com wrote: What's the point in setting a mailbox limit on a backup MX server? If you set mailbox_size_limit to zero, what happens? The configuration was partly copied from an old machine, this setting doesn't make sense in this

Re: header_checks REJECT

2010-07-01 Thread David Hill
On Thu, Jul 01, 2010 at 02:35:22PM -0400, Wietse Venema wrote: David Hill: Hello, I am using Postfix 2.7.1. The header_checks manpage says REJECT will insert a default enhanced status code of 5.7.1 if the optional text is not specified. However, the server gives back 450 4.7.1.

Re: @myowndomain addresse spoofing

2010-07-01 Thread Noel Jones
On 7/1/2010 4:14 AM, Rachid Abdelkhalak wrote: Hello, If i understand, the smtpd_recipient_restrictions allow just to give postfix the list of addresses for wich he can accept emails, but my need is to prevent that an other person use an other mail server to send emails using our domain. It

Re: header_checks REJECT

2010-07-01 Thread Noel Jones
On 7/1/2010 2:15 PM, David Hill wrote: On Thu, Jul 01, 2010 at 02:35:22PM -0400, Wietse Venema wrote: David Hill: Hello, I am using Postfix 2.7.1. The header_checks manpage says REJECT will insert a default enhanced status code of 5.7.1 if the optional text is not specified. However, the

Re: header_checks REJECT

2010-07-01 Thread David Hill
On Thu, Jul 01, 2010 at 02:46:19PM -0500, Noel Jones wrote: On 7/1/2010 2:15 PM, David Hill wrote: On Thu, Jul 01, 2010 at 02:35:22PM -0400, Wietse Venema wrote: David Hill: Hello, I am using Postfix 2.7.1. The header_checks manpage says REJECT will insert a default enhanced status code

Re: header_checks REJECT

2010-07-01 Thread Ralf Hildebrandt
* David Hill dh...@mindcry.org: soft_bounce = yes turn it off -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962

Re: header_checks REJECT

2010-07-01 Thread David Hill
AHHH, thanks for that. hidden in my config Sorry for the noise. On Thu, Jul 01, 2010 at 10:06:29PM +0200, Ralf Hildebrandt wrote: * David Hill dh...@mindcry.org: soft_bounce = yes turn it off -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité -

Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
Slightly off topic, but a user has observed that any email sent in plain text is bounced, any mail sent as HTML gets sent. Has anyone encountered such an issue? My environment hasn't really changed in months and I'm confused. Thanks, James

Re: @myowndomain addresse spoofing

2010-07-01 Thread Rachid Abdelkhalak
Thank you Noel, I'll try that and let you know. Best regards. On Thu, 1 Jul 2010, Noel Jones wrote: On 7/1/2010 4:14 AM, Rachid Abdelkhalak wrote: Hello, If i understand, the smtpd_recipient_restrictions allow just to give postfix the list of addresses for wich he can accept emails, but

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 05:40 PM, James R. Marcus wrote: Slightly off topic, but a user has observed that any email sent in plain text is bounced, any mail sent as HTML gets sent. Has anyone encountered such an issue? My environment hasn't really changed in months and I'm confused. Thanks, James

Re: Mail blocked if not HTML

2010-07-01 Thread Noel Jones
On 7/1/2010 4:40 PM, James R. Marcus wrote: Slightly off topic, but a user has observed that any email sent in plain text is bounced, any mail sent as HTML gets sent. Has anyone encountered such an issue? My environment hasn't really changed in months and I'm confused. Thanks, James I've

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
Sorry I didn't post them before I was just trying to do a sanity check. Here they are: --- Postfix Logs --- Jun 23 16:48:10 relay0 postfix/smtp[30504]: 5ED4F114BBC: to=sa...@2co.commailto:sa...@2co.com, relay=mail.2co.com[64.128.185.221]:25, delay=0.98,

Re: Mail blocked if not HTML

2010-07-01 Thread Ralf Hildebrandt
* James R. Marcus jmar...@edhance.com: Sorry I didn't post them before I was just trying to do a sanity check. Here they are: --- Postfix Logs --- Jun 23 16:48:10 relay0 postfix/smtp[30504]: 5ED4F114BBC: to=sa...@2co.commailto:sa...@2co.com,

Re: Mail blocked if not HTML

2010-07-01 Thread Noel Jones
On 7/1/2010 4:55 PM, James R. Marcus wrote: Sorry I didn't post them before I was just trying to do a sanity check. Here they are: --- Postfix Logs --- Jun 23 16:48:10 relay0 postfix/smtp[30504]: 5ED4F114BBC: to=sa...@2co.com mailto:sa...@2co.com,

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
Yes. Well actually an ASA 5520 James On Jul 1, 2010, at 6:34 PM, Ralf Hildebrandt wrote: * James R. Marcus jmar...@edhance.commailto:jmar...@edhance.com: Sorry I didn't post them before I was just trying to do a sanity check. Here they are: --- Postfix Logs --- Jun 23

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 05:55 PM, James R. Marcus wrote: Sorry I didn't post them before I was just trying to do a sanity check. Here they are: --- Postfix Logs --- Jun 23 16:48:10 relay0 postfix/smtp[30504]: 5ED4F114BBC: to=sa...@2co.com mailto:sa...@2co.com,

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 06:50 PM, James R. Marcus wrote: Yes. Well actually an ASA 5520 James On Jul 1, 2010, at 6:34 PM, Ralf Hildebrandt wrote: * James R. Marcus jmar...@edhance.com mailto:jmar...@edhance.com: Sorry I didn't post them before I was just trying to do a sanity check. Here they are:

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
No it is not just one host it is many. I have tried to confirm the users claim, and although he is a reliable source, I wasn't able to replicate the issue. The recipient did not get the email anyway, as far as I know. There was no response, and in this case it was a customer service request.

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
For the ASA: af-cam-primary# conf t af-cam-primary(config)# class-map inspection_default af-cam-primary(config-cmap)# class inspection_default af-cam-primary(config-cmap)# no fixup protocol smtp 25 I believe these are the defaults. Do I need to do esmtp too? thanks, James On Jul 1, 2010, at

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 07:02 PM, James R. Marcus wrote: For the ASA: af-cam-primary# conf t af-cam-primary(config)# class-map inspection_default af-cam-primary(config-cmap)# class inspection_default af-cam-primary(config-cmap)# no fixup protocol smtp 25 I believe its: no inspect smtp Most ASAs

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
no inspect smtp didn't work for me. James On Jul 1, 2010, at 7:07 PM, Matt Hayes wrote: On 07/01/2010 07:02 PM, James R. Marcus wrote: For the ASA: af-cam-primary# conf t af-cam-primary(config)# class-map inspection_default af-cam-primary(config-cmap)# class inspection_default

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 07:29 PM, James R. Marcus wrote: no inspect smtp didn't work for me. So you tried it and it didn't work or you ran the command and it wasn't correct? -Matt

Re: Mail blocked if not HTML

2010-07-01 Thread Noel Jones
On 7/1/2010 5:54 PM, James R. Marcus wrote: No it is not just one host it is many. Ah. Apparently your firewall is breaking the mail transaction. You either need to tell the firewall to not interfere with SMTP, or fix it so it at least doesn't break SMTP. If you're not sure how to do

Re: Mail blocked if not HTML

2010-07-01 Thread James R. Marcus
I tried your command and it didn't take, I then ran what I posted and it seems to have worked. James On Jul 1, 2010, at 9:33 PM, Matt Hayes domin...@slackadelic.com wrote: On 07/01/2010 07:29 PM, James R. Marcus wrote: no inspect smtp didn't work for me. So you tried it and it

Re: Mail blocked if not HTML

2010-07-01 Thread Matt Hayes
On 07/01/2010 10:19 PM, James R. Marcus wrote: I tried your command and it didn't take, I then ran what I posted and it seems to have worked. James On Jul 1, 2010, at 9:33 PM, Matt Hayesdomin...@slackadelic.com wrote: On 07/01/2010 07:29 PM, James R. Marcus wrote: no inspect smtp

System Command on Client Restriction Rejection

2010-07-01 Thread JunkYardMail1
Is it possible to execute a system command upon the following smtpd client restriction rejections? smtpd_client_restrictions = reject_rbl_client zen.spamhaus.org, reject_unknown_reverse_client_hostname, reject_unknown_client_hostname Would like to automate insertion of client IP address into