Issues with scan to email
Hi there,
This is probably a really newbie question but i'm a bit stuck.
I have a funny issue with the scan to email functionality of a clients photocopier. The domain and email is hosted on our cPanel server, and the photocopier uses another SMTP server to send mail via the domain.
I added an SPF record to allow the external SMTP server to send email the clients domain, but i'm still getting a "No such user" error for the email address the photocopier is sending from.
Here are the exim_reject logs from where the email fails, i've obfuscated the domains and IP addresses for obvious reasons. 99.99.99.4 is the SMTP server.
The SPF record i added looks like this: v=spf1 +a +mx +ip4:(cpanel server ip) +ip4:99.99.99.4 ~all I'm 100% sure this has an obvious solution and i'm just missing it, any thoughts?
2014-07-17 09:55:11 H=smtp.server.net (smtp_domain.server.net) [99.99.99.4]:38406 sender verify fail for : No Such User Here"
2014-07-17 09:55:11 H=smtp.server.net (smtp_domain.server.net) [99.99.99.4]:38406 F= rejected RCPT : Sender verify failed
2014-07-17 09:55:11 H=smtp.server.net (smtp_domain.server.net) [99.99.99.4]:38406 F=<> rejected RCPT : No Such User Here"The SPF record i added looks like this: v=spf1 +a +mx +ip4:(cpanel server ip) +ip4:99.99.99.4 ~all I'm 100% sure this has an obvious solution and i'm just missing it, any thoughts?
-
I should add, the photocopier@users_domain.com doesn't exist as an email account on the cPanel server, it's designed to just be the sender email address and so shouldn't really exist as an actual mailbox. 0 -
Hello :) You will have to create an email account for that address so it can authenticate with a valid username/password if you want to send email from it. Thank you. 0 -
Thanks Michael. One further question, from what i can see this set up has never been configured with a mailbox or email account for photocopier@users_domain.com on the cPanel server. Iv accessed the web interface of the photocopier itself and it is configured with no password/authentication, and more importantly is configured to use a completely different SMTP server - so it wont even attempt to use our cPanel SMTP server when sending mail. The previous engineer who set this up no longer works here so i cant confirm how it was working before, but i can definitely confirm the photocopier is not set up to use our cPanel mail relay. Yet somehow this setup has worked before. Until 3/4 months ago according to the client. 0 -
Further to my last comment, it seems as though SPF really is the way to get this working. From the discussion here: [url=http://serverfault.com/questions/369460/what-are-spf-records-and-how-do-i-configure-them]dns - What are SPF records, and how do I configure them? - Server Fault, a key concept that is mentioned is "You're supposed to be listing the addresses of all the servers that are authorised to send mail coming from your domain." which is exactly the situation i am in. I want server A, which is on a separate network, to be able to send email from addresses within my domain, to server B which is inside my network. Am i missing something or mis-understanding this at all? 0 -
Has anyone ever experienced a situation like this before? Getting a device to communicate via email correctly seems to be a common enough thing to try to do... 0 -
[quote="alexh_neq, post: 1689172">I want server A, which is on a separate network, to be able to send email from addresses within my domain, to server B which is inside my network.
Are the email accounts configured on both servers, and have you setup MX records for both mail servers in the DNS Zone of this domain name? Thank you.0 -
Michael, thank you for your response. I believe this is an issue with the SMTP relay sending us the mail, this can be marked as resolved. 0 -
I am happy to see you were able to determine the cause of the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
8 comments