Re: Avoiding "Domain not found" errors

2012-02-07 Thread N. Yaakov Ziskind
DN Singh wrote (on Wed, Feb 08, 2012 at 10:50:50AM +0530): > The setting can be changed in the parameter "smtpd_sender_restrictions" > reject_unknown_sender_domain, if it is necessary. That would let in *all* mail from nonexistent domains, which I was hoping to avoid. > Postfix looks up the the d

Re: Avoiding "Domain not found" errors

2012-02-07 Thread DN Singh
The setting can be changed in the parameter "smtpd_sender_restrictions" reject_unknown_sender_domain, if it is necessary. Postfix looks up the the domain, and if it does not find any info, it rejects the mail. Anyways, the domain in the mail is indeed non-existent. On Wed, Feb 8, 2012 at 9:45 AM,

Avoiding "Domain not found" errors

2012-02-07 Thread N. Yaakov Ziskind
A particular mailer, slightly broken, cannot send mail to a postfix (2.7.0) box: Feb 5 08:51:16 pizza postfix/smtpd[30453]: NOQUEUE: reject: RCPT from chocolate .egps.com[38.119.130.7]: 450 4.1.8 : Sender address rejected: i Domain not found; from= to= proto=ESMTP helo= Where the sample@domain

Re: Transport: Multiple routes to internal domain

2012-02-07 Thread Greg Wilson
Lorens, Thank you for the detailed reply. I'm interested to hear that some of the DNS smarts reside in postfix itself. As I had no luck with multiple records in the /etc/hosts file, I've gone to the DNS option and setup multiple A records for exchange.xxx.local, using that name in the Postfix's

keeping local copy of mail

2012-02-07 Thread Lorenzo Bernardi
Dear list, sorry if this is a newbie question but I didn't find the answer by myself and googling a lot. the background: I'm migrating from an old postfix server (2.3.8-2+etch1) to a zimbra server. I have configured zimbra to be the mail server of the SAME domain of the postfix server but

Re: Postfix installation problem...

2012-02-07 Thread Wietse Venema
Mr fix: > We have created an rpm by applying custom patch to Postfix 2.8.7, > after the installation "postfix check" gives the following error. > > postfix: fatal: /usr/libexec/postfix/postfix-script: No such file or directory The postfix command runs with super-user privileges. If it can't execut

Postfix installation problem...

2012-02-07 Thread Mr fix
We have created an rpm by applying custom patch to Postfix 2.8.7, after the installation "postfix check" gives the following error. postfix: fatal: /usr/libexec/postfix/postfix-script: No such file or directory After reading i'm coming to conclusion that it might be a permissions issue, haven't

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Reindl Harald
Am 07.02.2012 22:43, schrieb Andre Lopes: > Hi all, > > Thanks for the replies, > > I'm using this tutorial for sasl configuration, > http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=2 > > There is something wrong here? Better... there is something missing here? > Best Regards do not

RE: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Dudi Goldenberg
Hi Andre, >I'm using this tutorial for sasl configuration, >http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=2 > >There is something wrong here? Better... there is something missing here? I have no idea, and I do not intend to check, there are too many howtos out there. Did you try Rei

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Hi all, Thanks for the replies, I'm using this tutorial for sasl configuration, http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=2 There is something wrong here? Better... there is something missing here? Best Regards, On Tue, Feb 7, 2012 at 9:30 PM, Dudi Goldenberg wrote: > Hi And

RE: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Dudi Goldenberg
Hi Andre, >Feb 7 21:13:31 localhost postfix/smtpd[25108]: connect from >unknown[192.168.59.1] >Feb 7 21:13:31 localhost postfix/smtpd[25108]: warning: SASL: Connect to >private/auth failed: Permission denied >Feb 7 21:13:31 localhost postfix/smtpd[25108]: fatal: no SASL authentication >mecha

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Reindl Harald
your dovecot configuration is wrong "private/auth failed: Permission denied" states it clearly # configure backend for postfix sasl-auth service auth { unix_listener /var/spool/postfix/private/auth { mode = 0660 user = postfix group

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Thanks for the reply Dudi, It sovle the connection problem to the port 25, but I'm not able to send e-mails, here is the error: [code] Feb 7 21:13:31 localhost postfix/smtpd[25108]: connect from unknown[192.168.59.1] Feb 7 21:13:31 localhost postfix/smtpd[25108]: warning: SASL: Connect to priva

RE: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Dudi Goldenberg
Hi Andre, >The 192.168.59.246 is not listen on port 25. How can I listen on port >25 with 192.168.59.246? Look for inet_interfaces in main.cf and set it to 'inet_interfaces = all', make sure that you search all of main.cf and verify that you only have one inet_interfaces line there. Another te

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Thanks for the reply, Here is my netstat, [code] [root@localhost ~]# netstat -napt Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp0 0 0.0.0.0:110

