Re: log query

2009-05-26 Thread Noel Jones
/mail.log or some variation. Default logging includes sender and recipient info for rejected messages. If you need to know what Mailscanner did with some message, you'll need to ask on a Mailscanner list where to find and how to interpret its logs. -- Noel Jones

Re: myhostname is different between postconf and main.cf

2009-05-27 Thread Noel Jones
.example1.com,... are all the same machine these days. Maybe in your shop... Postfix is used in a wide variety of environments, some of them have more than one computer. -- Noel Jones

Re: Brasil is adopting submission protocol

2009-05-30 Thread Noel Jones
=reject # accept only sasl_authenticated, reject all else -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject -o mynetworks=127.0.0.0/8 # show postfix-submission in the log -o syslog_name=postfix-submission # for DKIM signing -o milter_macro_daemon_name=ORIGINATING -- Noel

Re: SPF implementation not working

2009-06-01 Thread Noel Jones
documentation: http://www.postfix.org/MILTER_README.html http://www.postfix.org/SMTPD_POLICY_README.html and here are some commonly used software: http://sourceforge.net/projects/sid-milter/ http://www.postfix.org/addon.html#policy http://www.openspf.org/Software -- Noel Jones I believe

Re: Brasil is adopting submission protocol

2009-06-01 Thread Noel Jones
Sadly, no. -- Noel Jones Gerard wrote: On Mon, 1 Jun 2009 10:39:31 -0300 (UYT) Miguel Da Silva - CMat mdasi...@cmat.edu.uy wrote: Good news. [snip] Is there any possibility that Brazil might adopt an anti 'top posting' protocol also?

Re: [SPAM?] Re: SPF implementation not working

2009-06-03 Thread Noel Jones
Paul Cocker wrote: -Original Message- From: Noel Jones [mailto:njo...@megan.vbhcs.org] postfix. Note that some sites consider the address probes you have enabled a form of abuse - if you send too many of them them, they will blacklist you. You might want to turn that feature back

Re: smtpd_client_restrictions: permit_mynetworks additionally necessary!?

2009-06-03 Thread Noel Jones
entries, do so coherently. -- Noel Jones

Re: Limitations of setting mydestination with virtual domains

2009-06-04 Thread Noel Jones
such as example.invalid. Some related documentation: http://www.postfix.org/ADDRESS_CLASS_README.html http://www.postfix.org/STANDARD_CONFIGURATION_README.html -- Noel Jones

Re: Limitations of setting mydestination with virtual domains

2009-06-04 Thread Noel Jones
for localhost.localdomain or literally use localhost.localdomain. -- Noel Jones

Re: Howto bounce a message in queue

2009-06-05 Thread Noel Jones
Jon wrote: Noel Jones wrote: At 03:24 PM 2/7/2007, Dick Middleton wrote: Is it possible to manually bounce a message in the deferred queue so preempting the normal retry/timeout period? I've got a message sitting in the queue trying to connect to a non-existent server. The sooner it gets

Re: smtpd_client_restrictions: permit_mynetworks additionally necessary!?

