Re: Using mysql_table for transport routing ignores partial searchs

2016-11-29 Thread mailing lists
On Tuesday, November 29, 2016 3:26 PM, Wietse Venema wrote: mailing lists: > This is working as documented. As described under "TABLE LOOKUP > ORDER", the transport_map lookup code generates the .example.bar > query after the user@domain and domain queries produce no result.

Using mysql_table for transport routing ignores partial searchs

2016-11-29 Thread mailing lists
Hello all, The mysql_table does lookups in the form of key/value pairs, so if I want match subdomains only for some domains, like the ones in the following mysql table: > select * from transport; +--++ | lhs | rhs| +--++ | .

Consulting multiple ldap tables with envelope sender address authorization

2016-11-28 Thread mailing lists
Hello all, I am configurating envelope sender address authorization using ldap tables with Active Directory which has two possible attributes to authenticate users, the legacy and short name "samaccountname" and the long name "userprincipalname", so that I am trying is permit authenticate with b

Interaction between restriction classes and milter.

2016-11-15 Thread mailing lists
Helo all, What I am trying to do is whitelist cidr ranges stored in a mysql database and fallback to smtp auth for the previous unmatched ip addresses. This is the pseudocode: if (client_ip in whitelist_mysql_cidr_ranges){    accept } else if (sender is smtp_authenticated ) {    accept} else {   

extended ascii codes in rfc822-formatted message?

2016-02-22 Thread Mailing Lists
I have accidentally learned that a postfix server has accepted and attempted to deliver an email with the envelope sender containing 8 bit ascii codes (it looks like this T\▒\▒m...@domain.tld - that's a backslash and then ascii extended code 177). the imap backend - an old cyrus lmtp service - has

Re: implementing per recipient size limit

2014-06-23 Thread mailing lists
On 06/21/2014 06:00 PM, Wietse Venema wrote: > Each recipient can be reported with the Milter RCPT  event handler. > This combined with the queue ID, allows the Milter to  maintain a > counter that can be queried at End-Of-Message time. > > The Milter can also be notified of "abort" events. T

implementing per recipient size limit

2014-06-18 Thread mailing lists
Hello all I'm trying to limit big mails to local lists using postfix+postfwd but I must be missing something because it seems too complex to me. Mail size is available in END-OF-MESSAGE (E-O-M) so I do size checks in this phase of the protocol. With single recipient mails all works as expected

Custom error messages

2012-01-27 Thread Mailing Lists
I was curious, is it possible to create custom error messages? For example when I get a bounce back error: - The following addresses had permanent fatal errors - b...@test.com (reason: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table) (expanded fr

Re: starttls testing

2010-08-02 Thread mailing lists
>> imap2:~ root# telnet localhost 25 >> Trying ::1... >> telnet: connect to address ::1: Connection refused >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> 220 imap2.beth.k12.pa.us ESMTP Postfix >> EHLO imap2.beth.k12.pa.us >> 250-imap2.beth.k12.pa.us >> 250-PIPELI

Re: mysql query failed on non-existent mail address

2009-08-18 Thread Justin's Mailing Lists
Adrian Dinu wrote: Hello, I have the following problem with my postfix configuration: << SNIP >> Aug 18 10:56:20 server postfix/smtpd[17528]: warning: mysql query failed: Unknown column 'email' in 'where clause' << SNIP >> Kind Regards. OK You need to go through all the SQL queries you crea

Blocking external messages TO the hostname

2009-05-24 Thread Oliver Kohll - Mailing Lists
Hello, My postfix manages mail for a number of domains, e.g. gtwm.co.uk. The MX records are set so that mail is filtered through a third party spam catcher. However the server has one domain that is the 'main' hostname of the server, listed in /etc/hosts: 62.73.174.227eul0001189.eu.v