Virtual domains, multiple IPs and e-mail authentication

2009-11-20 Thread Laszlo Attila
Dear all, I have a Centos 5.2 server with Postfix 2.5.6. which handles mail for a couple of websites (virtual_mailbox_domains). Following Yahoo's and other ESPs suggestion, to send mail from different IPs, depending on their function, I would like to use 3 IPs (already set up on the server) to

Re: mailrelay - copy from all outgoing and incoming email

2009-11-20 Thread Magnus Bäck
On Fri, November 20, 2009 7:13 am, post urne said: > yes - thats right - now the mails will are stored in the lokal archive > account - BUT now I get there 2 copies for one email. > > It seems to be, that this problem comes with use of amavisd-new as > contentfilter. > Is there a way, to save one

4KB of disk space burning on a single email

2009-11-20 Thread Arora, Sumit
Hi folks, I'm just testing my postfix server for load and disk usage. I'm using content filter on some another server, and I don't feed the email back to postfix. Email data is getting deleted from my postfix server, but I don't know where 4KB of my disk space gone on every email my postfix ser

Re: 4KB of disk space burning on a single email

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 13:42:58 Arora, Sumit wrote: > Hi folks, > > I'm just testing my postfix server for load and disk usage. > I'm using content filter on some another server, and I don't feed the email > back to postfix. > > Email data is getting deleted from my postfix server, but I don

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Wietse Venema
J. Roeleveld: > On Friday 20 November 2009 13:42:58 Arora, Sumit wrote: > > Hi folks, > > > > I'm just testing my postfix server for load and disk usage. > > I'm using content filter on some another server, and I don't feed the email > > back to postfix. > > > > Email data is getting deleted fro

RE: 4KB of disk space burning on a single email

2009-11-20 Thread Arora, Sumit
You are right Joost, 4KB will be the block size... But my question is who is taking this disk space, because email is deleted already. Is this any log or what I just have to stop consumption of any kind of disk space except mail logs. Please help -Sumit Arora -Original Message

A way to trace mails flow

2009-11-20 Thread Alessandro Fachin
Hi all, sometimes (...) I need to trace the complete flow of mails through postfix queues until the delivered to dovecot (including the clients connections/disconnections and obviously the operations execute by Mailscanner). Usually I trace it with tail -f mail.log grepping sender/receiver or mes

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Dan Schaefer
Arora, Sumit wrote: You are right Joost, 4KB will be the block size... But my question is who is taking this disk space, because email is deleted already. Is this any log or what I just have to stop consumption of any kind of disk space except mail logs. Please help -Sumit Arora --

Re: 4KB of disk space burning on a single email

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 14:14:03 Arora, Sumit wrote: > You are right Joost, 4KB will be the block size... > But my question is who is taking this disk space, because email is deleted > already. > > Is this any log or what I just have to stop consumption of any kind of > disk space except

Re: A way to trace mails flow

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 14:15:16 Alessandro Fachin wrote: > Hi all, > > sometimes (...) I need to trace the complete flow of mails through > postfix queues until the delivered to dovecot (including the clients > connections/disconnections and obviously the operations execute by > Mailscanner).

[Fwd: Re: sender_bcc]

2009-11-20 Thread Osmany Goderich Navarro
So I'm thinking about using sender_bcc_maps and header_checks to filter out some copies generated by bcc. How can I configure header_checks to work with two conditions? I want to filter messages that come from an address meant to go to one specific recipient. I want to do this using header_che

RE: 4KB of disk space burning on a single email

2009-11-20 Thread Arora, Sumit
I'm really amazed... its maillog that is consuming 4KB on a simple 5-7 line logging for each email -Sumit Arora -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of J. Roeleveld Sent: Friday, November 20, 2009 6:51 PM To: pos

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Ralf Hildebrandt
* Arora, Sumit : > You are right Joost, 4KB will be the block size... > But my question is who is taking this disk space, because email is deleted > already. How EXACTLY is the email being deleted ? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin B

Re: 4KB of disk space burning on a single email

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 14:38:50 Arora, Sumit wrote: > I'm really amazed... its maillog that is consuming 4KB on a simple 5-7 line > logging for each email > > -Sumit Arora How long are those lines? > > -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-

RE: 4KB of disk space burning on a single email

2009-11-20 Thread Arora, Sumit
It's being passed for content filtering and email is not sent back to postfix. For postfix it's just mail forwarding -Sumit Arora -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Ralf Hildebrandt Sent: Friday, November 20,

Re: [Fwd: Re: sender_bcc]

