由买买提看人间百态

topics

全部话题 - 话题: sendmail
首页 上页 1 2 3 (共3页)
S*A
发帖数: 7142
1
来自主题: Linux版 - 求助,linux下的smtp
比装个 sendmail 的优点是...?
b**r
发帖数: 352
2
来自主题: Linux版 - 求助,linux下的smtp
不用装sendmail, lol。
有时候你只是application,系统装神么你控制不了。
S*A
发帖数: 7142
3
来自主题: Linux版 - 求助,linux下的smtp
但是有些 server 就是这么干的,我以前自己架过自己的 sendmail
server, 只是向外面发信,重来不受信,也不可能有 mail relay。
很多 server 就是不收那我也没有办法。我可以肯定我自己的机器
没有被 hack, 也没有 spam 别人。就是网段不对,别人 server 返回
的 error message 里面都说了。
gmail 很多服务还不符合 RFC 规定呢,还不是一样跑。
S*A
发帖数: 7142
4
来自主题: Linux版 - 求助,linux下的smtp

这个我也有话没有说完,不过考虑团结我没有继续和你争了。
I guess we just have to agree to disagree.
你这个完全就是断章取义,回到 LZ 的问题,我是好心告诉 LZ 如果自己搭
sendmail server 会碰到什么样的问题。所以我建议 LZ 尽可能用 ISP
提供的 smtp server。这是本着帮点忙出发的,你叫我去读什么协议的东西
除了说明你懂很多以外帮上 LZ 什么忙了? 一齐 curse 全世界都不懂协议
就你懂?
这个 ISP dynamic IP blacklist 不是个别例子,我只是举了一个例子,
但是由此得出结论这是个别例子也是荒谬。这个是个非常普遍的现象,
是个事实的标准。你可以继续穿你的皇帝的新装,维护你理想的行业
标准。我非常对不起你,看你问那个 dynamic IP blacklist 的时候
老老实实告诉你有这个情况,不知道这个会破碎了你的理想中的行业标准。
而且你知道我是怎么想的么?我觉得你根本就想当然,把你自己理解
美名其曰成“行业标准”,根本不去调查研究。
这是zher 的原话:
“但是你不能假设这个I... 阅读全帖
S*A
发帖数: 7142
5
来自主题: Linux版 - 向 zher 同学道个歉

那你搞清楚了这个行为到底是不是在什么地方违规了没有,我就是一直很好奇
找那个出处,也不知道我猜的对不对?
对,我的资历比较弱,您是老大,如有冒犯,请多多包含。
我觉得你的表达很清楚,但是逻辑有问题。你说 yahoo,gmail 有特殊性,我可以
同意。你的逻辑简化为
1)gmail 做了不规范事情(这个太难查,我先假设有)
2)gmail 做了 B
3) B 就是不规范事情。
除非你说的 gmail 做的所有事情都是不规范的。这个明显和直觉是违背的。
"任何IP都是生而平等的," 所以由此可以推导出 firewall 是没有必要的?
大家都平等嘛,还要什么特殊待遇.
我都说了 N 遍了。这些用户和 ISP 的合同就是在这些 IP 不提供向外链接的
MTA。ISP 有专门的 smtp server 为自己的客户发信。这样做也是保护用户,
因为减少别人 hijack 这些 IP 的用处。consumer IP 不是一个精确的定义,
但是我相信你知道我指的是什么,在这里就是不能向外 MTA 的 IP。
是非
要不你去提交个 RFC 建议 whitelist 所有的合法 IP 看看能不能接受... 阅读全帖
S*A
发帖数: 7142
6
来自主题: Linux版 - 向 zher 同学道个歉
好吧,既然你那么说,我就收回我的话,就冲着你这态度,陪你多讨论一下。

