rewriting sender address

2009-03-04 Thread ghe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I need to change email sent by a user from one domain (a.com) so that clicking Reply will reply to him at b.com. (a.com isn't always reliable, and I admin b.com, among other reasons.) Google got me to postfix.org's documentation on generic maps. I'm r

Re: That Relay Access Denied Thing (Solved, no, Really!)

2009-03-04 Thread Robert A. Ober
On 3/4/2009 1:57 PM, Brian Evans - Postfix List wrote: Robert A. Ober wrote: On 3/4/2009 1:06 PM, Brian Evans - Postfix List wrote: Robert A. Ober wrote: On 3/4/2009 12:32 PM, Robert A. Ober wrote: On 3/4/2009 11:54 AM, Brian Evans - Postfix List wrote:

Re: Blocking a domain and user

2009-03-04 Thread Jim McIver
In looking at the file in xxx/deferred, my mailserver is trying to return an undelivable message and it looks like there is something wrong with the site. " said: 557 Invalid routingNCrequest - domain in BLACK LIST." Basically I think the site is a spammer and they are blacklisted. How can

Re: restricting who can be sent to.

2009-03-04 Thread Noel Jones
Carver Banks wrote: Hello, I am in the process of setting up an internal mail server (carver-test.mydomain.local) using postfix, dovecot and squirrel mail. I want the users of this system only be able send mail to a few users in mydomain.com I imagine that there is an easy way to map this to a

Re: submission port requiring starttls even when set not to (Resolved)

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 14:33, Jorey Bump wrote: smtpd_tls_security_level should be used instead. Not if you don't want to force TLS on the submission port it shouldn't. On 4-Mar-2009, at 13:21, Brian Evans - Postfix List wrote: *encrypt* Mandatory TLS encryption: announce STARTTLS support to

Re: escape "^From "

2009-03-04 Thread mouss
LuKreme a écrit : > What controls escaping "From " in the body of a mail message if it's at > the start of a line? Since I've switched everyone over to Maildir, it > seems silly to do this anymore, but I can't find the setting. In fact, > I'm not even sure it's in postfix at all. look at what you

Re: Blocking a domain and user

2009-03-04 Thread Noel Jones
Jim McIver wrote: In looking at the file in xxx/deferred, my mailserver is trying to return an undelivable message and it looks like there is something wrong with the site. " said: 557 Invalid routingNCrequest - domain in BLACK LIST." Basically I think the site is a spammer and they are bla

Re: Local mail listener

2009-03-04 Thread mouss
Daniel L. Miller a écrit : > Ok - now that I've fixed my idiotic routing errors (don't have two NIC's > on the same network unless you know what you're doing - which I clearly > don't!), I can get back to Postfix. > > From my prior configuration questions in ages past, I have been trying > to make

PATCH: Possible reasons for "qmgr" loading the system?

2009-03-04 Thread Wietse Venema
Santiago Romero: > Wietse Venema escribi?: > > Santiago Romero: > > > >> I case it happens again ... Where or what should I take a look? At OS > >> level (disk or network I/O, processes...) I didn't see anything before > >> the "postfix restart"... > >> > > > > Try ``strace -o filename

Re: Local mail listener

2009-03-04 Thread Noel Jones
Daniel L. Miller wrote: Ok - now that I've fixed my idiotic routing errors (don't have two NIC's on the same network unless you know what you're doing - which I clearly don't!), I can get back to Postfix. From my prior configuration questions in ages past, I have been trying to make most of

OT: Diagnose blocked mail

2009-03-04 Thread Ray
Hello, I'm having an issue with mail being blocked (I think) and I was hoping that someone here would give me an idea on where to get started. here's the situation. (Made up names) server is postfix with amavis-new, spam-assassin and dovecot. logs are fairly verbose. Alice (al...@example.com)

Re: Blocking a domain and user

2009-03-04 Thread Jim McIver
Noel, Guess I'm confused. I have a relay_recipient and recipient_access files listing only valid user's email addresses for my company. ie.. relay_recipients bg...@lmtribune.com any_value bi...@lmtribune.com any_value bjohn...@lmtribune.com any_value recipient_access bg...@lmtribune.co

Re: OT: Diagnose blocked mail

2009-03-04 Thread Terry Carmen
Ray wrote: Hello, I'm having an issue with mail being blocked (I think) and I was hoping that someone here would give me an idea on where to get started. here's the situation. (Made up names) server is postfix with amavis-new, spam-assassin and dovecot. logs are fairly verbose. Alice (al..

Re: Local mail listener

2009-03-04 Thread Daniel L. Miller
Noel Jones wrote: Define content_filter in main.cf pointing to the spam processing machine, define a new smtpd listener in master.cf listening on a different port. http://www.postfix.org/FILTER_README.html Amavisd-new is software often used as a postfix content_filter. Even if you're using s

Re: Question about how Postfix sends the EHLO/HELO

2009-03-04 Thread Rob Tanner
Thanks for your feedback. I do have $myhostname defined and you've confirmed what I thought. It's their issue and they need to fix it. Again, thanks. -- Rob On 3/4/09 12:19 PM, "LuKreme" wrote: > On 4-Mar-2009, at 12:33, Rob Tanner wrote: >> X-Spam-Flag: YES >> X-Spam-Checker-Version: Spa

RE: restricting who can be sent to.

2009-03-04 Thread Carver Banks
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Noel Jones > Sent: Wednesday, March 04, 2009 2:22 PM > To: postfix-users@postfix.org > Subject: Re: restricting who can be sent to. > > Carver Banks wrote: > > Hello, > > I

Re: Local mail listener

2009-03-04 Thread Daniel L. Miller
mouss wrote: to setup a Postfix listener for local SMTP connections, which will then forward to a relayhost for spam processing (in this case, primarily auto-whitelisting). That relayhost will then send the message back to Postfix on another connection, and THAT listener will not have a relayhos

Re: OT: Diagnose blocked mail

2009-03-04 Thread Ray
On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > Ray wrote: > > Hello, > > I'm having an issue with mail being blocked (I think) and I was hoping > > that someone here would give me an idea on where to get started. > > > > here's the situation. (Made up names) > > > > server is postfix wit

Re: Blocking a domain and user

2009-03-04 Thread /dev/rob0
Please don't top-post. Thank you. On Wed March 4 2009 17:10:49 Jim McIver wrote: > Guess I'm confused. I have a relay_recipient and recipient_access > files listing only valid user's email addresses for my company. > ie.. > relay_recipients > bg...@lmtribune.com any_value > bi...@lmtribune.com

Re: OT: Diagnose blocked mail

2009-03-04 Thread Magnus Bäck
On Thursday, March 05, 2009 at 00:26 CET, Ray wrote: > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > Ray wrote: > > > > > Alice (al...@example.com) sends Bob an Email (b...@myserver.com) CC > > > (b...@3rdserver.com) I run myserver.com. message goes through to > > > b...@3rdser

Re: OT: Diagnose blocked mail

2009-03-04 Thread /dev/rob0
On Wed March 4 2009 17:26:01 Ray wrote: > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > Ray wrote: > > > Hello, > > > I'm having an issue with mail being blocked (I think) and I was > > > hoping that someone here would give me an idea on where to get > > > started. > > > > > > here's

Re: Local mail listener

2009-03-04 Thread Magnus Bäck
On Thursday, March 05, 2009 at 00:22 CET, "Daniel L. Miller" wrote: > Noel Jones wrote: > > > Define content_filter in main.cf pointing to the spam processing > > machine, define a new smtpd listener in master.cf listening on a > > different port. > > http://www.postfix.org/FILTER_README.htm

Re: Local mail listener

2009-03-04 Thread Magnus Bäck
On Thursday, March 05, 2009 at 00:25 CET, "Daniel L. Miller" wrote: > What I have/had now was the following: > master.cf: > 192.168.0.11:smtp inet n - - - - smtpd > -o relayhost=[192.168.0.10]:225 > 192.168.0.11:125 inet n - - -

Re: OT: Diagnose blocked mail

2009-03-04 Thread Ray
On Wednesday 04 March 2009 16:35:01 Magnus Bäck wrote: > On Thursday, March 05, 2009 at 00:26 CET, > > Ray wrote: > > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > > Ray wrote: > > > > Alice (al...@example.com) sends Bob an Email (b...@myserver.com) CC > > > > (b...@3rdserver.co

Re: OT: Diagnose blocked mail

2009-03-04 Thread Ray
On Wednesday 04 March 2009 16:37:37 /dev/rob0 wrote: > On Wed March 4 2009 17:26:01 Ray wrote: > > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > > Ray wrote: > > > > Hello, > > > > I'm having an issue with mail being blocked (I think) and I was > > > > hoping that someone here would g

to/orig_to control

2009-03-04 Thread LuKreme
when you have "to=, orig_to=" in the maillog file, that translation is handled by /etc/postfix/virtual, isn't it? If j...@example.com is not in /etc/postfix/virtual, where else could this be controlled? I did grep -ir jo...@example.com /etc/postfix/ and got 0 hits, so it's not in virtua

RE: Spam attacks

2009-03-04 Thread MacShane, Tracy
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Pawel Lesniak Sent: Wednesday, 4 March 2009 7:32 PM To: postfix users list Subject: Re: Spam attacks W dniu 2009-03-03 23:34, MacShane, Tracy pisze:

Re: escape "^From "

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 15:28, mouss wrote: LuKreme a écrit : What controls escaping "From " in the body of a mail message if it's at the start of a line? Since I've switched everyone over to Maildir, it seems silly to do this anymore, but I can't find the setting. In fact, I'm not even sure it'

Re: to/orig_to control

2009-03-04 Thread Evan Platt
At 04:07 PM 3/4/2009, you wrote: when you have "to=, orig_to=" in the maillog file, that translation is handled by /etc/postfix/virtual, isn't it? If j...@example.com is not in /etc/postfix/virtual, where else could this be controlled? I did grep -ir jo...@example.com /etc/postfix/ and got 0 hi

Re: That Relay Access Denied Thing (Solved, no, Really!)

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 15:18, Robert A. Ober wrote: Thanks to Brian and others for hanging in there with me! I think you owe everyone on this thread (which I was not part of, so no self-interest) a beer. :) -- #27794 ... I wonder if the really nerdy Klingons learn how to speak english

Re: to/orig_to control

2009-03-04 Thread Victor Duchovni
On Wed, Mar 04, 2009 at 05:07:44PM -0700, LuKreme wrote: > when you have "to=, orig_to=" in the > maillog file, that translation is handled by /etc/postfix/virtual, isn't > it? No, by any mechanism that rewrites the envelope recipient in cleanup(8): recipient_canonical_maps canonical_m

Re: Blocking a domain and user

2009-03-04 Thread Jim McIver
/dev/rob0 wrote: Please don't top-post. Thank you. On Wed March 4 2009 17:10:49 Jim McIver wrote: Guess I'm confused. I have a relay_recipient and recipient_access files listing only valid user's email addresses for my company. ie.. relay_recipients bg...@lmtribune.com any_value bi...@

Re: escape "^From "

2009-03-04 Thread Victor Duchovni
On Wed, Mar 04, 2009 at 05:11:02PM -0700, LuKreme wrote: > On 4-Mar-2009, at 15:28, mouss wrote: >> LuKreme a ?crit : >>> What controls escaping "From " in the body of a mail message if it's at >>> the start of a line? Since I've switched everyone over to Maildir, it >>> seems silly to do this any

Re: OT: Diagnose blocked mail

2009-03-04 Thread Jose Ildefonso Camargo Tolosa
Hi! On Thu, Mar 5, 2009 at 7:11 PM, Ray wrote: > On Wednesday 04 March 2009 16:35:01 Magnus Bäck wrote: >> On Thursday, March 05, 2009 at 00:26 CET, >> >>      Ray wrote: >> > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: >> > > Ray wrote: >> > > > Alice (al...@example.com) sends Bob a

Re: OT: Diagnose blocked mail

2009-03-04 Thread Bill Weiss
Ray(r...@stilltech.net)@Wed, Mar 04, 2009 at 04:46:21PM -0700: > On Wednesday 04 March 2009 16:37:37 /dev/rob0 wrote: > > On Wed March 4 2009 17:26:01 Ray wrote: > > > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > > > Ray wrote: > > > > > Hello, > > > > > I'm having an issue with mail

Re: submission port requiring starttls even when set not to (Resolved)

2009-03-04 Thread Jorey Bump
LuKreme wrote, at 03/04/2009 05:24 PM: > On 4-Mar-2009, at 14:33, Jorey Bump wrote: >> smtpd_tls_security_level should be used instead. > > Not if you don't want to force TLS on the submission port it shouldn't. The context is irrelevant. smtpd_tls_security_level is the new parameter that replace

Re: submission port requiring starttls even when set not to (Resolved)

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 19:12, Jorey Bump wrote: LuKreme wrote, at 03/04/2009 05:24 PM: On 4-Mar-2009, at 14:33, Jorey Bump wrote: smtpd_tls_security_level should be used instead. Not if you don't want to force TLS on the submission port it shouldn't. The context is irrelevant. Of course the

Re: to/orig_to control

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 17:13, Victor Duchovni wrote: On Wed, Mar 04, 2009 at 05:07:44PM -0700, LuKreme wrote: If j...@example.com is not in /etc/postfix/virtual, where else could this be controlled? See above. Consider also that the rewrite could be based on a partial match of either the domain o

Re: to/orig_to control

2009-03-04 Thread Victor Duchovni
On Wed, Mar 04, 2009 at 07:26:34PM -0700, LuKreme wrote: > $ grep southgaylord.com /var/log/maillog| grep orig_to | grep john | awk > '{print $7" "$8}' > to=, orig_to=, > to=, orig_to=, hiding the full logging for the message in question is not helpful. Do ditch the awk script and report all oth

Re: submission port requiring starttls even when set not to (Resolved)

2009-03-04 Thread Jorey Bump
J.P. Trosclair wrote, at 03/04/2009 05:01 PM: > I'll research the smtpd_tls_security_level option further. It didn't > present a problem until I started working on this specific feature with > the white lists. I have created another smtpd instance to forward white > listed domains to rather than t

Re: submission port requiring starttls even when set not to (Resolved)

2009-03-04 Thread Jorey Bump
LuKreme wrote, at 03/04/2009 09:25 PM: > On 4-Mar-2009, at 19:12, Jorey Bump wrote: >> LuKreme wrote, at 03/04/2009 05:24 PM: >>> On 4-Mar-2009, at 14:33, Jorey Bump wrote: smtpd_tls_security_level should be used instead. >>> >>> Not if you don't want to force TLS on the submission port it sho

Re: to/orig_to control

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 19:37, Victor Duchovni wrote: On Wed, Mar 04, 2009 at 07:26:34PM -0700, LuKreme wrote: $ grep southgaylord.com /var/log/maillog| grep orig_to | grep john | awk '{print $7" "$8}' to=, orig_to=, to=, orig_to=, hiding the full logging for the message in question is not helpful

Re: to/orig_to control

2009-03-04 Thread Victor Duchovni
On Wed, Mar 04, 2009 at 08:17:27PM -0700, LuKreme wrote: > On 4-Mar-2009, at 19:37, Victor Duchovni wrote: >> On Wed, Mar 04, 2009 at 07:26:34PM -0700, LuKreme wrote: >>> $ grep southgaylord.com /var/log/maillog| grep orig_to | grep john | awk >>> '{print $7" "$8}' >>> to=, orig_to=, >>> to=, orig

Re: OT: Diagnose blocked mail

2009-03-04 Thread Ray
On Wednesday 04 March 2009 18:10:22 Bill Weiss wrote: > Ray(r...@stilltech.net)@Wed, Mar 04, 2009 at 04:46:21PM -0700: > > On Wednesday 04 March 2009 16:37:37 /dev/rob0 wrote: > > > On Wed March 4 2009 17:26:01 Ray wrote: > > > > On Wednesday 04 March 2009 16:12:32 Terry Carmen wrote: > > > > > Ray

Re: OT: Diagnose blocked mail

2009-03-04 Thread Ray
On Wednesday 04 March 2009 17:49:57 Jose Ildefonso Camargo Tolosa wrote: > Hi! > > On Thu, Mar 5, 2009 at 7:11 PM, Ray wrote: > > On Wednesday 04 March 2009 16:35:01 Magnus Bäck wrote: > >> On Thursday, March 05, 2009 at 00:26 CET, > >> > >>      Ray wrote: > >> > On Wednesday 04 March 2009 16:12

Re: to/orig_to control

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 20:29, Victor Duchovni wrote: On Wed, Mar 04, 2009 at 08:17:27PM -0700, LuKreme wrote: On 4-Mar-2009, at 19:37, Victor Duchovni wrote: On Wed, Mar 04, 2009 at 07:26:34PM -0700, LuKreme wrote: $ grep southgaylord.com /var/log/maillog| grep orig_to | grep john | awk '{prin

Re: to/orig_to control

2009-03-04 Thread LuKreme
On 4-Mar-2009, at 20:29, Victor Duchovni wrote: Add "-v" to the cleanup(8) service to see where the change was made. cleanup unix n - n - 0 cleanup -v that REALLY broke things. Lots of stuff, ending with: Mar 4 20:58:22 mail postfix/cleanup[55873]: cleanup

Re: OT: Diagnose blocked mail

2009-03-04 Thread Terry Carmen
Sorry, I should have filled in all this information before hand :( Server is live and fully functional. it deals with thousands of messages per day and has for over a year. One user can't receive messages from one contact. That contact doesn't even show up in the logs as spam or lost connection

OT: Diagnose blocked mail

2009-03-04 Thread Michael Orlitzky
Ray wrote: Alice (al...@example.com) sends Bob an Email (b...@myserver.com) CC (b...@3rdserver.com) I run myserver.com. message goes through to b...@3rdserver.com, but not b...@myserver.com. there is absolutely no trace of alice's domain in the mail logs. Do you have "smtpd_delay_reject = yes

Re: Spam attacks

2009-03-04 Thread Mihira Fernando
On Wednesday 04 March 2009 20:18:18 Paweł Leśniak wrote: [snip] > Sure. I'm sending myself emails sometime. But I'm using server which is > permitted to send with address from my domain. So that's surely not 100% > spam when sender eq recipient. But then we come to definition of spam. It's in simp

Accept undeliverable mails and send NDR

2009-03-04 Thread ram
One of my clients sends mail using a custom application which *cannot* recognize a smtpd error message .. like user-not-found, or invalid-domain etc Now they want our postfix server to accept all mails without checks and send NDR's for undeliverable mails. Can I write a special transport in post

Re: OT: Diagnose blocked mail (Summary)

2009-03-04 Thread Ray
Summary: I realize that the problem most likely is not due to postfix (thus the OT in the subject), but I figured someone here might have seen this before Server is live and fully functional. it deals with thousands of messages per day and has for over a year. One user can't receive messages

Re: OT: Diagnose blocked mail

2009-03-04 Thread Bill Weiss
Ray(r...@stilltech.net)@Wed, Mar 04, 2009 at 08:32:40PM -0700: > On Wednesday 04 March 2009 18:10:22 Bill Weiss wrote: (lots of content snipped for context) > > Have you tried getting a pcap while the mystery server is supposed to be > > sending you mail? > > Haven't done this yet, but I will try

Re: Local mail listener

2009-03-04 Thread Daniel L. Miller
Magnus Bäck wrote: On Thursday, March 05, 2009 at 00:25 CET, "Daniel L. Miller" wrote: What I have/had now was the following: master.cf: 192.168.0.11:smtp inet n - - - - smtpd -o relayhost=[192.168.0.10]:225 192.168.0.11:125 inet n -

<    1   2