Mailman problem emailing to list
I've been migrating an account over from another web host to cPanel which included some announce lists provided by Mailman.
I've configured everything in cPanel and believe everything should work, however I'm unable to send mail to the email address belonging to the list that I've set up!
I've set up a list called newsletter@somedomain.com which I want to use to send a site newsletter to the people belonging to the list. I receive activation emails for the list etc (so email is sending from Mailman), but when I try to send an email to the list (to then be sent to the members of that list), I get a response:
ECDHE-XXXXX-XXXXX-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after RCPT TO:<newsletter@somedomain.com>: 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. For more information, go to\n550 5.1.1 https://support.google.com/mail/?p=NoSuchUser af79cd13be357-79796da83bcsi116878585a.213 - gsmtp
Email on this domain uses Google/Gmail as the remote mail exchanger, but I don't want to set up a user on Google for each list that I set up on Mailman (and be billed $8 per month) just so that I can send one newsletter every three months.
Is there config that would be able to work around this?
Jon
-
Hey there! If the domain is using Gmail it wouldn't be looking toward any local email addresses, which is likely why you're getting that error. You'll have to decide if you want everything in cPanel or Gmail as I'm not aware of a way to mix between the two without getting the errors you are experiencing.
0 -
Thanks for responding, still looking at finding a way to do this. I've gone around the houses a bit already looking at `split delivery` in GSuite as per one of the sticked topics on this forum, but config seems quite lengthy and a bit unclear (and a bit old), so now looking at Exim and whether it's possible to add a `manualroute` to the config to use `local_delivery` transport for certain email addresses (seems feasible from the Exim documentation).
Still playing around and not working yet, but something along the lines of https://serverfault.com/questions/581315/exim-routing-based-on-individual-email-addresses
In my case (but not working yet!):
newsletter_route:
driver = manualroute
domains = +local_domains
local_parts = newsletter
transport = local_delivery0 -
Just posting back with a crude workaround as couldn't get above to work. Added a subdomain `newsletter.domain.com` and use local mail exchanger for that subdomain, while keeping primary domain using remote mail exchanger (Google).
Added MX records for subdomain pointing at parent domain following this article - https://support.cpanel.net/hc/en-us/articles/360050167394-How-to-Host-a-Subdomains-Mail-Locally-While-the-Parent-Domain-s-Mail-is-Hosted-Remotely
A bit of a hack, but at least allows newsletters to appear to come from the same website and avoids needing to purchase extra Google seats (SPF and DKIM also appear to be OK).
1
Please sign in to leave a comment.
Comments
3 comments