你确定这个说的是我而不是你?给点论据事实看看?
我看到的是,你自己问我 sendmail IP 被 block 的事情,自己说这个
是违反协议。不但拿不出事实依据来,我给你找出了 RFC 还要嘴硬,
完全不谈 RFC 上面的事情。东扯西扯一大堆反正你就是对的。你不是
喜欢引用 RFC 么,干嘛不直接引用个 RFC 一锤子敲定不就完了么。
你说的论据都是不能 Verified 是什么道理?
我知道我懂得不多,所以还是事实求事去查 RFC, 如果我错了,我希望搞明白
我错在什么地方,好更正我自己的理解。我承认我有好胜心的一面,但是你连
你自己总觉得永远都对的都不敢承认。说人家违反规定的不是你?死活拿不出
证据的还不是你?
你是想说 “我整天读 RFC, 懂得比你多多了,这个问题我没有道理讲不过你,
我就不和你这种无知的人讨论了。反正你们无知的人也讨论不出什么。”
这个我也可以明白。谁说我不能站在你的角度思考问题呢?
我只是不喜欢你永远是对的,高高在上的视角而已。
我一般不这样和别人讨论问题,但是胡搅蛮缠有胡搅蛮缠的讨论... 阅读全帖
T*o
发帖数: 363
7
来自主题: Linux版 - help on a simple smtp server setup
I need a simple smtp server setup on the Linux (the same as where the web
server was setup).
The mail server is only used to send email to interested people when
something happened. So for the mail server, I only need it being able to
send email, that's all. The action of sending email is invoked from Java
mail api.
Anybody suggests a better and simpler solution for this? Is sendmail too big
for this? Thx.
w*m
发帖数: 1806
8
俺只想发送邮件。就这么简单。如何设置成功了?
google了,试了几个,都成功不了
v*****r
发帖数: 1119
S***d
发帖数: 1802
10
the alternatives system is there to allow you to install several
services/packages that provide the same functionailty ( and very often the
same program names) and switch between them without uninstalling either.
Its most common use is to switch between sendmail and postfix, but links can
be set up to cater for any package at all.
t*****n
发帖数: 1589
11
来自主题: Linux版 - sending email limit?
maillog 如下:
Jul 9 05:34:15 ip-10-254-37-227 sendmail[5394]: r65IYEr4000599: to= vhida.com>, delay=3+11:00:01, xdelay=00:00:00, mailer=esmtp, pri=7502030,
relay=vhida.com., dsn=4.0.0, stat=Deferred: Connection refused by vhida.com.
ip值是内部的,vhida.com是我的网站,似乎是在不停的给自己发email
有人遇到过相同问题么?怎么回事
s*******n
发帖数: 38
12
来自主题: Programming版 - 同主题转寄 (转载)
写了个同主题转寄的python script. 就是附件还不work. mitbbs的附件bs直接pass.
python新手。边学边编的。
----------------------------------------------
from urllib import request
from bs4 import BeautifulSoup, NavigableString
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
from email import encoders
from email.header import Header
#password=sys.argv[1]
password='*****'
address='http://www.mitbbs.com/article_t/Programming/17234582.html'
urlBase='http://www.m... 阅读全帖
c*****a
发帖数: 808
13
来自主题: Programming版 - 什么错了, Invalid protocol: null
在用apache tomcat+jsp
ERROR: Unable to send email. Check Tomcat logs for details.
ERROR MESSAGE: Invalid protocol: null
public static void sendMail(String to, String from,
String subject, String body, boolean bodyIsHTML)
throws MessagingException
{
String mailhost = "smtp.gmail.com";
// 1 - get a mail session
Properties props = new Properties();
props.setProperty("mail.transport.protocol", "smtp");
props.setProperty("mail.host",... 阅读全帖
l**********n
发帖数: 8443
14
来自主题: Programming版 - spring真是大包大揽啊
就是随便整个war,实现点功能,比如SOAP saaj,sendmail。spring 4没有XML,爽。
w**z
发帖数: 8232
15
来自主题: Programming版 - Linux vulnerability "GHOST"
Highly critical “Ghost” allowing code execution affects most Linux systems
New bug haunting Linux could spark "a lot of collateral damage on the
Internet."
by Dan Goodin - Jan 27 2015, 11:32am PST
Share
Tweet
110
Pixabay
An extremely critical vulnerability affecting most Linux distributions gives
attackers the ability to execute malicious code on servers used to deliver
e-mail, host webpages, and carry out other vital functions.
The vulnerability in the GNU C Library (glibc) represents a... 阅读全帖
h******b
发帖数: 6055
16
来自主题: Programming版 - 自己架服务器搞email还真是技术活
周末帮领导在她node app上写一个发电子邮件确认这样的简单功能。
以前架过postfix的服务器,也用过php sendmail, 但经常被当作spam, 各种小问题不
断。
这次装了nodemailer配合gmail smtp, 在localhost没问题,在digital ocean上就不能
登陆gmail。今晚打算试试nodemail + sendgrid。似乎是node上最理想的免费方案?
其实真的很希望能够有个简单免费的方案,当年搞godaddy的时候,注册一个domain,
email方面就不用担心了。 发信/收信/web mail/smtp一条龙服务。不过后来被当spam
的情况也不少。
现在用google domain注册了一个网站和digital ocean的服务器, 想搞个免费的admin@
domain.com发信收信还真的不容易。
z*******w
发帖数: 79
17
来自主题: Security版 - redhat 6.2 vs 7.1?
1. backup your data and do a clean install
2. 6.2 or 7.1, either is OK, as long as:
2.1 disable unused service: e.g. rpc, ftp, telnet
sendmail, ...
2.2 patch the daemons you will use: wu-ftpd, rpc, samba, bind, etc
are known to have security holes
2.3 set up firewall: ipchains(kernel 2.2) iptables(kernel 2.4)
2.4 use ssh/scp to replace telnet/ftp
2.5 security auditing: check system log, use tripwire, install
snort, etc.
d******e
发帖数: 2265
18
来自主题: Security版 - rh的安全性
我们系所有的rh都可以被hack掉
非常easy的.
讨论一下linux的安全性好嘛?
怎么管理才能保证它不被黑掉.
需要开ftp和http, sendmail的说
b******d
发帖数: 28
19
【 以下文字转载自 Linux 讨论区 】
【 原文由 Bluewind 所发表 】
Rehdat linux 7.1. 我用这台机器做为家里LAN的server, 所以提供很多service,
包括http, ssh, ftp, dhcp, sendmail, samba, lpd。当初安装配置花了老多时间,
而且至今已经用了两年的时间,机器上有很多文件要保留,实在不想重新装系统,大家帮

看看对方(罗马尼亚人)怎么上来的,可不可以把漏洞补上。
前天晚上关机的时候,突然发现系统说/var device is busy, 我当时还以为
有人通过http或ftp正挂在我的机器上,所以也没在意。但昨天中午我开机后不久,就
收到了一个从yahoo退回来的email. 该email是hacker的script从我机器上自动发出
的,包含了passwd, shado和cpu_info等文件内容。但是hacker的email box:
s*********[email protected] 满了,所以信被退回给我,不然我到现在还不知道自己的机器
已经被黑了。然后我发现root上一次登录的时间变成了Oct.
c**o
发帖数: 166
20
来自主题: Unix版 - How to find the version of sendmail?
telnet YOUR_HOST_NAME 25
s*****d
发帖数: 258
21
来自主题: Unix版 - How to find the version of sendmail?
cool. Thanks a lot.
Mine is 5.64, pretty out of date. better upgrade it.
l*l
发帖数: 225
22
来自主题: Unix版 - How to send email in C program.
1)
ststem, execl, execlp, execle, execv, execvp
来调用 sendmail 或者 mail .
2)
要不你自己写连接 tcp/25
然后 send helo, vrfy, rcpt, data,
然后send message 就可以了.
其实你这样写的话就相当于写了一个简单的 mail 发送程序. 何苦呢?
j***y
发帖数: 87
23
来自主题: Unix版 - UNIX下发email的问题
/usr/etc/configmail to config sendmail first
s*****d
发帖数: 258
24
Should be OK ya! Unless your sendmail daemon is started without the redirecting
switch, check it with your adm.
BTW, did he put that .forward in his home directory?
w*****n
发帖数: 94
25
来自主题: Unix版 - how to show my website on WWW style

