I have followed Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 12.04 LTS) on 12.04.3 with postfix 2.9.6 by falko, it seems partial working but i am not able to send/receive mails to/from outside getting logs as :
mail.err : no error
Oct 14 04:03:23 vosco postfix/smtp: 11454E0B7C: to=<firstname.lastname@example.org>, relay=gmail-smtp-in.l.google.com[22.214.171.124]:25, delay=7, delays=0.11/0/4.2/2.6, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[126.96.36.199] said: 550-5.7.1 [xx.xx.xx.xx] 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://support.google.com/mail/bin/a...y?answer=10336
it5si46979278pbc.185 - gsmtp (in reply to end of DATA command))
i am on dynamic ip, using no-ip domain, I think i have to go for relaying but this will show the same mail id in the from field for all the users, i want something like user1@domain1, user2@domain2 in the from field by using same gmail account for relaying.