Find the answer to your Linux question:
Results 1 to 3 of 3
hello everyone, I want to use postfix to send email to gmail accounts. Currently i am able to send and receive mail in my localnetwork. Can you please describe what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    2

    postfix : how to send mail to gamil account


    hello everyone,
    I want to use postfix to send email to gmail accounts. Currently i am able to send and receive mail in my localnetwork. Can you please describe what will be next step if i want to send mail to gmail account.

    on some sites i have read to use gmail account we need sasl certificates. i have tried creating sasl certificated 4-5 times. and i am getting error "peer name verification fail common name mistmatched : smtp.gmail.com.

    Do we really require this gmail account sasl for sending new mails from localnetwork to gmail account.

    thanks in advance

  2. #2
    Just Joined! megerdin's Avatar
    Join Date
    Jul 2007
    Location
    Sylhet,Bangladesh
    Posts
    78
    add this line to the bottom of your postfix transport file

    * smtp:[smtp.gmail.com]
    and check .

  3. #3
    Just Joined!
    Join Date
    Dec 2008
    Posts
    2
    after addin this line to transport file i am getting same error.
    i have also used postmap transport command.
    * smtp:[smtp.gmail.com]

    This is the log after when i have use the command sendmail -bv vivekraj.agrawal@gmail.com


    Dec 18 15:28:43 radical-desktop postfix/smtp[10194]: EEE563B4473: to=<vivekraj.agrawal@gmail.com>, relay=gmail-smtp-msa.l.google.com[209.85.143.111], delay=4, status=undeliverable (delivery via gmail-smtp-msa.l.google.com[209.85.143.111]: host gmail-smtp-msa.l.google.com[209.85.143.111] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 My client isn't accepting my username and password - Help Center i9sm187857tid.19 (in reply to MAIL FROM command))Dec 18 15:28:43 radical-desktop postfix/cleanup[10189]: CA51E3B4474: message-id=<20081218095843.CA51E3B4474@mail.ppmsonline.com >
    Dec 18 15:28:43 radical-desktop postfix/qmgr[10087]: EEE563B4473: removed
    Dec 18 15:28:43 radical-desktop postfix/qmgr[10087]: CA51E3B4474: from=<>, size=2304, nrcpt=1 (queue active)
    Dec 18 15:28:45 radical-desktop postfix/smtp[10194]: certificate peer name verification failed for gmail-smtp-msa.l.google.com: CommonName mis-match: smtp.gmail.com
    Dec 18 15:28:46 radical-desktop postfix/smtp[10194]: CA51E3B4474: to=<root@gmail.com>, relay=gmail-smtp-msa.l.google.com[209.85.143.111], delay=3, status=bounced (host gmail-smtp-msa.l.google.com[209.85.143.111] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 My client isn't accepting my username and password - Help Center a4sm129236tib.27 (in reply to MAIL FROM command))
    Dec 18 15:28:46 radical-desktop postfix/qmgr[10087]: CA51E3B4474: removed

    *****************
    Please suggest me how o can resolve this error.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •