Avoid recursive table lookup

2009-06-09 Thread Arnaud JAYET
Hello, i'm trying to set up a Vacation Mail Responder using postfix and special transport + PERL script. i want to let users choose between : case 1 : automatic vacation responding and not delivrering the original message (message is lost) case 2 : automatic vacation responding and delivrerin

Re: Reputation based filtering...

2009-06-09 Thread EASY steve.h...@digitalcertainty.co.uk
On Tue, 2009-06-09 at 11:20 +0530, Anant Athavale wrote: > Dear List: > > We have got one Ironport appliance for evaluation. It does reputation > based filtering and drops lots of mails. But, we are still running > Postfix with SpamAssassin for Anti-SPAM. > > Can Postfix can be integrated with

handling non MX entry domains

2009-06-09 Thread truth_seeker_3535
Dear Pros, I am using postfix-2.3.3-2 on CentOS 5.2. a. There is a valid domain called example.com.ex with a valid MX entry b. There is another domain called example.com withour a MX entry (both can be for same company or for different) Now when a user tries to send mail to u...@example.c

Re: handling non MX entry domains

2009-06-09 Thread Ruben Laban
On Tuesday 09 June 2009 at 10:41 (CET), truth_seeker_3...@yahoo.com wrote: > 1. Is there any way to configure in postfix that, if he didnt find MX > record for a domain even after (say 3 or 5 times) then postfix has to stop > the processing of that mail, and send a error message indicating the MX >

Cryptic message for end users

2009-06-09 Thread Rocco Scappatura
Hello, I have a postoffice system based on Postfix+MySQL+Courier-IMAP+Courier-authlib+Maildrop. I have enable quota checking with maildrop. When quota is overcame then Postfix get a permanent error by maildrop and generates a bounce with the following informations: The message is 'as-is' repo

Re: Cryptic message for end users

2009-06-09 Thread Ralf Hildebrandt
* Rocco Scappatura : > Hello, > > I have a postoffice system based on > Postfix+MySQL+Courier-IMAP+Courier-authlib+Maildrop. > > I have enable quota checking with maildrop. > > When quota is overcame then Postfix get a permanent error by maildrop > and generates a bounce with the following infor

Restrict from domain based on sasl auth id

2009-06-09 Thread ram
We provide relay services for our clients. The clients mail-servers connect to our postfix servers , authenticate using a client-accountid and send the messages. I would like to restrict the from domains for every client.(Mainly to prevent inadvertent spam outbreaks) Can I use smtplogin maps

deferred mail -retry

2009-06-09 Thread K bharathan
hi all what's the default deferred mail retry time in postfix? can i change it? appreciate ur help

Re: deferred mail -retry

2009-06-09 Thread Ralf Hildebrandt
* K bharathan : > hi all > what's the default deferred mail retry time in postfix? retry time for what? -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de Standard Cyrus SASL behaviour. SASL developers don't believe

Re: deferred mail -retry

2009-06-09 Thread K bharathan
retrying time for attempting deliver the message On Tue, Jun 9, 2009 at 1:16 PM, Ralf Hildebrandt < ralf.hildebra...@charite.de> wrote: > * K bharathan : > > hi all > > what's the default deferred mail retry time in postfix? > > retry time for what? > > -- > Ralf Hildebrandt > Postfix - Einrichtu

Re: deferred mail -retry

2009-06-09 Thread Ralf Hildebrandt
* K bharathan : > retrying time for attempting deliver the message I assume you're thinking of non-local delivery queue_run_delay = 300s maximal_backoff_time = 4000s minimal_backoff_time = 300s The queue is scanned every 300s, initial minimal backoff is 300s, maximum backoff is 4000s, with every

RE: Cryptic message for end users

2009-06-09 Thread Rocco Scappatura
Thanks Ralph, > > I have a postoffice system based on > > Postfix+MySQL+Courier-IMAP+Courier-authlib+Maildrop. > > > > I have enable quota checking with maildrop. > > > > When quota is overcame then Postfix get a permanent error by maildrop > > and generates a bounce with the following information

