1

I have a Debian installation with Mailman using exim as MTA.

I can create mailing lists and receive emails from mailinglist server. But when i try to send an email to the ML address it is refused with the following error:

H=(...) F=([email protected]) rejected RCPT relay not permitted

where [email protected] is my mailing list (just for example).

I looked everywhere on google but actually none of the solution proposed help me. I'm trying to use virtual domains. The mailing list seems correctly configured (i can create them, and manage them from the web interface, and as i said above receive mail from them). The problme seems to be in Exim server configuration.

This is the tutorial that i followed: http://www.debian-administration.org/article/Mailman_and_Exim4 I added the folder: /etc/exim4/virtual with one file: mailinglist.dom, and it contents is:

list: [email protected]

I modified the /etc/exim4/conf.d/main/01_exim4-configlistmacrodefs

domainlist local_domains = @:localhost:dsearch;/etc/exim4/virtual

And added the following file: /etc/exim4/conf.d/router/350_exim4-config_vdom_aliases with:

vdom_aliases:
  driver = redirect
  allow_defer
  allow_fail
  domains = dsearch;/etc/exim4/virtual
  data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain}}}
  retry_use_local_part
  pipe_transport   = address_pipe
  file_transport   = address_file
  no_more

this is the other tutorial that i followed: http://www.debian-administration.org/articles/140

Now i spent all day trying to solve that problem without success. Can you help me?

1 Answer 1

1

Finally i managed to solve that problem. Here the steps:

  1. I launched dpkg-reconfigure exim4-config
  2. I used default settings except for:
    • System mail name: I used the domain name (domain.ext format as suggested in the box)
    • Other destinations for which mail is accepted: (Here I inserted all the domains that must be treated as local domain. With the format: mail.domain.ext)

I restarted exim, and now everything works.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .