sendmail sol10

This is a discussion on sendmail sol10 within the solaris forums in Operating Systems category; 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 # ...

Go Back   Database Forum > Operating Systems > solaris

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-28-2008, 05:38 AM
Default sendmail sol10

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 =-
Reply With Quote
  #2  
Old 08-29-2008, 05:23 AM
Default Re: sendmail sol10

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...

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.