Mail Issue
1 Attachment(s)
Good Evening!!
Sorry about another thread about the same problem: mail and sendmail! I believe after last weeks it was possible a better understanding about ways of sending mails. But, unfortunately I am not sucess yet. Then, I need helpful to use sendmail in a smart host feature. I am using a dynamic ip in ig.com.br domain and it is hosted by Google/Gmail. My sendmail is Version 8.14.5 and compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG I used this linuxquestions HowTo which has this file /etc/mail/authinfo AuthInfo:smtp.ig.com.br "U:vivanguarda2@ig.com.br" "P:xxxxxxxx" "M:PLAIN" http://www.linuxquestions.org/questi...-howto-224543/ My /etc/hosts # For loopbacking. 127.0.0.1 localhost 127.0.0.1 maq1.local.maq1_localdomain maq1.local Relevant sendmail-slackware.mc PHP Code:
A partial /etc/mail/sendmail.cf in sendmail.txt arquive And finally /var/log/maillog Code:
Mar 29 04:47:29 maq1 sendmail[3450]: r2T7l7q8003450: from=normal, size=4, class=0, nrcpts=0, What else I need to fix this difficult sending mail problem? |
Well it looks like you have not yet enabled relaying for sendmail.
Here is a good article to read over that will give you some of the basic info for sendmail. http://www.sendmail.com/sm/open_sour...smtp_relaying/ http://www.akadia.com/services/sendmail_relay.html -- Not official documentation put pretty on point and will give you a full example of a small sendmail setup. |
In case you're talking about your home machine and that I understood what you want to do.
Unless your only interest is to learn sendmail configuration I would use a tool like msmtp (you will find it on slackbuilds.org) instead of using the smart host sendmail feature. With msmtp you'll be able to use multiple external smtp servers and don't care about having a static IP a FQDN and a site CA (to avoid your emails go to SPAM). |
Problem is solved! I was trying to use it like a server. Then I tried to use like a client only and did another sendmail-slackware.mc for a client mode. Then I belive a changed line server for client in sendmail-slackware.mc edition was the point.
define(`confAUTH_OPTIONS', `A p y')dnl Thanks a lot, Kustom42, eloi but specially Mike and TB0ne in this hard task! |
All times are GMT -5. The time now is 12:27 PM. |