Re: Configuration Backup Script

2010-04-09 Thread Ansgar Wiechers
On 2010-04-08 osmcr...@gmail.com wrote: > I'm running Suse 10.3 Server and looking for a script like this that > will backup all the system config files and any others that I would > want, this is a db and mailbox users backup for my mail server ?.. > But I plan migrating to a new server, using the

Re: email to yahoo stuck in queue

2010-04-09 Thread lst_hoe02
Zitat von "osmcr...@gmail.com" : Hi all I use to have the same problems with yahoo & aol servers, I dont know why the time of response of this servers are so slow ? i have to wait even 5 days to mails are delivered ... Because they offer a limited service "for free". Customers usi

RE: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Sharma, Ashish
Mark, Following is the telnet log with my custom content filter: $ telnet 10.194.99.63 10030 Trying 10.194.99.63... Connected to ip-10-194-99-63.ec2.internal (10.194.99.63). Escape character is '^]'. 220 Hello HELO 250 Custom Java SMTP Server MAIL FROM:ashiiish.sha...@gmail.com 250 Ok RCPT TO: cp

Re: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Wietse Venema
Sharma, Ashish: > Wietse, > > Following is the requested result: > > $telnet 10.194.99.63 10030 > Trying 10.194.99.63... > Connected to ip-10-194-99-63.ec2.internal (10.194.99.63). > Escape character is '^]'. > 220 Hello > Mail From:ashiish.sha...@gmail.com > 503 5.5.1 Error: need EHLO command >

ratelimiting locally originating messages

2010-04-09 Thread Vladimir Vassiliev
Hi postfixers, thanks to http://www.postfix.org/QSHAPE_README.html I learned how to limit rate of sending messages which arrives via smtpd. Now I tries to do the same with locally originating (via sendmail) messages. It seems usual recipes doesn't work. What are the best practices to do this?

Re: How to configure spamassassin

2010-04-09 Thread Birta Levente
On 09/04/2010 13:43, hateSpam wrote: Dear All, I have Spamassassin on my Centos 5.4. For send and receive email I use postfix and Dovecot and Sendmail version 8.13.8. Since I have installed the spamassassin I have not configured it. We are getting about 20 spams per day. I want to configure it an

Patch: support BURL

2010-04-09 Thread Mike Abbott
Hello Postfix community, Attached please find a patch that adds support to postfix-2.7.0 for RFC 4468 - Submission BURL. BURL requires a pre-configured trust relationship between the submission server and the IMAP server. This patch adds a new configuration file normally named "submit.cred" that

Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > Hi postfixers, > > thanks to http://www.postfix.org/QSHAPE_README.html I learned how to > limit rate of sending messages which arrives via smtpd. > Now I tries to do the same with locally originating (via sendmail) > messages. It seems usual recipes doesn't work. The te

Re: ratelimiting locally originating messages

2010-04-09 Thread Vladimir Vassiliev
I need sender based selection so I used policy server to choose right transport: smtpd_recipient_restrictions = check_policy_service unix:private/policy permit_mynetworks, reject_unauth_destination And smtpd_*_restrictions don't

Re: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Mark Martinec
Ashish, > Attached is the full level 5 log for your reference. Thank you! Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05) (about to connect to [127.0.0.1]:10030) FWD via SMTP: -> Apr 9 07:17:31 ip-10-194-99-63 amavis[18885]: (18885-05) smtp session: setting up a new session Ap

RE: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Sharma, Ashish
Wietse, Executed the command you sent, getting the following error message: fatal: lost connection while sending message thanks in advance Ashish Sharma -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: F

Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > I need sender based selection You wrote that you learned from QSHAPE_REAME how to limit the rate of sending messages which arrives via smtpd. QSHAPE_REAME does not cover sender-dependent selection; and I already mentioned that its solutions to limit the sending rate limi

Re: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Wietse Venema
Sharma, Ashish: > Wietse, > > Executed the command you sent, getting the following error message: > > fatal: lost connection while sending message Then, your custom SMTP code needs to be replaced. To speed up development, may I suggest that you consider using already-deployed SMTP code instead o

RE: Help, still an open relay.?

2010-04-09 Thread M M
Solved!. Thanks The problem was external clients were NAT translated. Had my network guy undo it and its working fine now! Thanks again! P.S - Victor,  what is the best practice to have smtpd_recipient_restrictions? in which order? > Date: Tue, 6 Apr 2010 17:57:57 -0400 > From: victor.ducho.

Re: Configuration Backup Script

2010-04-09 Thread Ansgar Wiechers
On 2010-04-08 donovan jeffrey j wrote: > On Apr 8, 2010, at 9:57 PM, osmcr...@gmail.com wrote: >> I'm running Suse 10.3 Server and looking for a script like this that >> will backup all the system config files and any others that I would >> want, this is a db and mailbox users backup for my mail se

Re: ratelimiting locally originating messages

2010-04-09 Thread Vladimir Vassiliev
Ok, I was not clear with my first message Here is my config: main.cf: smtpd_recipient_restrictions = check_policy_service unix:private/policy permit_mynetworks, reject_unauth_destination master.cf: slow_smtp unix - -

