1834926 Members
2738 Online
110071 Solutions
New Discussion

Sendmail 8.11.1 syntax

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

Sendmail 8.11.1 syntax

Hi,UX 11.00. sendmail 8.11.1.
I am haing problems with syntax of Privacy options in sendmail.cf file. Can you have more than one option listed in the PrivacyOptions line? If so, how do you write it up? Is there a space between each option? a comma and a space between each option? I have tried a number of different methods and I still have a problem with vrfy command still answering. I currently have:
O PrivacyOptions=authwarnings, restrictqrun, goaway, noexpn, novrfy
Thanks in advance for any suggestions. Maria.
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Sendmail 8.11.1 syntax

Hi Maria,

Did you restart sendmail BTW?.

You can try "goaway" and see if it works. "," is the seperator as far as I know.

If there is a syntax error, sendmail will error out during the restart. Use /sbin/init.d/sendmail stop and start after making the changes.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
V.Tamilvanan
Honored Contributor

Re: Sendmail 8.11.1 syntax

Hi Maria,
Yes. You can have morethan one option in PrivacyOptions line.
In my system I have only a comma between each option (no space). May be you can try the same like .
O PrivacyOptions=authwarnings,restrictqrun,goaway,noexpn,novrfy

HTH.
T G Manikandan
Honored Contributor

Re: Sendmail 8.11.1 syntax

For any changes in the file,make sure you restart sendmail to effect the changes.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
comma in the seperator for the privacyOptions.
U.SivaKumar_2
Honored Contributor

Re: Sendmail 8.11.1 syntax

Hi,

This is the most secure setting comprising of all other option in one.

O PrivacyOptions=goaway


Regarding your question.

Dont leave spaces.

authwarnings,restrictqrun,noexpn

regards,

U.SivaKumar
Innovations are made when conventions are broken
Peter Gillis
Super Advisor

Re: Sendmail 8.11.1 syntax

Thankyou to all,comma as seps no spaces does the trick.
Thanks
Maria