Re: smtpd_client_restrictions

2009-12-14 Thread vtzan
Stan Hoeppner wrote: vtzan put forth on 12/14/2009 1:17 AM: Hello noel, thanks for you response but it didn't worked! First, did you reload postfix after editing main.cf? If not, the change won't take effect until you reload of restart postfix. And, how do you know it didn't work?

Re: deleting attachments

2009-12-14 Thread Lucian @ lastdot.org
On Mon, Dec 14, 2009 at 9:48 AM, Aaron C. de Bruyn postfix-us...@darkpixel.com wrote: On 2009-12-14 at 09:16:29 +0200, Lucian @ lastdot.org wrote: I need to delete all attachments from emails at server level. I'm using stock postfix in Centos 5 (v 2.3.3). I found renattach

Re: deleting attachments

2009-12-14 Thread Stan Hoeppner
Lucian @ lastdot.org put forth on 12/14/2009 1:16 AM: Hello, I need to delete all attachments from emails at server level. I'm using stock postfix in Centos 5 (v 2.3.3). I found renattach (http://www.pc-tools.net/unix/renattach/), but this software seems to have been discontinued and the

Re: deleting attachments

2009-12-14 Thread Aaron C. de Bruyn
On 2009-12-14 at 10:16:59 +0200, Lucian @ lastdot.org wrote: Thanks for your replies, detach seems to be close to what I want. Aaron, any chance you can release your customizations to detach? I no longer manage the server that has that code. If I recall correctly, I just gutted the

Need help to accomplish my scenario with postfix mail server.

2009-12-14 Thread manoj . burande
Hello Everybody, Here I am trying to configure my postfix mail server in following manner. To accomplish the same I have gone through so many online stuffs / documentation but still unable to configure it. So please help me to accomplish the same. I have three hosts as, 1]

Selective smtpd_sender_restrictions

2009-12-14 Thread Jack Knowlton
Hi all. I currently have this smtpd_sender_restrictions setup on a mail server hosting several domains: smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender, check_sender_access hash:/usr/local/etc/postfix/sender_checks, check_sender_access

Re: Authenticated SMTP problem

2009-12-14 Thread Walter Breno
i'm trying to use submission port and i set up my master.cf smtp inet n - n - - smtpd -o smtpd_recipient_restrictions=reject_unauth_destination,reject_non_fqdn_recipient,permit -o smtpd_client_restrictions=reject_unknown_client,permit submission inet

Re: Authenticated SMTP problem

2009-12-14 Thread Walter Breno
i'm sorry about ncomplete mail let's continue i'm trying to use submission port and i set up my master.cf smtp inet n - n - - smtpd -o smtpd_recipient_restrictions=reject_unauth_destination,reject_non_fqdn_recipient,permit -o

Failover control of Postfix content-filter

2009-12-14 Thread Sharma, Ashish
Hi, I have a custom postfix content filter that listens to incoming mail messages via amavis(scanning mails for virus(clamAV) and spam(spamassassin) ), set up between postfix and my content filter. I want to put failover control for my custom content filter, Is it possible to do it via

Re: postfix address rewritting

2009-12-14 Thread Adripop
Hi, I made the modification to the main.cf and it works perfectly, sending only with the local delivery agent. Now i don't want the address to be rewritten when i send to local accounts, could you help find out how ? Adrien Le 10 déc. 2009 à 06:36, Victor Duchovni a écrit : On Wed, Dec 09,

store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Hi, I've just had a hard nut to crack, as I've got SMTP server which stores and forwards or I only hoped so. Why ? As I checked now if the remote server is down, and I use reject_unverified_recipient it gives me an error like: 450 4.1.1 em...@domain.com: Recipient address rejected:

Re: Selective smtpd_sender_restrictions

