caching information about bouncing receipients?

2008-08-29 Thread Stefan Palme
Hi, is there a builtin way to make postfix remember bouncing recipient addresses, so that further attempts to send mails to those addresses can be rejected? I do NOT want to use active recipient address verification. I only want to save when a real mail delivery attempt fails - so this seems to

Re: Explicitly reject SMTP connections

2008-08-29 Thread Ralf Hildebrandt
* Jie Wang [EMAIL PROTECTED]: Hello, everyone, I have a box running 2.2.3 and encounter the following problem. The box is behind a firewall (ISA), and is under attack frequently ( a lots of SMTP connections). Who says that it's an attack. When there are a lot of SMTP connection requests

Re: I need help with mail delivery

2008-08-29 Thread shawn D.Wang
Ralf, thanks for the quick response. Surely I will use multi recipients. I supposed the postfix will send a separate copy to each recipient. for instance:if i have two recipients, [EMAIL PROTECTED] and [EMAIL PROTECTED], they are in different ISP, so postfix will transfer two times, once for the

Re: I need help with mail delivery

2008-08-29 Thread Ralf Hildebrandt
* shawn D.Wang [EMAIL PROTECTED]: Ralf, thanks for the quick response. Surely I will use multi recipients. I supposed the postfix will send a separate copy to each recipient. No, not with multi-recipient mail. for instance:if i have two recipients, [EMAIL PROTECTED] and [EMAIL

Re: I need help with mail delivery

2008-08-29 Thread shawn D.Wang
wow, that 's great! big day... thank you so much :) you are a very very good people, thanks :) On 8/29/08, Ralf Hildebrandt [EMAIL PROTECTED] wrote: * shawn D.Wang [EMAIL PROTECTED]: Ralf, thanks for the quick response. Surely I will use multi recipients. I supposed the postfix will

append_at_myorigin for envelope addresses?

2008-08-29 Thread Stefan Palme
Hi, the following SMTP sessions works: -- telnet localhost 25 ... EHLO localhost ... MAIL FROM: root 250 2.1.0 Ok RCPT TO: root 250 2.1.5 Ok DATA 354 End data with CRLF.CRLF To: root From: root Subject: test . 250 2.0.0 Ok: queued as 1FE944A4078

Re: append_at_myorigin for envelope addresses?

2008-08-29 Thread Stefan Palme
But what makes postfix accept the non-fully-qualified envelope sender and recipient addresses? I don't want to allow this, I want to enforce MAIL FROM: [EMAIL PROTECTED] etc... Ah sorry, found the problem in my smtpd_recipient_restrictions: smtpd_recipient_restrictions =

Re: envelope recipient in mail headers?

2008-08-29 Thread Wietse Venema
Stefan Palme: Hi all, Today seems to be postfix day, so sorry for the bulk of questions ;-) When I receive a mail with only ONE envelope recipient, postfix inserts a mail header of the form Received: from localhost (localhost [127.0.0.1]) by mail.mydomain.com (Postfix) with

Re: envelope recipient in mail headers?

2008-08-29 Thread Stefan Palme
Is there a way to enforce postfix to always insert a from ... part on its Received: header? Of course I meant for... part... No, that would violate the privacy of BCC recipients. Why? The normal recipient (e.g. [EMAIL PROTECTED]) would get a mail with Received: from ... by

envelope recipient in mail headers?

2008-08-29 Thread Stefan Palme
Hi all, Today seems to be postfix day, so sorry for the bulk of questions ;-) When I receive a mail with only ONE envelope recipient, postfix inserts a mail header of the form Received: from localhost (localhost [127.0.0.1]) by mail.mydomain.com (Postfix) with ESMTP id F335A4A4084 for

Make error with 2.5.4

2008-08-29 Thread John
Hi, I have used the following make command with 2.5.1 successfully in the past: make -f Makefile.init makefiles CCARGS=-I/usr/include -I/usr/include/mysql -I/usr/include/openssl -I/usr/include/sasl -DUSE_SASL_AUTH -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_LDAP -DHAS_MYSQL -DHAS_PGSQL -DUSE_TLS

Re: envelope recipient in mail headers?

2008-08-29 Thread Wietse Venema
Stefan Palme: Is there a way to enforce postfix to always insert a from ... part on its Received: header? Of course I meant for... part... No, that would violate the privacy of BCC recipients. Why? The normal recipient (e.g. [EMAIL PROTECTED]) would get a mail with You were