2009-06-07 Thread Noel Jones
as requested. -- Noel Jones Sending from external clients and further internal subnets (which aren't directly connected to the internal NIC and not in $mynetworks) runs without problems. Postfix 2.3.8

Re: Difficulty in making a SMTP relay with Postfix

2009-06-08 Thread Noel Jones
will add To: undisclosed-recipients:; if the To: header is missing. -- Noel Jones

Re: Virtual Mailbox Domain

2009-06-09 Thread Noel Jones
maybe you should describe your project in more detail. Thanks, Mayuresh -- Noel Jones

Re: reject_rbl_client config in map file?

2009-06-10 Thread Noel Jones
must be indented! /^/ reject_rbl_client zen.spamhaus.org reject_rbl_client foo.example.com reject_rhsbl_sender list.example.org -- Noel Jones

Re: Need to create a mail dead-end or super catch-all

2009-06-10 Thread Noel Jones
. -- Noel Jones

Re: Need to create a mail dead-end or super catch-all

2009-06-10 Thread Noel Jones
by the interaction of the default value of virtual_alias_domains = $virtual_alias_maps and a static map in virtual_alias_maps. That made every domain match the virtual_alias_domains lookup. Just a funny interaction with a seldom-used configuration. -- Noel Jones

Re: Need to create a mail dead-end or super catch-all

2009-06-10 Thread Noel Jones
Wietse Venema wrote: Wietse Venema: Noel Jones: Don't bash OP too hard. He got bit by the interaction of the default value of virtual_alias_domains = $virtual_alias_maps and a static map in virtual_alias_maps. That made every domain match the virtual_alias_domains lookup. Just a funny

Re: Catchall not working

2009-06-11 Thread Noel Jones
from another config. Anyway, does anyone know whey mydestination isn't seeing the hash:/etc/postfix/custom/mydestination entry? probably because you have mydestination defined multiple times in main.cf -- Noel Jones

Re: Multiple Milters

2009-06-12 Thread Noel Jones
by the sending MTA. http://www.postfix.org/postconf.5.html#milter_default_action -- Noel Jones

Re: logging stuff: NOQUEUE

2009-06-12 Thread Noel Jones
accepted recipient will have NOQUEUEID, after that a QUEUEID will be listed. A message may be rejected by smtpd_{data, end-of-data}_restrictions, in which case a QUEUEID will have already been created. -- Noel Jones

Re: logging stuff: NOQUEUE

2009-06-12 Thread Noel Jones
Stefan Palme wrote: On Fri, 2009-06-12 at 12:41 -0500, Noel Jones wrote: A QUEUEID is created when the number of accepted recipients for a message is greater than zero. In the case of a multi-recipient message where some recipients are accepted and some rejected, recipients before the first

Re: questions on check_sender_mx_access

2009-06-12 Thread Noel Jones
seen some domains with hundreds of MX records (one for each host in a /24). This hasn't caused any noticeable problem. PS. looks as if your workstation clock is 1h fast. -- Noel Jones

Re: trivial-rewrite warning although mydestination is empty

2009-06-14 Thread Noel Jones
unaltered postconf -n and unaltered logging demonstrating the problem. -- Noel Jones

Re: backup mx and with header checks

2009-06-15 Thread Noel Jones
can't compare From: To:. You can use a policy server such as postfwd to compare envelope sender vs. recipient, or a content_filter such as spamassassin to compare the headers. I understand that legitimate users wouldn't be able to send themselves email, but that fine with me. -- Noel

Re: backup mx and with header checks

2009-06-15 Thread Noel Jones
Terry L. Inzauro wrote: Noel Jones wrote: Terry L. Inzauro wrote: List, I operate a backup mx for one of my customers. In doing so, I have run into an issue where I must accept all email regardless of weather or not the messages is destined for a valid email account in my customers email

Re: Signing outgoing mailman mail with DKIM

2009-06-15 Thread Noel Jones
on another port including the milter options, and configure your mailman to submit to that port. -- Noel Jones

Re: is reject_unknown_client_hostname safe now? (aka FCRDNS)

2009-06-16 Thread Noel Jones
. This rejects ~10% of connections before RBL lookups, with one single client whitelisted from this rule. YMMV and all that. -- Noel Jones

Re: Limitations of setting mydestination with virtual domains

2009-06-16 Thread Noel Jones
= localhost.localdomain and I do mean localhost.localdomain literally. -- Noel Jones

Re: Limitations of setting mydestination with virtual domains

2009-06-16 Thread Noel Jones
still have problems, please show the full log entry. -- Noel Jones

Re: relay_recipient_maps + smtp_auth

2009-06-17 Thread Noel Jones
is this a problem? -- Noel Jones

Re: body_check prepend empty line

2009-06-17 Thread Noel Jones
. What problem are you trying to solve? -- Noel Jones

Re: body_check prepend empty line

2009-06-17 Thread Noel Jones
Peter Micunek wrote: On Wed, 17 Jun 2009 08:33:41 -0500, Noel Jones wrote Peter Micunek wrote: Hi All, is it possible to add empty line to the mail body? I tried to do that via body_check and PREPEND: /^\.$/ PREPEND However I do not know what I should write after PREPEND

Re: SASL Problem

2009-06-17 Thread Noel Jones
#reject_unauthenticated_sender_login_mismatch see the docs above and list archives for examples. -- Noel Jones

Re: SASL Problem

2009-06-18 Thread Noel Jones
snipping. -- Noel Jones

Re: Defer All INET

2009-06-18 Thread Noel Jones
their delivery along with the legit mail. My recommendation is to just implement greylisting and skip this nonsense. -- Noel Jones

Re: Defer All INET

2009-06-18 Thread Noel Jones
Noel Jones wrote: Steve wrote: Hi List, What is the quickest, easiest (and scriptable) way to have Postfix defer everything with a 4xx error. It's an extension to my 'after midnight' tests. Not allowing any connections is fine, but I would prefer to reject with a custom 4xx message such as GO

Re: Rewrite Deliver-TO address after queue ?

2009-06-19 Thread Noel Jones
using procmail or maildrop or some other third-party delivery agent, you might be able to convince it to lie about where the mail went. Check their docs. -- Noel Jones

Re: rule to manually put on hold

2009-06-19 Thread Noel Jones
to the retry: transport. # transport example.com retry:down for maintenance The real solution is somewhat more complicated. Set up a separate postfix instance with a very long maximal_queue_lifetime, and use transport_maps to send all their mail there. -- Noel Jones

Re: sid-milter with postfix

2009-06-20 Thread Noel Jones
SID, here are a few: http://www.postfix.org/addon.html#policy http://www.openspf.org/Software -- Noel Jones

Re: sid-milter with postfix

2009-06-20 Thread Noel Jones
looks like this: smtpd_milters = inet:127.0.0.1:9967 -- Noel Jones

Re: reject with Access denied on legitimate messages

2009-06-21 Thread Noel Jones
, but that doesn't really make any difference here since you shouldn't be rejecting anything anyway. -- Noel Jones

Re: Best combinations

2009-06-21 Thread Noel Jones
to use amavisd-new. http://www.ijs.si/software/amavisd/ For phishing, I like the Sanesecurity addon signatures for clamav, find info here: http://www.sanesecurity.co.uk/usage.htm Not sure what you want with tnef... -- Noel Jones

Re: restrict external host

2009-06-21 Thread Noel Jones
from external relay You didn't make the changes suggested. Add the IP of the external relay to your mynetworks setting. In your smtpd_recipient_restrictions, replace reject_unauth_destination with reject -- Noel Jones

Re: Some questions on submission and smtps.

2009-06-22 Thread Noel Jones
very much for Your help. With regards, R. -- Noel Jones

Re: Postifix-v-Spamassassin BLOCK SMTP

2009-06-23 Thread Noel Jones
EASY steve.h...@digitalcertainty.co.uk wrote: On Tue, 2009-06-23 at 15:52 +0200, Ralf Hildebrandt wrote: * The Doctor doc...@doctor.nl2k.ab.ca: I am contemplating howto use spamassassin effectively with postfix. Usually we use amavisd-new Depends how often you want to keep restarting it.

Re: Postifix-v-Spamassassin BLOCK SMTP

2009-06-23 Thread Noel Jones
, many others find it reliable and robust. There are probably a dozen or so widely used proxy/milter programs that use SpamAssassin (and even a few that use other methods) that can block mail pre-queue. That fact alone tells us that there is no universal best choice. -- Noel Jones

Re: Postifix-v-Spamassassin BLOCK SMTP

2009-06-23 Thread Noel Jones
for the milter_header_checks feature.) -- Noel Jones

