2011/3/18 Reindl Harald <h.rei...@thelounge.net> > * please do not send html mails to the list > Ok.
> * what is "myhostname" in your "main.cf", this is the EHLO from postfix > Not relevant in this situation, when using telnet I can use whatever helo I want (tested). > * has your hostname a valid a-record/ptr > As I see it (based on telnet session) Echange is not veryfing DNS for connecting hosts. Host which I am using doesn't have a valid record. > * why does exchange give such a useless answer? > > a useable mailserver gives a answer like this "status=bounced (host > relayserver[relay-ip] > said: 550 5.1.1 <rcpt>: Recipient address rejected: User unknown in virtual > alias table > (in reply to RCPT TO command))" > > meaning: would the other host not be a misconfigured exchange you would see > a > reason why the message is bounced (invalid rcpt, invalid helo, missing ptr > for > sending server..), you stripped every useful information, your postfix > semmes > not to have a valid hostname configured..... > I am not the person responsible fo configuration of the Exchange server. > > Am 18.03.2011 11:53, schrieb Rafał Radecki: > > Hi all. I am trying to configure postfix to relay all mails send from > localhost (postfix 2.7.1-1, Ubuntu 10.10) to > > LAN Exchange server which then sends out to the Internet. > > - main.cf <http://main.cf>: > > /mydestination = > > relayhost = [10.0.1.222]:25 > > mynetworks = 127.0.0.0/8 <http://127.0.0.0/8> > > mailbox_size_limit = 0 > > recipient_delimiter = + > > inet_interfaces = loopback-only > > default_transport = error > > relay_transport = error > > local_transport = error > > smtp_sasl_auth_enable = yes > > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd > > smtp_sasl_security_options = / > > > > I use mutt to send e-mail and get in /var/log/mail.log: > > /Mar 18 11:47:27 myway postfix/pickup[7621]: B980C140E1D: uid=1000 from=< > xxx....@xxx.com <mailto:xxx....@xxx.com>> > > Mar 18 11:47:27 myway postfix/cleanup[7637]: B980C140E1D: > message-id=<20110318104727.GA7624@myway> > > Mar 18 11:47:27 myway postfix/qmgr[7622]: B980C140E1D: from=< > xxx....@xxx.com <mailto:xxx....@xxx.com>>, size=473, > > nrcpt=1 (queue active) > According to http://www.postfix.org/OVERVIEW.html I think that I sholud not get below message here. > > Mar 18 11:47:27 myway postfix/error[7639]: B980C140E1D: to=< > rxxx....@xxx.com <mailto:rxxx....@xxx.com>>, > > relay=none, delay=0.19, delays=0.12/0/0/0.06, dsn=5.0.0, status=bounced > ([10.0.1.222]:25) > Doesn't relay=none mean that postfix is not relaying to a server relayhost = [10.0.1.222]:25 ? > > Mar 18 11:47:27 myway postfix/cleanup[7637]: D9558140E1F: > message-id=<20110318104727.d9558140...@myway.xxx.local> > > Mar 18 11:47:27 myway postfix/bounce[7640]: B980C140E1D: sender > non-delivery notification: D9558140E1F > > Mar 18 11:47:27 myway postfix/qmgr[7622]: D9558140E1F: from=<>, > size=2256, nrcpt=1 (queue active) > > Mar 18 11:47:27 myway postfix/qmgr[7622]: B980C140E1D: removed > > Mar 18 11:47:28 myway postfix/error[7639]: D9558140E1F: to=< > xxx....@xxx.com <mailto:xxx....@xxx.com>>, relay=none, > > delay=0.11, delays=0.06/0/0/0.06, dsn=5.0.0, status=bounced > ([10.0.1.222]:25) > > Mar 18 11:47:28 myway postfix/qmgr[7622]: D9558140E1F: removed/ > > > > When I use telnet on port 25 on 10.0.1.222 than using HELO, MAIL FROM and > RCPT TO I can send e-mail without a password. > > Is there something missing or wrong in my configuration? > >