Re: Capture outgoing email

2022-08-17 Thread Andy Beverley
On 17/08/2022 12:21, Matus UHLAR - fantomas wrote: On 17.08.22 11:38, Andy Beverley wrote: Is there any way that I can capture the exact content of an email as it is delivered by Postfix to an external host? I am looking for something different to always_bcc or similar, in that I want to

Capture outgoing email

2022-08-17 Thread Andy Beverley
emails). Thanks, Andy

Re: spamassassin & bayes

2021-01-27 Thread Andy Smith
On 27-01-2021 23:26, Patrick Proniewski wrote: Hi, I've switched to REDIS for bayesian storage in Spamassassin more than 4 years ago, and I've never looked back: very good performances and no problem with files (like locking for a start). I wrote about it at the time, unfortunately it's in F

Re: rewrite to value of reply-to

2021-01-27 Thread Andy Smith
On 28-01-2021 00:14, Viktor Dukhovni wrote: On Wed, Jan 27, 2021 at 05:30:25PM -0500, Wietse Venema wrote: Indeed, though I usually avoid falling in that trap, perhaps I failed in this case to consider whether the user is asking the right question. If the problem value of the "From:" head

Re: rewrite to value of reply-to

2021-01-27 Thread Andy Smith
y a beautiful solution but if it works, and just done a test it does seem to work as expected. The reason I'm not just using Exim is due to some issue/bug I'm experiencing with that. thanks again, Andy.

Re: rewrite to value of reply-to

2021-01-27 Thread Andy Smith
essage, you'd need a content_filter or milter. If we assume that reply-to exists does that make this easier? thanks for your reply! Andy.

rewrite to value of reply-to

2021-01-27 Thread Andy Smith
ly_address". If anyone knows how I can achieve this that would be really helpful! thanks in advance! Andy.

Re: Mail queue free space issue

2016-03-24 Thread Andy Theuninck
the end of the limit. I'm sure I can fix my own situation by choosing a lower limit. I only posted to the list in case this is notable or worth doing anything about. On Thu, Mar 24, 2016 at 12:14 PM, Bastian Blank wrote: > Hi Andy > > On Thu, Mar 24, 2016 at 10:24:16AM -0500, Andy Theu

Mail queue free space issue

2016-03-24 Thread Andy Theuninck
I'm seeing a not-enough free space error with the log entry showing 900+ gigabytes in that line. But on a 10/100 network with a couple seconds at most between the client sending and postfix logging the error it seems impossible for that much data to have been sent. This isn't a public email server

RE: DKIM Signature fails

2015-11-25 Thread Andy A
Thanks for the information. I have now made sure that the message is converted to printed-quotable before DKIM signing. That results in DKIM verification pass but the message now is limited to 76 character length and each line longer than 76 characters ends with a '=' and a line break for the le

DKIM Signature fails

2015-11-19 Thread Andy A
Hello.  We have Postfix 2:2.6.6-6.el6_5 running locally with opendkim, opendmarc on Centos 6.x. All the emails are sent via the local MTA (postfix) The mails are being delivered and are signed as they have DKIM signature, but the body hash fails. DNS TXT records for dmarc, dkim and spf are all

Re: Re: How to detect the receiving of mail for sure from only that relay and then make action only in that case?

2015-01-30 Thread Andy Wright
g a SMTP transport with an MD5 hash, somewhat like above. You could do it with relay domains also I suppose and with most transports I would imagine.. It is a very dirty method if MTA TLS CERT verification is your single point of security however. http://myspew.com/projects/postfix-tls-fingerprints-for-mta-to-mta-identification Andy signature.asc Description: This is a digitally signed message part

Re: using ppymilter in Postfix(SOLVED)

2015-01-22 Thread Andy Kannberg
ogle.com/p/ppymilter/issues/detail?id=4 My milter example now runs fine! Cheers, Andy Sent from my iPad > On 21 jan. 2015, at 22:51, Andy Kannberg wrote: > > Ok, fixed that: > > postconf -n > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases

Re: using ppymilter in Postfix

2015-01-21 Thread Andy Kannberg
y|send|360]) Guess this is no Postfix issue. I sent a mail to the author of ppymilter. However, if anyone has seen this before, hints and tips are appreciated. cheers, Andy 2015-01-21 21:37 GMT+01:00 Wietse Venema : > Andy Kannberg: > > Hi again, > > > &