Use a normal user account to login from remote, and su to root
for sysadmin.
For security reason, ssh is highly recommended. With ssh, you
can directly login as root.
Let you registed domain name pointing to your current IP or
original FQDN. Setting up DNS server. Setting up webserver.
Just configured sendmail for a fresh install of solaris 2.8
in i386.
The only thing I need to do is change the smart relay host.
Find the line in /etc/mail/sendmai.cf, and begins with DS.
kill -1
l******t
发帖数: 809
26
来自主题: Unix版 - Any one help for the mail server???
Hi all,
I met a problem with our lab's mail server. It is on a Sun
oS 5.5 system. Today all the users in our lab can't recieve
and send email through the server. I just start to be the
administrtor. Some one with experience please give me some
advice. What would be the problem? The ex admin didn't do a
mail log. :( I reinstalled the sendmail, but it doesn't
work. Please give me some advice.
Thank you very much!
m*******t
发帖数: 40
27
来自主题: Unix版 - Any one help for the mail server???
Try to telnet to mailserver at port 25 and test the send function manually.
telnet to 110 to try the pop func if you need.
That will tell you about sendmail.
Type "help"if you do not know send mail command after you login.
w*****n
发帖数: 94
28
来自主题: Unix版 - a question about sendmail-8.12.3
No, i don't think so.
Does your outlook pc has official domain name?
T********r
发帖数: 6210
29
来自主题: Unix版 - Block address under pine
not easy, actually you should use procmail to filter unneeded
mails, or if you are admin of your Solaris, you can use sendmail
access database to filter spams.
a***t
发帖数: 39
30

It could be.
1. netstat -an | grep 25 (make sure smtp is running on your server)
2. ping serverip from other computer, make sure the connectivity is good
3. Check your ipchains or iptables settings, and see if it blocks the smtp
traffic. (type 'ipchains -L' or 'iptables -L' to list the existing rules)
L******r
发帖数: 199
31
好像不叫sendmail。
问问。
a***t
发帖数: 39
32

Sendmail is a MTA (mail transport agent), you can actually use it to send mail
too. Usually, you use mail, mailx, procmail, elm, or pine as your mail client
to send/receive mail.
T********r
发帖数: 6210
33
来自主题: Unix版 - 怎么合法设置hostname?
I don't think it's the problem of xxx:8000. DNS cannot resolve name with a
port number. You should check the config of your mail server to see if it
accept www.mydomain.com as local relay server (in sendmail, it's local-host
-names). Probably your mail server only accept mail to mydomain.com, not
www.mydomain.com.
b******d
发帖数: 28
34
【 以下文字转载自 Linux 讨论区 】
【 原文由 Bluewind 所发表 】
Rehdat linux 7.1. 我用这台机器做为家里LAN的server, 所以提供很多service,
包括http, ssh, ftp, dhcp, sendmail, samba, lpd。当初安装配置花了老多时间,
而且至今已经用了两年的时间,机器上有很多文件要保留,实在不想重新装系统,大家帮

看看对方(罗马尼亚人)怎么上来的,可不可以把漏洞补上。
前天晚上关机的时候,突然发现系统说/var device is busy, 我当时还以为
有人通过http或ftp正挂在我的机器上,所以也没在意。但昨天中午我开机后不久,就
收到了一个从yahoo退回来的email. 该email是hacker的script从我机器上自动发出
的,包含了passwd, shado和cpu_info等文件内容。但是hacker的email box:
s*********[email protected] 满了,所以信被退回给我,不然我到现在还不知道自己的机器
已经被黑了。然后我发现root上一次登录的时间变成了Oct.
s**s
发帖数: 242
35
如果只是想发几个文件,用uuencode处理一下直接发出去即可
m*****e
发帖数: 4193
36
uuencode is out dated. You should use MIME.
b******d
发帖数: 2
37
Hi, microbe/seis
Thank you.. but I have to be honest I have no idea about neither MIME nor
uuencode. Can you write an example here? Or you suggest that I should read
something on MIME? hehehe:)
Thank you!!

