getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Christopher Adams
Hello all, I had Postfix 2.3 installed on CentOS 5.5. I had Postfix running, but wasn't able to send mail through it. I recompiled and upgraded to 2.8.2. I have verified that Postfix is running, port 25 is open, and I have net connectivity. However, I can't send mail. root 4551 0.0 0.2

mail server are relayed ?

2011-05-04 Thread WeiHua.Deng
Hi Everybody, i find a abnormal log in maillog file for postfix. a user can send email , non ip address and non from username present in the log. how can i reslove that ? [root@mail ~]# less /var/log/maillog |grep 608D536DA9C |more May 3 18:10:57 mail postfix/pickup[23046]: 608D536DA9C:

Re: mail server are relayed ?

2011-05-04 Thread Reindl Harald
Am 04.05.2011 08:52, schrieb WeiHua.Deng: Hi Everybody, i find a abnormal log in maillog file for postfix. a user can send email , non ip address and non from username present in the log. how can i reslove that ? [root@mail ~]# less /var/log/maillog | grep 608D536DA9C |more May 3

Re: security vulnerability : SMTP daemon supports EHLO

2011-05-04 Thread Ralf Hildebrandt
* Roger Goh gpro...@gmail.com: Hi, During a VA scan, it's reported that my postfix server has a security vulnerability : EhloCheck: SMTP daemon supports EHLO That is NOT a vulnerability. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin

Re: mail server are relayed ?

2011-05-04 Thread lst_hoe02
Zitat von WeiHua.Deng den...@bestcheer.com: Hi Everybody, i find a abnormal log in maillog file for postfix. a user can send email , non ip address and non from username present in the log. how can i reslove that ? [root@mail ~]# less /var/log/maillog |grep 608D536DA9C |more May 3

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread lst_hoe02
Zitat von Christopher Adams adam...@gmail.com: Hello all, I had Postfix 2.3 installed on CentOS 5.5. I had Postfix running, but wasn't able to send mail through it. I recompiled and upgraded to 2.8.2. I have verified that Postfix is running, port 25 is open, and I have net connectivity.

Simple SASL for postfix as a client

2011-05-04 Thread Jack Raats
At this moment I'm using Postfix 2.8.2 together with dovecot 1.2.16. Dovecot is being used as a POP3 and IMAP server, but also for the authentication for clients connecting to postfix. Is there a simple programm I can use thogether with postfix and dovecot, which allows postfix to authenticate

Re: Simple SASL for postfix as a client

2011-05-04 Thread Martin Schütte
On 05/04/11 11:13, Jack Raats wrote: Is there a simple programm I can use thogether with postfix and dovecot, which allows postfix to authenticate as a client to anothe SMTP server. You probably do not need another program. Make sure Postfix is compiled with SASL and use

Re: Simple SASL for postfix as a client

2011-05-04 Thread lst_hoe02
Zitat von Martin Schütte li...@mschuette.name: On 05/04/11 11:13, Jack Raats wrote: Is there a simple programm I can use thogether with postfix and dovecot, which allows postfix to authenticate as a client to anothe SMTP server. You probably do not need another program. Make sure Postfix is

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Noel Jones
On 5/4/2011 1:50 AM, Christopher Adams wrote: I have checked some of the troubleshooting tips mentioned in the docs and see that the accepted protocol is to generate data from postconf -d. This is wrong. We don't care about postconf -d, but we are very interested in postconf -n output.

Re: Hildebrandt/Koetter book ch. 16 testsaslauthd -p -u works but Mechanism vs. Method does not work

2011-05-04 Thread Wietse Venema
da...@davidwbrown.name: Hello, recently I purchased the Hildebrandt/Koetter book: Postfix. I read through chapter 16 minus the dialup material. SASL by inspection is great but Simple it is not. I have tried many combinations of Mechanism vs. Method. Ostensibly this translates to chapters

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Christopher Adams
Okay, I remembered wrong about postconf. Here is posconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 5

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Noel Jones
On 5/4/2011 10:20 AM, Christopher Adams wrote: Okay, I remembered wrong about postconf. Here is posconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory =

Re: SMTP AUTH