Re: Blocking with smtpd_client_restrictions

2009-06-23 Thread Noel Jones
of time. There's usually better ways to block unwanted mail. -- Noel Jones

Re: Blocking with smtpd_client_restrictions

2009-06-23 Thread Noel Jones
price. -- Noel Jones

Re: Testing For Open Relay

2009-06-24 Thread Noel Jones
? Is there an other way to test for being an open relay or should I feel safe about this? Add relay_domain = to your main.cf. It does prevent a minor problem. *postconf -n* no glaring errors. -- Noel Jones

Re: Pre Queue Spam Assassin Advice

2009-06-24 Thread Noel Jones
. ln -s /home/mail/email/private/samilter / # run from /home/mail/email ??? I find it easier to use inet: sockets rather than unix: sockets for milters. No chroot, path or permission issues... -- Noel Jones

Re: Incoming smtp: 554 Access Denied

2009-06-24 Thread Noel Jones
whitelist: 69.74.116.40 OK ... probably in the wrong place. The whitelist must be before the offending rule. For more help, show output of postconf -n -- Noel Jones

Re: Incoming smtp: 554 Access Denied

2009-06-24 Thread Noel Jones
reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain permit OK. Nothing here to cause the rejection you reported. I see Ralf is looking at your master.cf, we'll see what he says. -- Noel Jones