2009-12-14 Thread /dev/rob0
On Mon, Dec 14, 2009 at 01:12:52PM +0100, Jack Knowlton wrote: Hi all. I currently have this smtpd_sender_restrictions setup on a mail server hosting several domains: smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender, check_sender_access

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Martijn de Munnik
On Mon, 2009-12-14 at 13:32 +, Jaroslaw Grzabel wrote: Hi, I've just had a hard nut to crack, as I've got SMTP server which stores and forwards or I only hoped so. Why ? As I checked now if the remote server is down, and I use reject_unverified_recipient it gives me an error

Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Tobias
I have two email adresses: a...@domain.tld and b...@domain.tld Only a...@domain.tld is registred with several mailinglists. But the user b...@domain.tld is the one I want to use. So I need to find a way to rewrite the sender address (b...@domain.tld) to a...@domain.tld BUT only in case the

GSSAPI Authentication

2009-12-14 Thread Dennis Putnam
I am trying to upgrade to Postfix 2.5.5 and am having a problem with GSSAPI authentication. When I try to send mail, I get this error in the log: warning: SASL authentication failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Key table entry not found)

Re: Problem with subdomains

2009-12-14 Thread Brian Evans - Postfix List
On 12/14/2009 3:04 AM, Søren Schimkat wrote: Hi guys This is kinda hard to explain - but I wil try. :-) I have a postfix / cyrus / amavisd-new setup, which works quite allright, but due to some wierd problem, I'm receiving mail for non-existing subdomains. One of my domains are

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Martijn de Munnik wrote: http://www.postfix.org/ADDRESS_VERIFICATION_README.html#caching Hi Martin, Thank you for your reply. The only problem with that database is that if customer add some users into his machine then database will always reject that email... let's say for example:

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Eero Volotinen
On 12/14/09 4:24 PM, Jaroslaw Grzabel wrote: Martijn de Munnik wrote: http://www.postfix.org/ADDRESS_VERIFICATION_README.html#caching Hi Martin, Thank you for your reply. The only problem with that database is that if customer add some users into his machine then database will always

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Martijn de Munnik
On Mon, 2009-12-14 at 14:24 +, Jaroslaw Grzabel wrote: Martijn de Munnik wrote: http://www.postfix.org/ADDRESS_VERIFICATION_README.html#caching Hi Martin, Thank you for your reply. The only problem with that database is that if customer add some users into his machine

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Simon Waters
On Monday 14 December 2009 14:24:34 Jaroslaw Grzabel wrote: What postfix does ? Reject all messages until I will not be notified and remove the database and let postfix to recreate it again. It refreshes cache at 3 hours by default, so within 3 days jon starts getting email (and spam

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Simon Waters
On Monday 14 December 2009 14:35:39 Simon Waters wrote: It refreshes cache at 3 hours by default, so within 3 days jon starts Oops 3 hours even.

Re: smtpd_client_restrictions

2009-12-14 Thread Noel Jones
On 12/14/2009 1:17 AM, vtzan wrote: Hello noel, thanks for you response but it didn't worked! Please don't top post. If a suggestion didn't do what you expect, you'll need to show evidence including postconf -n output and logging demonstrating the unwanted behavior, and what you expected

Re: Failover control of Postfix content-filter

2009-12-14 Thread Noel Jones
On 12/14/2009 6:49 AM, Sharma, Ashish wrote: Hi, I have a custom postfix content filter that listens to incoming mail messages via amavis(scanning mails for virus(clamAV) and spam(spamassassin) ), set up between postfix and my content filter. I want to put failover control for my custom

Re: Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Noel Jones
On 12/14/2009 7:44 AM, Tobias wrote: I have two email adresses: a...@domain.tld and b...@domain.tld Only a...@domain.tld is registred with several mailinglists. But the user b...@domain.tld is the one I want to use. So I need to find a way to rewrite the sender address (b...@domain.tld) to

Re: Problem with subdomains

2009-12-14 Thread Noel Jones
On 12/14/2009 8:22 AM, Brian Evans - Postfix List wrote: On 12/14/2009 3:04 AM, Søren Schimkat wrote: Hi guys This is kinda hard to explain - but I wil try. :-) I have a postfix / cyrus / amavisd-new setup, which works quite allright, but due to some wierd problem, I'm receiving mail for

