Gentoo Archives: gentoo-alt

From: Qiangning Hong <hongqn@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] send mail to gmail from a mac (via ssmtp?)
Date: Thu, 04 Sep 2008 06:05:14
Message-Id: b64ef0ce0809032304n6df43b95t6c1f3f712d5d851a@mail.gmail.com
1 Hi all,
2
3 When I tried to send some message to my gmail account in a script
4 using "mail -s ...", it is rejected by gmail service saying:
5
6 <hongqn@×××××.com>: host gmail-smtp-in.l.google.com[209.85.143.27] said:
7 550-5.7.1 [123.113.73.134] The IP you're using to send mail is not
8 authorized 550-5.7.1 to send email directly to our servers. Please use the
9 SMTP 550-5.7.1 relay at your service provider instead. Learn more at
10 550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336
11 j5si29197195tid.12 (in reply to end of DATA command)
12
13 I had this done before using ssmtp in my former gentoo Linux box
14 (reference: http://gentoo-wiki.com/HOWTO_Gmail_and_sSMTP). So after
15 setting etc/portage/package.keywords, I emerged ssmtp and mailx. But
16 the following command:
17
18 echo "some text" | $HOME/Gentoo/usr/bin/Mail -s hongqn@×××××.com
19
20 still gives me the same rejection mail from gmail. Anybody gives me a hint?
21
22 --
23 Qiangning Hong
24 http://www.douban.com/people/hongqn/

Replies

Subject Author
Re: [gentoo-alt] send mail to gmail from a mac (via ssmtp?) Fabian Groffen <grobian@g.o>