RE: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Sharma, Ashish
Wietse, Thanks for your suggestion. Since I am new in this can you suggest some java based deployments that I can use. I too looked for what you have suggested but maybe I didn't looked hard enough. Thanks in advance Ashish Sharma -Original Message- From: owner-postfix-us...@postfix.o

Re: ratelimiting locally originating messages

2010-04-09 Thread ram
On Fri, 2010-04-09 at 15:03 +0400, Vladimir Vassiliev wrote: > Hi postfixers, > > thanks to http://www.postfix.org/QSHAPE_README.html I learned how to > limit rate of sending messages which arrives via smtpd. > Now I tries to do the same with locally originating (via sendmail) > messages. It se

RE: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Sharma, Ashish
Mark, Accepted your point, but I am actually doing what you have suggested already. Maybe the proof lies in the fact that my custom content filter is working fine when amavisd is not used and postfix is directly communicating with my component. I am not receiving such problem in that case. Is

Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > Ok, I was not clear with my first message > Here is my config: > > main.cf: > smtpd_recipient_restrictions = check_policy_service unix:private/policy > > permit_mynetworks, > > reject_unauth_destination >

Re: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Mark Martinec
Ashish, >> Your java filter sent a greeting: "220 Hello\n" >> instead of: "220 Hello\r\n". Amavisd waited 30 seconds but >> end of line (CR LF) never arrived, so the session was aborted. >> RFC 5321 (and RFC 2821 and RFC 821) requires that SMTP commands >> and replies are terminated by a CRLF, not

Re: amavis Delivery status notification(DSN) failing

2010-04-09 Thread Wietse Venema
Sharma, Ashish: > Mark, > > Accepted your point, but I am actually doing what you have suggested already. > > Maybe the proof lies in the fact that my custom content filter is > working fine when amavisd is not used and postfix is directly > communicating with my component. I am not receiving suc

RE: amavis Delivery status notification(DSN) failing

2010-04-09 Thread lst_hoe02
Zitat von "Sharma, Ashish" : Wietse, Thanks for your suggestion. Since I am new in this can you suggest some java based deployments that I can use. I too looked for what you have suggested but maybe I didn't looked hard enough. Thanks in advance Ashish Sharma http://james.apache.org/

Re: Configuration Backup Script

2010-04-09 Thread donovan jeffrey j
On Apr 9, 2010, at 9:06 AM, Ansgar Wiechers wrote: > On 2010-04-08 donovan jeffrey j wrote: >> On Apr 8, 2010, at 9:57 PM, osmcr...@gmail.com wrote: >>> I'm running Suse 10.3 Server and looking for a script like this that DOH! my bad,.. I saw 10.3 Server with one eye, thought he was speaking mac

How to route mail that was on HOLD?

2010-04-09 Thread Michael Monnerie
Dear list, we're trying to solve a problem here, and currently I can't figure out how. This system puts all incoming mails on HOLD, and after some time releases it again. By that time, it is known whether the message should go to destination A or B. But it seems there's no way I can control tha

Re: Patch: support BURL

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 06:36:10AM -0500, Mike Abbott wrote: > Attached please find a patch that adds support to postfix-2.7.0 for RFC > 4468 - Submission BURL. > BURL requires a pre-configured trust relationship between the submission > server and the IMAP server. This patch adds a new configur

Re: Verify User and IP Sender Address - SPAM Issue

2010-04-09 Thread Klaus Engelmann
Thanks Noel for all your help. Glad to know you. -- Klaus Engelmann CCNA CCDA - CSCO10971632 LPIC-1 - LPI000138061 On Wed, Apr 7, 2010 at 10:04 AM, Noel Jones wrote: > On 4/6/2010 6:09 PM, Klaus Engelmann wrote: >> >> Hello Everybody. >> >> I am running a Postfix postfix-2.3.3-2.1.el5_2 on a C

Re: Patch: support BURL

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 12:26:47PM -0400, Victor Duchovni wrote: > On Fri, Apr 09, 2010 at 06:36:10AM -0500, Mike Abbott wrote: > > > Attached please find a patch that adds support to postfix-2.7.0 for RFC > > 4468 - Submission BURL. > > > BURL requires a pre-configured trust relationship betwee

Re: Patch: support BURL

2010-04-09 Thread Mike Abbott
Thank you for pointing out that I did not explain the contents of the submit.cred file well enough. This file contains a single username and password per IMAP server which postfix uses to authenticate to that IMAP server. Typically the username is "submit". It does NOT contain regular users'

Re: Patch: support BURL

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 11:57:17AM -0500, Mike Abbott wrote: > Thank you for pointing out that I did not explain the contents of the > submit.cred file well enough. This file contains a single username and > password per IMAP server which postfix uses to authenticate to that IMAP > server. Ty

Avoiding "User unknown in recipient table" during reload

2010-04-09 Thread Brian Sebby
We reject mail coming into our mail server that is not an approved address, so I have a cron job that gets the list of approved addresses twice an hour, updates the relay_recipients file that we use with relay_recipients_maps, and then reload postfix. We had a case the other morning where someone

