Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: fargo on April 03, 2010, 04:45:25 PM

Title: AIO Failed to Email through SME!
Post by: fargo on April 03, 2010, 04:45:25 PM
Our all-in-one printer has a feature to scan documents and send them as attachments through the email. The printer asks for SMTP server IP and Port in its setting menu. It then tests the server to make sure it can properly communicate with it. The test went successful.

At the time of scanning, the printer asks for the recipient email address. I entered my local SME server as fargo@localsrv.local, but the printer failed to send to it!

I reference the email logs and did not find any error message. I also disabled SMTP authentication, but still get the same result!

The printer does not ask for a sender account and I think SME does not like such anonymous sender. Any thought please?
Title: Re: AIO Failed to Email through SME!
Post by: armand on April 03, 2010, 09:16:10 PM
Try this: http://wiki.contribs.org/Email

Good kuck..

Armand
Title: Re: AIO Failed to Email through SME!
Post by: Stefano on April 03, 2010, 09:49:48 PM
The printer asks for SMTP server IP and Port in its setting menu. It then tests the server to make sure it can properly communicate with it. The test went successful.

so the printer simply tested if a smtp service was listening on that ip

Quote
At the time of scanning, the printer asks for the recipient email address. I entered my local SME server as fargo@localsrv.local, but the printer failed to send to it!

seems a dns problem to me.. does the printer have the possibility to setup a dns server? if so, did you pointed it to your SME?
Title: Re: AIO Failed to Email through SME!
Post by: byte on April 03, 2010, 10:48:12 PM
You will probably find that the printer sends the mail without a date/time header which the SME Server blocks against, you can check the /var/log/qpsmtpd/current at time of sending the message to find out why it doesn't get sent
Title: Re: AIO Failed to Email through SME!
Post by: CharlieBrady on April 04, 2010, 02:08:46 AM
seems a dns problem to me..

Not to me. If the printer has an SMTP server address, it doesn't need to use DNS.
Title: Re: AIO Failed to Email through SME!
Post by: fargo on April 04, 2010, 09:00:13 AM
You will probably find that the printer sends the mail without a date/time header which the SME Server blocks against, you can check the /var/log/qpsmtpd/current at time of sending the message to find out why it doesn't get sent
Yup, that was the reason. Here is what I found in the current log file:
Code: [Select]
check_basicheaders 901 Mail with no Date header not accepted here msg denied before queued
@400000004bb835e0237f1ebc 15842 552 Mail with no Date header not accepted here

I wonder how I can fix that?

Edit: here is the fix :) :
http://wiki.contribs.org/Email#I_can.27t_receive.2Fsend_email_from_my_application_.28ACT.21.2C_vTiger.2C_MS_Outlook.2C_etc.29
Title: Re: AIO Failed to Email through SME!
Post by: janet on April 04, 2010, 09:16:18 AM
fargo

When people give you a link to read (as in post 2 of this thread), please read and search it. You would have found this
http://wiki.contribs.org/Email#I_can.27t_receive.2Fsend_email_from_my_application_.28ACT.21.2C_vTiger.2C_MS_Outlook.2C_etc.29

Sorry, after posting, I saw that you did find the answer.
Title: Re: AIO Failed to Email through SME!
Post by: CharlieBrady on April 04, 2010, 05:37:20 PM
I wonder how I can fix that?

You can't fix it. The manafacturer of the printer can fix it, (but probably won't).

You can work around the problem by the method you have discovered (but you will then have slightly weaker anti-spam defences).