On Fri, 18 Mar 2011 12:05:33 +0100
Reindl Harald <h.rei...@thelounge.net> articulated:

> 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) 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) 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?

> * please do not send html mails to the list
> * what is "myhostname" in your "main.cf", this is the EHLO from
> postfix
> * has your hostname a valid a-record/ptr
> * 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.....

Reindl, while giving posting instructions to the OP, you failed to
list "Top Posting", a technique that you also fail to avail yourself of.

You might also have told the OP to follow the instructions available
at: <http://www.postfix.com/DEBUG_README.html>. specifically:

Reporting problems to postfix-users@postfix.org

The people who participate on postfix-users@postfix.org are very
helpful, especially if YOU provide them with sufficient information.
Remember, these volunteers are willing to help, but their time is
limited.

When reporting a problem, be sure to include the following information.

A summary of the problem. Please do not just send some logging without
explanation of what YOU believe is wrong.

Complete error messages. Please use cut-and-paste, or use attachments,
instead of reciting information from memory.

Postfix logging. See the text at the top of the DEBUG_README document
to find out where logging is stored. Please do not frustrate the
helpers by word wrapping the logging. If the logging is more than a few
kbytes of text, consider posting an URL on a web or ftp site.

Output from "postconf -n". Please do not send your main.cf file, or
500+ lines of postconf output.

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger. 
If the problem is SASL related, consider including the output from the
saslfinger tool. This can be found at
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/.


-- 
Jerry ✌
postfix-u...@seibercom.net
_____________________________________________________________________
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Reply via email to