Re: Need help to accomplish my scenario with postfix mail server.

2009-12-14 Thread Bjørn Ruberg
manoj.bura...@artificialmachines.com wrote: Hello Everybody, Here I am trying to configure my postfix mail server in following manner. To accomplish the same I have gone through so many online stuffs / documentation but still unable to configure it. So please help me to accomplish the same.

Re: Problem with subdomains

2009-12-14 Thread Brian Evans - Postfix List
On 12/14/2009 10:46 AM, Noel Jones wrote: On 12/14/2009 8:22 AM, Brian Evans - Postfix List wrote: On 12/14/2009 3:04 AM, Søren Schimkat wrote: Hi guys This is kinda hard to explain - but I wil try. :-) I have a postfix / cyrus / amavisd-new setup, which works quite allright, but due to

Re: Problem with subdomains

2009-12-14 Thread Victor Duchovni
On Mon, Dec 14, 2009 at 12:11:16PM -0500, Brian Evans - Postfix List wrote: You may have missed that the OP's domain in question is listed in mydestination. (main.cf vs 'postconf -n' noise) Without a parent_domain_matches_subdomains change, at least for mydestination, www.example.net will

Re: Problem with subdomains

2009-12-14 Thread Noel Jones
On 12/14/2009 11:11 AM, Brian Evans - Postfix List wrote: On 12/14/2009 10:46 AM, Noel Jones wrote: On 12/14/2009 8:22 AM, Brian Evans - Postfix List wrote: On 12/14/2009 3:04 AM, Søren Schimkat wrote: Hi guys This is kinda hard to explain - but I wil try. :-) I have a postfix / cyrus /

Re: GSSAPI Authentication

2009-12-14 Thread Victor Duchovni
On Mon, Dec 14, 2009 at 08:54:32AM -0500, Dennis Putnam wrote: I am trying to upgrade to Postfix 2.5.5 and am having a problem with GSSAPI authentication. When I try to send mail, I get this error in the log: warning: SASL authentication failure: GSSAPI Error: Unspecified GSS failure.

Re: Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Stefan Foerster
* Tobias tobs...@brain-force.ch: I have two email adresses: a...@domain.tld and b...@domain.tld Only a...@domain.tld is registred with several mailinglists. But the user b...@domain.tld is the one I want to use. Try subscribing twice and disable mail delivery for one account. All Mailman based

Re: Problem with subdomains

2009-12-14 Thread Søren Schimkat
Hi Brian Thanks a lot. That did the trick. :-) Kind Regards Søren Brian Evans - Postfix List wrote: On 12/14/2009 3:04 AM, Søren Schimkat wrote: Hi guys This is kinda hard to explain - but I wil try. :-) I have a postfix / cyrus / amavisd-new setup, which works quite allright, but due

Re: GSSAPI Authentication

2009-12-14 Thread Dennis Putnam
Hi Viktor,You are correct, it was indeed SMTP.I thought about that but I can't find any references to it in the Postfx documentation. Where do I look to specify that? If it simply uses mit.edu.Kerberos, that file is correct. It may be that it can't find that file but again I don't see where to

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Jaroslaw Grzabel
Simon Waters pisze: It refreshes cache at 3 hours by default, so within 3 days jon starts getting email (and spam potentially). This is configurable. http://www.postfix.org/verify.8.html Yeah, and it works on the other way round... if my customer's server will go down for more than 3h,

Re: GSSAPI Authentication

2009-12-14 Thread Victor Duchovni
On Mon, Dec 14, 2009 at 01:55:07PM -0500, Dennis Putnam wrote: You are correct, it was indeed SMTP. Which SMTP? The server smtpd (as I surmised) or the client smtp? I thought about that but I can't find any references to it in the Postfx documentation. Postfix does not implement SASL

Re: store and forward and reject_unverified_recipient