Re: deferred mail -retry

2009-06-09 Thread K bharathan
thanks On Tue, Jun 9, 2009 at 2:24 PM, Ralf Hildebrandt < ralf.hildebra...@charite.de> wrote: > * K bharathan : > > retrying time for attempting deliver the message > > I assume you're thinking of non-local delivery > > queue_run_delay = 300s > maximal_backoff_time = 4000s > minimal_backoff_time

Re: Reputation based filtering...

2009-06-09 Thread Gautam Singaraju
Check out RepuScore: http:.//isr.uncc.edu/RepuScore. The spamassassin plugin we designed computes reputation and stores them in a database. We have not closed the 'loop' using reputation to classify emails, yet. But, you can use it as a part of spamassassin scoring. --- Gautam Singaraju On Tue,

Re: handling non MX entry domains

2009-06-09 Thread truth_seeker_3535
Thanks for the reply... but i didnt get any explanation on how it sends to a domain which he didnt find the MX entry? delay_warning_time will notify the current status to the user? or it will warn the user and stop processing that mail? - -- --- Always try to find truth!!! --- On Tue, 6/9

Re: handling non MX entry domains

2009-06-09 Thread Terry Carmen
> > Thanks for the reply... > > but i didnt get any explanation on how it sends to a domain which he didnt > find the MX entry? > > If no MX record is found, the A record is used. http://tools.ietf.org/html/rfc5321 Terry

Re: handling non MX entry domains

2009-06-09 Thread Ruben Laban
On Tuesday 09 June 2009 at 15:03 (CET), truth_seeker_3...@yahoo.com wrote: > but i didnt get any explanation on how it sends to a domain which he didnt > find the MX entry? If example.com doesn't have a MX record, it will use the A record of example.com (if it exists). > delay_warning_time will

Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Truth Seeker
Dear Pros, how can i stop accepting mails on postfix server from all my clients but at the same time, i want to postfix to complete the tasks in the queue. For eg; if i want to do some maintenance work on the system, i want to first stop accepting mails in my mails server from the clients. Th

Re: handling non MX entry domains

2009-06-09 Thread Truth Seeker
Really thanks to ruben and terry... Let me set this setting... by the way, i am curious to know, if i want to delete a particular mail from the queue (may be in active or in deferred) how can we do that. an example like mail message id 8AD5TYU is in deferred and i want to delete it, how can

Re: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Ralf Hildebrandt
* Truth Seeker : > > > Dear Pros, > > how can i stop accepting mails on postfix server from all my clients > but at the same time, i want to postfix to complete the tasks in the > queue. With 2.6.x postconf -e master_service_disable=inet postfix reload -- Ralf Hildebrandt Postfix - E

RE: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Gary Smith
shooting from the hip I would say stop listening on the network connection and only listen to localhost In the /etc/postfix/master.cf file change the line smtp... to 127.0.0.1:smtp ... thus forcing it to listen to localhost only. From: owner-postfix-us.

Re: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread truth_seeker_3535
Thanks for the reply... but mine is postfix-2.3.3-2 . so i want to do like what Gary smith was advicing ??? Gary, will it effect my system in any way? please suggest... -- --- Always try to find truth!!! --- On Tue, 6/9/09, Ralf Hildebrandt wrote: > From: Ralf Hildebrandt > Subject: Re:

Re: handling non MX entry domains

2009-06-09 Thread Terry Carmen
> Really thanks to ruben and terry... > > Let me set this setting... > > by the way, i am curious to know, if i want to delete a particular mail from > the queue (may be in active or in deferred) how can we do that. postsuper -d QUEUE_ID For more info: man postsuper you can get the queue ID from

Re: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Ralf Hildebrandt
* truth_seeker_3...@yahoo.com : > > Thanks for the reply... > > but mine is postfix-2.3.3-2. 2.3 ist almost 3 years old. > so i want to do like what Gary smith was advicing ??? Disable the master.cf entry for smtpd > Gary, will it effect my system in any way? > > please suggest... Update?

