Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have setup PostFix for receiving emails only.
I want to authenticate the received emails against their sender email addresses by using SPF or DKIM.
Is there a good java plugin available for this? or do i need to write my own in java (other preferences C, C ++) ,please reply with relevant references.
Thanks in advance
Ashish
Unfortunately Postfix is not one of the mail servers that suppose SPF natively, but there are some extensions and patches for this, which can be found at http://www.openspf.org/Implementations.
While a java library is available for SPF, I'm not aware of any plugins or patches that are currently using it.
The solution I followed is as:
I attached the DKIM and SenderID milters available from Postfix add-ons list with my Postfix e-mail server.
Since these milters can be configured to add e-mail headers in the received mails about their results, so I wrote a custom mail-filter using jilter api (java mail filter api), parsed the mail headers and hence I was able to determine and act about the authentication results of SPF and SenderID according to my custom logic.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 months ago.
Improve this question
We are developing an app which requires users to verify their email adresses. When user signs up, Firebase sends email and if user verifies his email, he completes registration. This process works flawlessly.
I am not developer but have some basic skills about programing and I want to test app with some fake users so we need to create new users. User creation can be done with Firebase Console but we cannot pass email verification process since we do NOT have access to that fake emails to click verification links.
Is there a step by step tutorial of how to connect our Firebase database remotely and verify a fake user's email so user's email status is changed to verified? I guess there is a command line tool which lets developer to connect database remotly with access data and make some changes on user's status.
You can use the Admin SDK for Firebase Authentication to mark the user's email address as verified. From the documentation:
admin.auth().updateUser(uid, {
emailVerified: true,
})
This is Node.js code, so you'll need to create a node script that contains this snippet. There are also examples for Java and Python on the page I linked.
I just had the same dificulty in order to validate the user by email, but here is the answer.
new_user = auth.create_user_with_email_and_password(email,password)
auth.send_email_verification(new_user['idToken'])
This will send a link to user's email. The email will be the one in your firebase template
I know I'm late but you can use fake emails and access the inbox of each, these emails are temporary for testing. You can use https://app.mailslurp.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've just been informed by my boss that I will be taking over our company's CRM application. It is a web-based, .NET MVC, single-code-base, multi-tenant application. As the product was explained to me, it became clear that the email feature is a nightmare to maintain. I'm looking for alternatives to doing it in-house. I'll explain:
The app logs and track all forms of contact with prospective customers... phone calls, emails, etc. Thus, one feature is the ability to send emails from within the product, and then to have any reply emails also be stored in the CRM's sql database as well.
The problems with this kind of email system built into our web-based, self-hosted CRM product are abundant, but the largest of the problems is the work we need to do to prevent our IP from being black listed. It's a nightmare. There has got to be a better way.
I asked my boss if he had looked into outsourcing the email management. He said yes, but he didn't find anything that had the features we need and still allow us the control we want.
I'll explain the features we need, and I'm hoping somebody knows of a service that might work for us.
What we need...
I envision a vendor which offers a service-based product which we can consume via some sort of API or POST. When our client sends an email from within our CRM product, we would toss over the wall (in a secure manner) to the vendor the following:
Body of the email
Sender's name, email, userid & password
SMTP address of our client
Recipient's name and email
Some sort of unique id that identifies this email, so that threads and conversations can be tracked.
The service would then validate the sender's email against their SMTP server, and send the email on his behalf.
The kicker would be being able to also track reply emails, and to get them back into our CRM product. The vendor could perhaps push them to us, or, every x minutes, would could query them to see if there are any replies waiting to be sucked up.
So, does any such service exist? If so, have you used it, and what has been your experience?
MailGun and SendGrid are two transactional email service options that you might want to consider. They offer API-based email at scale.
I know that with MailGun you can use their API to validate email addresses before attempting to use them. This may help with your blacklisting problem. Check out the API here: documentation.mailgun.com/api-email-validation.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
is it possible to use ldapmodify to set a single users password to never expire?
for example I have a system user that causes the system to fail if the password expires so I need to make it never expire while all the other user password do expire.
so here is what I did created a second password policy and then modified the Manager user to use the new policy rather than the default policy. see http://www.zytrax.com/books/ldap/ch6/ppolicy.html for the details.
Yes. usually. Depends on the system, the OS, etc (usually it's something like putting the pwdMaxAge value to 0 so it never expires . But this if for OpenLDAP itself, it's not necessarilly the same attribute that your target system/OS uses for its own password expiration dates : maybe those are stored elsewhere in ldap for that system/OS...
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Actually My network administrator blocked the www.yahoomail.com in my office. But i need to access it to read some important mails. Is there any possibilities?
I tried it by some third party website. After entering login credentials (username and password). I got an error "This page requires that you have Javascript enabled on your browser."
But it is already enabled in my browser.
Can anyone help me?
Although you have way to access Yahoomail but I think you should just ask Admin or your teamleader or PM to allow you to use Yahoomail at work.
If you get caught while trying to connect Yahoomail without permision, its gotta be worse :)
You can try to install TOR -> https://www.torproject.org/
It sends your requests over some proxies and so it should help to reached the blocked site.
One of the most commonly used method is to use Proxy server specially the russians one
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a simple service/software that will convert emails into HTTP POST requests so I don't have to code in separate code paths for email handling. Does such a thing exist?
Google app engine converts incoming email into a POST to your app:
http://code.google.com/appengine/docs/python/mail/receivingmail.html
You could either handle the emails directly on app engine, or write a handler which calls back to your other site:
http://code.google.com/appengine/docs/python/urlfetch/overview.html
There are a couple services you might be interested in:
http://mailhooks.com is a good free solution for this, but there may be a delay in the time to post, and I don't believe they include attachments.
You might also look at http://mailnuggets.com which is a paid service, but posts are quicker and it includes attachments.
Bit late but I was looking for something similar and came across http://www.email2http.net - they allow you to send your email to a web script via HTTP POST or GET and it includes attachments. If you only need 1 email address and script it's free.
You could run Postfix or another mail server, configure it to accept the appropriate email, and then pipe the mail to a command which POSTs the data (using CURL or another framework).
Speaking SMTP correctly as a server isn't trivial. Access control is even harder. I'd say to use a real SMTP server.
I have needed to do this several times and always rolled my own Postfix solution. I finally made a docker container and open sourced it https://github.com/thingless/mailglove.