use default relayhost if sender is local

2008-07-28 Thread gabriele esposito
I run Debian etch and i use smtp.gmail.com as postfix relayhost. I also have a list of senders from different domains allowed to relay smtp traffic on my server . While for local senders in $myorigin i want my postfix to relay smtp with gmail , for users in the list i want my local postfix to not r

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Ville Walveranta
On Mon, Jul 28, 2008 at 7:30 PM, Robert Spencer <[EMAIL PROTECTED]> wrote: > Your "less technical" users are right, it takes less time to look in a > spam folder than it is to open a browser window and navigate to the > web interface. I would have found it irritating in a very short time > and some

To block backscatter mail

2008-07-28 Thread Carlos Alberto Bernat Orozco
Hi group I'm writing to you as my only hope. I'm very dissapointed because I'm black listed due to a misconfiguration that I haven't found where. This is the problem. From a time, I've been watching my logs and this is what I see: Jul 14 23:48:21 server postfix/qmgr[11448]: A9044104A29: from=<>,

To block backscatter mail

2008-07-28 Thread Carlos Alberto Bernat Orozco
Hi group I'm writing to you as my only hope. I'm very dissapointed because I'm black listed due to a misconfiguration that I haven't found where. This is the problem. From a time, I've been watching my logs and this is what I see: Jul 14 23:48:21 server postfix/qmgr[11448]: A9044104A29: from=<>,

Re: postfix/smtpd[39072]:warning: SASL authentication failure: cannot connect to Courier authdaemond: No such file or directory

2008-07-28 Thread Sahil Tandon
Danny Nielsen <[EMAIL PROTECTED]> wrote: > Hello. > > Im having some problem sending mail, i can receive mails but not send. > > The system is FreeBSD 6.3, im trying to make a mail server with virtual > domains, and from ports i have installed the following: > > postfix-2.4.7,1 > courier-authli

Re: MTA Rejection Explanation Needed

2008-07-28 Thread Rich Shepard
On Mon, 28 Jul 2008, Sahil Tandon wrote: Sender Address Verification (SAV) is done in Postfix with the reject_unverified_sender parameter; see postconf(5) for details. Before employing this feature, make sure you understand its implications and read the ADDRESS_VERIFICATION_README. Sahil,

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Robert Spencer
On 7/29/08, Ville Walveranta <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 4:55 PM, Robert Spencer <[EMAIL PROTECTED]> > wrote: >> Can't they add "X-Spam: yes"? For a paid service they're offering you >> remarkably little options. > > I'm requesting that change as it would positively identif

Re: MTA Rejection Explanation Needed

2008-07-28 Thread Sahil Tandon
Rich Shepard <[EMAIL PROTECTED]> wrote: > On Mon, 28 Jul 2008, Charles Marcus wrote: [...] >> Are you doing SAV (Sender Address Verification)? You should NOT use SAV >> for general mail reception, you should only do SAV probes for sending >> domains you control and/or have gotten explicit perm

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Ville Walveranta
On Mon, Jul 28, 2008 at 4:55 PM, Robert Spencer <[EMAIL PROTECTED]> wrote: > Can't they add "X-Spam: yes"? For a paid service they're offering you > remarkably little options. I'm requesting that change as it would positively identify the spam messages. They generally seem to buffer the spam on th

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Ville Walveranta
On Mon, Jul 28, 2008 at 3:08 PM, mouss <[EMAIL PROTECTED]> wrote: > you're removing the blank line. always be careful with "last". No, the first pass was just to collect information (i.e. whether the "**SPAM**" exists on the Subject line). It didn't remove the blank line in the end of the header.

Re: MTA Rejection Explanation Needed