2009-12-14 Thread Noel Jones
On 12/14/2009 1:02 PM, Jaroslaw Grzabel wrote: Simon Waters pisze: It refreshes cache at 3 hours by default, so within 3 days jon starts getting email (and spam potentially). This is configurable. http://www.postfix.org/verify.8.html Yeah, and it works on the other way round... if my

Re: Local Mails not working

2009-12-14 Thread Evan Platt
On 12/11/2009 12:16 PM, Daniel V. Reinhardt wrote: Actually the tone in his email was very negative, condescending, and not very constructive. It contained an overtone of being hoiler then thou, and you are stupid I know it all approach. /dev/rob0, failed to address the user on a tech

Re: GSSAPI Authentication

2009-12-14 Thread Dennis Putnam
Hi Viktor,On Dec 14, 2009, at 2:10 PM, Victor Duchovni wrote:On Mon, Dec 14, 2009 at 01:55:07PM -0500, Dennis Putnam wrote:You are correct, it was indeed SMTP.Which "SMTP"? The server "smtpd" (as I surmised) or the client "smtp"?Sorry. Server.I thought about that but I can't find any references to

relay_domains default (Re: Problem with subdomains)

2009-12-14 Thread /dev/rob0
On Mon, Dec 14, 2009 at 01:09:45PM -0500, Victor Duchovni wrote: The relay_domains match list is subject to parent domain matching, and because it defaults to $mydestination, will by default include sub-domains of domains listed in $mydestination. This backwards compatibility should be turned

queue manager delaying delivery of message

2009-12-14 Thread George Forman
Hi, I am running into a problem where (it seems) queue manager doesn't pickup the queued message for delivery. SMTPD returns a 250 OK at 16:26:39. However, oqmgr doesn't pick it up until 16:35:41. The is no post queue processing on the message. I turned up logging on cleanup, qmgr and oqmgr

Re: relay_domains default (Re: Problem with subdomains)

2009-12-14 Thread Wietse Venema
/dev/rob0: On Mon, Dec 14, 2009 at 01:09:45PM -0500, Victor Duchovni wrote: The relay_domains match list is subject to parent domain matching, and because it defaults to $mydestination, will by default include sub-domains of domains listed in $mydestination. This backwards compatibility

Re: queue manager delaying delivery of message

2009-12-14 Thread Wietse Venema
The queue manager will leave a file in the incoming queue when: 1) Some security software does not allow the cleanup daemon to write to the qmgr FIFO. Try without SeLinux, AppArmor, etc. 2) The queue file system is not on a local disk, and either file server's clock and the Postfix machine's

Conditional relayhost

2009-12-14 Thread Michael Matczynski
Postfix mail_version = 2.3.3 Desired Behavior: I have a virtual domain, mydomain.com If Postfix receives a message for mikeandot...@mydomain.com I want to forward the message directly to m...@alum.mit.edu AND ot...@gmail.com, *NOT* using the AuthSMTP relay. If Postfix receives a message for any

Re: Conditional relayhost

2009-12-14 Thread Sahil Tandon
On Tue, 15 Dec 2009, Michael Matczynski wrote: I have a virtual domain, mydomain.com If Postfix receives a message for mikeandot...@mydomain.com I want to forward the message directly to m...@alum.mit.edu AND ot...@gmail.com, *NOT* using the AuthSMTP relay. If Postfix receives a message for

Re: SQL query question

2009-12-14 Thread Noel Butler
As this is 5 days with no responses I dare say this is not a bug then, but it is for some reason deliberate. thanks anyway If anyone does see something out the ordinary bout this, you are welcome to respond directly as I'll be off the list in a few minutes. On Thu, 2009-12-10 at 10:05 +1000,

ps_dict_put: /var/lib/postfix/ps_cache.db update took X ms

2009-12-14 Thread Stefan Förster
While I certainly like the fact that Postfix becomes more and more admin friendly in that it now also logs warnings about performance issues, I'd like to know how many milliseconds a single request to update the temporary whitelist may take before a warning is emitted. Is it 100ms? I got exactly