Re: Killing user's session

2014-08-27 Thread Viktor Dukhovni
On Thu, Aug 28, 2014 at 01:17:06PM +1000, li...@sbt.net.au wrote: > On Mon, August 25, 2014 2:06 am, Viktor Dukhovni wrote: > > > If your relay restrictions look like: > > main.cf: > > indexed = ${default_database_type}:${config_directory}/ > > smtpd_relay_restrictions = check_sasl_access ${indexe

Re: Killing user's session

2014-08-27 Thread lists
On Mon, August 25, 2014 2:06 am, Viktor Dukhovni wrote: > If your relay restrictions look like: > main.cf: > indexed = ${default_database_type}:${config_directory}/ > smtpd_relay_restrictions = check_sasl_access ${indexed}sasl-access, > permit_sasl_authenticated, permit_mynetworks, reject_unauth_d

Re: Bypassing body checks

2014-08-27 Thread Alex
Hi, > > I'm using postfix-2.10.3 on fedora20 and having trouble with > > outbound mail getting rejected due restrictions in my body_checks. I > > thought I had the ordering correct, but I apparently don't know how > > to allow mynetworks to be excluded from the body restrictions. > > There is no b

Re: understanding documentation for always_add_missing_headers, local_header_rewrite_clients and cleanup(8)

2014-08-27 Thread Wietse Venema
b...@bitrate.net: > On Aug 27, 2014, at 19.36, Wietse Venema wrote: > > > btb: > >> hi- > >> > >> if i'm interpreting correctly, the documentation for cleanup(8) says > >> that (Resent-) From:, To:, Message-Id:, and Date: headers are always > >> inserted: > > > > This is enabled with to loc

Re: understanding documentation for always_add_missing_headers, local_header_rewrite_clients and cleanup(8)

2014-08-27 Thread btb
On Aug 27, 2014, at 19.36, Wietse Venema wrote: > btb: >> hi- >> >> if i'm interpreting correctly, the documentation for cleanup(8) says >> that (Resent-) From:, To:, Message-Id:, and Date: headers are always >> inserted: > > This is enabled with to local_header_rewrite_clients and > alway

Re: understanding documentation for always_add_missing_headers, local_header_rewrite_clients and cleanup(8)

2014-08-27 Thread Wietse Venema
btb: > hi- > > if i'm interpreting correctly, the documentation for cleanup(8) says > that (Resent-) From:, To:, Message-Id:, and Date: headers are always > inserted: This is enabled with to local_header_rewrite_clients and always_add_missing_headers, as documented in more detail in the postc

Re: sender_bcc_maps after SRS rewriting

2014-08-27 Thread Just Ian
Wietse Venema said: > [sender munging with SRS] >> Something in that breaks the bcc_senders_maps functionality. Before I >> could automatically archive outgoing email from some domains and not >> others, and treat each individually, but now it appears to be all or >> nothing, and every sender's do

understanding documentation for always_add_missing_headers, local_header_rewrite_clients and cleanup(8)

2014-08-27 Thread btb
hi- if i'm interpreting correctly, the documentation for cleanup(8) says that (Resent-) From:, To:, Message-Id:, and Date: headers are always inserted: The cleanup(8) daemon always performs the following transformations: ยท Insert missing message headers: (Resent-) From:, To:, Message-Id:,

Setting up server for quarantined mail

2014-08-27 Thread Rosenbaum, Larry M.
I want to set up a mail server on a virtual Linux box (running Postfix) to store email messages that have been quarantined. Mail addressed to (for example) quarant...@q.example.com will go to this system and be stored there (preferably one message per file, like maildir). I would like anyone wit

sender_bcc_maps after SRS rewriting

2014-08-27 Thread Wietse Venema
Just Ian: [sender munging with SRS] > Something in that breaks the bcc_senders_maps functionality. Before I > could automatically archive outgoing email from some domains and not > others, and treat each individually, but now it appears to be all or > nothing, and every sender's domain is the same:

[no subject]

2014-08-27 Thread Just Ian
For many years, I've used Postfix's ability to automatically BCC mail that is being sent through it to generate an archive of sent mail. Unfortunately, the 'use bcc_senders_maps to have a file with a list of accounts to do this to' method no longer works if you have to have SRS enabled and your ou

Re: Unlisted recipients do not get rejected

2014-08-27 Thread Noel Jones
On 8/27/2014 1:16 PM, Andreas Pauli wrote: > Hi, > > i have got a strange problem. In short: there is a general mapping > from @example.com to @example.net in the virtual_alias_map. > Both example.{com,net} are virtual mailbox domains. > Virtual_transport is lmtp to a mailbox server, and mailboxes

Unlisted recipients do not get rejected

2014-08-27 Thread Andreas Pauli
Hi, i have got a strange problem. In short: there is a general mapping from @example.com to @example.net in the virtual_alias_map. Both example.{com,net} are virtual mailbox domains. Virtual_transport is lmtp to a mailbox server, and mailboxes exist only @example.net. When there are mailboxes a..

Re: Bypassing body checks

2014-08-27 Thread Noel Jones
On 8/27/2014 12:37 PM, Alex wrote: > Hi all, > I'm using postfix-2.10.3 on fedora20 and having trouble with > outbound mail getting rejected due restrictions in my body_checks. I > thought I had the ordering correct, but I apparently don't know how > to allow mynetworks to be excluded from the body

Re: Bypassing body checks

2014-08-27 Thread Wietse Venema
Alex: > Hi all, > I'm using postfix-2.10.3 on fedora20 and having trouble with outbound mail > getting rejected due restrictions in my body_checks. I thought I had the > ordering correct, but I apparently don't know how to allow mynetworks to be > excluded from the body restrictions. As documented

Bypassing body checks

2014-08-27 Thread Alex
Hi all, I'm using postfix-2.10.3 on fedora20 and having trouble with outbound mail getting rejected due restrictions in my body_checks. I thought I had the ordering correct, but I apparently don't know how to allow mynetworks to be excluded from the body restrictions. I've included my postconf out

Re: Multiple instances of postfix

2014-08-27 Thread Paul Thomas
Noel thank you very much, This is reassuring. You are right they are fundamentally not that different, except there is some "scaffolding" and special handling. Part of the first example is kind of outdated because postfix needs to be explicitly told the mode to run, and where the configs are

Best way to redirect mail to account on third party server

2014-08-27 Thread Russell Horn
Hi folks, I'm wondering if there's a good way to do this given modern anti-spam measures. I would like to temporarily redirect mail for two users to their gmail accounts rather than delivering locally. Is there any good way to do this that will preserve the sender details so they can reply to mess

Re: postfix and dualstack relayhost.

2014-08-27 Thread Viktor Dukhovni
On Wed, Aug 27, 2014 at 03:12:23PM +0200, Benny Pedersen wrote: > On 27. aug. 2014 10.04.19 Josef Karliak wrote: > > > First is IPv6 communication and after timeout is IPv4 > >communication ? > > Check /etc/gai.conf if linux > > Its not postfix question Actually, it is a Postfix issue. Postf

Re: Multiple instances of postfix

2014-08-27 Thread Noel Jones
On 8/27/2014 3:35 AM, Paul Thomas wrote: > Hello folk, I'm wondering if you can help. > > I saw two ways of implementing multiple instance of postfix. > > 1. http://edoceo.com/howto/postfix-multiple-instances > This looks like a quick-dirty ho

Re: Some people sending to us getting 451 4.3.5 Server configuration rejections

2014-08-27 Thread Ian Evans
On Wed, Aug 27, 2014 at 7:12 AM, Wietse Venema wrote: > Ian Evans: > > > First. the script should limit the time for DNS lookups. > > > > > > Second, the script should not die after BrokenPipeError exceptions. > > > > > > try: sys.stdout.flush() > > > except BrokenPipeError: pass > > > > > Again,

Re: postfix and dualstack relayhost.

2014-08-27 Thread Benny Pedersen
On 27. aug. 2014 10.04.19 Josef Karliak wrote: First is IPv6 communication and after timeout is IPv4 communication ? Check /etc/gai.conf if linux Its not postfix question

Re: postfix and dualstack relayhost.

2014-08-27 Thread Wietse Venema
Josef Karliak: >Hi there, >just a little question - when I use in the main.cf dns name for > relayhost and dns name has IPv4 and IPv6 IP, how does postfix > communicate ? First is IPv6 communication and after timeout is IPv4 > communication ? smtp_address_preference (default: any)

Re: Some people sending to us getting 451 4.3.5 Server configuration rejections

2014-08-27 Thread Wietse Venema
Ian Evans: > > First. the script should limit the time for DNS lookups. > > > > Second, the script should not die after BrokenPipeError exceptions. > > > > try: sys.stdout.flush() > > except BrokenPipeError: pass > > > Again, since I'm tired, I just want to be sure I understand...are you > suggesti

Postfix setup

2014-08-27 Thread Timothy Murphy
I'm trying to clarify the various ways in which I could set up Postfix + Dovecot + SpamAssassin under CentOS-7, and I'd welcome any comments on the following remarks. As far as I can see there are 3 standard ways of setting this up: 1. Use amavisd 2. Use dovecot + pigeonhole/sieve 3. Use spa

Multiple instances of postfix

2014-08-27 Thread Paul Thomas
Hello folk, I'm wondering if you can help. I saw two ways of implementing multiple instance of postfix. 1. http://edoceo.com/howto/postfix-multiple-instances 2. http://www.postfix.org/MULTI_INSTANCE_README.html

postfix and dualstack relayhost.

2014-08-27 Thread Josef Karliak
Hi there, just a little question - when I use in the main.cf dns name for relayhost and dns name has IPv4 and IPv6 IP, how does postfix communicate ? First is IPv6 communication and after timeout is IPv4 communication ? Thanks and best regards J.Karliak -- Ma domena pouziva zabezpe