Re: Incoming smtp: 554 Access Denied

2009-06-24 Thread Noel Jones
. This would cause the reject as you see it in the log :) Jesse, You may find it helpful to add -o syslog_name=postfix-smtps to the above options to differentiate logging from the smtps service. -- Noel Jones

Re: multiple signatures DK multiple selector

2009-06-24 Thread Noel Jones
fake...@fakessh.eu wrote: hi list hi all dkimproxy I can not specify that only selector. how to have multiple signatures DK multiple number selectors thanks for all your feedbacks both dkim-milter and amavisd-new support multiple dkim selectors. They both work well. -- Noel Jones

Re: Incoming smtp: 554 Access Denied

2009-06-24 Thread Noel Jones
of this list are invaluable. http://www.postfix.org/documentation.html -- Noel Jones

Re: best practices for workstations that occasionally disconnect

2009-06-24 Thread Noel Jones
. Postfix should handle things pretty well up to several thousand deferred messages. If you're expecting tens of thousands of deferred messages, then maybe a script to defer_transports or to put everything on HOLD until the network is back up. -- Noel Jones

Re: best practices for workstations that occasionally disconnect

2009-06-25 Thread Noel Jones
the network is back up anyway, they don't serve any purpose for us. On the other hand, in the best of all worlds, I'd like the messages themselves to stick around. Sounds like the best solution is just set a really long $maximal_queue_lifetime -- Noel Jones

Re: Header Time

2009-06-25 Thread Noel Jones
Linux Addict wrote: On Thu, Jun 25, 2009 at 2:22 PM, Sahil Tandon sa...@tandon.net mailto:sa...@tandon.net wrote: On Jun 25, 2009, at 2:06 PM, Linux Addict linuxaddi...@gmail.com mailto:linuxaddi...@gmail.com wrote: On Thu, Jun 25, 2009 at 1:41 PM, ghe

Re: Sending mails via SMTP after SASL authentication not possible

2009-06-26 Thread Noel Jones
table is matching web.de. Test with (all one line in case it gets wrapped): # postmap -q web.de mysql:/etc/postfix/mysql_virtual-domains.cf -- Noel Jones

Re: QUEUE/TRANSACTION ID REUSE

2009-06-27 Thread Noel Jones
guarantees a QUEUEID will be unique within the current queue. As soon as that file is released, that same id can be reused any time. I've seen postfix reuse a QUEUEID within just a few minutes. -- Noel Jones

Re: dk dkim with dkimproxy

2009-06-28 Thread Noel Jones
fake...@fakessh.eu wrote: I have a strange error that I do not understand I have the impression of having set dkimproxy well Apparently dkimproxy isn't using the selector you want. This doesn't look like a postfix problem, you'll need to ask on a dkimproxy support forum. -- Noel Jones

Re: Whitelisting by recipient domain name

2009-06-28 Thread Noel Jones
permit_sasl_authenticated reject_unauth_destination ... whitelist goes here ... ... UCE checks here ... -- Noel Jones

Re: abort when client disconnects

2009-06-28 Thread Noel Jones
of postfix will likely support some sort of low-resource front end for prescreening of clients. ... stay tuned. -- Noel Jones

Re: Whitelisting by recipient domain name

2009-06-29 Thread Noel Jones
smtpd_restriction_classes = LOG_OK LOG_OK = check_client_access regexp:/etc/postfix/mylog permit # mylog /^/ WARN whitelisted Then use LOG_OK rather than OK in your access tables. -- Noel Jones

Re: how do I add custom headers to outgoing messages only?

2009-06-29 Thread Noel Jones
=regexp:/path/add_my_header # add_my_header /^/ PREPEND X-Custom: my header -- Noel Jones

Re: how do I add custom headers to outgoing messages only?

2009-06-29 Thread Noel Jones
be a good choice. -- Noel Jones

Re: Allowing OK instead of just DUNNO in check_recipient_mx_access

