All Projects → agaridata → spf-ruby

agaridata / spf-ruby

Licence: other
Ruby implementation of the Sender Policy Framework

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to spf-ruby

Abp Samples
Sample solutions built with the ABP Framework
Stars: ✭ 417 (+2094.74%)
Mutual labels:  abp
Abp.grpc
基于 ABP 框架开发的 Grpc 模块,支持 Consul 服务发现与服务注册。Grpc module developed based on ABP framework supports early service discovery and service registration.
Stars: ✭ 134 (+605.26%)
Mutual labels:  abp
Yoyocmsfree.template
一个免费版本的ABP框架,整合了ng-Zorro。
Stars: ✭ 254 (+1236.84%)
Mutual labels:  abp
Furion
Make .NET development easier, more versatile, and more popular.
Stars: ✭ 902 (+4647.37%)
Mutual labels:  abp
Aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
Stars: ✭ 10,061 (+52852.63%)
Mutual labels:  abp
Abp.wechat
Abp 微信 SDK 模块,包含对微信小程序、公众号、企业微信、开放平台、第三方平台等相关接口封装。
Stars: ✭ 168 (+784.21%)
Mutual labels:  abp
abp-ng-zorro
ng-zorro template for asp.net zero
Stars: ✭ 66 (+247.37%)
Mutual labels:  abp
Material-Design-AngularJs-Abp
No description or website provided.
Stars: ✭ 19 (+0%)
Mutual labels:  abp
Abp.generaltree
For Abp vNext
Stars: ✭ 106 (+457.89%)
Mutual labels:  abp
Awesome Abp
Resources for abp.io - a modular application framework for .net core
Stars: ✭ 219 (+1052.63%)
Mutual labels:  abp
Agilework
可视化低代码快速开发平台,面向业务、企业管理系统定制开发平台和应用平台,包括设计器、应用端。提供业务配置和集成开发能力,用户通过可视化拖拉拽配置式操作即可快速构建出能同时在PC和移动端运行的各类管理系统,对于企业客户的信息系统在管理模式、业务流程、表单界面、数据可视化展示、IoT管控等个性化需求,可以通过设计器,快速的进行个性化配置。并支持企业微信,公众号,钉钉等移动集成,实现用户跨区域移动办公。从而构建企业个性化的行业应用、集成应用和复杂的业务报表。
Stars: ✭ 76 (+300%)
Mutual labels:  abp
Abp.aspnetcore.mvc.ui.theme.adminlte
An ABP theme module based on AdminLTE
Stars: ✭ 80 (+321.05%)
Mutual labels:  abp
Abp React Antd
一个基于 ABP + React + Ant Design Pro 的快速开发框架
Stars: ✭ 175 (+821.05%)
Mutual labels:  abp
Abp Asp.net Boilerplate Project Cms
ABP module-zero +AdminLTE+Bootstrap Table+jQuery+Redis + sql server+quartz+hangfire权限管理系统
Stars: ✭ 677 (+3463.16%)
Mutual labels:  abp
MPACore.PhoneBook
采用MVC+jQuery 的方式进行开发。
Stars: ✭ 51 (+168.42%)
Mutual labels:  abp
Learningmpaabp
学习Abp框架之Mpa实操演练
Stars: ✭ 351 (+1747.37%)
Mutual labels:  abp
Helloabp
ABP vNext + vue-element-admin入门级项目实战
Stars: ✭ 153 (+705.26%)
Mutual labels:  abp
ABPRename
ABP 项目重命名
Stars: ✭ 16 (-15.79%)
Mutual labels:  abp
abp-ng-alain
基于ng-alain脚手架,增加对ABP服务端支持(ABP免费模板)。支持ng-alain最新版ng-alain@next
Stars: ✭ 45 (+136.84%)
Mutual labels:  abp
Abp Vue Admin Element Typescript
vue admin with abp
Stars: ✭ 183 (+863.16%)
Mutual labels:  abp

SPF

The spf Ruby gem, also known as spf-ruby, is an implementation of the Sender Policy Framework (SPF) e-mail sender authentication system. It is closely based on the Mail::SPF Perl library at <search.cpan.org/~jmehnle/Mail-SPF-v2.005/>, so most of Mail::SPF's documentation is applicable.

See <www.openspf.org> for more information about SPF.

Note: This gem is currently very early in its lifecycle. The API is not guaranteed to be stable.

Usage

require 'spf'

spf_server = SPF::Server.new

request = SPF::Request.new(
  versions:      [1, 2],             # optional
  scope:         'mfrom',            # or 'helo', 'pra'
  identity:      '[email protected]',
  ip_address:    '192.168.0.1',
  helo_identity: 'mta.example.com'   # optional
)

result = spf_server.process(request)

puts result

result_code   = result.code # :pass, :fail, etc.

Copyright 2016 Agari Data, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this software except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].