Link to home
Create AccountLog in
Avatar of toffee_natividad
toffee_natividad

asked on

setting up procmailrc for the first time

I have a website and email for ourcompany.com hosted by a web hosting company. They are using Linux. I was told that in order for me to have mailing list feature in our email. I need to setup procmail. I only have home folder access to that server. Can somebody help me setup procmail? procmailrc? I do not know much about setting this up. I am still new to Linux. Thank you very much.
Avatar of ravenpl
ravenpl
Flag of Poland image

please start from reading excellent manuals
man procmailrc
man procmailex

> They are using Linux. I was told that in order for me to have mailing list feature in our email. I need to setup procmail.
Procmail is not the best approach for creating mailing-lists.  Usually it's .forward, but .procmailrc will do
create $HOME/.procmailrc with following content

:0 c
! first@address.com
:0 c
! second@address.com
:0 c
! second@address.com
#mail is delivered to local account as well
#NOTE: Reply-To is not set to valid reply address
Avatar of toffee_natividad
toffee_natividad

ASKER

where will I create procmailrc? inside /home? How do I create a procmail? using nano? How do I create it? what command to use? do I jut type $HOME/.procmailrc inside /home? I am still new to Linux. Thanks
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Oh, and my favorite text editor: mcedit
I typed what you said:


[10:45 0.06]
[owl 4] virtue >            nano $HOME/virtue/.procamailrc
-bash: nano: command not found
[13:07 0.08]
[owl 5] virtue >            nano $HOME/virtue/.procamailrc
-bash: nano: command not found
[13:07 0.06]
[owl 6] virtue >
Try other editors. Are familiar with them? mcedit is pretty easy.
[owl 8] virtue >            mcedit $HOME/virtue/.procmailrc
-bash: mcedit: command not found
Ask admin what text editors are available. I posted few others.
Thanks a lot. You helped me a lot. It worked