flush all mails for a particular domain from deferred queue

2009-06-09 Thread Truth Seeker
Dear Pros; 1. Is there any way to flush all mails to a particular domain from the deferred queue? 2. How can i flush just one mail say mail message id 6E4D82ED19E from the deferred queue? - -- --- Always try to find truth!!!

RE: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Gary Smith
Well, it sill stop postfix from listening to anything other then the localhost for submissions therefore preventing external (to the machine) submissions. When you are done, just remove 127.0.0.1: from in front of the smtp statement. Gary From: owner-pos

Re: handling non MX entry domains

2009-06-09 Thread Truth Seeker
Thank you very much Terry!!! - -- --- Always try to find truth!!! --- On Tue, 6/9/09, Terry Carmen wrote: > From: Terry Carmen > Subject: Re: handling non MX entry domains > To: "Truth Seeker" > Cc: postfix-users@postfix.org, "Ruben Laban" > Date: Tuesday, June 9, 2009, 6:40 PM > > Reall

Re: flush all mails for a particular domain from deferred queue

2009-06-09 Thread Ralf Hildebrandt
* Truth Seeker : > > > Dear Pros; > > 1. Is there any way to flush all mails to a particular domain from the > deferred queue? Yes man postqueue > 2. How can i flush just one mail say mail message id 6E4D82ED19E from the > deferred queue? man postqueue -- Ralf Hildebrandt Postfix - Einric

Re: Cryptic message for end users

2009-06-09 Thread Ralf Hildebrandt
* Rocco Scappatura : Error 1: maildirmake: /pathto/user/: File exists Error 2: maildrop: maildir over quota. > What you mean precisely? How I can find the mistake? > > Here my maildrop conf file: > > log "test -d $HOME$DEFAULT" > `test -d $HOME$DEFAULT` > if ($RETURNCODE != 0) > { > log

RE: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Truth Seeker
Thank you Gary & Ralf for your valuable advices... - -- --- Always try to find truth!!! --- On Tue, 6/9/09, Gary Smith wrote: > From: Gary Smith > Subject: RE: Stop accepting mails from clients but process the mails which is > already in the queue??? > To: "truth_seeker_3...@yahoo.com" ,

transport

2009-06-09 Thread Antonio Hooper
hi postfix-users@ my /etc/postfix/transport, transport_maps: google.com smtp1: yahoo.com smtp2: it is working nicely :) but i would like to use my origin/domain: >From m...@nyinternaldomain smtp1: undertstand ? is it possible ?

Re: transport

2009-06-09 Thread Ralf Hildebrandt
* Antonio Hooper : > hi postfix-users@ > > my /etc/postfix/transport, transport_maps: > > google.com smtp1: > yahoo.com smtp2: OK > it is working nicely :) but i would like to use my origin/domain: > > From m...@nyinternaldomain smtp1: > > undertstand ? No. Do you want sender bas

Re: transport

2009-06-09 Thread Antonio Hooper
2009/6/9 Ralf Hildebrandt > > * Antonio Hooper : > >  hi postfix-users@ > > > > my /etc/postfix/transport, transport_maps: > > > > google.com     smtp1: > > yahoo.com      smtp2: > > OK > > > it is working nicely :) but i would like to use my origin/domain: > > > > From m...@nyinternaldomain  smtp

Re: transport

2009-06-09 Thread Ralf Hildebrandt
* Antonio Hooper : > > No. Do you want sender based routing? > exactly. is it possible ? http://www.postfix.org/SOHO_README.html Supporting multiple ISP accounts in the Postfix SMTP client -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://ww

RE: Cryptic message for end users

2009-06-09 Thread Rocco Scappatura
Thanks Ralph, > * Rocco Scappatura : > > Error 1: maildirmake: /pathto/user/: File exists > Error 2: maildrop: maildir over quota. > > > What you mean precisely? How I can find the mistake? > > > > Here my maildrop conf file: > > > > log "test -d $HOME$DEFAULT" > > `test -d $HOME$DEFAULT` > > if

what is the meaning???