RE: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Dudi Goldenberg
Hi Andre, >Hi Dudi, > >Thanks for the reply. It shoes "lo", but I have hide it in the e-mail. >Some clues on what can I test to see what is blocking the port 25? Did you try 'netstat -napt' to verify that the machine is indeed listening on port 25? If not - then the logs are your next place to

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Hi Dudi, Thanks for the reply. It shoes "lo", but I have hide it in the e-mail. Some clues on what can I test to see what is blocking the port 25? Best Regards, On Tue, Feb 7, 2012 at 8:41 PM, Dudi Goldenberg wrote: >>[root@localhost andrelopes]# ifconfig >>eth0      Link encap:Ethernet  HWaddr

RE: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Dudi Goldenberg
>[root@localhost andrelopes]# ifconfig >eth0 Link encap:Ethernet HWaddr 00:0C:29:6B:43:E2 > inet addr:192.168.59.246 Bcast:192.168.59.255 Mask:255.255.255.0 > inet6 addr: fe80::20c:29ff:fe6b:43e2/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Thank you for the reply. I have configured my IPTABLES in several ways but I can't telnet to eth0, here is my iptables rules: [code] # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0]

Re: Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Nick Bright
On 2/7/2012 1:58 PM, Andre Lopes wrote: Hi all, I have installed and configured Postfix and Dovecot in CentOS6, I have followed this tutorials: Postfix, http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=1 Dovecot, http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=2 What can I

Installing Postfix and Dovecot on CentOS6

2012-02-07 Thread Andre Lopes
Hi all, I have installed and configured Postfix and Dovecot in CentOS6, I have followed this tutorials: Postfix, http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=1 Dovecot, http://www.server-world.info/en/note?os=CentOS_6&p=mail&f=2 Dovecot is running, I can send an e-mail to an user an

Re: [thelounge] thank you for postfix!

2012-02-07 Thread Stoyan Stoyanov
I want to join to the 'THANK YOU' campaign too. Postfix is the best MTA ever!!! On Feb 5, 2012, at 4:42 AM, Reindl Harald wrote: Dear Venema i would like to thank you for postfix, the best MTA in my opinion i am happy and think you can't hear this often enough for provide such a great softwa

Re: selecting outbound IP

2012-02-07 Thread Joe Wong
Thanks Reindl. On Tue, Feb 7, 2012 at 10:33 PM, Reindl Harald wrote: > http://www.postfix.org/MULTI_INSTANCE_README.html > but never used because no need > > "smtp_bind_address" is here only in use to make sure > that outgoing mail is using the ip matching SPF > > Am 07.02.2012 15:19, schrieb Joe

Re: Disallow user to send external mails

2012-02-07 Thread Denis Witt
Hi Nikolaos, thanks a lot. -- Best regards, Denis Witt

Re: selecting outbound IP

2012-02-07 Thread Reindl Harald
http://www.postfix.org/MULTI_INSTANCE_README.html but never used because no need "smtp_bind_address" is here only in use to make sure that outgoing mail is using the ip matching SPF Am 07.02.2012 15:19, schrieb Joe Wong: > Thanks for the reference. How could this be used with some condition? > I

Re: Transport: Multiple routes to internal domain

2012-02-07 Thread Jose Ildefonso Camargo Tolosa
On Tue, Feb 7, 2012 at 9:03 AM, Wietse Venema wrote: > Greg Wilson: >> One attempt >> was to make 2 entries with the same host name in /etc/hosts >> >> e.g >> 10.222.100.1 exchange.mydomain.local exchange >> 10.333.200.2 >> exchange.mydomain.local exchange >> >> Then changed the transport map >> t

Re: selecting outbound IP

2012-02-07 Thread Joe Wong
Thanks for the reference. How could this be used with some condition? I am looking for binding sender domain A with IP 1 and domain B go through IP 2, go to IP3 otherwise. - Joe On Tue, Feb 7, 2012 at 8:00 PM, Wietse Venema wrote: > Reindl Harald: >> Am 07.02.2012 09:53, schrieb Joe Wong: >> > H

Re: Reject mail sent from SMTP commands

2012-02-07 Thread /dev/rob0
On Tue, Feb 07, 2012 at 07:53:11AM -0600, I wrote: > On Tue, Feb 07, 2012 at 01:38:19PM +, Rachid Abdelkhalak > wrote: > > It is possible to tell to postfix to stop accept sending > > mails from SMTP commands executed from a telnet server 25 ? > > > > Even if the mails are sent from or to rela

Re: Reject mail sent from SMTP commands

2012-02-07 Thread Noel Jones
On 2/7/2012 7:38 AM, Rachid Abdelkhalak wrote: > > Hello Postfix users, > > It is possible to tell to postfix to stop accept sending mails from > SMTP commands executed from a telnet server 25 ? No, it's not possible[1], and not desirable. But I really would like to know why you ask. Did you r

