News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Wizard -> Email setup - cannot make it work

Started by purps, July 05, 2015, 02:38:12 PM

Previous topic - Next topic

purps

Hi all, hope you're all well.

I am looking at setting up an email account with Gmail on LinuxMCE, but not having much luck in that I don't receive the test email. I have attached my settings. I have tried manual setup as well. As you can see the "Response:" from sending a test message is blank.

From the wiki this looks straightforward, and is known to be working in 1004 (I will get round to upgrading at some point...). Any pointers would be much appreciated!

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

Marie.O

My money would be on Google doing something 'intelligent' which screws you.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

Just checked, and it doesn't seem to be gmail related. See if a ticket exists, and if not, open one up.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

I've checked out how things were setup, and (probably) fixed a couple of things.

If you want to testdrive the changes, please just replace all calls to postmap with /usr/sbin/postmap in file /usr/pluto/bin/Configure_Postfix_interactive.sh

There will be a new boot scripts package for 1204.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

golgoj4

nothing like working in opposite directions.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Marie.O

Well, I would providing a quick fix not working in opposite directions. But maybe I am just misunderstanding.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

I've backported the patch. A new lucid pluto-boot-scripts package is available which should fix your issues. Please report back.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

purps

Thank you so much for the reply.

Unfortunately the fix does not appear to work.

My Configure_Postfix_interactive.sh http://pastebin.com/a5y5HtmS

(I changed 3 "postmap"s to "/usr/sbin/postmap" in total).

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

Marie.O

did you also apt-get upgrade, to get my version into your system. It is quite feasible that other fixes have happened in the past.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

purps

I did not - the last upgrade I did is as indicated in my signature. I will do an image back up, have a go at an upgrade, and get back to you.

Thanks again for your time.

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

Marie.O

You are an intelligent man :)

No upgrade without a backup!
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Marie.O

There is another change to pluto-boot-script - and a backport to 1004.

apt-get update and apt-get upgrade will bring the latest email fixes.

However, GMail poses a slight problem. You have to login to GMail and allow less secure connections to happen. Look at /var/log/mail.log for a URL to click to do just that.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

rebelkiller

I've got it working, but I had to configure some conf-file manually (some google searching helped me). Configuring email only in webadmin does not work (for me).

The right place to start is /etc/postfix.

You should check main.cf (relayhost, tls-settings, certificates,network protocol) sasl_passwd and transport.

After configuring sasl_passw and transport you have to do a postmap (one for sasl_passwd and one for transport.

At last postfix restart (not reload) and things are working.

Now you can use general info plugin to send emails.

If it is not working check /var/log/mail.log.


Cheers,
bernd

Marie.O

rebelkiller,

saying "not working" isn't helpful for others.

It would be very helpful, if you could for example provide details about your provider, a diff from the configuration files that the email setup created and that you created. That way we can fix stuff. Otherwise, the next person will be in the same boat. Not helpful.

Thanks.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

rebelkiller

#14
I reconfigured my conf files already so I cannot make a diff. I do not know exactly what was messed up anymore. It was a bunch of things that were wrong.

Let me recover some things:

- None of my settings from web admin ("email setup") could be found in /etc/postfix conf files. Nothing.

for example (I'm using googlemail):
- transport contained "[]:" instead of "[smtp.gmail.com]:587"
- sasl_passwd did not contain a user name or password. "[smtp.gmail.com]:587" was missing, too.
- in main.cf there was no correct "relayhost" (again "[]:" instead of "[smtp.gmail.com]:587")
- several security related settings in main.cf were wrong (TLS, certificates etc.)

I think web admin is not talking to config files at all....


@posde:
I'm not a developer, I'm just trying to give some hints to solve problems someone has ("quick fix"). Please do not tell me, that hints do not help. If my hints are not helpful I will stop sharing my experiences in this forum.