Ldap Domain aliases and Domain catchalls

2011-10-05 Thread Shane Chrisp
Hi All, We are currently migrating all our customers accounts to ldap to make it simpler as currently they are all over the place. Our current Postfix installation is using MySQL for virtual accounts and delivery is done with dovecot and it works great and provides the ability to alias

Send mail from queue with not working content-filter

2011-10-05 Thread Matthias Fechner
Dear list, I installed some time ago dspam and integrated it into postfix. The order was postfix - amavisd with reinject into postfix - dspam with reinject into postfix. But dspam crashed and I removed dspam again to get mail traffic up. My problem is now that some mails are queued and I cannot

Re: Digest of postfix-users list V1 #3120

2011-10-05 Thread Mike Wetzel
remove ___ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Automatic reload of pcre/regexp files?

2011-10-05 Thread Ralf Hildebrandt
I do know that a change in *.db and *.cdb files is picked up immediately, simply by the affected daemon dying and opening the new file upon startup. So far, so good. But why is that not done for pcre, regexp and cidr files? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk

Filter only outgoing mail

2011-10-05 Thread Aleksandar Vukovic
Hi everybody, Is it possible to somehow limit smtpd_sender_restrictions only to outgoing mail? I want to use check_sender_access on my outgoing mail so that in MAIL FROM only addresses from my list of emails are allowed. I guess that one (ugly) way to solve this is to have 2 Postfix servers so

Re: Issue with getting listed in spam again and again.

2011-10-05 Thread Dhanraj Wadhe
Hi All, Thanks for your suggestions, have got unlisted from rbl's as of now. I am using Cisco Iron-port as Mail Gateway so outgoing mails are scanned by Iron-port. We have done some FBL sign-up also. Regards, Dhanraj Wadhe On Wed, Oct 5, 2011 at 11:28 AM, Ramprasad r...@netcore.co.in wrote:

Re: Ldap Domain aliases and Domain catchalls

2011-10-05 Thread Nikolaos Milas
On 5/10/2011 10:23 πμ, Shane Chrisp wrote: no problems, but I am having trouble working out how I will be able to add domain to domain aliases and also catchall accounts for domains. Personally I hate catchall accounts for domains, but some customers just have to have them, or ... using the

Question regarding example for smtpd_command_filter

2011-10-05 Thread Patrick Ben Koetter
I have a question regarding the Bounce-never mail sink regexp: postconf(5) gives this example: /^(RCPT\s+TO:.*?)\bNOTIFY=\S+\b(.*)/ $1 NOTIFY=NEVER $2 Isn't there a '' missing before the '?'. As I understand it the '?' makes the preceeding character optional e.g. example.com and

Re: Automatic reload of pcre/regexp files?

2011-10-05 Thread Wietse Venema
Ralf Hildebrandt: I do know that a change in *.db and *.cdb files is picked up immediately, simply by the affected daemon dying and opening the new file upon startup. These files are not read into memory, so they must be kept open. So far, so good. But why is that not done for pcre,

Re: Question regarding example for smtpd_command_filter

2011-10-05 Thread Wietse Venema
Patrick Ben Koetter: I have a question regarding the Bounce-never mail sink regexp: postconf(5) gives this example: /^(RCPT\s+TO:.*?)\bNOTIFY=\S+\b(.*)/ $1 NOTIFY=NEVER $2 Isn't there a '' missing before the '?'. As I understand it the '?' makes the preceeding character

Re: Question regarding example for smtpd_command_filter

2011-10-05 Thread Ralf Hildebrandt
* Wietse Venema wie...@porcupine.org: Patrick Ben Koetter: I have a question regarding the Bounce-never mail sink regexp: postconf(5) gives this example: /^(RCPT\s+TO:.*?)\bNOTIFY=\S+\b(.*)/ $1 NOTIFY=NEVER $2 Isn't there a '' missing before the '?'. As I understand it

Re: Send mail from queue with not working content-filter

2011-10-05 Thread Brian Evans - Postfix List
On 10/5/2011 4:01 AM, Matthias Fechner wrote: But dspam crashed and I removed dspam again to get mail traffic up. My problem is now that some mails are queued and I cannot resend them because it seems that postfix want to use a content filter I alread disabled. The old line in master.cf was:

Re: Question regarding example for smtpd_command_filter