Re: Reject mail sent from SMTP commands

2012-02-07 Thread /dev/rob0
On Tue, Feb 07, 2012 at 01:38:19PM +, Rachid Abdelkhalak wrote: > It is possible to tell to postfix to stop accept sending mails > from SMTP commands executed from a telnet server 25 ? > > Even if the mails are sent from or to relayed domain !! What is the goal? If the goal is merely to disti

Re: Disallow user to send external mails

2012-02-07 Thread /dev/rob0
On Tue, Feb 07, 2012 at 02:57:08PM +0200, Nikolaos Milas wrote: > On 7/2/2012 2:47 μμ, Denis Witt wrote: > > > >I wonder if there is an easy solution to disallow a specific > >sender (From-Header) to send e-mails to non $mydestination > >addresses. > > > >Thanks in advance for any hint. While Ni

Re: Reject mail sent from SMTP commands

2012-02-07 Thread Ralf Hildebrandt
* Rachid Abdelkhalak : > > Hello Postfix users, > > It is possible to tell to postfix to stop accept sending mails from > SMTP commands executed from a telnet server 25 ? Yes, simply comment out the "smtp ... smtpd" line in master.cf and restart postfix. -- Ralf Hildebrandt Geschäftsbereich

RE: Transport: Multiple routes to internal domain

2012-02-07 Thread James Day
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: 07 February 2012 13:33 To: Greg Wilson Cc: Postfix users Subject: Re: Transport: Multiple routes to internal domain Greg Wilson: > One attempt > was to make 2

Reject mail sent from SMTP commands

2012-02-07 Thread Rachid Abdelkhalak
Hello Postfix users, It is possible to tell to postfix to stop accept sending mails from SMTP commands executed from a telnet server 25 ? Even if the mails are sent from or to relayed domain !! Thank you

Re: Transport: Multiple routes to internal domain

2012-02-07 Thread Wietse Venema
Greg Wilson: > One attempt > was to make 2 entries with the same host name in /etc/hosts > > e.g > 10.222.100.1 exchange.mydomain.local exchange > 10.333.200.2 > exchange.mydomain.local exchange > > Then changed the transport map > to > > mydomain.local smtp:[exchange.mydomain.local] > > My > i

Re: Transport: Multiple routes to internal domain

2012-02-07 Thread /dev/rob0
On Tue, Feb 07, 2012 at 04:32:14PM +1100, Greg Wilson wrote: > I've been testing Postifx for some solutions... > > One attempt was to make 2 entries with the same host name > in /etc/hosts > > e.g > 10.222.100.1 exchange.mydomain.local exchange > 10.333.200.2 exchange.mydomain.local exchange

Re: Disallow user to send external mails

2012-02-07 Thread Nikolaos Milas
On 7/2/2012 2:47 μμ, Denis Witt wrote: Hi, I wonder if there is an easy solution to disallow a specific sender (From-Header) to send e-mails to non $mydestination addresses. Thanks in advance for any hint. Check smtpd_sender_restrictions and/or smtpd_client_restrictions, as well as restr

Disallow user to send external mails

2012-02-07 Thread Denis Witt
Hi, I wonder if there is an easy solution to disallow a specific sender (From-Header) to send e-mails to non $mydestination addresses. Thanks in advance for any hint. -- Best regards, Denis Witt

Re: selecting outbound IP

2012-02-07 Thread Wietse Venema
Reindl Harald: > Am 07.02.2012 09:53, schrieb Joe Wong: > > Hello, > > > > Say my MTA has multiple IP addresses on it. Is there a way to > > configure Postfix (outbound) to use IP 1 when matching condition A and > > IP2 if matching condition B and IP3 and none of the conditions are > > matched? >

Re: selecting outbound IP

2012-02-07 Thread Reindl Harald
Am 07.02.2012 09:53, schrieb Joe Wong: > Hello, > > Say my MTA has multiple IP addresses on it. Is there a way to > configure Postfix (outbound) to use IP 1 when matching condition A and > IP2 if matching condition B and IP3 and none of the conditions are > matched? you can define "smtp_bind_a

selecting outbound IP

2012-02-07 Thread Joe Wong
Hello, Say my MTA has multiple IP addresses on it. Is there a way to configure Postfix (outbound) to use IP 1 when matching condition A and IP2 if matching condition B and IP3 and none of the conditions are matched? Thanks, - joe

Re: Transport: Multiple routes to internal domain

2012-02-07 Thread Andreas Berton
On Tue, 7 Feb 2012, Lorens Kockum wrote: On Tue, Feb 07, 2012 at 11:42:37AM +1100, Greg Wilson wrote: I use this technique, DNS round robin to evenly spread rdp connections to our terminal servers. My understanding is that a device does a DNS lookup and the server hands out each different IP