[exim] Help with rejected RCPT relay not permitted...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: James Nightly
Fecha:  
A: exim-users
Asunto: [exim] Help with rejected RCPT relay not permitted...
I'm trying to setup mailman list for our daycare. I'm getting "relay not
permitted" in /exim4/mainlog. This is a public server that our parents can
use to reach teachers or other parents (via mailman lists).

##########
This is the error:
2014-08-28 20:18:33 H=localhost (list.mydomain.org) [::1] F=<
mailman-bounces@???> rejected RCPT <my_email@???>:
relay not permitted

or

014-08-28 20:44:22 H=localhost (lists.mydomain.org) [::1] F=<
test-list-bounces@???> rejected RCPT <teacher1@???>:
relay not permitted

##########
netstat -atnlp | grep :25
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
     15779/exim4
tcp6       0      0 :::25                   :::*                    LISTEN
     15779/exim4


##########
telnet lists.mylists.org 25
Trying ip.ip.ip.ip...
Connected to lists.mylists.org.
Escape character is '^]'.
220 lists.mylists.org ESMTP Exim 4.80 Thu, 28 Aug 2014 20:50:31 -0700
mail from: mailing-list@???
250 OK
rcpt to: my_private_email@???
550 relay not permitted
quit
221 lists.mylists.org closing connection
Connection closed by foreign host.

##########
Output of exim4 -d -bt test-list-mailman@???:
http://pastebin.com/e24Hshwq

##########
/etc/exim4/exim4.conf.template
dc_eximconfig_configtype='internet'
dc_other_hostnames='lists.mydomain.org'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='my.public.ip;127.0.0.1'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
disable_ipv6='true'
dns_ipv4_lookup='*'

##########
exim4 -d -f mailman-bounces@???

Exim version 4.80 uid=0 gid=0 pid=15837 D=fbb95cfd
Berkeley DB: Berkeley DB 5.1.29: (October 25, 2011)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [4.6.3]
Library version: GnuTLS: Compile: 2.12.20
                         Runtime: 2.12.20
Library version: PCRE: Compile: 8.31
                       Runtime: 8.30 2012-02-04
Total 13 lookups
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=15837
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
  uid=101 gid=103 pid=15838
  auxiliary group list: <none>
tls_validate_require_cipher child 15838 ended: status=0x0
configuration file is /etc/exim4/exim4.conf
log selectors = 00000ffc 00612001
cwd=/home/akh 4 args: exim4 -d -f mailman-bounces@???
trusted user
admin user
changed uid/gid: privilege not needed
  uid=101 gid=103 pid=15837
  auxiliary group list: 45 103
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
seeking password data for user "list": cache not available
getpwnam() succeeded uid=38 gid=38
originator: uid=0 gid=0 login=root name=
sender address = mailman-bounces@???
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.