2011-10-05 Thread Wietse Venema
Ralf Hildebrandt: * Wietse Venema wie...@porcupine.org: Patrick Ben Koetter: I have a question regarding the Bounce-never mail sink regexp: postconf(5) gives this example: /^(RCPT\s+TO:.*?)\bNOTIFY=\S+\b(.*)/ $1 NOTIFY=NEVER $2 Isn't there a '' missing before

Re: Question regarding example for smtpd_command_filter

2011-10-05 Thread Ralf Hildebrandt
* Wietse Venema wie...@porcupine.org: The ? does not do what you guys are thinking. The .*? turns on lazy matching. Without this, .* would also match \bNOTIFY=\S+\b(.*) and that is not what we want. http://en.wikipedia.org/wiki/Regular_expression#Lazy_quantification Obviously, it's time

Re: Ldap Domain aliases and Domain catchalls

2011-10-05 Thread Nikolaos Milas
On 5/10/2011 3:17 μμ, Shane Chrisp wrote: Hi Nick, Thank you very much for your reply. From that setuo I can see how to setup a catchall with a minor change to our current setup. The domain to domain alias is a way of saying that we have a real domain of dom1.tld and another domain od

Re: How to limit based on number of recipients per message ?

2011-10-05 Thread /dev/rob0
On Wednesday 05 October 2011 00:03:30 Janaka Wickramasinghe wrote: Is there a way to limit the number of recipients per message based on the sender email address ? This would require an external policy service acting on sender and recipient_count attributes. I'm not sure if any of the existing

Re: How to limit based on number of recipients per message ?

2011-10-05 Thread Wietse Venema
/dev/rob0: On Wednesday 05 October 2011 00:03:30 Janaka Wickramasinghe wrote: Is there a way to limit the number of recipients per message based on the sender email address ? This would require an external policy service acting on sender and recipient_count attributes. I'm not sure if

Re: Send mail from queue with not working content-filter

2011-10-05 Thread Matthias Fechner
Hi Brian, Am 05.10.2011 14:48, schrieb Brian Evans - Postfix List: If you remove a content filter without draining the queue, you need to re-queue all messages using 'postsuper -r ALL' great thanks a lot, that is what I searched for. Best regards, Matthias -- Programming today is a race

Re: Ldap Domain aliases and Domain catchalls

2011-10-05 Thread Shane Chrisp
On 05/10/11 21:41, Nikolaos Milas wrote: I have no answer to this problem, I am afraid. First, according to http://www.postfix.org/virtual.5.html, you could add for such a domain (e.g. aliased.example.com) an LDAP entry with mailacceptinggeneralid = aliased.example.com (no maildrop needed).

Location for LMTP:reject_sender_login_mismatch specification when multiple instances/filters are added to config?