2009-06-29 Thread Noel Jones
as the final entry. These non-indexed maps are read top to bottom, first match wins. a regexp/pcre catchall looks like: /^/ REJECT comment... a cidr map catchall looks like: 0.0.0.0/0 REJECT comment... http://www.postfix.org/pcre_table.5.html http://www.postfix.org/cidr_table.5.html -- Noel

Re: Allowing OK instead of just DUNNO in check_recipient_mx_access

2009-06-29 Thread Noel Jones
Jan P. Kessler wrote: Noel Jones wrote: postfix-l...@monmouth.com wrote: The postconf(5) manage says: 'a result of OK is not allowed for safety reasons.' Is there a way to bypass this? No. Is it possible to use permit_auth_destination here? No, nothing that resolves to an OK or permit

Re: Adding a header

2009-06-30 Thread Noel Jones
separate cleanup services in master.cf for different header_checks; see the archives). If you're already using a content_filter, you get this for free. Maybe there's a content_filter or milter that can do what you need; mimedefang is a first guess. -- Noel Jones

Re: header checks not working

2009-07-01 Thread Noel Jones
take the i out. Jason No need to escape - or :, and postfix turns on the /i flag by default - adding the flag to a postfix expression turns on case sensitivity. http://www.postfix.org/pcre_table.5.html Rob's trouble is he forgot the : at the end of the header name. -- Noel Jones

Re: Missing X-UID on new server

2009-07-01 Thread Noel Jones
headers, or maybe it hasn't opened those mailboxes yet. At any rate, neither you nor postfix should ever add those headers. -- Noel Jones

Re: Maximum smtp process limit has been reached.

2009-07-02 Thread Noel Jones
section. -- Noel Jones

Re: Maximum smtp process limit has been reached.

2009-07-02 Thread Noel Jones
connections, this won't help. In that case you need to provision for the load. -- Noel Jones

Re: single domain - multiple smtp relayhosts

2009-07-02 Thread Noel Jones
treatment example.com smtp:example.local # /etc/hosts - host IP mapping 10.1.2.2 example.local 10.1.2.3 example.local Or you can define example.local in your local DNS server. http://www.postfix.org/transport.5.html -- Noel Jones

Re: RES: RES: single domain - multiple smtp relayhosts

2009-07-03 Thread Noel Jones
Wilson A. Galafassi Jr. wrote: Hello, Yes. I want to do load balancing. How i can implement this in postfix? # main.cf relayhost = [relay.local] # /etc/hosts 10.2.2.2 relay.local 10.2.2.3 relay.local -- Noel Jones

Re: backscatter

2009-07-03 Thread Noel Jones
referred to is pointless. -- Noel Jones

Re: How to backhole mail?

2009-07-03 Thread Noel Jones
the message (sends it to /dev/null)? Than you, This should work... # main.cf # accept anyu...@anydomain relay_domains = static:ALL # throw it away smtpd_end_of_data_restrictions = static:discard # safety net default_transport = discard test before sending it a million messages... -- Noel

Re: How to backhole mail?

2009-07-04 Thread Noel Jones
, check_sender_access, check_recipient_access, check_etrn_access) before End-of-data restriction static:discard Sorry, it should be smtpd_end_of_data_restrictions = check_client_access static:discard -- Noel Jones

Re: backscatter

2009-07-04 Thread Noel Jones
or two ago. -- Noel Jones

Re: No 220 to some addresses

2009-07-04 Thread Noel Jones
. Suspects are a firewall at the ISP, or a firewall in front of postfix. As a general rule, you'll have better luck using the 'submission' port 587 to send mail from home networks or hotspots. Uncomment the 'submission' entry in your master.cf and stop/start postfix to enable it. -- Noel Jones

Re: milter_header_checks

2009-07-06 Thread Noel Jones
.html#milter_header_checks See the header_checks man page for syntax and available actions. Currently, PREPEND is not implemented. http://www.postfix.org/header_checks.5.html -- Noel Jones

Re: Multiple routes or multiple instances?

2009-07-06 Thread Noel Jones
multiple instances of postfix. All versions of postfix support manually-configured multiple instances, but postfix 2.6 and later includes built-in tools to make creating, using, and managing multiple instances easier. http://www.postfix.org/MULTI_INSTANCE_README.html -- Noel Jones

Re: Address Extensions

