Re: Mail routing based on my own policy

2010-02-10 Thread Ralf Hildebrandt
* Andrea Gabellini : > I already looked at tcp_map, but I have some doubts. > > First of all tcp_map support is not compiled by default, and I don't > know the flag to activate it. Do you know it? Not off the top of my head. I used that once and it would just work. > TCP_TABLE(5) says that the

Re: How to setup postfix to put the queued emails in hold (and not in deferred)

2010-02-10 Thread Michele Carandente
Hi Victor, I agree that the cron job solution is not the best one... but at the moment it is the only one that I'm able to offer... (Even if with a cron job every 5 seconds(for example), I'll not lose any emails...) As Noel Jones said before: "The documented way to tell postfix to accept mail for

Accept mail when address verification fails due to connection timeout

2010-02-10 Thread Mark Hunting
We use Postfix for some time now, and it's really a great relieve after having used qmail for years. However there's one issue I am unable to solve. Next to the usual virtual mailboxes and aliases we also provide a fallback mail service to some customers that insist on having their own mail server

Re: Mail routing based on my own policy

2010-02-10 Thread Wietse Venema
Ralf Hildebrandt: > * Andrea Gabellini : > > > I already looked at tcp_map, but I have some doubts. > > > > First of all tcp_map support is not compiled by default, and I don't > > know the flag to activate it. Do you know it? > > Not off the top of my head. I used that once and it would just wo

Re: Accept mail when address verification fails due to connection timeout

2010-02-10 Thread Wietse Venema
Mark Hunting: > We use Postfix for some time now, and it's really a great relieve after > having used qmail for years. However there's one issue I am unable to solve. > > Next to the usual virtual mailboxes and aliases we also provide a > fallback mail service to some customers that insist on havi

Re: Accept mail when address verification fails due to connection timeout

2010-02-10 Thread Mark Hunting
Wietse Venema wrote: > Mark Hunting: > >> We use Postfix for some time now, and it's really a great relieve after >> having used qmail for years. However there's one issue I am unable to solve. >> >> Next to the usual virtual mailboxes and aliases we also provide a >> fallback mail service to so

Re: address rewriting with regexp

2010-02-10 Thread Noel Jones
On 2/10/2010 1:38 AM, Andy Smith wrote: hello, maybe someone here can help. I am trying to rewrite a certain set of To address with regex when they are sent outbound from my mail server. I am trying to do the following: Can you rewrite this to 123456789@ smscountry.net

Re: address rewriting with regexp

2010-02-10 Thread Andy Smith
ok i have put that in canonical and when the rewrite occurs i get a log that looks like this Feb 10 16:52:45 dal1-svc-12 postfix/smtp[13697]: 9E4FA26FB8: to=<1234567.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_u...@smscountry.n

Re: address rewriting with regexp

2010-02-10 Thread Bill Weiss
Andy Smith(flapjack2...@gmail.com)@Wed, Feb 10, 2010 at 11:01:05AM -0600: > ok i have put that in canonical and when the rewrite occurs i get a > log that looks like this > > Feb 10 16:52:45 dal1-svc-12 postfix/smtp[13697]: 9E4FA26FB8: > to=<1234567.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.

Re: address rewriting with regexp

2010-02-10 Thread Bill Weiss
Bill Weiss(houdini+post...@clanspum.net)@Wed, Feb 10, 2010 at 11:08:08AM -0600: > Andy Smith(flapjack2...@gmail.com)@Wed, Feb 10, 2010 at 11:01:05AM -0600: > > ok i have put that in canonical and when the rewrite occurs i get a > > log that looks like this > > > > Feb 10 16:52:45 dal1-svc-12 postf

Re: address rewriting with regexp

2010-02-10 Thread Noel Jones
Please don't top-post. On 2/10/2010 11:01 AM, Andy Smith wrote: ok i have put that in canonical and when the rewrite occurs i get a log that looks like this Feb 10 16:52:45 dal1-svc-12 postfix/smtp[13697]: 9E4FA26FB8: to=<1234567.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prodea_uae1.prode

Re: address rewriting with regexp

