relaying denied with postfix-2.2.9 and mlmmj-1.2.11
Hi.
So I'm running mlmmj-1.2.11 with postfix-2.2.9 on OpenBSD 3.9. I setup a small list with 3 or 4 user as a test, and I'm getting relaying denied messages from postfix whenever I try and send email to the list.
I am attaching the output of postconf -n, and a snippet from my postfix logs. The listname is "[email protected]"
Mar 14 11:20:13 freek postfix/smtpd[15981]: connect from xproxy.gmail.com[66.249.82.197] Mar 14 11:20:15 freek postfix/smtpd[15981]: 01C3E19315: client=xproxy.gmail.com[66.249.82.197] Mar 14 11:20:15 freek postfix/cleanup[26209]: 01C3E19315: message-id=<[email protected]> Mar 14 11:20:15 freek postfix/qmgr[14579]: 01C3E19315: from=<[email protected]>, size=1214, nrcpt=1 (queue active) Mar 14 11:20:15 freek postfix/smtpd[23097]: connect from localhost.freek.com[127.0.0.1] Mar 14 11:20:15 freek postfix/smtpd[23097]: NOQUEUE: reject: RCPT from localhost.freek.com[127.0.0.1]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<freek.com> Mar 14 11:20:15 freek /usr/local/bin/mlmmj-send[26342]: mlmmj-send.c:241: Error in RCPT TO. Reply = [554 <[email protected]>: Relay access denied\^M ]: Undefined error: 0 Mar 14 11:20:15 freek postfix/smtpd[23097]: disconnect from localhost.freek.com[127.0.0.1] Mar 14 11:20:15 freek postfix/local[17338]: 01C3E19315: to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/bubba) Mar 14 11:20:15 freek postfix/qmgr[14579]: 01C3E19315: removed Mar 14 11:20:45 freek postfix/smtpd[15981]: disconnect from xproxy.gmail.com[66.249.82.197]
Thanks...
Josh
alias_database = hash:/etc/mail/aliasesalias_maps = hash:/etc/mail/aliasescommand_directory = /usr/local/sbinconfig_directory = /etc/postfixdaemon_directory = /usr/local/libexec/postfixdebug_peer_level = 2default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}home_mailbox = Maildir/html_directory = /usr/local/share/doc/postfix/htmlinet_interfaces = $myhostname, localhostmail_owner = _postfixmail_spool_directory = /var/mailmailq_path = /usr/local/sbin/mailqmanpage_directory = /usr/local/manmaps_rbl_domains = dnsbl.sorbs.netmaps_rbl_reject_code = 451mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = 127.0.0.1, localhost.$mydomain, localhost, $mydomain, www.$mydomain
mydomain = freek.com
myhostname = freek.com
mynetworks = 206.252.131.6/32 127.0.0.0/8mynetworks_style = subnet
myorigin = $mydomainnewaliases_path = /usr/local/sbin/newaliasesqueue_directory = /var/spool/postfixreadme_directory = /usr/local/share/doc/postfix/readmerecipient_delimiter = +relay_domains = permit_mx_backup, $mydestination, rivels.org, aaronvictor.com, amateurmoviereviews.com, caina.net, ccdsm.net, changeforthemachines.com, crankdot.com, dobig.com, foxdykes.com, gryllus.com, gtonk.net, iosion.com, machina-ex.com, michaelstella.com, port110.net, port110.org, somethingsomething.org, tch0rt, tch0rt.com, tephras.com, thegrayman.com, thismetalsky.org, vict0r.net, vict0rip, victorresearch.com, whalerwatch.com, young-eisendrath.comsample_directory = /etc/postfixsendmail_path = /usr/local/sbin/sendmailsetgid_group = _postdropsmtpd_banner = ESMTP Unauthorized use of this server is prohibited.smtpd_client_restrictions = permit_mynetworks,permit_mx_backup,check_relay_domains,reject_unauth_destinationsmtpd_helo_required = yessmtpd_helo_restrictions = reject_invalid_hostnamesmtpd_recipient_restrictions = reject_rbl_client dul.dnsbl.sorbs.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client opm.blitzed.org, reject_rbl_client dnsbl.njabl.org, reject_rbl_client relays.ordb.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client dnsbl.njabl.org, reject_rbl_client blackhole.securitysage.com, permit_mx_backup, reject_unknown_sender_domain, reject_unauth_destination, permit_mynetworks, reject_unauth_pipelining, hash:/etc/postfix/access smtpd_sender_restrictions = permit_mynetworksunknown_local_recipient_reject_code = 550virtual_alias_domains = rivels.orgvirtual_alias_maps = hash:/etc/postfix/virtual
Quoted 5 lines · Josh Rivel
Hi.
So I'm running mlmmj-1.2.11 with postfix-2.2.9 on OpenBSD 3.9. I setup a small list with 3 or 4 user as a test, and I'm getting relaying denied messages from postfix whenever I try and send email to the list.
Can you try and login to the box, and do:
$ telnet 127.0.0.1 25 helo freek.com mail from: <[email protected]> rcpt to: <[email protected]> data From: [email protected] To: [email protected] Subject: Telnet test
Whateveer
.
And then see if that works? Also maybe try it with the to being [email protected].
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.Problem has been solved.
Had to reorder some things within main.cf.
Thanks, sorry for wasting everyones time.
Josh