2011-05-04 Thread Noel Jones
On 5/4/2011 12:04 PM, punit jain wrote: Hi, How do I ensure that SMTP AUTH is also in place for local domains as well ? Regards, Puneet Your question is unclear. Please explain. -- Noel Jones

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Noel Jones
On 5/4/2011 11:10 AM, Christopher Adams wrote: Running mailq says that the queue is empty. Here is the output from master.cf smtp inet n - n - - smtpd -v Don't top post. Put your answers in-line, or at the end. Remove the -v from the above. Verbose

lmtp/smtpd incompatible WRT XFORWARD in 2.7.0?

2011-05-04 Thread Matthias Andree
Greetings, I seem to have XFORWARD troubles with Postfix 2.7.0 lmtp - smtpd interoperability. Amavisd-new is in the game, too, but looks innocent. Looks like the XFORWARD code in Postfix's lmtp client generates attributes (PORT=unknown) that the smtpd doesn't permit. Is this a Postfix bug in

Re: lmtp/smtpd incompatible WRT XFORWARD in 2.7.0?

2011-05-04 Thread Victor Duchovni
On Wed, May 04, 2011 at 07:45:32PM +0200, Matthias Andree wrote: Greetings, I seem to have XFORWARD troubles with Postfix 2.7.0 lmtp - smtpd interoperability. Amavisd-new is in the game, too, but looks innocent. Looks like the XFORWARD code in Postfix's lmtp client generates attributes

Re: SMTP AUTH

2011-05-04 Thread Noel Jones
On 5/4/2011 12:59 PM, punit jain wrote: Does it make sense ? or you want me to explain more ? Postfix documentation can be found here: http://www.postfix.org/documentation.html If you need more help, please see: http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones

Re: getting Postfix 2.8.2 on CentOS 5.5 to send and receive

2011-05-04 Thread Christopher Adams
Thanks for your reply. I figured out that there is a perimeter firewall, in addition to the iptables local firewall, so I have created a bypass rule for mail incoming and outgoing. Now, I have mail coming in. Actually, I am trying to set this up as a temporary relay for testing problems with an

Re: SMTP AUTH

2011-05-04 Thread Ansgar Wiechers
On 2011-05-04 Benny Pedersen wrote: On Wed, 4 May 2011 22:47:41 +0530, punit jain wrote: When I send a mail from a local user to local domain user hosted on my server I want to make sure it still asks for auth request. How do I achieve it ? remove any content of permit_mynetworks and

Re: lmtp/smtpd incompatible WRT XFORWARD in 2.7.0?

2011-05-04 Thread Matthias Andree
Am 04.05.2011 19:54, schrieb Victor Duchovni: On Wed, May 04, 2011 at 07:45:32PM +0200, Matthias Andree wrote: Greetings, I seem to have XFORWARD troubles with Postfix 2.7.0 lmtp - smtpd interoperability. Amavisd-new is in the game, too, but looks innocent. Looks like the XFORWARD code

Re: SMTP AUTH

2011-05-04 Thread Ansgar Wiechers
Please keep this conversation on-list. On 2011-05-05 punit jain wrote: Wouldn't it be better to leave permit_mynetworks in place and restrict $mynetworks to 127.0.0.0/8 instead? Exactly what I pointed out for webmail users. But that doesnot solve the issue of Auth enable for all users as

Re: lmtp/smtpd incompatible WRT XFORWARD in 2.7.0?

2011-05-04 Thread Matthias Andree
Bug report requesting backport: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/777356 (This is a regression in Ubuntu lucid (10.04 LTS) from 8.04 LTS.)

Re: SMTP AUTH

2011-05-04 Thread punit jain
Wouldn't it be better to leave permit_mynetworks in place and restrict $mynetworks to 127.0.0.0/8 instead? maybe, but the OP imho want to smtp auth ALL emails All *outgoing emails only, from *all users irrespective of whether they sending to local or non local domains. Is there a way to

Re: SMTP AUTH

2011-05-04 Thread Benny Pedersen
On Wed, 4 May 2011 21:08:55 +0200, Ansgar Wiechers li...@planetcobalt.net wrote: How do I enforce that ? Don't give your users login rights on your mail server. what about webmail ? :) (sendt from 127.0.0.1 to 0.0.0.0 ip will get catched by permit_mynetworks, but not by permit_auth* unless

Re: SMTP AUTH