2010-02-10 Thread Andy Smith
On Wed, Feb 10, 2010 at 11:08 AM, Bill Weiss wrote: > Bill Weiss(houdini+post...@clanspum.net)@Wed, Feb 10, 2010 at 11:08:08AM > -0600: >> Andy Smith(flapjack2...@gmail.com)@Wed, Feb 10, 2010 at 11:01:05AM -0600: >> > ok i have put that in canonical and when the rewrite occurs i get a >> > log th

Re: How to setup postfix to put the queued emails in hold (and not in deferred)

2010-02-10 Thread Victor Duchovni
On Wed, Feb 10, 2010 at 09:22:41AM +, Michele Carandente wrote: > I agree that the cron job solution is not the best one... but at the > moment it is the only one that I'm able to offer... > (Even if with a cron job every 5 seconds(for example), I'll not lose > any emails...) > > As Noel Jone

mailing list messages not received

2010-02-10 Thread Milos Prudek
I have a correctly working postfix server that receives mail for a domain. Sadly it delivers only "normal" mail, not mailing list mail. Spamassassin is configured to process incoming mail. Maildrop is configured to deliver mail to folders. It all works for normal mail and fails for mailing lis

Re: mailing list messages not received

2010-02-10 Thread Noel Jones
On 2/10/2010 11:56 AM, Milos Prudek wrote: I have a correctly working postfix server that receives mail for a domain. Sadly it delivers only "normal" mail, not mailing list mail. Spamassassin is configured to process incoming mail. Maildrop is configured to deliver mail to folders. It all work

backscatter issue

2010-02-10 Thread Dimitar Penev
Hello All, I am not sure if this mailing list is the best place to ask this question. If not please point me to the better one. I am running postfix based mailserver. Few days ago however I have noticed that some of the emails I am sending fall in the recipient spam filters. I have discovered tha

Fallback issues

2010-02-10 Thread Vladislav Antolik
Hi, I'd like to configure this kind of funcionality. I have 1 postfix box, which should relay mails to 1 of 2 internal mail servers(192.168.1.1, 192.168.1.2). When 1 internal mail server crashes, new incoming mails should be automatically send to another internal mail server. I don't want to use M

Re: Fallback issues

2010-02-10 Thread Wietse Venema
Vladislav Antolik: > Hi, > > I'd like to configure this kind of funcionality. > I have 1 postfix box, which should relay mails to 1 of 2 internal mail > servers(192.168.1.1, 192.168.1.2). > When 1 internal mail server crashes, new incoming mails should be > automatically send to another internal m

Re: Fallback issues

2010-02-10 Thread Vladislav Antolik
Thank you for reply, but my version of postfix is 2.2. On Wed, Feb 10, 2010 at 9:03 PM, Wietse Venema wrote: > Vladislav Antolik: >> Hi, >> >> I'd like to configure this kind of funcionality. >> I have 1 postfix box, which should relay mails to 1 of 2 internal mail >> servers(192.168.1.1, 192.168

Re: backscatter issue

2010-02-10 Thread Noel Jones
On 2/10/2010 12:51 PM, Dimitar Penev wrote: Hello All, I am not sure if this mailing list is the best place to ask this question. If not please point me to the better one. I am running postfix based mailserver. Few days ago however I have noticed that some of the emails I am sending fall in the

Mail in Inbox

