2011/3/1 kapetr <kap...@mizera.cz>: > Hello, > > I need help to get sending e-mails out fo my Ubuntu 10.10 box. > > My PC is connected via ADSL modem (NAT) with static public IP > adress. > It is standard "Internet client" standalone computer. > I want to use Postix (e.g while logging of sent mails, ..) instead > of using my ISP's SMTP server. So I have installed Postfix. > > If I send (from Evolution MUA) test email via Postfix > from <jiri.pa...@email.cz> to e.g. <jiri.pa...@centrum.cz>, then all > goes OK. > But if I send email to <kenap.i...@gmail.com>, then it FAILS. > > In log is: > > ------------------------------------- > Mar 1 08:28:46 duron650 postfix/qmgr[12923]: 4F758A2F17: > from=<jiri.pa...@email.cz>, size=572, nrcpt=1 (queue active) > Mar 1 08:28:47 duron650 postfix/smtp[13007]: 4F758A2F17: > to=<kenap.i...@gmail.com>, > relay=gmail-smtp-in.l.google.com[74.125.39.27]:25, delay=0.99, > delays=0.41/0.11/0.28/0.2, dsn=5.7.1, status=bounced (host > gmail-smtp-in.l.google.com[74.125.39.27] said: 550-5.7.1 > [85.71.234.108] The IP you're using to send mail is not authorized > to 550-5.7.1 send email directly to our servers. Please use the SMTP > relay at your 550-5.7.1 service provider instead. Learn more at > 550 5.7.1 > http://mail.google.com/support/bin/answer.py?answer=10336 > a17si5071366fak.100 (in reply to end of DATA command)) > Mar 1 08:28:47 duron650 postfix/cleanup[13003]: 46508A2F18: > message-id=<20110301072847.46508a2...@108.234.broadband4.iol.cz> > Mar 1 08:28:47 duron650 postfix/qmgr[12923]: 46508A2F18: from=<>, > size=3139, nrcpt=1 (queue active) > Mar 1 08:28:47 duron650 postfix/bounce[13014]: 4F758A2F17: sender > non-delivery notification: 46508A2F18 > Mar 1 08:28:47 duron650 postfix/qmgr[12923]: 4F758A2F17: removed > Mar 1 08:28:50 duron650 postfix/smtp[13007]: 46508A2F18: > to=<jiri.pa...@email.cz>, relay=mx50.seznam.cz[77.75.77.47]:25, > delay=3, delays=0.08/0.01/2.1/0.82, dsn=2.0.0, status=sent (250 > 2.0.0 Mail 5201 queued for delivery in session 7c9300000034.) > Mar 1 08:28:50 duron650 postfix/qmgr[12923]: 46508A2F18: removed > ------------------------------- > > I have spent many time with googling about this. I have found many > questions, but no answers. > > So I have try change my "myhostname" in main.cf (and restart > postfix): > > myhostname = 108.234.broadband4.iol.cz > > This is the correct (from reverse DNS lookup) name of my "outside" > address. > But this do not help. > > So ... what is the problem ? > What kind of test exact does the server of Google mail ? > Haw to satisfy its requirements ?
Google is possibly blocking your dynamic ip range, you need to use smarthost. ("relayhost") -- Eero