2009-11-20 Thread Noel Jones
On 11/20/2009 7:35 AM, Osmany Goderich Navarro wrote: So I'm thinking about using sender_bcc_maps and header_checks to filter out some copies generated by bcc. How can I configure header_checks to work with two conditions? header_checks operate on one header at a time, so not suitable for this

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Noel Jones
On 11/20/2009 7:44 AM, Arora, Sumit wrote: It's being passed for content filtering and email is not sent back to postfix. For postfix it's just mail forwarding Amavisd-new (and probably other content filters too) keeps temporary files between messages to prevent creating new files every

RE: 4KB of disk space burning on a single email

2009-11-20 Thread Arora, Sumit
I've checked the size of maillog It's size is getting increased by 4KB on receiving each email. Noel Jones, please read the other emails of this thread. -Sumit Arora -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel J

About SMTP Auth with Mysql

2009-11-20 Thread Vahriç Muhtaryan
Hello, I have multiple database which have username and pass informations I would like to use postfix as a centeral smtp auth server for all but something I can not do it log_level: 7 pwcheck_method: auxprop auxprop_plugin: sql mech_list: plain login sql_engine: mysql sql_hostnames:

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Wietse Venema
Arora, Sumit: > I've checked the size of maillog > It's size is getting increased by 4KB on receiving each email. We know what you believe. Now we would like to see some actual concrete evidence. Wietse

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Noel Jones
On 11/20/2009 7:53 AM, Arora, Sumit wrote: I've checked the size of maillog It's size is getting increased by 4KB on receiving each email. Noel Jones, please read the other emails of this thread. -Sumit Arora I did. All I see are unsupported top-posted claims. -- Noel Jones

Re: 4KB of disk space burning on a single email

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 14:53:58 Arora, Sumit wrote: > I've checked the size of maillog > It's size is getting increased by 4KB on receiving each email. > > Noel Jones, please read the other emails of this thread. > > -Sumit Arora The log-entries you sent me are nowhere near 4KB in size.

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Simon Waters
On Friday 20 November 2009 15:52:13 J. Roeleveld wrote: > > If it's a collection of different logfiles adding up to 4KB in size per > email, then you might want to recheck your syslog-configuration. Probably pays to know what file system and mount options are applicable here as well. As I find

Re: About SMTP Auth with Mysql

2009-11-20 Thread Jerry
On Fri, 20 Nov 2009 15:55:20 +0200 Vahriç Muhtaryan replied: >Hello, > > > >I have multiple database which have username and pass informations > >I would like to use postfix as a centeral smtp auth server for all but >something I can not do it > > > >log_level: 7 > >pwcheck_method: auxprop > >

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Victor Duchovni
On Fri, Nov 20, 2009 at 04:01:56PM +, Simon Waters wrote: > On Friday 20 November 2009 15:52:13 J. Roeleveld wrote: > > > > If it's a collection of different logfiles adding up to 4KB in size per > > email, then you might want to recheck your syslog-configuration. > > Probably pays to know w

postfix's sendmail equivalent to mailertable problem

2009-11-20 Thread Jason X, Maney
Hi All, I am much of a newbie to postfix and need some help please. I know that what I am about to ask has been covered already on this list but I just can not get a head start. I am looking to have my postfix acting as a gateway for my exchange. On sendmail I know I would use mailertable, please

Re: postfix's sendmail equivalent to mailertable problem

2009-11-20 Thread Brian Evans - Postfix List
Jason X, Maney wrote: > Hi All, > > I am much of a newbie to postfix and need some help please. I know > that what I am about to ask has been covered already on this list but > I just can not get a head start. I am looking to have my postfix > acting as a gateway for my exchange. On sendmail I kno

question concerning postfix from a n00b ;)

2009-11-20 Thread James
Hi, I am new to the arena of running my own mail server, and from the control panel that I was given, it seemed pretty straightfoward. Now, of course, I want to expand my ability. I run a couple of forums, and would like to be able to create a page where people can create their own email addres

Re: postfix's sendmail equivalent to mailertable problem

2009-11-20 Thread Sahil Tandon
On Nov 20, 2009, at 11:12 AM, "Jason X, Maney" wrote: Hi All, I am much of a newbie to postfix and need some help please. I know that what I am about to ask has been covered already on this list but I just can not get a head start. I am looking to have my postfix acting as a gateway for my

Re: question concerning postfix from a n00b ;)

2009-11-20 Thread Sahil Tandon
On Nov 20, 2009, at 11:16 AM, James wrote: Hi, I am new to the arena of running my own mail server, and from the control panel that I was given, it seemed pretty straightfoward. Now, of course, I want to expand my ability. I run a couple of forums, and would like to be able to create a pag

Re: postfix's sendmail equivalent to mailertable problem

2009-11-20 Thread Victor Duchovni
On Fri, Nov 20, 2009 at 06:12:45PM +0200, Jason X, Maney wrote: > I am much of a newbie to postfix and need some help please. I know > that what I am about to ask has been covered already on this list but > I just can not get a head start. I am looking to have my postfix > acting as a gateway for

