Mail Undeliverable error with Postfix

2009-01-31 Thread jan gestre
Hi guys, I have several mail servers running postfix 2.4/2.5 with postfixadmin and mysql as backend and dovecot for imap/pop3. I can access the inbox from outside the office using Outlook/Thunderbird but whenever I tried to send an outside email even to an internal user I always get a "Mail Undeliv

Re: After queue filter - avoid filtering forwarded mail with dspam

2009-01-31 Thread Marcin Rzepecki
Sat, Jan 31, 2009 at 07:23:35PM +0100, mouss wrote: > > now try sending a message to user1 and user2, where user1 and user2 are > configured differently, and you'll see that the message is either > filtered (for both) or not filtered (for both). you can't use this > method to filter mail fro user1

Re: Timing question

2009-01-31 Thread Victor Duchovni
On Sat, Jan 31, 2009 at 11:45:54PM +0100, Rocco Scappatura wrote: > Wietse, > > >> >> Could you explain - in the same terms - how is quantified the time > >> >> before > >> >> a message is passed to the queue manager, after it is processed by > >> the > >> >> content filter? > >> > > >> > The tim

Re: pre-queue mode libmilter status and performances.

2009-01-31 Thread Wietse Venema
David Touzeau: > It see that the milter integration is not really close, some features > missing eg > "In particular, all recipient rejections information aren't sent to the > milter, as does sendmail"; What is the source of this information? Wieste

pre-queue mode libmilter status and performances.

2009-01-31 Thread David Touzeau
Dear I would like to know what is the milter integration status and support. Since i integrate Postfix into big companies and some ISPs there is an important point. Adding a filter with libmilter support increase significantly postfix performances with the associated plugin. I will not discuss

Re: check_client_access

2009-01-31 Thread Rocco Scappatura
Thanks, >> In smtpd_recipient_restrictions I put as first line: >> >> check_sender_access >> proxy:mysql:/etc/postfix/mysql-check-sender-access.cf >> >> The check looks up the database for an address or a domain ad returns an >> action (OK, REJECT, and so on). > > This sounds bad; you should

Re: Timing question

2009-01-31 Thread Rocco Scappatura
Wietse, >> >> Could you explain - in the same terms - how is quantified the time >> >> before >> >> a message is passed to the queue manager, after it is processed by >> the >> >> content filter? >> > >> > The time to deliver is measured as the time between MAIL FROM and >> > "end-of-data". >> >>

Re: check_client_access

2009-01-31 Thread Sahil Tandon
On Sat, 31 Jan 2009, Rocco Scappatura wrote: > In smtpd_recipient_restrictions I put as first line: > > check_sender_access proxy:mysql:/etc/postfix/mysql-check-sender-access.cf > > The check looks up the database for an address or a domain ad returns an > action (OK, REJECT, and so on). Th

Re: Timing question

2009-01-31 Thread Wietse Venema
Rocco Scappatura: > >> So.. raising "maxprocs" value for the contet filter could not reduce > >> delay > >> "d" in 1) anyway.. Right? To raise "maxprocs" value for the contet > >> filter > >> helps only when is the active queue congested.. I think.. > > > > That depends on how much of that time the

Re: Timing question

2009-01-31 Thread Rocco Scappatura
>> >> >> For example consider the log relative to the relay entries (to the >> >> >> cntent >> >> >> filer and to postfix without conten filter): >> >> >> >> >> >> 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: >> >> >> to=, relay=127.0.0.1[127.0.0.1]:10026, >> >> delay=8.9, >> >> >> dela

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 10:29:35 Wietse Venema wrote: > Well, that is just too bad. Postfix does not have to solve every > problem that happens in a down-stream MTA. We live in a free world, > and the market is always right. Agreed. Which is why I informed if it's possible using standard conf

Re: Recipient verification from post-office in down stream issue