Re: using ppymilter in Postfix

2015-01-21 Thread Andy Kannberg
/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 2015-01-16 15:36 GMT+01:00 Wietse Venema : > Andy Kannberg: > > Change permissions to 700 and ran the script. It gave no errors, which is > > good. However, using ss to check which ports are in use do

Re: using ppymilter in Postfix

2015-01-16 Thread Andy Kannberg
hich is good. However, using ss to check which ports are in use doesn't show port 12000(Which I would expect) I see no message whatsoever in /var/log/maillog that the milter is used. Am I missing something ? cheers, Andy 2015-01-08 15:20 GMT+01:00 Andy Kannberg : > Hi, > > I am l

using ppymilter in Postfix

2015-01-08 Thread Andy Kannberg
Hi, I am looking how to use ppymilter in Postfix. Using pymilter is explained in the Postfix docs ( http://www.postfix.org/MILTER_README.html#config ) , but I can't find how to do the same for ppymilter. Anyone can send me in the right direction ? cheers, Andy

Re: question about mail aliases

2014-11-14 Thread Andy Kannberg
o use scripts in the aliases file: http://serverfault.com/questions/206477/processing-incoming-emails-with-python Anyone have experience with that wrt to what I need ? cheers, Andy 2014-11-14 14:14 GMT+01:00 Koko Wijatmoko : > On Fri, 14 Nov 2014 14:01:46 +0100 > Andy Kannberg wrote:

question about mail aliases

2014-11-14 Thread Andy Kannberg
aliases are dropped or are sent to a moderator. I have searched the internet but could not find anything about this. Can somebody help me out with this ? Is there a plugin available, or maybe a regular expression to handle this ? best regards, Andy

Re: email addresses with forwarding receive duplicate emails sent by postfix

2014-04-28 Thread Andy Yen
: Delivered-To: andy...@gmail.com Received: by 10.50.18.109 with SMTP id v13csp167834igd; Mon, 28 Apr 2014 19:15:01 -0700 (PDT) X-Received: by 10.224.43.202 with SMTP id x10mr38107986qae.33.1398737701104; Mon, 28 Apr 2014 19:15:01 -0700 (PDT) Return-Path: Received: from somedomain2.com

email addresses with forwarding receive duplicate emails sent by postfix

2014-04-28 Thread Andy Yen
is something to do with my postfix configuration. I am basically using the default settings that ship with CentOS postfix. Is there a setting I can change to fix this? Thanks, Andy

Re: virtual aliases and virtual users

2014-04-17 Thread Andy Howell
On 04/17/2014 06:10 PM, Viktor Dukhovni wrote: > On Thu, Apr 17, 2014 at 05:12:04PM -0500, Andy Howell wrote: > >> I wrote yesterday that I couldn't map root to a virtual user. It >> seems the problem is more fundamental than that. I can't create an &

virtual aliases and virtual users

2014-04-17 Thread Andy Howell
vmailbox a...@gamubaru.com gamubaru.com/andy/mail local delivery is by dovecot postconfg -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = amavisfeed:[127.0.0.1]:10024 daemon_directory = /usr/libexec/pos

postfix, use a custom mysql user table to reject messages

2014-04-16 Thread Andy Yen
s stage of message processing to achieve this functionality? Or is my only option to go in and modify the source code? Cheers, Andy

aliasing root to a virtual user

2014-04-16 Thread Andy Howell
. I tried setting up a virtual alias: virtual_alias_maps = hash:/etc/postfix/virtual /etc/postfix/virtual contains: r...@gamubaru.com a...@gamubaru.com postmap -q r...@gamubaru.com hash:/etc/postfix/virtual a...@gamubaru.com Any idea why postfix is not using the alias? Thanks, Andy

Relay domain with some virtual accounts

2014-02-25 Thread Andy Rowe
This seems like an easy thing to do but I'm still a beginner. I have a postfix installation w/ dovecot, SA and postfixadmin. In addition to a few virtual domains, I have the linux box in front of an M$ exchange 2003 server acting as a content filter. All the emails going to legitimate accounts in t

RE: two routers into postfix

2014-01-10 Thread Andy Rowe
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Noel Jones > Sent: Friday, January 10, 2014 10:33 AM > To: postfix-users@postfix.org > Subject: Re: two routers into postfix > > On 1/10/2014

two routers into postfix

2014-01-10 Thread Andy Rowe
Hello: I have a production mail / web server for a couple very low volume domains. (CentOS 6.4, apache, postfix) I have a production exchange server for another small domain. I want to set the CentOS server up to serve mail to its current clients as well as act as a gateway for content filtering

Re: CONNECT from localhost[::1]: 454 4.7.1 : Client host rejected: Access denied

2013-10-30 Thread Andy Howell
On 10/30/2013 02:42 PM, Wietse Venema wrote: > Andy Howell: >> I was using telnet on the host to test it out, ie >> >> telnet localhost 10025 >> >> That is resolving localhost to ::1. Doing: >> >> telnet 127.0.0.1 10025 >> >> works fine.

Re: CONNECT from localhost[::1]: 454 4.7.1 : Client host rejected: Access denied

2013-10-30 Thread Andy Howell
On 10/29/2013 11:29 PM, /dev/rob0 wrote: > On Tue, Oct 29, 2013 at 10:21:06PM -0500, Andy Howell wrote: >> I'm trying to setup amavis. I can't connect from postfix on port >> 10025, configured as: >> >> localhost:10025 inet n-n--smtpd -v

CONNECT from localhost[::1]: 454 4.7.1 : Client host rejected: Access denied

2013-10-29 Thread Andy Howell
I'm trying to setup amavis. I can't connect from postfix on port 10025, configured as: localhost:10025 inet n - n - - smtpd -vv -o content_filter= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -

Re: Allowing relay from IP subnet

2013-03-04 Thread Andy Smith
your reply Jeffrey! Yes there it is in my original post: config_directory = /Library/Server/Mail/Config/postfix I guess this means that the Library folder takes presidence over all the config in /etc? Anyway, Im going to give it a test but looks like this was my issue, thanks a lot, Andy.

Allowing relay from IP subnet

2013-03-04 Thread Andy Smith
sent initially, but this made no difference. thanks in advance for any tips, thanks, Andy.

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 11:13 PM, Reindl Harald wrote: > Am 29.11.2012 08:09, schrieb Andy Brody: >> On Wed, Nov 28, 2012 at 10:44 PM, Reindl Harald >> wrote: >>> Am 29.11.2012 07:40, schrieb Andy Brody: >>>> On Wed, Nov 28, 2012 at 10:35 PM, Reindl Harald

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 10:44 PM, Reindl Harald wrote: > Am 29.11.2012 07:40, schrieb Andy Brody: >> On Wed, Nov 28, 2012 at 10:35 PM, Reindl Harald >> wrote: >>> Am 29.11.2012 06:57, schrieb Andy Brody: >>>>> Maybe the "host lookup issues&

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 10:35 PM, Reindl Harald wrote: > Am 29.11.2012 06:57, schrieb Andy Brody: >>> Maybe the "host lookup issues" here will help >>> http://www.postfix.org/LINUX_README.html >> >> Thanks for the pointer. I'd seen that page,

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 9:46 PM, Noel Jones wrote: > On 11/28/2012 9:54 PM, Andy Brody wrote: >> On Wed, Nov 28, 2012 at 7:45 PM, Viktor Dukhovni >> wrote: >>> On Wed, Nov 28, 2012 at 07:37:52PM -0800, Andy Brody wrote: >>>> On Wed, Nov 28, 2012 at

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 7:45 PM, Viktor Dukhovni wrote: > On Wed, Nov 28, 2012 at 07:37:52PM -0800, Andy Brody wrote: >> On Wed, Nov 28, 2012 at 7:05 PM, Wietse Venema wrote: >> > Terry Gilsenan: >> >> > In /etc/host.conf: >> >> > multi on >&

Re: Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
On Wed, Nov 28, 2012 at 7:05 PM, Wietse Venema wrote: > Terry Gilsenan: >> > In /etc/host.conf: >> > multi on > > See: > http://www.postfix.org/postconf.5.html#smtp_host_lookup Thanks. My understanding was smtp_host_lookup has no effect when disable_dns_lookups is enabled. Is that incorrect? Shou

Relay through multiple addresses without DNS

2012-11-28 Thread Andy Brody
4.4.4.4. Is there some other directive I am missing? Is this behavior by design? Thanks, Andy

Header rewrite for alias addresses

2012-03-10 Thread Andy Wolfenstein
Greetings and thanks for reading, My question pertains to re-writing headers for addressed that are aliased to other addresses in /etc/aliases. Background information: * Company with a global IT staff. We install several servers a week. They are Debian or CentOS. On these systems, in /etc/

Re: Virtual Alias Table

2011-10-03 Thread Andy Jezierski
On Tue, Sep 27, 2011 at 6:00 PM, Wietse Venema wrote: > Andy Jezierski: >> : Recipient address rejected: >> undeliverable address: User unknown in virtual alias table; >> from= to= > > This means that there is no rule that rewrites this recipient to an > address

Re: Virtual Alias Table

2011-09-27 Thread Andy Jezierski
On Tue, Sep 27, 2011 at 2:35 PM, Wietse Venema wrote: > Andy Jezierski: >> address: User unknown in virtual alias table; from= > > This error message means that you need to have a virtual alias that > replaces the recipient by an address that is not in a virtual alias > doma

Re: Virtual Alias Table

2011-09-27 Thread Andy Jezierski
On Tue, Sep 27, 2011 at 2:28 PM, Andreas Berton wrote: > > > On Tue, 27 Sep 2011, Andy Jezierski wrote: > >> Hi, >> >> Trying to add an entry to a virtual alias table and for some reason, I >> keep getting an error stating the recipient can't be fo

Virtual Alias Table

2011-09-27 Thread Andy Jezierski
t I'm missing? Running version 2.9-20110323 Thanks Andy

Re: Thank you for great software

2011-03-08 Thread Andy Wright
utors! Though I don't agree with all of your decisions, the team has made this product prosper. Andy signature.asc Description: This is a digitally signed message part

Per-recipient relay

2011-03-05 Thread Andy
Hi. While I am working on solving the delivery problem to Hotmail MXs, I would like to set up postfix to connect directly to their servers to deliver mail. What should I put in transport_maps? I tried with: hotmail.com: live.com: but the mail keeps going through $relayhost. Thanks! Andy

Re: Conversation timed out while sending end of data

2011-03-05 Thread Andy
On Sat, Mar 5, 2011 at 4:06 PM, Reindl Harald wrote: > Am 05.03.2011 16:02, schrieb Andy: >> Hi all. >> Since yesterday we are having major issues with our outbound relay, >> mostly with Hotmail/Live servers. Gmail & others seems to work fine. >> I updated postfi

Conversation timed out while sending end of data

2011-03-05 Thread Andy
om ~? localhost.vp44.net Mar 5 14:44:23 out postfix/smtp[19842]: match_hostname: hotmail.com ~? localhost Mar 5 14:44:23 out postfix/smtp[19842]: match_list_match: hotmail.com: no match Mar 5 14:44:23 out postfix/smtp[19842]: flush_add: site hotmail.com id BEB85788451 status 4 Where should I start looking for the cause of this problem? Andy

Re: something like recipient_delimiter? (SOLVED)

2011-02-02 Thread Andy Spiegl
nderstand how to influence this order. Is it okay to setup AMaViS as a content_filter then? Thanks, Andy. -- lƃǝıds ʎpuɐ

Re: something like recipient_delimiter? (SOLVED)

2011-02-02 Thread Andy Spiegl
/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 Is that ok with the order you mentioned? Thanks a lot, Andy. -- lƃǝıds ʎpuɐ

Re: something like recipient_delimiter?

2011-01-31 Thread Andy Spiegl
etc/postfix/virtual_domains virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_minimum_uid = 100 virtual_transport = dovecot virtual_uid_maps = static:5000 - Thanks a lot, Andy. -- Dew knot trussed spell checquers too fined awl mist takes!

Re: something like recipient_delimiter?

2011-01-26 Thread Andy Spiegl
ng "virtual_transport = virtual" then there are correct X-Original-To and Delivered-To headers. Is there an option I forgot or maybe I am still misunderstanding something vital? Thanks a lot, Andy. -- lƃǝıds ʎpuɐ

Re: something like recipient_delimiter?

2011-01-11 Thread Andy Spiegl
right of course. > You need a "tcp table", or MySQL virtual(5) table that will map alll > such inputs to just the bare "u...@example.com", but unlike a regexp > table, ONLY when the user is valid. Uhm, could you elaborate on this a bit. I am still pretty new to complic

something like recipient_delimiter?

2011-01-11 Thread Andy Spiegl
chall addresses and afterwards filter the mails with procmail or such a tool. Thanks for any hint! Andy. -- lƃǝıds ʎpuɐ -- Computer Science is no more about computers than astronomy is about telescopes. -- Edsger Wybe Dijkstra

Extra permissions restrictions with pipe commands?

2010-10-15 Thread Andy Theuninck
I'm trying to write a python script that accepts input from pipe. I'm encountering permission issues that I don't understand. According to postfix's configuration, pipe commands are run as nobody:nobody. Logging from my script to /tmp agrees confirms this is the case. When my script is called by

Re: postscreen questions

2010-05-28 Thread Andy Dills
On Thu, 27 May 2010, Wietse Venema wrote: > Andy Dills: > > > > I've been investigating postscreen, as we've been address probed/bombed > > for years, as we have a few domains that are very old (well, early 90s) > > that had a lot of users back in the

postscreen questions

2010-05-27 Thread Andy Dills
false negative rate with amavisd/SA. Essentially, we'd rather throw hardware at the problem than potentially reject legit mail. My primary question is, would we see significant improvement by using postscreen if we don't use RBLs? Also, would postscreen_cache_map work with a mysql bac

Re: address rewriting with regexp

2010-02-10 Thread Andy Smith
On Wed, Feb 10, 2010 at 11:08 AM, Bill Weiss wrote: > Bill Weiss(houdini+post...@clanspum.net)@Wed, Feb 10, 2010 at 11:08:08AM > -0600: >> Andy Smith(flapjack2...@gmail.com)@Wed, Feb 10, 2010 at 11:01:05AM -0600: >> > ok i have put that in canonical and when the rewrite oc

Re: address rewriting with regexp

2010-02-10 Thread Andy Smith
ry\.net$/ $1.prodea_u...@smscountry.net am i missing something as prodea_uae1 is being added multiple times. On Wed, Feb 10, 2010 at 10:43 AM, Noel Jones wrote: > > On 2/10/2010 1:38 AM, Andy Smith wrote: >> >> hello, >> >> maybe someone here can help. I am trying to re

address rewriting with regexp

2010-02-09 Thread Andy Smith
a_u...@smscountry.net>. The number string is very dynamic and will be many different combinations. is there a way to do this with regex. I have tried /@smscountry\.net/ . mydom...@smscountry.net but this drops the number sequence. Any help would be appreciated. Andy

Re: how to accept some addresses but relay the rest?

2009-02-12 Thread Andy Spiegl
On 2009-02-11, 09:32, Noel Jones wrote: > Andy Spiegl wrote: > >> Hm, but I don't have the list of valid recipients. :-( >> >> All I have is the list of valid LOCAL recipients. Everything else >> I have to relay to the MX of example.com... > > If the re

Re: how to accept some addresses but relay the rest?

2009-02-11 Thread Andy Spiegl
virtual-alias.domain anything entry is required for a virtual alias domain. Without this entry, mail is rejected with "relay access denied", or bounces with "mail loops back to myself". Thanks, Andy. -- BAYERISCHER RUNDFUNK | Programmbereich Multi

Re: how to accept some addresses but relay the rest?

2009-02-11 Thread Andy Spiegl
ve is the list of valid LOCAL recipients. Everything else I have to relay to the MX of example.com... Thanks, Andy. -- BAYERISCHER RUNDFUNK | Programmbereich Multimedia und Jugend Dr. Andy Spiegl | mailto:andy.spi...@br-online.de Rundfunkplatz 1 | Fon +49 (0)89 5900 16062 D-803

how to accept some addresses but relay the rest?

2009-02-10 Thread Andy Spiegl
possible at all? Thanks a lot, Andy. -- BAYERISCHER RUNDFUNK | Programmbereich Multimedia und Jugend Dr. Andy Spiegl | mailto:andy.spi...@br-online.de Rundfunkplatz 1 | Fon +49 (0)89 5900 16062 D-80335 Muenchen | Fax +49 (0)89 5900 16120