ASCII
s**s
发帖数: 242
38
uuencode 比较老,但是个unix都有,
例如你想传一个test.gz文件:
uuencode test.gz test.gz >test.gz.uue
mail someone@somewhere
D****g
发帖数: 2860
39
来自主题: Unix版 - Can not make up mind on MTA
sendmail, postfix, exim, which one to choose? I have a moderate machine,
600MHz CPU, don't have special requirement, just want to run an email server,
wish to use promail later on. I'm completely new to setting up an email
server. Any suggestions? Thanks.
S*****T
发帖数: 400
40
来自主题: Unix版 - [转载] ft,看看这什么意思啊
【 以下文字转载自 Linux 讨论区 】
【 原文由 susygut 所发表 】
www.dynamixcorp.com - - [01/Dec/2003:03:13:21 -0600] "SEARCH / HTTP/1.1" 405
342 "-" "-"
asp.kyokuto.co.jp - - [01/Dec/2003:03:34:03 -0600] "GET /scripts/..%255c%255c.
./winnt/system32/cmd.exe?/c+dir" 404 357 "-" "-"
这是httpd的logs文件里一条
这什么意思啊
这家伙想控制我的机器?
难道windows的server这么容易就被搞了?
ft啊
我开了sendmail, sshd和httpd的
当然也有firewall
需要注意什么吗
请各位精通网络安全的大侠指教指教
j*****o
发帖数: 320
41
来自主题: Unix版 - send_mail
不知道BSD上具体是怎么配置,但是在Linux上, 你不一定需要在服务器上安装
DNS服务,但是至少你要指定一个外部的DNS给服务器上的各种服务使用. 否则你的
邮件服务器怎么知道如何送信呢?
另外一个可能考虑的地方是关掉Sendmail反向域名查询的功能, 这样可能带来
一些伪造地址的邮件.
j*****o
发帖数: 320
42
来自主题: Unix版 - send_mail
如果你的Sendmail不收也不发, 那关掉就行了吧?
m**n
发帖数: 108
43
来自主题: Unix版 - send_mail
That's what I wanted. How to do that? I am not quite good
at FreeBSD configurations.
I thought if in rc.config not to let sendmail to start, it
should not... But why it still complains every night at
around 3am?
C*S
发帖数: 135
44
来自主题: Unix版 - send_mail
Hey, Terminator,
This time I am a little better than last time.
I first "manned" cron, and found it has two places
for its "tables". However, I could not find anything
related to sendmail. In fact, /ect/crontab is the file
I checked, and the one mensioned in man page, the /var/...
one is not even there.
So can you give me more info?
r*****u
发帖数: 2013
45
来自主题: Unix版 - 我的cygwin总是发布了email
我安装的时候都已经选择了所有的mail category下的所有的packages
每次运行email
还是找不到/usr/sbin/sendmail
有人知道为什么吗?
首页 上页 1 2 3 (共3页)