| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| Hello, I am trying to get outgoing mail (only) working no success. Can you tell me please if my approach is correct? And what I should check to get it working? Have anonomised the local box to mysunbox, and the mailhost to mymailhostfqdm and the recipient to mailuser-at-fred.net in line with privacy guidlines in force. If you can help me please do! Regards Carlos I made the following change in source file: /etc/mail/cf/cf/ sendmail.mc from define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl to define(`SMART_HOST', `mymailhostfqdm') After changes used following command to generate sendmail.cf # m4 /etc/mail/cf/m4/cf.m4 sendmail.mc > /etc/mail/sendmail.cf Refreshed the sendmail services # svcadm refresh network/smtp:sendmail Generate the mail # echo "test" | mail -s "sub" mailuser-at-fred.net Check the mailq # mailq /var/spool/mqueue (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/ Recipient----------- m7S6Ir8o005856* 6 Thu Aug 28 07:18 (... User unknown) Total requests: 1 # Not Successful !! :- ---------------------------------------------- Result of mail relay telnet [root-at-mysunbox cf]# telnet mymailhostfqdm 25 Trying ...mymailhostfqdm Connected to mymailhostfqdm. Escape character is '^]'. 220 mymailhostfqdm-= NO JUNK MAIL =- |
|
#2
|
| On 28 Aug, 09:38, carlos.ohigg...@yahoo.com wrote: > Hello, > > I am trying to get outgoing mail (only) working no success. > Can you tell me please if my approach is correct? And what I should > check to get it working? > Have anonomised the local box to mysunbox, and the mailhost to > mymailhostfqdm and the recipient to mailu...@fred.net in line with > privacy guidlines in force. > If you can help me please do! > > Regards > > Carlos > > I made the following change in source file: /etc/mail/cf/cf/ > sendmail.mc > > from > define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl > to > define(`SMART_HOST', `mymailhostfqdm') > > After changes used following command to generate sendmail.cf > # m4 /etc/mail/cf/m4/cf.m4 sendmail.mc > /etc/mail/sendmail.cf > > Refreshed the sendmail services > # svcadm refresh network/smtp:sendmail > > Generate the mail > # echo "test" | mail -s "sub" *mailu...@fred.net > > Check the mailq > # mailq > * * * * * * * * /var/spool/mqueue (1 request) > -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/ > Recipient----------- > m7S6Ir8o005856* * * * 6 Thu Aug 28 07:18 > * * * * * * * * *(... User unknown) > * * * * * * * * * * * * * * * * * * * * * > * * * * * * * * Total requests: 1 > # > > Not Successful !! :- > > ---------------------------------------------- > Result of mail relay telnet > > [root-at-mysunbox cf]# telnet mymailhostfqdm 25 > Trying ...mymailhostfqdm > Connected to mymailhostfqdm. > Escape character is '^]'. > 220 *mymailhostfqdm-= NO JUNK MAIL =- fixed now! mail -s is no longer a valid option with the mail that ships with sol 10. mailx -s is OK tho... |
![]() |
| Thread Tools | |
| Display Modes | |