2009-01-31 Thread Wietse Venema
Rocco Scappatura: > Jan 31 19:52:52 av5 postfix/smtpd[6764]: NOQUEUE: reject: RCPT from > unknown[89.105.251.144]: 450 4.1.1 : Recipient > address rejected: undeliverable address: host 10.30.32.7[10.30.32.7] said: > 550 gsin...@recipient.tld... No such user (in reply to RCPT TO command); > from= to

Re: Timing question

2009-01-31 Thread Wietse Venema
Rocco Scappatura: > Thanks Wietse and Victor, > > >> >> For example consider the log relative to the relay entries (to the > >> >> cntent > >> >> filer and to postfix without conten filter): > >> >> > >> >> 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: > >> >> to=, relay=127.0.0.1[127.0

check_client_access

2009-01-31 Thread Rocco Scappatura
In smtpd_recipient_restrictions I put as first line: check_sender_access proxy:mysql:/etc/postfix/mysql-check-sender-access.cf The check looks up the database for an address or a domain ad returns an action (OK, REJECT, and so on). Last day my server receives a lot of messages for an email

Recipient verification from post-office in down stream issue

2009-01-31 Thread Rocco Scappatura
Hello, My postfix server i configured to reject unverified server for a domain "recipient.tld". The record MX for this domain points to my server. When my MTA receive messages for "recipient.tld", then the messages are forwarded to the server with IP 10.30.32.7. In main.cf I have. smtpd_recipien

Re: Timing question

2009-01-31 Thread Rocco Scappatura
Thanks Wietse and Victor, >> >> For example consider the log relative to the relay entries (to the >> >> cntent >> >> filer and to postfix without conten filter): >> >> >> >> 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: >> >> to=, relay=127.0.0.1[127.0.0.1]:10026, >> delay=8.9, >> >

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Wietse Venema
Melvyn Sopacua: > On Saturday 31 January 2009 09:45:16 Wietse Venema wrote: > > Melvyn Sopacua: > > > On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: > > > > Melvyn Sopacua: > > > > > The problem is that postfix will see "success" initially: > > > > > > > > > > - client sends > > > > > -

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 09:22:28 Terry Carmen wrote: > Melvyn Sopacua wrote: > > On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: > >> Melvyn Sopacua: > >>> The problem is that postfix will see "success" initially: > >>> > >>> - client sends > >>> - postfix receives > >>> - postfix rel

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 09:45:16 Wietse Venema wrote: > Melvyn Sopacua: > > On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: > > > Melvyn Sopacua: > > > > The problem is that postfix will see "success" initially: > > > > > > > > - client sends > > > > - postfix receives > > > > - postf

Re: Re: Postfix first configuration - directories pb

2009-01-31 Thread max...@free.fr
I'll do this. Thank you sir max...@free.fr a écrit : > Hi Mouss, > > Thanks for your answer. After reading your post, i removed the 2 > following directories : > /home/my-main-domain.fr/contact/ owned by www-data > /home/example.com/contact/ owned by www-data > > and make > > "touch /h

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Wietse Venema
Melvyn Sopacua: > On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: > > Melvyn Sopacua: > > > The problem is that postfix will see "success" initially: > > > > > > - client sends > > > - postfix receives > > > - postfix relays, gets OK > > > > postfix deletes queued message > > > - exch

Re: After queue filter - avoid filtering forwarded mail with dspam

2009-01-31 Thread mouss
Marcin Rzepecki a écrit : > Hello again, > I've played a little with various combinations and I've found following > solution, > but it's pretty complicated, I think :) > > I'm launching filter through smtpd_recipient_restrictions: > smtpd_recipient_restrictions = > permit_sasl_authentic

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Terry Carmen
Melvyn Sopacua wrote: On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: Melvyn Sopacua: The problem is that postfix will see "success" initially: - client sends - postfix receives - postfix relays, gets OK > postfix deletes queued message - exchange checks quota, decides

Re: Postfix first configuration - directories pb

2009-01-31 Thread mouss
max...@free.fr a écrit : > Hi Mouss, > > Thanks for your answer. After reading your post, i removed the 2 > following directories : > /home/my-main-domain.fr/contact/ owned by www-data > /home/example.com/contact/ owned by www-data > > and make > > "touch /home/my-main-domain.fr/contact

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 08:03:17 Wietse Venema wrote: > Melvyn Sopacua: > > The problem is that postfix will see "success" initially: > > > > - client sends > > - postfix receives > > - postfix relays, gets OK > > > postfix deletes queued message > > - exchange checks quota, decides mailbox

Re: newbie - cannot open file and homeDir owned by wrong user

2009-01-31 Thread Wietse Venema
max...@free.fr: > Hi Victor, > > All mail going to virtual mailboxes seems to go to their destination excepts > for tmy-main-domain.com (when i do postqueue -f ) > > I get this error : > Jan 31 18:18:51 stock postfix/local[2203]: F011A80B6D: > to=, relay=local, delay=278059, > delays=278057/2/

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 08:21:56 Sahil Tandon wrote: > On Sat, 31 Jan 2009, Melvyn Sopacua wrote: > > @example.comlocalmailbox, |logthis, relay:[mx2.example.com] > > Hm, and where is this access map syntax documented? No where, it's pseudo code to explain what my 'backup' service woul

Re: newbie - cannot open file and homeDir owned by wrong user

2009-01-31 Thread max...@free.fr
Hi Victor, All mail going to virtual mailboxes seems to go to their destination excepts for tmy-main-domain.com (when i do postqueue -f ) I get this error : Jan 31 18:18:51 stock postfix/local[2203]: F011A80B6D: to=, relay=local, delay=278059, delays=278057/2/0/0.01, dsn=4.3.0, status=deferred

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Sahil Tandon
On Sat, 31 Jan 2009, Melvyn Sopacua wrote: > On Friday 30 January 2009 21:12:30 Victor Duchovni wrote: > > On Fri, Jan 30, 2009 at 08:42:22PM -0900, Melvyn Sopacua wrote: > > > 1) Accept mail for example.com as primary MX (yes, possible) > > > 2) Relay to mx2.example.com (yes, possible) > > > 3) I

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Wietse Venema
Melvyn Sopacua: > The problem is that postfix will see "success" initially: > > - client sends > - postfix receives > - postfix relays, gets OK > > postfix deletes queued message > - exchange checks quota, decides mailbox is full > - exchange sends DSN to client Use reject_unverified_recipien

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
On Saturday 31 January 2009 06:49:28 Terry Carmen wrote: > Melvyn Sopacua wrote: > > The reason is that a client has unsolved ongoing configuration issues > > with their Exchange server and can no longer afford to loose mail because > > of it. The Exchange server is not my problem(tm). > > > > . .

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Melvyn Sopacua
Hi Victor, On Friday 30 January 2009 21:12:30 Victor Duchovni wrote: > On Fri, Jan 30, 2009 at 08:42:22PM -0900, Melvyn Sopacua wrote: > > 1) Accept mail for example.com as primary MX (yes, possible) > > 2) Relay to mx2.example.com (yes, possible) > > 3) If mx2.example.com gives fatal error, reduc

