> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
Your java app will only allowed to send via this postfix instance from
these IP ranges.

> When I configured postfix, in system mail name I specified
> mail.mydomain.comand as smtp in my java app I use
> mail.mydomain.com, so i think my app use postfix.

No. That's not the case (at least not necessarily). If I were you I'd
specify the IP of the Postfix server instead of a hostname.

> Sep 11 11:40:01 Ubuntu-1004-lucid-64-minimal postfix/pickup[17353]: 
> E2A4816B2B75: uid=1000 from=<myuser>
> Sep 11 11:40:01 Ubuntu-1004-lucid-64-minimal postfix/cleanup[17733]: 
> E2A4816B2B75: 
> message-id=<20110911094001.E2A4816B2B75@Ubuntu-1004-lucid-64-minimal>
> Sep 11 11:40:01 Ubuntu-1004-lucid-64-minimal postfix/qmgr[7721]: 
> E2A4816B2B75: from=<myu...@mydomain.com>, size=776, nrcpt=1 (queue active)
> Sep 11 11:40:02 Ubuntu-1004-lucid-64-minimal postfix/smtp[17735]: 
> E2A4816B2B75: to=<mym...@myotherdomain.com>, 
> relay=mx.myotherdomain.com[ip]:25,
> delay=0.61, delays=0.02/0/0.4/0.18, dsn=2.0.0, status=sent (250 ok 1315734002 
> qp 12668)
> Sep 11 11:40:02 Ubuntu-1004-lucid-64-minimal postfix/qmgr[7721]: 
> E2A4816B2B75: removed

That's submission via the sendmail command. Your Java app is speaking
SMTP! Where are the logs for submissions from the java app?

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de
            

Reply via email to