Re: email with no mx deferred

2008-08-29 Thread Wietse Venema
Rob Kelledy: I have a bunch of mail being deferring with no available mx (mainly typos). What is the result of: $ host -t mx example.com $ host -t a example.com With a suitable substitution for example.com. If the DNS server says that BOTH the MX and A records don't exist, Postfix will

Re: Make error with 2.5.4

2008-08-29 Thread John
Wieste, Thanks for the question - it turned out that an update to the yum repository location for PostgreSQL had removed the development headers from my system. Fixing that corrected the problem and I got a successful compile and install. Thanks again for the assistance. John Wietse

Re: email with no mx deferred

2008-08-29 Thread Ralf Hildebrandt
* Wietse Venema [EMAIL PROTECTED]: Rob Kelledy: I have a bunch of mail being deferring with no available mx (mainly typos). What is the result of: $ host -t mx example.com $ host -t a example.com With a suitable substitution for example.com. If the DNS server says that BOTH the

Re: Conditional smart-host routing

2008-08-29 Thread Marc SCHAEFER
In article [EMAIL PROTECTED] you wrote: Yes, you should be able to do this with a transport_maps entry and a regexp (or pcre) smtp_generic_maps. Thank you; however: # main.cf transport_maps = hash:/etc/postfix/transport smtp_generic_maps = regexp:/etc/postfix/generic.regexp I have this:

Re: append_at_myorigin for envelope addresses?

2008-08-29 Thread mouss
Stefan Palme wrote: Hi, the following SMTP sessions works: -- telnet localhost 25 ... EHLO localhost ... MAIL FROM: root 250 2.1.0 Ok RCPT TO: root 250 2.1.5 Ok DATA 354 End data with CRLF.CRLF To: root From: root Subject: test . 250 2.0.0 Ok:

Re: Conditional smart-host routing

2008-08-29 Thread Marc SCHAEFER
Replying to myself: no, it really works now. Maybe I looked at the wrong log entry. Thank you for your suggestions -- they work!

Re: Conditional smart-host routing

2008-08-29 Thread Noel Jones
Marc SCHAEFER wrote: Replying to myself: no, it really works now. Maybe I looked at the wrong log entry. Thank you for your suggestions -- they work! Glad it worked. You had me worried there for a minute... -- Noel Jones

Re: envelope recipient in mail headers?

2008-08-29 Thread mouss
Stefan Palme wrote: Hi all, Today seems to be postfix day, so sorry for the bulk of questions ;-) When I receive a mail with only ONE envelope recipient, postfix inserts a mail header of the form Received: from localhost (localhost [127.0.0.1]) by mail.mydomain.com (Postfix) with

Re: caching information about bouncing receipients?

2008-08-29 Thread Noel Jones
Stefan Palme wrote: Hi, is there a builtin way to make postfix remember bouncing recipient addresses, so that further attempts to send mails to those addresses can be rejected? No. What problem are you trying to solve? I do NOT want to use active recipient address verification. I only want

Re: caching information about bouncing receipients?

2008-08-29 Thread mouss
Stefan Palme wrote: Hi, is there a builtin way to make postfix remember bouncing recipient addresses, so that further attempts to send mails to those addresses can be rejected? you must handle bounces in your (mass|bulk|list) mail system. most mailing list managers can do this. if your

Reject Based On Senders Email Address

2008-08-29 Thread wiskbroom
I am getting hit hard with email that has From that appears like this: [EMAIL PROTECTED] - where XXX is a random number such as: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] I currently have in my main.cf: smtpd_sender_restrictions = reject_unauth_pipelining,

Re: Reject Based On Senders Email Address

2008-08-29 Thread Magnus Bäck
On Friday, August 29, 2008 at 17:52 CEST, [EMAIL PROTECTED] wrote: I am getting hit hard with email that has From that appears like this: [EMAIL PROTECTED] - where XXX is a random number such as: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] I currently have in my

RE: Reject Based On Senders Email Address

2008-08-29 Thread wiskbroom
Thank you Magnus; Would access work for senders to my domain? I am currently using it for recipients within my domain, but have not ever used it for senders to my domain. Thanks again, .vp Date: Fri, 29 Aug 2008 18:21:05 +0200 From: [EMAIL PROTECTED] To: postfix-users@postfix.org

Re: Reject Based On Senders Email Address