Re: newbie - cannot open file and homeDir owned by wrong user

2009-01-31 Thread Victor Duchovni
On Sat, Jan 31, 2009 at 01:31:12PM +0100, max...@free.fr wrote: > Hello, > > I get trouble with postfix installation for a web server that host multiple > domains. > I followed some tutorials found on the web but i still get the 2 following > error : > XXX stands for a domain that is hosted on

Re: Re: Postfix first configuration - directories pb

2009-01-31 Thread max...@free.fr
Hi Mouss, Thanks for your answer. After reading your post, i removed the 2 following directories : /home/my-main-domain.fr/contact/ owned by www-data /home/example.com/contact/ owned by www-data and make "touch /home/my-main-domain.fr/contact" owned by www-data "touch /home/example.com/co

Re: Mail backup for malfunctioning MTA

2009-01-31 Thread Terry Carmen
Melvyn Sopacua wrote: The reason is that a client has unsolved ongoing configuration issues with their Exchange server and can no longer afford to loose mail because of it. The Exchange server is not my problem(tm). . . . 4) Magically catch the accepted mail that bounces after completed tra

Re: Limiting mail relay only to users who have an account on the system

2009-01-31 Thread Siju George
On Sat, Jan 31, 2009 at 2:09 PM, Magnus Bäck wrote: > > On Saturday, January 31, 2009 at 09:28 CET, > Siju George wrote: > > > How will I limit mail relay so that only users who have an account on > > the system can use it to send mails. > > http://www.postfix.org/SASL_README.html > Thank yo