2011-10-05 Thread mephistopheles
My Postfix delivers to an IMAP store using LMTP. I intend to have known users only defined in IMAP server's LMTP config. To check for valid users, and reject if not found, I use Postfix's (http://www.postfix.org/SASL_README.html) reject_sender_login_mismatch For simple config, I add that to

Re: How to limit based on number of recipients per message ?

2011-10-05 Thread Janaka Wickramasinghe
Thanks for the quick replies. postfwd seems to be having the feature. Great... Cheers, Janaka On Wed, Oct 5, 2011 at 9:59 PM, Wietse Venema wie...@porcupine.org wrote: /dev/rob0: On Wednesday 05 October 2011 00:03:30 Janaka Wickramasinghe wrote: Is there a way to limit the number of

bypassing alias lookups when from another local smtp

2011-10-05 Thread John Baker
We have been having some trouble with Temporary lookup failures from ldap lookup timeouts and I have been trying to find ways to solve the problem. One thing I would like to do is cut down on the volume of lookups by skipping virtual alias lookups if the mail is being relayed from another of our

Re: Filter only outgoing mail

2011-10-05 Thread Noel Jones
On 10/5/2011 5:00 AM, Aleksandar Vukovic wrote: Hi everybody, Is it possible to somehow limit smtpd_sender_restrictions only to outgoing mail? I want to use check_sender_access on my outgoing mail so that in MAIL FROM only addresses from my list of emails are allowed. I guess that one

Re: bypassing alias lookups when from another local smtp

2011-10-05 Thread Noel Jones
On 10/5/2011 2:20 PM, John Baker wrote: We have been having some trouble with Temporary lookup failures from ldap lookup timeouts and I have been trying to find ways to solve the problem. One thing I would like to do is cut down on the volume of lookups by skipping virtual alias lookups if the

Setting up Alias

2011-10-05 Thread Kaleb Hosie
Our postfix server acts as a spam server for a number of domains and is designed to forward email to the final destination; it has not been setup as a local mail server. Every once in a while, it will attempt to send an email to root@NT-SPAM01.adetor-lan.InternalDomain.local and will be

Re: Setting up Alias

2011-10-05 Thread Noel Jones
On 10/5/2011 3:03 PM, Kaleb Hosie wrote: Our postfix server acts as a spam server for a number of domains and is designed to forward email to the final destination; it has not been setup as a local mail server. Every once in a while, it will attempt to send an email to

Re: bypassing alias lookups when from another local smtp

2011-10-05 Thread Nikolaos Milas
On 5/10/2011 10:20 μμ, John Baker wrote: We have been having some trouble with Temporary lookup failures from ldap lookup timeouts and I have been trying to find ways to solve the problem. One thing I would like to do is cut down on the volume of lookups by skipping virtual alias lookups if

Re: Postfix/TLS support for Openssl cipher groups/names?

2011-10-05 Thread Viktor Dukhovni
On Tue, Oct 04, 2011 at 10:00:40PM -0400, Wietse Venema wrote: mephistophe...@operamail.com: smtpd_tls_ciphers = RSA As documented, smtpd_tls_ciphers specifies a cipher GRADE not a cipher NAME. TLS_README suggests that the grades are export and high. Well the full list of grades is:

Re: Postfix/TLS support for Openssl cipher groups/names?

2011-10-05 Thread mephistopheles
Well the full list of grades is: Thanks. I finally found the GRADE's (default), editable cipherlists on lmtp(8): tls_high_cipherlist (ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH) tls_medium_cipherlist (ALL:!EXPORT:!LOW:+RC4:@STRENGTH) tls_low_cipherlist(ALL:!EXPORT:+RC4:@STRENGTH)

Re: Why does 'help' not work at smtp prompt?

2011-10-05 Thread Viktor Dukhovni
On Wed, Oct 05, 2011 at 05:28:40PM -0400, Homer Wilson Smith wrote: Running Postfix 2.8.2 When I telnet smtp0.lightlink.com 25, and type 'help', it says unknown command. Thanks in advance for pointers to RTFM. Homer Smith Lightlink Internet For help with SMTP

PIX timed out while sending end of data -- message may be sent more than once

2011-10-05 Thread John Allen
I am getting the following message/errors Oct 5 00:00:10 myhost postfix/qmgr[18862]: 125BC2400A7: from=john@xyz.tld, size=2760, nrcpt=1 (queue active) Oct 5 00:00:10 myhost postfix/smtp[28713]: 125BC2400A7: enabling PIX workarounds: disable_esmtp delay_dotcrlf for

Re: PIX timed out while sending end of data -- message may be sent more than once

2011-10-05 Thread Noel Jones
On 10/5/2011 6:23 PM, John Allen wrote: I am getting the following message/errors Oct 5 00:00:10 myhost postfix/qmgr[18862]: 125BC2400A7: from=john@xyz.tld, size=2760, nrcpt=1 (queue active) Oct 5 00:00:10 myhost postfix/smtp[28713]: 125BC2400A7: enabling PIX workarounds:

Re: Why does 'help' not work at smtp prompt?

2011-10-05 Thread Miles Fidelman
Viktor Dukhovni wrote: On Wed, Oct 05, 2011 at 05:28:40PM -0400, Homer Wilson Smith wrote: Running Postfix 2.8.2 When I telnet smtp0.lightlink.com 25, and type 'help', it says unknown command. Thanks in advance for pointers to RTFM. Homer Smith Lightlink Internet

Re: Why does 'help' not work at smtp prompt?

2011-10-05 Thread Scott Kitterman
On Thursday, October 06, 2011 12:06:41 AM Miles Fidelman wrote: Viktor Dukhovni wrote: On Wed, Oct 05, 2011 at 05:28:40PM -0400, Homer Wilson Smith wrote: Running Postfix 2.8.2 When I telnet smtp0.lightlink.com 25, and type 'help', it says unknown command.

Re: Why does 'help' not work at smtp prompt?

2011-10-05 Thread Jase Thew
On 06/10/2011 05:06, Miles Fidelman wrote: Last time I looked (just now), RFC5321 stated: SMTP servers SHOULD support HELP without arguments and MAY support it with arguments. Not implemented, yes, and Postfix properly responds with a 502 response code. Arguably not all that useful when