Re: question concerning postfix from a n00b ;)

2009-11-20 Thread Victor Duchovni
On Fri, Nov 20, 2009 at 11:16:41AM -0500, James wrote: > Hi, I am new to the arena of running my own mail server, and from the > control panel that I was given, it seemed pretty straightfoward. Now, of > course, I want to expand my ability. I run a couple of forums, and would > like to be able

Re: 4KB of disk space burning on a single email

2009-11-20 Thread J. Roeleveld
On Friday 20 November 2009 17:01:56 Simon Waters wrote: > On Friday 20 November 2009 15:52:13 J. Roeleveld wrote: > > If it's a collection of different logfiles adding up to 4KB in size per > > email, then you might want to recheck your syslog-configuration. > > Probably pays to know what file sys

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Ralf Hildebrandt
* J. Roeleveld : > The log-entries you sent me are nowhere near 4KB in size. > How do you check that the "maillog" increases by 4KB per message? My guess is the mails are marked as deleted. Nothing more. They never get deleted, thus the space never gets free. Furthermore it's OT! -- Ralf Hilde

Re: 4KB of disk space burning on a single email

2009-11-20 Thread Terry Carmen
Arora, Sumit wrote: You are right Joost, 4KB will be the block size... But my question is who is taking this disk space, because email is deleted already. Please show Postfix log entries showing the message being delivered to the content filter and successfully accepted and deleted as: Nov

Relay and mynetworks

2009-11-20 Thread Jeronimo
Hi, I always think that only hosts in mynetworks can do relay on my server, but... I created the following rule smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject and put this on the dominios_permitidos map meudominio.com.br OK But when I do

Re: Relay and mynetworks

2009-11-20 Thread Eero Volotinen
Jeronimo wrote: Hi, I always think that only hosts in mynetworks can do relay on my server, but... I created the following rule smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject How about using smtpd_sender_restrictions ? -- Eero

Re: Relay and mynetworks

2009-11-20 Thread Victor Duchovni
On Fri, Nov 20, 2009 at 05:04:44PM -0200, Jeronimo wrote: > Hi, > > I always think that only hosts in mynetworks can do relay on my server, > but... > I created the following rule > > smtpd_recipient_restrictions = > check_sender_access hash:/etc/postfix/dominios_permitidos, > reject Th

Re: Relay and mynetworks

2009-11-20 Thread Jeronimo
I put the restriction on smtpd_recipient_restriction to log all attempts to send email. There is no difference to put this restriction on smtpd_sender_restriction. Only change the time that server rejects the message. I guess.. I chance the restriction because I want that only messages from mydoma

Re: Relay and mynetworks

2009-11-20 Thread Wietse Venema
Jeronimo: > I chance the restriction because I want that only messages from mydomain > pass through the relay. That is not what the configuration does. In reality, it forwards mail from anyone who sends mail with your domain name in the sender address. So put back the default smtpd_recipient_res

Same address delivering to multiple mailboxes

2009-11-20 Thread Sean Holdsworth
This is by way of a sanity check; I believe something is not possible to do in Postfix without resorting to external code, but would be very pleased if I was proved wrong. Suppose I have a catchall delivery for a (virtual) domain into a mailbox: @domain => A I also have a couple of oth

Multiple IPs

2009-11-20 Thread Kishore Buxani
Hi all, I have a setup of postfix on fedora. I was wondering if there is a way to send emails in IP rotation as i have 5 IPs on my server. I have tried this http://denixsolutions.com/Scripts/Postfix-Multiple-Interfaces-Patch But it doesnt work. Rgds Kishore

RE: About SMTP Auth with Mysql

2009-11-20 Thread Vahriç Muhtaryan
I tried without parentheses like 212.58.4.184:3306,212.58.4.247:3306 Also tried like this 212.58.4.184:3306 212.58.4.247:3306 -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Jerry Sent: Friday, November 20, 2009 6:05 PM To: po

Re: Multiple IPs

2009-11-20 Thread Eero Volotinen
Kishore Buxani wrote: Hi all, I have a setup of postfix on fedora. I was wondering if there is a way to send emails in IP rotation as i have 5 IPs on my server. I have tried this http://denixsolutions.com/Scripts/Postfix-Multiple-Interfaces-Patch But it doesnt work. Rgds Kishore see th

Re: About SMTP Auth with Mysql

2009-11-20 Thread Patrick Ben Koetter
* Vahriç Muhtaryan : > I tried without parentheses like 212.58.4.184:3306,212.58.4.247:3306 > Also tried like this 212.58.4.184:3306 212.58.4.247:3306 3306 is default for mysql. Try without. p...@rick > > -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-pos