Re: After queue filter - avoid filtering forwarded mail with dspam

2009-01-31 Thread Marcin Rzepecki
Wed, Jan 21, 2009 at 07:59:46PM +0100, mouss wrote: > > All is working as I want. But some of my users needs to be forwarded > > to other machine (running postfix+dspam to) to avoid NFS mount, so I would > > like to filter their mail only on destination machine. Filter is > > triggered depend on c

Re: Limit no of messages per relayhost

2009-01-31 Thread Wietse Venema
Jack Knowlton: > Hi all. > I have an postfix installation configured to use my ISP's server as > relayhost. > I don't want to put too much load on it (and get blacklisted) so I'd like > to limit the number of messages sent per minute. > I found previous posts on how to do that per destination domai

Re: Postfix first configuration - directories pb

2009-01-31 Thread mouss
max...@free.fr a écrit : > Hello, > > It's about 2 weeks that i get trouble with postfix installation on a > web server that hosts multiple domains. > I followed some tutorials found on the web but i still get the > 2 following errors : > > Jan 31 13:10:11 stock postfix/local[16723]: BE20F80B05

Postfix first configuration - directories pb

2009-01-31 Thread max...@free.fr
Hello, It's about 2 weeks that i get trouble with postfix installation on a web server that hosts multiple domains. I followed some tutorials found on the web but i still get the 2 following errors : Jan 31 13:10:11 stock postfix/local[16723]: BE20F80B05: to=, relay=local, delay=356316, delay

newbie - cannot open file and homeDir owned by wrong user

2009-01-31 Thread max...@free.fr
Hello, I get trouble with postfix installation for a web server that host multiple domains. I followed some tutorials found on the web but i still get the 2 following error : XXX stands for a domain that is hosted on the web server. Jan 31 13:10:10 stock postfix/virtual[16721]: 2621480B34: t

Limit no of messages per relayhost

2009-01-31 Thread Jack Knowlton
Hi all. I have an postfix installation configured to use my ISP's server as relayhost. I don't want to put too much load on it (and get blacklisted) so I'd like to limit the number of messages sent per minute. I found previous posts on how to do that per destination domain - but how about the relay

Re: Limiting mail relay only to users who have an account on the system

2009-01-31 Thread Magnus Bäck
On Saturday, January 31, 2009 at 09:28 CET, Siju George wrote: > I have configured Postfix on my system to accept mails for my users. > Now I want to configure Postfix to so that users can send mails using > the server. > But I donot want to open the server so that anyone can connect and > s

Re: Email delivered to wrong person.

2009-01-31 Thread Magnus Bäck
On Friday, January 30, 2009 at 20:50 CET, mouss wrote: > David Schraeder a écrit : > > > How do you view the message envelope then? > > a copy was made by postfix in the headers: > > Return-Path: > Delivered-To: sco...@russellhospital.org > > but as Magnus said, the definitive reference

Limiting mail relay only to users who have an account on the system

2009-01-31 Thread Siju George
Hi, I have configured Postfix on my system to accept mails for my users. Now I want to configure Postfix to so that users can send mails using the server. But I donot want to open the server so that anyone can connect and send mail. How will I limit mail relay so that only users who have an accoun