Operating System - Tru64 Unix
1830502 Members
2542 Online
110006 Solutions
New Discussion

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

 
SOLVED
Go to solution
Nicolas L.
New Member

Disable SMTP leaving POP on sendmail TRU64 5.1

Hello,

I have sendmail running under CAA service
(script "scr" is simply : /sbin/init.d/sendmail start )

I would like to leave POP running but disable SMTP service (to let users getting their mails and refuse sending new message).

Is there an option in the command line of sendmail or in sendmail.cf ? Or, should I block port 25 on server (I dont' know how...).

Thank you very much

Excuse my English, google helped me a little bit ...
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

Sendmail does not provides POP services. I don't know why you have a HA sendmail service in this case.

If you want to stop sendmail from receiving mail, you should modify your sendmail.cf configuration file and make it listen only to the loopback address, configure it like this:

O DaemonPortOptions=Addr=127.0.0.1,Port=smtp
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Nicolas L.
New Member

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

Thank you.

You wrote : Sendmail does not provides POP services

However, when I stop the CAA service (process sendmail), clients can't getting their mails)...

With your solution (O DaemonPortOptions=Addr=127.0.0.1,Port=smtp), is new mails with Outlook Express will be rejected by serveur ? (user will know that mail is not send, let in "outgoing box" with a warning ?).

Thank you very much.
Ivan Ferreira
Honored Contributor

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

>>> However, when I stop the CAA service (process sendmail), clients can't getting their mails)...

Probably, the CAA service control scripts also control the start and stop of the POP service. You can check what CAA is doing by looking at the control script located in /var/cluster/caa/script.

>>> With your solution (O DaemonPortOptions=Addr=127.0.0.1,Port=smtp), is new mails with Outlook Express will be rejected by serveur ? (user will know that mail is not send, let in "outgoing box" with a warning ?).

Yes, mails will be rejected, and yes, the user will receive an error and the mail will stay in the "outgoing box".

Bienvenido al foro, por favor asegurate de ver el siguiente enlace para informacion acerca de como asignar puntos:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

Have a nice day.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Nicolas L.
New Member

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

Thank you very much.

I've tested your solution and it's OK !

Good evening

Nicolas L.
New Member

Re: Disable SMTP leaving POP on sendmail TRU64 5.1

-