I am trying to setup a local email relay that a bunch of developers can use to test their applications against to send emails. This mail server should not be able to send emails anywhere, but rather put all emails that it receives into a folder which is shared via samba.
Then the developers can browse to that share and open their email from the share and look at it using outlook.
Have been searching all day on how to accomplish this, but still no where.
it can use postfix, exim or whichever other MTA.
I don't know where to start. any ideas?
I found an solution using this post.
Installing Ubuntu 14.04.2 stock standard, adding apt-get install postfix and apt-get install postfix-pcre (this pcre was the missing part, wihtout it, the script won't work)
Modified the script accordingly to my environment, restarted/reloaded postfix, installed samba and created a shared folder.
tested and all emails are placed in the folder configured in the script.
Related
Trying to send email using Jenkins- using the email notification plugin, using ssl option.
Initially was getting bad id/pwd error- also got login blocked alert emails from google.
So enabled the less secure apps. The error changed to javax.mail.AuthenticationFailedException: 534-5.7.14
I do not have 2-step auth enabled in gmail.
Read a couple of posts here suggesting - need to use 2-step auth method with gmail - is that the way to go?
How do I install older plugin?
I downloaded the older Mailer plugin 1.23 (wget) it is a .hpi file. But in my plug folder only has jpi files. What it is supposed to be?
Do I just go to the console and uninstall the current plugin and just copy this hpi file to /plugins folder?
Able to install the .hpi finally
Advanced installation
The Update Center only allows the installation of the most recently released version of a plugin. In cases where an older release of the plugin is desired, a Jenkins administrator can download an older .hpi archive and manually install that on the Jenkins master.
From the web UI
Assuming a .hpi file has been downloaded, a logged-in Jenkins administrator may upload the file from within the web UI:
Navigate to the Manage Jenkins > Manage Plugins page in the web UI.
Click on the Advanced tab.
Choose the .hpi file under the Upload Plugin section.
Upload the plugin file.
After uploading .hpi from local system using the GUI) - the Mailer plugin version shows the new older Mailer version 1.23. But you have to reconfigure it.
But still same error:
javax.mail.AuthenticationFailedException: 534-5.7.14
support.google.com/mail/answer/78754 q128sm12098788pga.24 - gsmtp. checking the google support link - I think am doing everything as suggested
Most of my small customers started to ask me if I can host the websites I'm building for them. Setting up virtual hosts, configuring mysql, DNS, etc is not really a problem. One thing stops me from hosting their websites is the fact that I've never been able to do configure an email server to accept multiple domains with SPF&DKIM. There must be some sort of an evil spirit which stops me from achieving this.
So, I was wondering if anyone knows a piece of opensource (or not, I'm willing to pay a decent license price ) software ( cpanel like but limited to email ) which would allow me to:
Manage only email related things via a control panel.
The control panel should let me add multiple domains.
The control panel should let customers login and manage their mailbox accounts
The software should offer webmail and SMTP & IMAP/POP3 access.
P.S.: I work mostly with ubuntu but I can handle centos also.
I don't have an answer to your question, but I have an alternative : Google Apps.
You can do the web hosting and tell your customers to get a Google Apps account for their email.
Also since Google Apps is no longer free, you can try Google Domains, they do not offer email hosting but they can redirect up to 100 domain email to gmail accounts.
I think you should go with CentOS Web panel. It is a free and open-source web hosting control panel for CentOS Servers. It provides a powerful web interface through which you can manage your CentOS server and its services. With Centos web panel, you can manage User accounts, Apache virtual hosts, DNS entries, MySQL databases, Email accounts, and much more. Apart from it, CentOS web panel is also used to create and manage shared hosting servers.
Below are the steps on how to install CentOS web panel on CentOS Server.
1. Preparing Server
Let’s install the required packages for CWP installation:
# yum -y groupinstall 'Development Tools'
# yum -y install epel-release
2. Server Update
Now we need to update your server to the latest version
# yum -y update
3) Reboot Server
Reboot your server so that all updates can take effect.
# reboot
4) Download and install CentOS Web panel:
# cd /usr/local/src
# wget http://centos-webpanel.com/cwp-latest
# sh cwp-latest
Note: The installation process may take 30 - 40 minutes because it needs to compile apache and PHP from source.
Once the installation is completed, a list of credentials will be appeared to access the panel. Make sure to copy or write down the MySQL password and press enter to reboot your server.
Please let me know if you face any error. I will happy to help you.
I have a p2site hosted on my server to provide Eclipse Update Site. The server is running an IIS 7.5
I have the same p2site content stored and provided both in my production environment and in my staging environment (two separate servers, with identical characteristics).
From a couple of days, if I connect with my staging environment p2site from an Eclipse Indigo instance, I'm required to enter credentials, which has never happened before.
Moreover, if I manually download the zip archive and install my plugin from this local archive, I'm asked the credentials too.
I can guess, but I'm not sure, that the problem can be related to the following: in the last days we have added HTTPS enablement for our web site, and installed our certificate in the root certificates of Windows Server 2008 R2.
Anyone knows why Eclipse (Indigo, haven't tested the other platforms yet) is behaving in this way?
And how can I prepare my local zip archive / p2site to overcome this issue?
Thank you very much
cghersi
Just for the sake of completeness, I found the solution on my own: the problem was that for some reasons (that I cannot still recognize...) there was a DENY rule in the .NetAuthorization section for the verbs OPTION,HEAD.
It seems that Eclipse send exactly these kind of requests when looking for p2site and so these requests were rejected and Eclipse was asking for credentials for these requests.
Hope is can be useful in the future for other people.
cghersi
So I've been running CF9 on Linux for a while and using CFMail to send email through a client's Exchange 2010 server for quite a while.
We're attempting to migrate to CF10 on Win2008, IIS7.5. Everything is set and ready to go except I can't get CF10 to verify the mail connection? I've got both mail settings (CF9 and CF10) set the exact same way and can view them open side by side and verify they're identical. However, while the CF9 verifies successfully the CF10 system fails??
I tried sending through CFMail tags while specifying the server credentials and see this in the CF10 log:
"javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client"
What does this mean? I know my authentication credentials are correct because I'm able to connect in CF9.
I've turned off all firewalls and still nothing. So, I then tried installing CF10 on my Mac laptop. It, too, will not verify the mail connection!
Is there a known problem with CF10 connecting to an Exchange mail server?
Any ideas?
I "solved" this.
I could find little online and received no comments to this thread. No combination of settings I tried would work and I have no access to the client's mail server. The person who runs that server couldn't run a lemonade stand so no help there.
Then I stumbled across this page. Nothing to do with ColdFusion but seemed like a similar issue.
Recent changes in the JavaMail API has changed certain authentication
defaults and sometimes will create an authentication error with some
Exchange Server environments dependent on the configuration.
I'd never put much thought into CFMail because it was always drop dead simple and simply worked. Focusing on this link's Resolution 2 (ie replace the mail.jar with an older version). I wondered if CF used JavaMail and if I could downgrade CFMail? I cracked open CF's mail.jar file and found that CFMail does, indeed, use the JavaMail API. So, I then checked the ColdFusion docs to see if any new features were added to CFMail between CF9 and CF10. None.
So, I swapped out the mail.jar file from my CF9 install to CF10 and restarted. Boom! Everything worked immediately. As far as I can tell I've had no compatibility issues to report.
Swapping the mail.jar did not work for me. However, adding the following to JVM arguments
-Djava.net.preferIPv4Stack=true
worked for me. Please refer to the following article
Java Mail mystery - SMTP blocked?
posted by another user
I have been using Coda and regular version of Mamp for local development for longtime without getting into this permission mess. I recently, upgraded to Mamp Pro and setup it with VHosts. I have a site example.com with it's root path set to /Users/john/Sites/example. I have set the owner and group to www in Mamp Pro.
The moment I got all this configured I started having problems with Coda. It keeps asking me the username and password to edit the local files at /Users/john/Sites/example. I guess I have to enable FTP on my Mac and then add a site in Coda to stop it asking me to enter username password for every single file. However, I have no idea on how to get this working. I am using Lion 10.7.2
Additionally, I have setup etc/hosts file for pointing example.com to 127.0.0.1
UPDATE: Though the accepted answer by #mini does not directly answer this question. It is still an elegant solution with seamless integration with Coda.
Consider using DesktopServer instead (along with Coda 2). Unlike MAMP, you can work on template theme files directly with WYSIWYG preview, LAN share for mobile device testing (with WordPress, -not just HTML sites), enables AirPreview to work with WordPress, copy, import/export to live sites, etc. Setup is easy as it manages your vhosts, database, and project files in about three mouse clicks:
http://www.youtube.com/watch?v=Pw9-F8etBPY