2008-08-29 Thread Magnus Bäck
On Friday, August 29, 2008 at 18:31 CEST, [EMAIL PROTECTED] wrote: No, because wildcards are not supported in dbm lookup tables (see access(5)). Use regexp or (preferably) pcre instead. See regexp_table(5) and pcre_table(5). Example for the latter: /[EMAIL PROTECTED]/ REJECT

Creating a dummy filter

2008-08-29 Thread Camron W. Fox
Alle, We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using: smtpd_client_restrictions = check_client_access cidr:/etc/postfix/per_client_filter == per_client_filter: 0.0.0.0/0 FILTER spamassassin: 10.0.0.0/8

RE: Reject Based On Senders Email Address

2008-08-29 Thread wiskbroom
By the way, how did you catch this? .vp Date: Fri, 29 Aug 2008 18:21:05 +0200 From: [EMAIL PROTECTED] To: postfix-users@postfix.org Subject: Re: Reject Based On Senders Email Address Do not start new topics by replying to old messages in old and unrelated threads. Do use the compose new

Re: Creating a dummy filter

2008-08-29 Thread Noel Jones
Camron W. Fox wrote: Alle, We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using: smtpd_client_restrictions = check_client_access cidr:/etc/postfix/per_client_filter == per_client_filter: 0.0.0.0/0FILTER

Fixing a SASL AUTH Problem

