cancel
Showing results for 
Search instead for 
Did you mean: 

Relay of own email domain names

pure-skill
On our wavelength

It appears to be a known issue that as of yesterday, those of us who host our own email servers are no longer able to relay emails from our own domain names through VM smtp servers.

This appears to be since authentication was enabled.

I'll use example.com as my own domain for example purposes:

myemail@example.com > Self hosted email server > smtp.blueyonder.co.uk:25 > recipient gives:

530 5.1.0 Authentication Required (VM401)

Jun 26 13:47:49 un64u postfix/smtp[1282963]: 1A13FBC03AB: to=<person@iwanttoemail.com>, relay=smtp.blueyonder.co.uk[84.116.6.21]:25, delay=1.2, delays=0.07/0.03/0.07/1.1, dsn=5.1.0, status=bounced (host smtp.blueyonder.co.uk[84.116.6.21] said: 530 5.1.0 Authentication Required (VM401) (in reply to MAIL FROM command))

smtp,virginmedia.com the same thing

So I enabled authentication using my old ntlworld.com user account, and generated an email app password.

Authentication succeeds, but because I am not sending email from a @ntlworld.com or @virginmedia.com email address, but rather from me@example.com I now get:

550 5.1.8 Sender Domain Invalid (VM420)

Jun 27 01:16:03 un64u postfix/smtp[1318568]: 5031EBC0552: to=<person@iwanttoemail.com>, relay=smtp.virginmedia.com[84.116.6.19]:587, delay=1.2, delays=0.03/0.02/0.19/0.95, dsn=5.1.8, status=bounced (host smtp.virginmedia.com[84.116.6.19] said: 550 5.1.8 Sender Domain Invalid (VM420) (in reply to MAIL FROM command))

I've been self hosting my own mail servers for 22 years since 2002 first with NTL and then Virgin Media.

How do we relay our own email?

FYI it is not just me - someone has the same issue with the same timing here:

https://community.virginmedia.com/t5/Email/Virgin-Media-outgoing-SMTP-mail-server-error/td-p/5537167...

30 REPLIES 30

@Rawcous glad you've come up with a solution.

I'd speculate smtp.ntlworld.com may get authentication enabled also, which if I understood you right, wasn't enforced right now so your sendmail server could relay outbound SMTP through it without auth.

If that happens things will just fail out of nowhere again.

If that is the case I'd recommend backing up your currently working sendmail config (for easy restore) and when you have time investigating why sendmaill fails with smtp.virginmedia.com with auth enabled.

Do the mail logs provide any clues?

Does this command work?

curl -v smtps://smtp.virginmedia.com -u <NTL or VM email address>:<email app password set in VM web>

If easier you can likely just test by changing mail client settings to smtp.virginmedia.com with auth - easy to swap back.

Webmin??  I'm old school and use vi 😛