2008-07-28 Thread Rich Shepard
On Mon, 28 Jul 2008, Charles Marcus wrote: Post output of postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/major-aliases body_checks = regexp:/etc/postfix/body_checks command_directory = /usr/sbin/ config_directory = /etc/postfix daemon_d

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Robert Spencer
On 7/26/08, Ville Walveranta <[EMAIL PROTECTED]> wrote: <...> > The external service tags the spam Subject > lines with **SPAM**, and currently there is no option to change that > to a header tag on their side. I would like to do that locally so that > the Subjects of all of the spam messages in th

postfix/smtpd[39072]:warning: SASL authentication failure: cannot connect to Courier authdaemond: No such file or directory

2008-07-28 Thread Danny Nielsen
Hello. Im having some problem sending mail, i can receive mails but not send. The system is FreeBSD 6.3, im trying to make a mail server with virtual domains, and from ports i have installed the following: postfix-2.4.7,1 courier-authlib-base-0.61.0 courier-authlib-mysql-0.61.0 courier-imap-4.3.

Re: MTA Rejection Explanation Needed

2008-07-28 Thread Charles Marcus
On 7/28/2008 5:03 PM, Rich Shepard wrote: Postfix is rejecting mail from an address that should be allowed in. The mail log tells me: Jul 28 13:11:58 salmo postfix/smtpd[17243]: NOQUEUE: reject: RCPT from wsip-xx-xxx-xx-xx.ph.ph.cox.net[xx.xxx.xx.xxx]: 450 4.1.7 <[EMAIL PROTECTED]>: Sender addre

Re: MTA Rejection Explanation Needed

2008-07-28 Thread Rich Shepard
On Mon, 28 Jul 2008, Rich Shepard wrote: Postfix is rejecting mail from an address that should be allowed in. The mail log tells me: More information. proto=ESMTP helo= I should have written this as 'somedomain.com'. When I try to traceroute to the sending address I get as far as

Re: Sender rewriting

2008-07-28 Thread Daniel Bareiro
On Sunday, 27 July 2008 17:29:41 +0200, mouss wrote: Hi mouss. >> I am trying to configure my home Postfix so that the outgoing mail to >> an external email from a user of my LAN are rewritten to a valid >> account of mail, which would be to me especially useful if I would >> want to send some ty

MTA Rejection Explanation Needed

2008-07-28 Thread Rich Shepard
Postfix is rejecting mail from an address that should be allowed in. The mail log tells me: Jul 28 13:11:58 salmo postfix/smtpd[17243]: NOQUEUE: reject: RCPT from wsip-xx-xxx-xx-xx.ph.ph.cox.net[xx.xxx.xx.xxx]: 450 4.1.7 <[EMAIL PROTECTED]>: Sender address rejected: unverified address: Address

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread mouss
Ville Walveranta wrote: Here's the completed code that includes the "blank line check" -- the body is neither scanned for "Subject: **SPAM**" (saves time and prevents false positives) nor is the substitution string run against the body (so that any occurrences of "Subject: **SPAM**" are not touch

Re: Postfix Bootcamp / School

2008-07-28 Thread mouss
Carlos Williams wrote: On Mon, Jul 28, 2008 at 1:59 PM, mouss <[EMAIL PROTECTED]> wrote: I fail to find this in the archives ;-p and you're where? and you'd pay what? I am in Orlando, FL. Price depends on the length of training. I guess I would like to leave that open to see what that is wo

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Ville Walveranta
Here's the completed code that includes the "blank line check" -- the body is neither scanned for "Subject: **SPAM**" (saves time and prevents false positives) nor is the substitution string run against the body (so that any occurrences of "Subject: **SPAM**" are not touched in the body). If someo

Re: SMTP-AUTH with crypt passwords in SQL backend

2008-07-28 Thread Juan Miscaro
2008/7/28 mouss <[EMAIL PROTECTED]>: > Juan Miscaro wrote: >> >> Hi everybody, >> >> I have STARTTLS, SMTP-AUTH, and SASL running with cleartext passwords >> in a SQL backend for a while now. I am trying to switch over from >> cleartext to crypt in terms of my passwords stored in MySQL. I have >>