Re: Avoiding "User unknown in recipient table" during reload

2010-04-09 Thread Brian Evans - Postfix List
On 4/9/2010 2:33 PM, Brian Sebby wrote: > We reject mail coming into our mail server that is not an approved address, > so I have a cron job that gets the list of approved addresses twice an hour, > updates the relay_recipients file that we use with relay_recipients_maps, > and then reload postfix.

RE: How to route mail that was on HOLD?

2010-04-09 Thread Michael Monnerie
> Example: > messages X and Y arrives and are put on HOLD > after analyzation, we know we should prepend a header A to message > X, and route message Y to destination backup > > Is there a way to do that? I thought about multi-instance, but > still can't get the idea how to do it. I could use sev

Re: Patch: support BURL

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 06:36:10AM -0500, Mike Abbott wrote: > Attached please find a patch that adds support to postfix-2.7.0 for RFC > 4468 - Submission BURL. > --- postfix-2.7.0/src/global/ehlo_mask.c 2008-01-08 14:36:13.0 > -0600 > --- postfix-2.7.0/src/global/ehlo_mask.h 2

Re: How to route mail that was on HOLD?

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 08:44:52PM +0200, Michael Monnerie wrote: > > Example: > > messages X and Y arrives and are put on HOLD > > after analyzation, we know we should prepend a header A to message > > X, and route message Y to destination backup Deliver the mail out of the Postfix queue to a sy

Re: Patch: support BURL

2010-04-09 Thread Wietse Venema
Victor Duchovni: > > + * Copyright (c) 2010 Apple Inc. All rights reserved. > > + * > > + * Redistribution and use in source and binary forms, with or without > > + * modification, are permitted provided that the following conditions > > + * are met: > > + * 1. Redistributions of source code

Re: Patch: support BURL

2010-04-09 Thread Victor Duchovni
On Fri, Apr 09, 2010 at 05:09:27PM -0400, Wietse Venema wrote: > One question I have is why would anyone send an email message that > is 100% identical to a message that is already sitting in an IMAP > store? It would seem that this is useful only when forwarding mail > verbatim. Is this worth the

Re: Patch: support BURL

2010-04-09 Thread Wietse Venema
Victor Duchovni: > On Fri, Apr 09, 2010 at 05:09:27PM -0400, Wietse Venema wrote: > > > One question I have is why would anyone send an email message that > > is 100% identical to a message that is already sitting in an IMAP > > store? It would seem that this is useful only when forwarding mail >

Re: How to route mail that was on HOLD?

2010-04-09 Thread Wietse Venema
Michael Monnerie: > > Example: > > messages X and Y arrives and are put on HOLD > > after analyzation, we know we should prepend a header A to message > > X, and route message Y to destination backup > > > > Is there a way to do that? I thought about multi-instance, but > > still can't get the ide

Re: Patch: support BURL

2010-04-09 Thread Wietse Venema
> On Fri, Apr 9, 2010 at 7:16 PM, Wietse Venema wrote: > > Victor Duchovni: > >> On Fri, Apr 09, 2010 at 05:09:27PM -0400, Wietse Venema wrote: > >> > >> > One question I have is why would anyone send an email message that > >> > is 100% identical to a message that is already sitting in an IMAP >

Re: Patch: support BURL

2010-04-09 Thread Reinaldo de Carvalho
On Fri, Apr 9, 2010 at 8:48 PM, Wietse Venema wrote: >> >> Mail client will write message to imap folder and MTA will get the >> message. Avoid send messahe twice over the link. >> >>-- >>Reinaldo de Carvalho >> > > Why is there a problem with sending mail to the SMTP server directly, > instead of

Re: Patch: support BURL

2010-04-09 Thread Wietse Venema
Reinaldo de Carvalho: [ Charset ISO-8859-1 unsupported, converting... ] > On Fri, Apr 9, 2010 at 8:48 PM, Wietse Venema wrote: > >> > >> Mail client will write message to imap folder and MTA will get the > >> message. Avoid send messahe twice over the link. > >> > >>-- > >>Reinaldo de Carvalho > >

Re: Patch: support BURL

2010-04-09 Thread Steve
Original-Nachricht > Datum: Fri, 9 Apr 2010 20:51:03 -0400 (EDT) > Von: Wietse Venema > An: Postfix users > Betreff: Re: Patch: support BURL > Reinaldo de Carvalho: > [ Charset ISO-8859-1 unsupported, converting... ] > > On Fri, Apr 9, 2010 at 8:48 PM, Wietse Venema > wrote:

Re: Patch: support BURL

2010-04-09 Thread Reinaldo de Carvalho
On Fri, Apr 9, 2010 at 9:51 PM, Wietse Venema wrote: > Reinaldo de Carvalho: >> >> IMAP users will benefit saving bandwidth ($/Kbyte) and time (in slow >> connections). > > That would not explain why sending to an IMAP server is > faster than sending that same message to an SMTP server. > >