2009-07-07 Thread Noel Jones
with a transport map pointing to the fax software interface, and the address extension is the phone number. Or better, use a subdomain: num...@fax.example.com either way, use smtpd_*_restrictions to restrict access to the recipient. -- Noel Jones

Re: SMTP connectivity problem

2009-07-08 Thread Noel Jones
on. Maybe some firewall/router is interfering with TLS. If it's windows, google openssl for windows You might have better luck using the submission port 587 rather than 25. -- Noel Jones

Re: Address Extensions

2009-07-08 Thread Noel Jones
Daniel L. Miller wrote: Daniel L. Miller wrote: Noel Jones wrote: either way, use smtpd_*_restrictions to restrict access to the recipient. What kind of allow restrictions would make sense as I am looking to receive from a domain I do not control (e.g. Intuit)? Would check_sender_access

Re: Address Extensions

2009-07-08 Thread Noel Jones
Daniel L. Miller wrote: Noel Jones wrote: Sahil Tandon wrote: On Tue, 07 Jul 2009, Sahil Tandon wrote: On Tue, 07 Jul 2009, Daniel L. Miller wrote: So...my initial thought was I'd have to create a public Internet name for the fax gateway, and apply some level of security to only accept

Re: SMTP connectivity problem

2009-07-08 Thread Noel Jones
earlier. That means the problem is at the sending end. Either your computer (antivirus software sometimes messes with smtp/TLS) or a firewall at the location you're sending from. -- Noel Jones

Re: SMTP connectivity problem

2009-07-08 Thread Noel Jones
OK, I give on the top-posting. Turn off your antivirus for testing, or try a different computer. -- Noel Jones New Old Stk wrote: Noel Server is real. It does look like problem at my end however I have replaced modem+router (DrayTek + Cisco ASA) with generic Zoom ADSL modem and still

Re: postfix as relay host

2009-07-10 Thread Noel Jones
, and valid recipients are defined in relay_recipient_maps. Do not define your internal groupwise domains in mydestination. If you need more help, show postconf -n and log entries demonstrating the problem. -- Noel Jones

Re: Milter Reject on Yahoo Mail

2009-07-12 Thread Noel Jones
the milter cannot be contacted. If you want to accept mail that fails DKIM, see the dkim-filter documentation. -- Noel Jones

Re: reject mail without valid MX

2009-07-12 Thread Noel Jones
a policy server with warn_if_reject to see what affect it will have. -- Noel Jones

Re: reject mail without valid MX

2009-07-12 Thread Noel Jones
server instead. -- Noel Jones

Re: reject_unknown_reverse_client_hostname rejects even if PTR RR is found

2009-07-12 Thread Noel Jones
if it is a name server timeout, then I think this is always handled by a 450 response. In my case the mail was rejected. Yes, temporary errors always get a 450 response. -- Noel Jones

Re: Wrong FQDN in From

2009-07-13 Thread Noel Jones
...@atlas.cairodurham.org by the time it arrives in my inbox. Don't use a CNAME in a mail address. -- Noel Jones

Re: Backup mx config

2009-07-13 Thread Noel Jones
= no unknown_local_recipient_reject_code = 450 Change this to 550 once postfix correctly recognizes valid recipients. -- Noel Jones

Re: Backup mx config

2009-07-13 Thread Noel Jones
, make sure there aren't any catch-all mappings. -- Noel Jones

Re: temporary errors for DNS

2009-07-13 Thread Noel Jones
is to add SpamAssassin and let it decide which mail to discard. I suppose you could use a sufficiently flexible postfix policy service - maybe postfwd - to discard mail with DNS SERVFAIL. I also expect that will eventually bite you in the buttocks. -- Noel Jones

Re: Backup mx config

2009-07-13 Thread Noel Jones
Martijn de Munnik wrote: Hi, On Jul 13, 2009, at 7:57 PM, Noel Jones wrote: Martijn de Munnik wrote: smtpd_recipient_limit = 25 only if you have 25 or fewer users. I thought this means a user can send an e-mail to 25 users max at once? After $smtpd_recipient_limit + 1 RCPT

Re: Wrong FQDN in From

2009-07-13 Thread Noel Jones
is with creation or submission. -- Noel Jones

<    1   2   3   4   5   6   7   8   9   10   >