Hi, I configured my postfix to use Gmail for SMTP. Following are the settings in /etc/postfix/main.cf file for this:
---------------------------------</etc/postfix/main.cf>-------------------- relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_use_tls = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd smtp_sasl_security_options = ---------------------------------</etc/postfix/main.cf>-------------------- All my emails are going through the smtp fine, but following problems: (1.) Even if I "set envelope_from " in .muttrc, the recipient of the mail sees the From header as my gmail id. However (setting reply-to to any value works). My local postfix logs indicate the from id as whatever I have set in .muttrc, so it looks like gmail is doing domething fishy. (2.) When I send a mail, even though it is successfully delivered by Gmail, my local postfix logs indicate following errors. Is there any way to get around this: -----------------------</var/log/mail.log>-------------------------------- Apr 17 21:16:09 localhost postfix/pickup[2836]: 25751DF098: uid=1000 from=<[EMAIL PROTECTED]> Apr 17 21:16:09 localhost postfix/cleanup[3956]: 25751DF098: message-id=<[EMAIL PROTECTED]> Apr 17 21:16:09 localhost postfix/qmgr[27389]: 25751DF098: from=<[EMAIL PROTECTED]>, size=1247, nrcpt=1 (queue active) Apr 17 21:16:09 localhost postfix/smtp[3958]: verify error:num=20:unable to get local issuer certificate Apr 17 21:16:09 localhost postfix/smtp[3958]: verify error:num=27:certificate not trusted Apr 17 21:16:09 localhost postfix/smtp[3958]: verify error:num=21:unable to verify the first certificate Apr 17 21:16:10 localhost postfix/smtp[3958]: Peer certficate could not be verified Apr 17 21:16:11 localhost postfix/smtp[3958]: 25751DF098: to=<[EMAIL PROTECTED]>, relay=smtp.gmail.com[64.233.171.109], delay=2, status=sent (250 2.0.0 OK 1113768986) Apr 17 21:16:11 localhost postfix/qmgr[27389]: 25751DF098: removed -----------------------</var/log/mail.log>-------------------------------- Regards. -- Ajitabh Pandey http://www.geocities.com/ajitabhpandey GnuPG Key ID - 35CF8CC4 Key fingerprint = E1A8 657D BE0C 4747 52EC 10C4 1AC2 C124 35CF 8CC4 : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Direct ps and pdf file creation (OpenOffice) LOST #436 You can produce ps and pdf files from openoffice directly. file -> print -> print to file -> choose file type. ####[tathagatabanerjee (at) gmx.net]########################## :
signature.asc
Description: Digital signature