Re: SMTP-AUTH with crypt passwords in SQL backend

2008-07-28 Thread Patrick Ben Koetter
* Juan Miscaro <[EMAIL PROTECTED]>: > Hi everybody, > > I have STARTTLS, SMTP-AUTH, and SASL running with cleartext passwords > in a SQL backend for a while now. I am trying to switch over from > cleartext to crypt in terms of my passwords stored in MySQL. I have > things running for IMAP with c

Re: Postfix Bootcamp / School

2008-07-28 Thread Carlos Williams
On Mon, Jul 28, 2008 at 2:10 PM, Daniel L. Miller <[EMAIL PROTECTED]> wrote: > Hmmm...I always wanted to see Florida To be clear, I am fully capable of installing a vanilla Postfix server up and getting it to send and receive email. I am looking for someone who has extensive Postfix understand

Re: blacklist whitelist per domain

2008-07-28 Thread mouss
Furs wrote: Hi everybody. I'm trying to find a solution with postfix that permits a whitelist and blacklist per domain. whitelist/blacklist what? a client IP? a client domain? a helo? a sender ? ... etc. Every domain has to have its own list. no. but a single list should do. I found

Re: Postfix Bootcamp / School

2008-07-28 Thread Carlos Williams
On Mon, Jul 28, 2008 at 1:59 PM, mouss <[EMAIL PROTECTED]> wrote: > and you're where? and you'd pay what? I am in Orlando, FL. Price depends on the length of training. I guess I would like to leave that open to see what that is worth. Ideally we would pay to have a consultant come down to Orlando

Re: SMTP-AUTH with crypt passwords in SQL backend

2008-07-28 Thread mouss
Juan Miscaro wrote: Hi everybody, I have STARTTLS, SMTP-AUTH, and SASL running with cleartext passwords in a SQL backend for a while now. I am trying to switch over from cleartext to crypt in terms of my passwords stored in MySQL. I have things running for IMAP with crypt. For SMTP-AUTH I am

SMTP-AUTH with crypt passwords in SQL backend

2008-07-28 Thread Juan Miscaro
Hi everybody, I have STARTTLS, SMTP-AUTH, and SASL running with cleartext passwords in a SQL backend for a while now. I am trying to switch over from cleartext to crypt in terms of my passwords stored in MySQL. I have things running for IMAP with crypt. For SMTP-AUTH I am using the same SQL tab

Postfix Bootcamp / School

2008-07-28 Thread Carlos Williams
Does anyone know if there is a recommended U.S. school / training camp that offers a Postfix support? I checked the Postfix website and there appears to be some but they're international. My company has training funds & the only thing I would really like to have a better understanding of is Postf

Re: Ordering of received vs. delivered messages

2008-07-28 Thread Wietse Venema
=?ISO-8859-1?Q?J=E9r=F4me_Oufella?=: > I have a question regarding the queue handling methods in Postfix. > > Is there a way to guarantee that messages that come in through the > smtpd(8) server, will be delivered to local mailboxes in the exact > same order by the local(8) delivery agent ? There

Re: Ordering of received vs. delivered messages

2008-07-28 Thread Victor Duchovni
On Mon, Jul 28, 2008 at 11:51:20AM -0400, J?r?me Oufella wrote: > I have a question regarding the queue handling methods in Postfix. > > Is there a way to guarantee that messages that come in through the > smtpd(8) server, will be delivered to local mailboxes in the exact > same order by the loca

Re: blacklist whitelist per domain

2008-07-28 Thread Brian Evans - Postfix List
Furs wrote: Hi everybody. I'm trying to find a solution with postfix that permits a whitelist and blacklist per domain. Every domain has to have its own list. I found header checks it's a possible solution. but, there is another one? Can I use "sender/recipient" access where I can put with "r

Ordering of received vs. delivered messages