2009-06-09 Thread Truth Seeker
Dear Pros, now to do flushing for a particular domain, i am trying to configure fast flush service. in the documentation i found the following line, which i am confused. could anyone explain this further As mentioned in the introduction, the mail is delivered by connecting to the customer's

RE: Stop accepting mails from clients but process the mails which is already in the queue???

2009-06-09 Thread Truth Seeker
First i tried to do this by looking in to main.cf. but i didnt find any line regarding listening on my ip. rather i found the declaration about mynetworks which i changed to 127.0.0.0/8. then i tried to connect to port 25 by telnet from other machine, it was connecting. so i reverted the chang

Re: handling non MX entry domains

2009-06-09 Thread Truth Seeker
> > Let me set this setting... > > > > by the way, i am curious to know, if i want to delete > a particular mail from > > the queue (may be in active or in deferred) how can we > do that. > > postsuper -d QUEUE_ID ok. now i want to inform the user about this action. HOW can i do that? anyway

Re: handling non MX entry domains

2009-06-09 Thread Wietse Venema
Truth Seeker: > > > > > Let me set this setting... > > > > > > by the way, i am curious to know, if i want to delete > > a particular mail from > > > the queue (may be in active or in deferred) how can we > > do that. > > > > postsuper -d QUEUE_ID > > > ok. now i want to inform the user about

Re: transport

2009-06-09 Thread Antonio Hooper
2009/6/9 Ralf Hildebrandt : > * Antonio Hooper : > >> > No. Do you want sender based routing? > >> exactly. is it possible ? > > http://www.postfix.org/SOHO_README.html > Supporting multiple ISP accounts in the Postfix SMTP client > > -- > Ralf Hildebrandt > Postfix - Einrichtung, Betrieb und Wartu

message_size_limit

2009-06-09 Thread Simon Schelkshorn
Hi there, I added a second listener in my master.cf. For this listener I added the option message_size_limit=2048 to increase the maximum size for emails sent via this additional listener. 192.168.xxx.xxx:25 inetn - n - - smtpd -o content_filter=

Re: handling non MX entry domains

2009-06-09 Thread Truth Seeker
> > > > > > postsuper -d QUEUE_ID > > > > > > ok. now i want to inform the user about this action. > HOW can i do > > that? anyway for sending a notification at this > point > > There is no need to manual delete mail from the queue that > way. i agree. But now i have to do it with post

Re: message_size_limit

2009-06-09 Thread Truth Seeker
i feel like you have to add the following in main.cf (not in master.cf) message_size_limit = 2048 for me this is working fine... and have the same size limit - -- --- Always try to find truth!!! - --- On Tue, 6/9/09, Simon Schelkshorn wrote: > From: Simon Schelkshorn > Subject: mes

Re: message_size_limit

2009-06-09 Thread Wietse Venema
Simon Schelkshorn: > Hi there, > > I added a second listener in my master.cf. For this listener I added > the option message_size_limit=2048 to increase the maximum size > for emails sent via this additional listener. You can't change the size limit for the SMTP server alone. It must be a m

Re: handling non MX entry domains

2009-06-09 Thread Wietse Venema
Truth Seeker: > > > > > > > > > > postsuper -d QUEUE_ID > > > > > > > > > ok. now i want to inform the user about this action. > > HOW can i do > > > that? anyway for sending a notification at this > > point > > > > There is no need to manual delete mail from the queue that > > way. > >

Re: handling non MX entry domains

2009-06-09 Thread Terry Carmen
>> > > postsuper -d QUEUE_ID >> > >> > >> > ok. now i want to inform the user about this action. >> HOW can i do >> > that? anyway for sending a notification at this >> point >> >> There is no need to manual delete mail from the queue that >> way. > > > i agree. But now i have to do it with po

Re: Avoid recursive table lookup

2009-06-09 Thread Magnus Bäck
On Tuesday, June 09, 2009 at 09:02 CEST, Arnaud JAYET wrote: > i'm trying to set up a Vacation Mail Responder using postfix and > special transport + PERL script. > > i want to let users choose between : > case 1 : automatic vacation responding and not delivrering the > original message (me