2010-02-10 Thread Dhiraj Chatpar
I got this email in my gmail inbox. i was wondering how it reached there.. can anyone tell me. There is no MTA defined. Delivered-To: dchat...@gmail.com Received: by 10.220.45.205 with SMTP id g13cs9092vcf; Wed, 10 Feb 2010 03:26:10 -0800 (PST) Return-Path: Received-SPF: pass (google.co

skipping single restrictions

2010-02-10 Thread Stefan Palme
Hi all, I have smtpd_recipient_restrictions like this: smtpd_recipient_restrictions = ... permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/postgrey, reject_rbl_client zen.spamhaus.org, perm

Re: Fallback issues

2010-02-10 Thread Wietse Venema
Vladislav Antolik: > Thank you for reply, but my version of postfix is 2.2. man 5 postconf smtp_fallback_relay (default: $fallback_relay) Optional list of relay hosts for SMTP destinations that can't be found or that are unreachable. With Postfix 2.2 and earlier this parameter is

Re: skipping single restrictions

2010-02-10 Thread Wietse Venema
Stefan Palme: > Hi all, > > I have smtpd_recipient_restrictions like this: > > smtpd_recipient_restrictions = > ... > permit_sasl_authenticated, permit_mynetworks, > reject_unauth_destination, > check_policy_service unix:private/postgrey, > reject_rbl_client zen.sp

Re: skipping single restrictions

2010-02-10 Thread Victor Duchovni
On Wed, Feb 10, 2010 at 09:15:59PM +0100, Stefan Palme wrote: > > smtpd_recipient_restrictions = > ... > permit_sasl_authenticated, permit_mynetworks, > reject_unauth_destination, > check_policy_service unix:private/postgrey, > reject_rbl_client zen.spamhaus.org, >

Re: skipping single restrictions

2010-02-10 Thread Noel Jones
On 2/10/2010 2:15 PM, Stefan Palme wrote: Hi all, I have smtpd_recipient_restrictions like this: smtpd_recipient_restrictions = ... permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/postgrey, reject

Re: Mail in Inbox

2010-02-10 Thread mouss
Dhiraj Chatpar a écrit : > I got this email in my gmail inbox. i was wondering how it reached > there.. can anyone tell me. There is no MTA defined. > what does this have to do with postfix? it reached there, because a sender sent it there. what dou mean by "no MTA defined"? obviously, you have

SMTPD resctrictions question

2010-02-10 Thread Jannis Achstetter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello postfix-users, I have a postfix-server with virtual user-mapping in a database serving multiple domains running for some years now. It's not a high-traffic site but as spam-mails increased, I decided to use a spamfilter (amavis & spamassassin no

Re: SMTPD resctrictions question

2010-02-10 Thread Jan Kohnert
Hi, Jannis Achstetter schrieb: > An email (FROM is not in $mydestination) from an unauthenticated user to > an address in $mydestination is accecpted. This is also fine. > An email from an unauthenticated user to any destination but > $mydestination (open relay) is denied. Perfect. > BUT: Any emai

Problems getting Gmail to use my SMTP server rather than theirs

2010-02-10 Thread Rob Tanner
If you¹re familiar with email, you know you can add ³Send mail as² identities and when you setup a second identity, you have the option of using Gmail¹s SMTP server or the SMTP server for the domain to which the ³send as² identity belongs. My problem is I can¹t get it to work. The error I get is:

Re: Problems getting Gmail to use my SMTP server rather than theirs

2010-02-10 Thread Jorge Armando Medina
Rob Tanner wrote: > If you’re familiar with email, you know you can add “Send mail as” > identities and when you setup a second identity, you have the option > of using Gmail’s SMTP server or the SMTP server for the domain to > which the “send as” identity belongs. My problem is I can’t get it to >

Re: Problems getting Gmail to use my SMTP server rather than theirs

2010-02-10 Thread Rob Tanner
On 2/10/10 4:40 PM, "Jorge Armando Medina" wrote: > Rob Tanner wrote: >> If you¹re familiar with email, you know you can add ³Send mail as² >> identities and when you setup a second identity, you have the option >> of using Gmail¹s SMTP server or the SMTP server for the domain to >> which the ³s

Setting a different IP address for different users?

2010-02-10 Thread Carl Brewer
A quick one, I hope, postfix v 2.3.3 on a server with multiple IP addresses. Is it possible to have a policy stating that email from a particular address goes out using a specific IP address, and everything else by the system's default IP address? I want to isolate a mailing list to its own

how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Jeff Lacki
Im sorry if this is a basic question, but googling it has me more confused. I need to relay my u...@domain (where Im located) to a remote server I own to email. Im not located on my own domain name, Im on an AT&T connection, but want to send to a domain I own (which runs postfix). I thought all

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Sahil Tandon
On Wed, 10 Feb 2010, Jeff Lacki wrote: > in transport: > > myusern...@myisp.com smtp:[mail.optonline.net]:25 This means email sent through your Postfix server that is addressed to myusern...@myisp.com will be relayed to mail.optonline.net. Is that your goal? > but in thunderbird when I try to

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Jeff Lacki
On Wed, 10 Feb 2010, Jeff Lacki wrote: >> in transport: >> >> myusern...@myisp.com smtp:[mail.optonline.net]:25 > This means email sent through your Postfix server that is addressed to > myusern...@myisp.com will be relayed to mail.optonline.net. Is that > your goal? Yes sorry for the confusion

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Sahil Tandon
On Wed, 10 Feb 2010, Jeff Lacki wrote: > Yes sorry for the confusion. I want to send email from basically > anywhere in the world through my postfix server. Since my email > address that I use is constant, can I setup postfix to recognize that > its me (from anywhere - based on my email address)

Re: Setting a different IP address for different users?

2010-02-10 Thread Carl Brewer
Carl Brewer wrote: A quick one, I hope, postfix v 2.3.3 on a server with multiple IP addresses. Is it possible to have a policy stating that email from a particular address goes out using a specific IP address, and everything else by the system's default IP address? I want to isolate a ma

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Jeff Lacki
>> The email address I use is not my servers domain name however, but can >> postfix recognize my From field and allow it to relay? If so, how do >> I do this? > Yes, but allowing anyone with that MAIL FROM to relay through your > Postfix server is unwise since that "credential" is easily spoofed

Re: Mail in Inbox

2010-02-10 Thread Ansgar Wiechers
On 2010-02-11 Dhiraj Chatpar wrote: > I got this email in my gmail inbox. i was wondering how it reached there.. > can anyone tell me. There is no MTA defined. Both Received headers disagree with you: > Received: by 10.220.45.205 with SMTP id g13cs9092vcf; > Wed, 10 Feb 2010 03:26:10 -080

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Ansgar Wiechers
On 2010-02-10 Jeff Lacki wrote: > On Wed, 10 Feb 2010, Jeff Lacki wrote: > >>> in transport: >>> >>> myusern...@myisp.com smtp:[mail.optonline.net]:25 > >> This means email sent through your Postfix server that is addressed >> to myusern...@myisp.com will be relayed to mail.optonline.net. Is >>

Re: Mail in Inbox

2010-02-10 Thread Dhiraj Chatpar
Received: from mr.google.com ([10.141.106.5]) Doesnt even exist. did you try checking what this IP or the host is? Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so."

Re: how to allow postfix to relay a single u...@domain.com

2010-02-10 Thread Ansgar Wiechers
On 2010-02-10 Jeff Lacki wrote: > Thanks, thats good advice for sure. Turns out Im not able to get to > port 25 on my postfix box from my current location. > > Whats odd is that I went to 2 other servers on the net and I can > telnet to port 25, but here at home, I cannot. I can telnet to port >

Re: Mail in Inbox

2010-02-10 Thread Ansgar Wiechers
On 2010-02-11 Dhiraj Chatpar wrote: > On Thu, Feb 11, 2010 at 12:02, Ansgar Wiechers wrote: >> As for how it got there: In-Reply-To and References headers suggest >> that the mail was sent from one GMail account to another. Which would >> also explain why there are only private IP addresses involve

Re: Mail in Inbox

2010-02-10 Thread Dhiraj Chatpar
Received: from mr.google.com ([10.141.106.5]) Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a day." On Thu, Feb 11, 2010 at 12:31, Ansgar Wiechers wrote: > On 2010-02-11 Dhiraj Chatpar wrote: > > On

RE: Mail in Inbox

2010-02-10 Thread Rob Sterenborg
On 2010-02-11, Dhiraj Chatpar wrote: > Received: from mr.google.com ([10.141.106.5]) If mr.google.com resolves within Google's LAN, it doesn't have to resolve on the internet (and indeed it doesn't), especially if it's in 10/8, 172.16/12 or 192.168/16. If mr.google.com wo