2008-07-28 Thread Jérôme Oufella
I have a question regarding the queue handling methods in Postfix. Is there a way to guarantee that messages that come in through the smtpd(8) server, will be delivered to local mailboxes in the exact same order by the local(8) delivery agent ? Under normal, but also non-normal times, heavy incomi

Re: Expiration log messages

2008-07-28 Thread Victor Duchovni
On Sun, Jul 27, 2008 at 09:32:34PM -0400, [EMAIL PROTECTED] wrote: > What log message should I look for when a message has been deferred > and Postfix has decided it is undeliverable? (I'm parsing the log and > need to know how to distinguish this from an actual bounce.) Will the > log conta

Re: Expiration log messages

2008-07-28 Thread Wietse Venema
[EMAIL PROTECTED]: > What log message should I look for when a message has been deferred > and Postfix has decided it is undeliverable? (I'm parsing the log and > need to know how to distinguish this from an actual bounce.) Will the > log contain a 5xx message for that mail? Look at the "sta

Re: LD_PRELOAD + Postfix problems

2008-07-28 Thread Wietse Venema
[EMAIL PROTECTED]: > > > - Understand that Postfix refuses [EMAIL PROTECTED]:port as an email > > destination. > > > > Wietse > > > > Ok Wietse, thanks for the info... Do you know if there's any GPL mail > server accepting [EMAIL PROTECTED]:port as an email destination? That would be a sec

Re: blacklist whitelist per domain

2008-07-28 Thread Robert Felber
On Mon, Jul 28, 2008 at 11:52:52AM +0200, Furs wrote: > > Hi everybody. > > I'm trying to find a solution with postfix that permits > a whitelist and blacklist per domain. You may want to use restriction classes[1] or, more sophisticated, a policy server. You can write your own policy server[2]

Re: Rewriting Subject line, adding an X-header?

2008-07-28 Thread Ville Walveranta
As discussed in "Header check and script" thread, I modified the yammer sub in Client.pm (yes, I'm sure it's not very pretty; my Perl skills are very rusty.. but it seems to work). It doesn't yet check for the end of the header (i.e. for a blank line) to prevent replacement in the body as well, but

blacklist whitelist per domain

2008-07-28 Thread Furs
Hi everybody. I'm trying to find a solution with postfix that permits a whitelist and blacklist per domain. Every domain has to have its own list. I found header checks it's a possible solution. but, there is another one? Can I use "sender/recipient" access where I can put with "regexp" or "pc

Re: LD_PRELOAD + Postfix problems

2008-07-28 Thread infaga03
> - Understand that Postfix refuses [EMAIL PROTECTED]:port as an email > destination. > > Wietse > Ok Wietse, thanks for the info... Do you know if there's any GPL mail server accepting [EMAIL PROTECTED]:port as an email destination? Thanks Antonio

Re: dovecot.sieve file location?

2008-07-28 Thread mouss
kbajwa wrote: CentOS 5.2 Postfix-2.3.3 Dovecot-1.1.1 Dovecot.Sieve-1.1.5 I have setup with: home_mailbox = Maildir/ (/etc/postfix/main.cf) & mail-location = maildir:~/Maildir (/etc/dovecot.conf) I have created a 'test' user to test Sieve 'Vacation' setup. My questions are: 1. Which folder

Re: Wildcard for domain instead of user?

2008-07-28 Thread mouss
Jeff Weinberger wrote: I don't know if this is possible in a virtual alias (or even virtual) set up, but I would like to be able to set up a user name with a wildcard domain. Here's what I mean: I host several domains. I would like the address '[EMAIL PROTECTED]' to go to the same place (me).

Re: Content filtering using MySQL table

2008-07-28 Thread mouss
Jeff Weinberger wrote: Hi: I"m using content filtering by using the following (this is the example) syntax in master.cf: smtp inet ...other stuff here, do not change... smtpd -o content_filter=myfilter:myfilter myfilter unix - n n - 10 pipe