Re: message_size_limit

2009-06-09 Thread Magnus Bäck
On Tuesday, June 09, 2009 at 19:37 CEST, Wietse Venema wrote: > Simon Schelkshorn: > > > I added a second listener in my master.cf. For this listener I added > > the option message_size_limit=2048 to increase the maximum size > > for emails sent via this additional listener. > > You can

Re: Restrict from domain based on sasl auth id

2009-06-09 Thread Magnus Bäck
On Tuesday, June 09, 2009 at 13:02 CEST, ram wrote: > We provide relay services for our clients. > > The clients mail-servers connect to our postfix servers , authenticate > using a client-accountid and send the messages. > > I would like to restrict the from domains for every client.(Mainly

Re: Reputation based filtering...

2009-06-09 Thread Michael Orlitzky
EASY steve.h...@digitalcertainty.co.uk wrote: Not sure regarding the Ironport, but I imagine it is just the same as the Barracuda. The 'Reputation' is just an in-house rbl list and Yes, Postfix does these very well indeed. Here I am making use of a few; smtpd_recipient_restrictions = ...

Re: transport

2009-06-09 Thread Victor Duchovni
On Tue, Jun 09, 2009 at 02:24:49PM -0300, Antonio Hooper wrote: > > http://www.postfix.org/SOHO_README.html > > Supporting multiple ISP accounts in the Postfix SMTP client > > with transport, i do: master.cf: > smtp_teste unix - - n - - smtp -o > myhostname=mx.te

Re: message_size_limit

2009-06-09 Thread Wietse Venema
Magnus B?ck: > On Tuesday, June 09, 2009 at 19:37 CEST, > Wietse Venema wrote: > > > Simon Schelkshorn: > > > > > I added a second listener in my master.cf. For this listener I added > > > the option message_size_limit=2048 to increase the maximum size > > > for emails sent via this addi

Re: Difficulty in making a SMTP relay with Postfix

2009-06-09 Thread Victor Duchovni
On Tue, Jun 09, 2009 at 07:29:38AM +0200, Ralf Hildebrandt wrote: > > /etc/postfix/transport: > > wemade.com smtp:pop.wemade.com > > wemade.com [pop.wemade.com] wemade.comsmtp:[pop.wemade.com] -- Viktor. Disclaimer: off-list followups get on-list replies or get ignor

Re: Restrict from domain based on sasl auth id

2009-06-09 Thread Victor Duchovni
On Tue, Jun 09, 2009 at 08:32:40PM +0200, Magnus B?ck wrote: > > The clients mail-servers connect to our postfix servers , authenticate > > using a client-accountid and send the messages. > > > > I would like to restrict the from domains for every client.(Mainly to > > prevent inadvertent spam out

ldap and transports file

2009-06-09 Thread Kevin Sartorelli
Hi, I have Postfix 2.5.6 on a server and having a problem with using an LDAP lookup as a transport map. In my main.cf file I have: transport_maps = ldap:/etc/postfix/ldap-groupwise1.conf My ldap-groupwise1.conf file looks like: version = 3 domain = irdtest.govt.nz query_filte

Need to create a mail dead-end or "super" catch-all

2009-06-09 Thread Michael Glenney
I have a request from one of our developers and I want to see if I can fulfill it with Postfix. We have a services platform that has the ability to send out mail to users. We have a QA version of that platform that has an old copy of user data for testing. For now the SMTP relay option of the Q

Re: Need to create a mail dead-end or "super" catch-all

2009-06-09 Thread Wietse Venema
Michael Glenney: > > I have a request from one of our developers and I want to see if I can > fulfill it with Postfix. > > We have a services platform that has the ability to send out mail to > users. We have a QA version of that platform that has an old copy of > user data for testing. For now

Re: Limitations of setting mydestination with virtual domains

2009-06-09 Thread meyer-jordan
Hi Tim! > /etc/postfix/virtual > l...@example1.comlegg > t...@example2.orglegg > > > So I changed the main.cf to this > /etc/postfix/main.cf > mydestination = localhost > virtual_alias_domains = example1.com, genex.example1.com, > localhost.example1.com, example2.org, localhost.example

Virtual Mailbox Domain

2009-06-09 Thread Mayuresh Kasture
Hello All, For some reason, I want to set two mail servers on one machine. One of them is Postfix. The setup is such that Postfix should receive mails at port 4567 and should send mails corresponding to domain "kmail4u.com" to port 25 of the same machine where other mail server(coded by me) is wai

Re: ldap and transports file

2009-06-09 Thread Victor Duchovni
On Wed, Jun 10, 2009 at 10:10:17AM +1200, Kevin Sartorelli wrote: > I have Postfix 2.5.6 on a server and having a problem with using an > LDAP lookup as a transport map. In my main.cf file I have: "postconf -n" output generally preferred on this list. > transport_maps = ldap:/etc/postfix/

Re: ldap and transports file

2009-06-09 Thread Kevin Sartorelli
>>> On 10/06/2009 at 12:17 p.m., Victor Duchovni wrote: > On Wed, Jun 10, 2009 at 10:10:17AM +1200, Kevin Sartorelli wrote: > >> domain = irdtest.govt.nz > This limits the lookup keys to just u...@domain forms in the specified > domain, are you sure that's what you want??? Yes >> resul

Re: Virtual Mailbox Domain

2009-06-09 Thread Noel Jones
Mayuresh Kasture wrote: Hello All, For some reason, I want to set two mail servers on one machine. One of them is Postfix. The setup is such that Postfix should receive mails at port 4567 and should send mails corresponding to domain "kmail4u.com " to port 25 of the same m

Re: Virtual Mailbox Domain

2009-06-09 Thread Mayuresh Kasture
Thanks a lot Noel for your reply. I added gmail and yahoo as relay domains when I was playing around with Postfix. I am new to postfix and am trying to understand it. So, point is, I can live without gmail and yahoo being listed as relay domains. And about my project. It is an academic project. I

Re: Limitations of setting mydestination with virtual domains

2009-06-09 Thread Victor Duchovni
On Fri, Jun 05, 2009 at 01:22:02AM +0200, meyer-jor...@t-online.de wrote: > > /etc/postfix/main.cf > > mydestination = localhost > > virtual_alias_domains = example1.com, genex.example1.com, > > localhost.example1.com, example2.org, localhost.example2.org > > genex.example2.org > > virtual_alia

Re: ldap and transports file

2009-06-09 Thread Victor Duchovni
On Wed, Jun 10, 2009 at 12:42:12PM +1200, Kevin Sartorelli wrote: > > Why on earth are there multiple accounts with the same primary mail address? > > Or is the "mail" attribute of the user in question multi-valued? (Also > > not a good idea). > > Simple answer - user error. There shouldn't be bu

Re: Virtual Mailbox Domain

2009-06-09 Thread Victor Duchovni
On Tue, Jun 09, 2009 at 07:51:20PM -0500, Noel Jones wrote: >> Can anybody suggest how I can achieve this set up? > > The "loops back to myself" message is caused when postfix is greeted with > its own hostname. One instance needs a different hostname. A loop is detected via any of these three

Re: Virtual Mailbox Domain

2009-06-09 Thread Mayuresh Kasture
Thanks Victor. That is the information I required. Now, I am able to setup mail servers the way I want. Thanks a lot for your help. - Mayuresh On Tue, Jun 9, 2009 at 10:31 PM, Victor Duchovni wrote: > On Tue, Jun 09, 2009 at 07:51:20PM -0500, Noel Jones wrote: > >>> Can anybody suggest how I can

conversation with gmail-smtp-in.l.google.com timed out while sending end of data

2009-06-09 Thread June Qiu
I can send short emails (1KB) from my mailserver (abc.domain.com) to gmail account (t...@gmail.com), but for larger emails (7KB), it fails. It gets deferred on the mail queue forever. But this same mail can be sent to yahoo. Am I missing something?