Re: limited port 587

2014-05-26 Thread Robert Schetterer
Am 27.05.2014 07:59, schrieb Tom Kinghorn: > Morning list. > > Is it possible to limit port 587 access to users who are known to be > traveling outside your network (foreign countries)? > > We have a user who cannot access port 25 and as such I am looking at the > submission port, however, do not

Re: limited port 587

2014-05-26 Thread Erwan David
On Tue, May 27, 2014 at 07:59:04AM CEST, Tom Kinghorn said: > Morning list. > > Is it possible to limit port 587 access to users who are known to be > traveling outside your network (foreign countries)? > > We have a user who cannot access port 25 and as such I am looking at the > submission po

limited port 587

2014-05-26 Thread Tom Kinghorn
Morning list. Is it possible to limit port 587 access to users who are known to be traveling outside your network (foreign countries)? We have a user who cannot access port 25 and as such I am looking at the submission port, however, do not want to open it up to the net. many thanks Tom

Re: custom script and loops problem - looking for professional support

2014-05-26 Thread Noel Jones
On 5/26/2014 6:19 AM, mancyb...@gmail.com wrote: > Hi I wrote this script: http://pastebin.com/BZGNDcdn > which is configured in postfix in transport_maps like this: > emailtocatcherr...@example.com myCustomScript:dummy > and is supposed to catch emails that return errors ("Undelivered Mail > Retu

Re: Postfix local and remote delivery for a single domain

2014-05-26 Thread Viktor Dukhovni
On Tue, May 27, 2014 at 12:17:38AM +0200, elhijo wrote: > Is it possible to create a transport that delivers mails both locally and > remotely ? The solution is NOT a transport map. Rather a virtual alias table. virtual: u...@example.com u...@server1.example.com, u...@server2.example.com

Postfix local and remote delivery for a single domain

2014-05-26 Thread elhijo
Hi, I'm migrating users from an old postfix mbox server (server1) to a brand new postfix maildir server (server2), we're going from pop to imap... All users will not be migrated at once, so, I have to get both postfix servers receiving emails for same domain name. I thought of transport map on

Re: Multilayer mail handling

2014-05-26 Thread Viktor Dukhovni
On Mon, May 26, 2014 at 08:42:55PM +0200, Jimmy Thrasibule wrote: > Hi, > > I'm wondering what is the correct architecture and configuration to > setup a multilayer mail handling? What I have in mind is something > more like what we can found in Web platform architectures. > > 1. First layer does

Re: Multilayer mail handling

2014-05-26 Thread Patrick Ben Koetter
* Jimmy Thrasibule : > Hi, > > I'm wondering what is the correct architecture and configuration to > setup a multilayer mail handling? What I have in mind is something > more like what we can found in Web platform architectures. > > 1. First layer does first checks: user authentication (if mail t

Multilayer mail handling

2014-05-26 Thread Jimmy Thrasibule
Hi, I'm wondering what is the correct architecture and configuration to setup a multilayer mail handling? What I have in mind is something more like what we can found in Web platform architectures. 1. First layer does first checks: user authentication (if mail to be sent), greylisting, RBL checks

Re: improving logging

2014-05-26 Thread Robert Schetterer
Am 26.05.2014 17:03, schrieb mancyb...@gmail.com: > On Mon, 26 May 2014 16:43:45 +0200 > "li...@rhsoft.net" wrote: > >> >> Am 26.05.2014 16:31, schrieb mancyb...@gmail.com: >>> Hi yes sure but that would result in having 20 database rows for each >>> email, since that is what happens in the sysl

Re: improving logging

2014-05-26 Thread mancyb...@gmail.com
On Mon, 26 May 2014 16:43:45 +0200 "li...@rhsoft.net" wrote: > > Am 26.05.2014 16:31, schrieb mancyb...@gmail.com: > > Hi yes sure but that would result in having 20 database rows for each > > email, since that is what happens in the syslog, > > each component (postfix, spamassassin, amavis, po

Re: improving logging

2014-05-26 Thread Robert Schetterer
Am 26.05.2014 16:31, schrieb mancyb...@gmail.com: > On Mon, 26 May 2014 16:17:14 +0200 > Ansgar Wiechers wrote: > >> On 2014-05-26 mancyb...@gmail.com wrote: >>> Hi is it possible to log what postfix does to mysql ? >>> For example each email sent or received, with sender and receiver, >>> date,

Re: improving logging

2014-05-26 Thread li...@rhsoft.net
Am 26.05.2014 16:31, schrieb mancyb...@gmail.com: > Hi yes sure but that would result in having 20 database rows for each email, > since that is what happens in the syslog, > each component (postfix, spamassassin, amavis, policyd, ...) writes few lines > in the syslog for each email sent or rece

Re: improving logging

2014-05-26 Thread Klaipedaville on Google
Create custom logs, instruct postfix to log to your custom logs by giving it the correct new path (instead of the default syslog), then copy-paste the original mysql tables into your custom created logs then add as many custom rows, sql commands as you please or just create totally brand-new dat

Re: improving logging

2014-05-26 Thread mancyb...@gmail.com
On Mon, 26 May 2014 16:17:14 +0200 Ansgar Wiechers wrote: > On 2014-05-26 mancyb...@gmail.com wrote: > > Hi is it possible to log what postfix does to mysql ? > > For example each email sent or received, with sender and receiver, > > date, status, file length. > > And even better, is it possible

Re: improving logging

2014-05-26 Thread Robert Schetterer
Am 26.05.2014 16:14, schrieb Robert Schetterer: > Am 26.05.2014 15:53, schrieb mancyb...@gmail.com: >> Hi is it possible to log what postfix does to mysql ? > > postfix logs to syslog , syslog may log to sql > > http://www.rsyslog.com/doc/rsyslog_mysql.html > http://loganalyzer.adiscon.com/ > >

Re: improving logging

2014-05-26 Thread Ansgar Wiechers
On 2014-05-26 mancyb...@gmail.com wrote: > Hi is it possible to log what postfix does to mysql ? > For example each email sent or received, with sender and receiver, > date, status, file length. > And even better, is it possible to integrate that with BL / SA / AV > in order to have on the same dat

Re: improving logging

2014-05-26 Thread Robert Schetterer
Am 26.05.2014 15:53, schrieb mancyb...@gmail.com: > Hi is it possible to log what postfix does to mysql ? postfix logs to syslog , syslog may log to sql http://www.rsyslog.com/doc/rsyslog_mysql.html http://loganalyzer.adiscon.com/ more advanced http://graylog2.org/ > For example each email se

improving logging

2014-05-26 Thread mancyb...@gmail.com
Hi is it possible to log what postfix does to mysql ? For example each email sent or received, with sender and receiver, date, status, file length. And even better, is it possible to integrate that with BL / SA / AV in order to have on the same database row also the blacklist check, spam score an

custom script and loops problem - looking for professional support

2014-05-26 Thread mancyb...@gmail.com
Hi I wrote this script: http://pastebin.com/BZGNDcdn which is configured in postfix in transport_maps like this: emailtocatcherr...@example.com myCustomScript:dummy and is supposed to catch emails that return errors ("Undelivered Mail Returned to Sender") when emailtocatcherr...@example.com sends