From Email Address when using reseller

When using reseller, the domain owner is sent mail with from address as email of reseller.

Where can I change this to use webmin's default email address.

My Settings in Virtualmin Configuration are

From: address for email sent by Virtualmin - Selected "Webmin Default"

From: address to email sent to domain owners - Selected "Address set above"

This is causing the mail to go to spam. While if I add as admin/root user the mail goes from webmin's default email address which is received in Inbox

Status: 
Closed (fixed)

Comments

Jamie, what setting is used when determining what email address to use when a reseller creates an account?

Does that always use the "Contact email address" specified in System Settings -> Reseller Accounts?

singhdd, I'll offer though that the email shouldn't be ending up in the spam folder... you might want to try tagging it as ham. But you could also look at the email headers, and look at the X-Spam-Status header there to see why SpamAssassin thinks it's spam.

That's correct - when a domain is owned by a reseller, the reseller's contact address is used as the sender for domain-level email notifications.

Google shows this message : Gmail couldn't verify that domain.com actually sent this message (and not a spammmer).

and in details

Received-SPF: neutral (google.com: X.X.X.X is neither permitted nor denied by domain of xyz@domain.com) client-ip=X.X.X.X;

Note: I didn't actually use xyz@domain.com this was just replaced to keep original email/domain hidden

For the resellers domain, you may want to ensure that some anti-spam things are enabled

It looks like you're saying SPF is enabled, though you may want to review it to make sure that looks good.

However, I'd also suggest enabling DKIM, which can be done in the Email Messages menu.

There's some details regarding that error you're seeing here:

https://productforums.google.com/forum/#!topic/gmail/pqx8Wq_Csxw

I used the email address of my domain on other virtualmin server as reseller's email address. All of my Virtualmin Server have SPF, DKIM and DMARC working on every domain. This also happens when using another gmail email address as reseller's email. This is because the email is actually sent from the server while the from address has a domain which belongs to some other server.

There are two options to solve this. 1) Use the reseller's SMTP credentials to send mail. 2) Send using the Webmin Address and just use the Reseller's Name eg John Doewebmin@server.com for reseller John Doe on Virtualmin Server with default email "webmin@server.com"

Gmail only marks this as spam or gives warning to user while outlook just return the mail back to sender.

Yes if there's another server that is setup as the email domain for this sender, that could cause problems with SPF and DKIM records.

That would mean any email sent for the reseller could have problems, as you're seeing.

Could you perhaps setup a different email address to use for the reseller's account in Virtualmin, maybe even just something that works as an alias, forwarding email to that user?

Alternatively, you could also change the contact email address to an existing address, such as your server admin's address.

But the actual problem remains. Lets take an example.

I gave a reseller account to abc@gmail.com.

Now when this reseller adds a domain with contact address with def@gmail.com. The domain owner gets the email in spam since my server isnt authorised to send email for gmail.com.

But the even bigger problem is that if domain owner has outlook.com email address. It bounces back the email to abc@gmail.com

I think the only solution for this is to add an option to not use the reseller's address for sending email to domain users. Maybe this could automatically happen if the address isn't in a local domain.

Yeah that would be great.

I'll put this on our TODO list

Offsite reseller addresses will be skipped when sending email(by default, but configurable) in the next Virtualmin release.

Status: Active ยป Fixed