2011-05-04 Thread Noel Jones
On 5/4/2011 2:24 PM, punit jain wrote: Wouldn't it be better to leave permit_mynetworks in place and restrict $mynetworks to 127.0.0.0/8 http://127.0.0.0/8 instead? maybe, but the OP imho want to smtp auth ALL emails All *outgoing emails only, from *all users

Re: SMTP AUTH

2011-05-04 Thread punit jain
How do I enforce that ? Don't give your users login rights on your mail server. what about webmail ? :) (sendt from 127.0.0.1 to 0.0.0.0 ip will get catched by permit_mynetworks, but not by permit_auth* unless its smtp authed) Webmail is fine as users anyhow need to login. I am more

Re: SMTP AUTH

2011-05-04 Thread Erwan David
Le Thu 5/05/2011, punit jain disait Wouldn't it be better to leave permit_mynetworks in place and restrict $mynetworks to 127.0.0.0/8 instead? maybe, but the OP imho want to smtp auth ALL emails All *outgoing emails only, from *all users irrespective of whether they sending to

Re: SMTP AUTH

2011-05-04 Thread Benny Pedersen
On Thu, 5 May 2011 00:54:02 +0530, punit jain contactpunitj...@gmail.com wrote: All *outgoing emails only, from *all users irrespective of whether they sending to local or non local domains. Is there a way to achieve ? if you try what i told you in the first email to the maillist then it

Relaying mail from outside through Postfix to Exchange

2011-05-04 Thread Christopher Adams
Hello, I am attempting to get Postfix working as a relay to an Exchange 2010 server in the same subnet. The incoming mail may originate from the same subnet, but it all goes through a central server that is outside the subnet. I am doing this for troubleshooting connections between the central

Re: SMTP AUTH

2011-05-04 Thread punit jain
This isn't possible without separating local mail submission from general internet incoming mail. Probably the easiest way to do that is to require your users to submit mail on the submission port 587 or smtps port 465, and use your firewall to block or redirect port 25 from your local

Re: Relaying mail from outside through Postfix to Exchange

2011-05-04 Thread Noel Jones
On 5/4/2011 2:36 PM, Christopher Adams wrote: Hello, I am attempting to get Postfix working as a relay to an Exchange 2010 server in the same subnet. The incoming mail may originate from the same subnet, but it all goes through a central server that is outside the subnet. I am doing this for

Re: Relaying mail from outside through Postfix to Exchange

2011-05-04 Thread Jeroen Geilman
On 05/04/2011 09:36 PM, Christopher Adams wrote: Hello, I am attempting to get Postfix working as a relay to an Exchange 2010 server in the same subnet. The incoming mail may originate from the same subnet, but it all goes through a central server that is outside the subnet. I am doing this for

Re: Relaying mail from outside through Postfix to Exchange

2011-05-04 Thread Christopher Adams
Thank you all for your most helpful tips. I will spend some time with this information and see what I come On Wed, May 4, 2011 at 1:01 PM, Jeroen Geilman jer...@adaptr.nl wrote: On 05/04/2011 09:36 PM, Christopher Adams wrote: Hello, I am attempting to get Postfix working as a relay to an

Re: mail server are relayed ?

2011-05-04 Thread WeiHua.Deng
Dear andreas, thanks for your reply, I know. thanks. Deng On Wed, 04 May 2011 11:10:24 +0200, lst_ho...@kwsoft.de wrote: Zitat von WeiHua.Deng : Hi Everybody, i find a abnormal log in maillog file for postfix. a user can send email , non ip address and non from username present in

Check for localtime?

2011-05-04 Thread Uwe Heinz Rudi Dippel
I upgraded my OpenBSD from 4.8 to 4.9; that is postfix 2.7.1 to 2.7.2 Now when I start, it complains about postfix/postfix-script: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ It doesn't on 2.7.1, though both are different there as well: # ls -l /etc/localtime lrwxr-xr-x 1

Re: Check for localtime?

2011-05-04 Thread Sahil Tandon
On Thu, 2011-05-05 at 09:56:10 +0800, Uwe Heinz Rudi Dippel wrote: I upgraded my OpenBSD from 4.8 to 4.9; that is postfix 2.7.1 to 2.7.2 Now when I start, it complains about postfix/postfix-script: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ It doesn't on 2.7.1,