Re: SMTPUTF8 usage

2015-08-20 Thread Mike Cardwell
s > with idn domains and postfix SMTPUTF8 allows for UTF-8 characters in email address local parts. This is pretty important for most of the people in the World who might want to use Email. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3

Re: TLSA and .mil dns servers

2015-11-11 Thread Mike Cardwell
ddress on the front page of https://grepular.com -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 signature.asc Description: Digital signature

Re: TLSA and .mil dns servers

2015-11-12 Thread Mike Cardwell
* on the Wed, Nov 11, 2015 at 06:36:20PM +, Viktor Dukhovni wrote: > On Wed, Nov 11, 2015 at 09:28:56AM +0000, Mike Cardwell wrote: >> I wrote an overview of how it works a while ago on my blog which a few >> people have told me helped with their understanding: >> &g

Different certs, different ports

2014-09-25 Thread Mike Cardwell
previously able to do. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 signature.asc Description: Digital signature

Re: Different certs, different ports

2014-09-25 Thread Mike Cardwell
=$submission_tls_key_file > ... Thanks, that works perfectly. And also clarifies a lot more about how Postfix config in general works to me. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP

Dynamic recipient addresses

2014-09-26 Thread Mike Cardwell
atively" inside Postfix, that would be preferable. If anyone cares, here is how I did it in Exim: https://grepular.com/Automatically_Expiring_Email_Addresses -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F

Re: Dynamic recipient addresses

2014-09-26 Thread Mike Cardwell
rently using flat files rather than MySQL. I've added Amavis to the mix for SpamAssassin filtering and I'm starting to think that might be a good place to do this if I can't do it directly inside Postfix. -- Mike Cardwell https://grepular.com https://emailprivacytester.com Ope

Book

2014-10-02 Thread Mike Cardwell
What (if there is one) is the current "recommended" book for learning Postfix? I've come across "The Book of Postfix" and "The Definitive Guide to Postfix", but the both seem to have been released years ago and I'm assuming much of the material is out of

test

2014-10-05 Thread Mike Cardwell
simply by creating files like: /virtual/example.com And giving a user rights to edit it... -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4

Validating email address

2014-10-13 Thread Mike Cardwell
0 and the result of the lookup is emailed to me instead. This functionality is very useful for doing "real time" email address validation when email addresses are posted from web forms. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1

Re: Validating email address

2014-10-13 Thread Mike Cardwell
ting the following Perl from a CGI script is completely safe: my $valid = eval { open(my $output, '-|', '/usr/sbin/sendmail', '-bv', $email_address); close $output; return $? == 0 ? 1 : 0; }; -- Mike Cardwell https://grepular.com https://emailprivacytes

Re: Validating email address

2014-10-13 Thread Mike Cardwell
d = eval { >>open(my $output, '-|', '/usr/sbin/sendmail', '-bv', $email_address); >>close $output; >>return $? == 0 ? 1 : 0; >> }; > > if it is done safe and secure - you know every scripts > present on your

Re: Validating email address

2014-10-13 Thread Mike Cardwell
runs an > email address through Postfix's "routers" and agents that know how > to deliver mail. If the mail queue is not congested then this > produces a result in seconds. That feature sounds like it would be useful to me, but I understand that lack of demand would make it a low

Re: SSL v3

2014-10-15 Thread Mike Cardwell
be interested to hear figures regarding how much traffic would change from being encrypted to plain text if SSLv3 was dropped for SMTP... -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06

Re: SSL v3

2014-10-15 Thread Mike Cardwell
disabled SSLv3 on my websites a year or so ago. However, I have a feeling that the figures would show that doing this is worse than not doing it when it comes to SMTP. I'm not after anecdotes or opinions but hard figures from people who get a lot of TLS traffic. -- Mike

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Mike Cardwell
lowing tcp connections for mail submission is important, you might want to take a look at Exim instead. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 signature.asc Description: Digital signature

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Mike Cardwell
nt part > and so on) I'm guessing you've never worked for a shared hosting company which provides a platform where tens of thousands of users can upload their own php scripts. Content filtering is useful, but ratelimiting is essential in these environemts. If a user attempts to

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Mike Cardwell
you're not qualified to write a web app and you're most likely a toxic customer. I suspect most shared hosting companies would be glad to see the back of such a customer. > if i have to do that i don't need the f*** MTA at all and can directly > deliver to the MX It would be

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Mike Cardwell
mail servers for this. SASL-based rate limits > have been supported since Postfix 2.2, and postfwd has been around > for many years (other policy daemons may also do the job; I > have lost count). That sounds like a fine solution. -- Mike Cardwell https://grepular.com https://emailpri

Re: Limit PHP web application to connect postfix on localhost

2014-10-24 Thread Mike Cardwell
h. There is value in noticing when a user is sending an unexpectedly large amount of mail, even if you don't use that information to reject. Ratelimiting is a highly useful tool. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3

Re: accept email for all virtual users

2014-11-20 Thread Mike Cardwell
d undefined subdomains and > how should somebody send mail without a DNS record? You've never heard of wildcard dns? He could do what he wants by just adding this to his "foo.org" zone: * IN MX 10 mx.example.com. I don't know how he'd do the Postfix side though... --

Re: TLS Encryption and Verification issue

2014-11-24 Thread Mike Cardwell
reated in a respectful manner on this list, you will be disappointed. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 signature.asc Description: Digital signature

Re: detecting encryption for outgoing mail

2015-02-16 Thread Mike Cardwell
ssage. Encrypt then retry. Is there really no equivalent way of doing something like this in Postfix without having to call out to an external program? -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F X

Re: detecting encryption for outgoing mail

2015-02-16 Thread Mike Cardwell
* on the Mon, Feb 16, 2015 at 03:50:24PM +, Viktor Dukhovni wrote: > On Mon, Feb 16, 2015 at 12:57:26PM +0000, Mike Cardwell wrote: >> On an old Exim box, I used to do something similar to this with the following >> two line bit of config: >> >> deny condition

Different smtp_helo_name depending on IP version

2015-03-13 Thread Mike Cardwell
ering if I can get a quick fix from Postfix. FWIW, in Exim I would do this by adding something like this to my smtp transport: helo_data = ${if isip4{$sending_ip_address}{my.ipv4.helo}{my.ipv6.helo}} -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3

Re: encrypt incoming emails with my public gpg key

2015-06-03 Thread Mike Cardwell
pgit" ["--encrypt-mode", "prefer-inline", "my-pgp-uid"]; } else { filter "gpgit" ["--encrypt-mode", "inline-or-plain", "--inline-flatten", "my-pgp-uid"]; } I prefer to use inline when possible for incoming mai

Re: encrypt incoming emails with my public gpg key

2015-06-04 Thread Mike Cardwell
ver all of your other online accounts by triggering password reset emails. They'll still be able to trigger the reset emails, and receive them, but they wont be able to read. -- Mike Cardwell https://grepular.com https://emailprivacytester.com OpenPGP Key35BC AF1D 3AA2 1F84 3DC3 B0CF 7

Re: postfix: DNS re-try

2015-07-09 Thread Mike Cardwell
OUTPUT -p tcp -d 105.106.107.108 --dport 25 -j DNAT \ --to-destination 192.168.0.1 Where 192.168.0.1 is replaced by whatever the new IP should be. Assuming you don't have any legit mail going to the old IP anymore. -- Mike Cardwell https://grepular.com/ https://www.parsemail.org/ OpenPG