2008-08-29 Thread Rich Shepard
My wife uses her laptop connected wirelessly to the network, but sending mail has failed since I upgraded postfix to 2.5.2 and enabled SASL authorization. Thunderbird keeps asking for her password on the server when she tries to send mail (incoming mail reaches her inbox with no problems) and

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Wietse Venema
Rich Shepard: My wife uses her laptop connected wirelessly to the network, but sending mail has failed since I upgraded postfix to 2.5.2 and enabled SASL authorization. Thunderbird keeps asking for her password on the server when she tries to send mail (incoming mail reaches her inbox with

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread mouss
Rich Shepard wrote: My wife uses her laptop connected wirelessly to the network, but sending mail has failed since I upgraded postfix to 2.5.2 and enabled SASL authorization. Thunderbird keeps asking for her password on the server when she tries to send mail (incoming mail reaches her inbox

Re: Creating a dummy filter

2008-08-29 Thread Camron W. Fox
Noel Jones wrote: Camron W. Fox wrote: Alle, We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using: smtpd_client_restrictions = check_client_access cidr:/etc/postfix/per_client_filter == per_client_filter: 0.0.0.0/0

Re: Creating a dummy filter

2008-08-29 Thread Noel Jones
Camron W. Fox wrote: Noel Jones wrote: Camron W. Fox wrote: Alle, We would like to filter all internal email so that it bypasses SpamAssassin. We have set up per_client_filters using: smtpd_client_restrictions = check_client_access cidr:/etc/postfix/per_client_filter ==

Re: Error 4xx

2008-08-29 Thread Eduardo Júnior
On Mon, Aug 25, 2008 at 1:43 PM, mouss [EMAIL PROTECTED] wrote: Eduardo Júnior wrote: Hi, Someone could give me some documentation that talk of errors 4xx of the Postfix? 4xx is an smtp code. it means temporary failure. the client MTA is supposed to retry. I'm with an error between

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Rich Shepard
On Fri, 29 Aug 2008, Wietse Venema wrote: There are lots of hits when you search the web for: cannot connect to saslauthd server: Permission denied Likely one of them will have the answer. I've tried a couple but without success. Also, I fixed main.cf per mouss' message. I had cut and

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Rich Shepard
On Fri, 29 Aug 2008, mouss wrote: smtpd_* parameters are used by 'smtpd', the thing that listens for smtp connections. this is what you contact when you telnet or when Thunderbird send mail. mouss, Mea culpa! I cut this from the README file and pasted it into main.cf without paying close

Is this backscatter, spam or what?!

2008-08-29 Thread Miguel Da Silva - Centro de Matemática
Dear users, I'm quite suprised seeing this kind of messages at the mail server: Aug 29 17:19:31 mordred postfix/smtpd[23160]: connect from fder1.fder.edu.uy[164.73.178.2] Aug 29 17:19:32 mordred postfix/smtpd[23160]: setting up TLS connection from fder1.fder.edu.uy[164.73.178.2] Aug 29

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread J.P. Trosclair
Hi, this is my first post on the list so if I do something out of the ordinary please forgive me. The reason your mail is working locally is probably because postfix is configured to accept mail from the local network or localhost without any sort of authentication but not when the mail is

Re: Is this backscatter, spam or what?!

2008-08-29 Thread Noel Jones
Miguel Da Silva - Centro de Matemática wrote: Dear users, I'm quite suprised seeing this kind of messages at the mail server: Aug 29 17:19:31 mordred postfix/smtpd[23160]: connect from fder1.fder.edu.uy[164.73.178.2] Aug 29 17:19:32 mordred postfix/smtpd[23160]: setting up TLS connection

Amavisd, SpamAssassin, ClamAv, Razor and PostFix

2008-08-29 Thread Bob Cohen
Can anyone point me to a reasonable cookbook style web resource for getting PostFix to play with Amavisd, SpamAssassin, ClamAv, and Razor? There are no shortage of resources but they all seem so impenetrable. I'm looking for put tab A in slot B instructions so that when I'm done it works

Re: Is this backscatter, spam or what?!

2008-08-29 Thread Miguel Da Silva - Centro de Matemática
Noel Jones escribió: Miguel Da Silva - Centro de Matemática wrote: Dear users, I'm quite suprised seeing this kind of messages at the mail server: Aug 29 17:19:31 mordred postfix/smtpd[23160]: connect from fder1.fder.edu.uy[164.73.178.2] Aug 29 17:19:32 mordred postfix/smtpd[23160]:

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Rich Shepard
On Sat, 30 Aug 2008, Graham Leggett wrote: Unfortunately the alternate usecase support in SASL is virtually non existent, so you're stuck using strace to tease out the real error that is preventing SASL from working. If you are truly stuck, use strace (or your local equivalent) to run

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Rich Shepard
On Sat, 30 Aug 2008, Graham Leggett wrote: Once testsaslauthd works, then add postfix to the mix. Graham, I just ran testsaslauthd for my wife's account from the server: [EMAIL PROTECTED] ~]# testsaslauthd -u pamela -p herpassword 0: OK Success. So that seems to be OK. Same success if

Daemon To Execute Commands

2008-08-29 Thread Marcel Grandemange
Im looking for a programme that can run in daemon mode and watch one of my mbox male files. The idea I have is I would like to have the ability to send a email to one of my addresses and have it execute commands based on email content. I would essentially like to execute commands via

Re: Fixing a SASL AUTH Problem

2008-08-29 Thread Noel Jones
Rich Shepard wrote: On Sat, 30 Aug 2008, Graham Leggett wrote: Once testsaslauthd works, then add postfix to the mix. Graham, I just ran testsaslauthd for my wife's account from the server: [EMAIL PROTECTED] ~]# testsaslauthd -u pamela -p herpassword 0: OK Success. So that seems to be

newbie postfix user

2008-08-29 Thread gishaust
hi everyone, I have been working on putting postfix email server on unbuntu 8.04 server and after a very steep learn curve think I am ready to go online. But I don't know if it is secure so below is what i have done. I need to know if I have missed anything. So does anyone have anything I

Re: Daemon To Execute Commands

2008-08-29 Thread Alan Hicks
On Sat, 30 Aug 2008 00:57:51 +0200 Marcel Grandemange [EMAIL PROTECTED] wrote: Im looking for a programme that can run in daemon mode and watch one of my mbox male files. The idea I have is I would like to have the ability to send a email to one of my addresses and have it execute commands

New to PF, IO bound query

2008-08-29 Thread Eddie b
Hello, Well firstly, I hope my postfix experience is going to better than the pathetic ancient mailing list server that took 3 attempts with gmail in subscriber confirmations... Anyways... I am looking at replacing our outdated Qmail/ Vpopmail system, I've read the docs and it seems simple enough

Re: Amavisd, SpamAssassin, ClamAv, Razor and PostFix

2008-08-29 Thread Sahil Tandon
Bob Cohen [EMAIL PROTECTED] wrote: Can anyone point me to a reasonable cookbook style web resource for getting PostFix to play with Amavisd, SpamAssassin, ClamAv, and Razor? There are no shortage of resources but they all seem so impenetrable. I'm looking for put tab A in slot B

Re: New to PF, IO bound query

2008-08-29 Thread Sahil Tandon
Eddie b [EMAIL PROTECTED] wrote: Hello, Well firstly, I hope my postfix experience is going to better than the pathetic ancient mailing list server that took 3 attempts with gmail in subscriber confirmations... I hope you're not saying the postfix-users mailing list is pathetic; that would