LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-13-2014, 12:08 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
welcome mail for new id created in qmail


hello,

recently i installed qmail in centos5.4.and created domain and email acc.

how i can send "welcome mail" automail to every new account whenever i create ids.


pls guide
 
Old 09-13-2014, 03:45 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by centos123 View Post
hello,
recently i installed qmail in centos5.4.and created domain and email acc. how i can send "welcome mail" automail to every new account whenever i create ids.

pls guide
As you've been asked several times in the past, STOP using text-speak, and spell out your words...it's "please", not 'pls'.

And if you have a script that generates new user accounts, why not just add something to the end of it to send that user a pre-type welcome message, that you have saved in a text-file? A good suggestion is here:
http://www.gossamer-threads.com/list...l/users/126826

Since you've been working with qmail for at least 3 years now, how have you BEEN doing this?

Last edited by TB0ne; 09-13-2014 at 03:47 PM.
 
Old 09-16-2014, 04:06 AM   #3
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
iam not having any script for creating new user.
i just use /home/vpopmail/bin/vadduser newuser@domail.co.in

in past we have mail support with vendor.But now we have no support in mail server.
New requirement is raised by upper dept. for sending greeting mail whenever we create new email id.

iam not expert of mail server so can u give some guide line.

link you share is ok. but tell me how to run the script on every new account.
Can you clear by example.
 
Old 09-16-2014, 09:25 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by centos123 View Post
iam not having any script for creating new user.
i just use /home/vpopmail/bin/vadduser newuser@domail.co.in

in past we have mail support with vendor.But now we have no support in mail server. New requirement is raised by upper dept. for sending greeting mail whenever we create new email id. iam not expert of mail server so can u give some guide line.

link you share is ok. but tell me how to run the script on every new account. Can you clear by example.
Again:
  • STOP USING TEXT SPEAK...you have been told this MANY times, and continue to do it. Read the LQ Rules. It's "you" not "u", "please", not "pls".
  • You have been using qmail for THREE YEARS NOW...you are not 'new' to it.
  • You have been working with Linux that long. You should be able to write your own scripts, so I'm not going to 'clear by example', and write your script for you.
  • If this is for your company, then it would seem that you have a job you're not qualified for, and that you need to tell your boss(es) you need training.
Since you're using the vadduser command, did it not occurr to you to put that into a script, along with the sed command from the OTHER post (which you were handed, since you didn't look it up on your own), and have the script you're after. A two-line script should be something that someone with three years of experience can handle. Please see some advice you've given others before:
http://www.linuxquestions.org/questi...8/#post4769068

Last edited by TB0ne; 09-16-2014 at 12:31 PM.
 
Old 09-18-2014, 05:36 AM   #5
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
avoid my spelling.and iam not using centos for a long time .iam aware of linux but not master of linux.
As i have mentioned in last reply we are having support of mail server but now not.
That's why iam here.
You are not guiding me properly .Definitely i required of training.But my comp.will not provide.
Forum is to guide help support not to point on mistake.
If i have solution then why should i be here.
So if you want to guide me than reply me solution .else close my post.
 
Old 09-18-2014, 05:46 AM   #6
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
check this user's post...

"kindly help me to sort out the problem. This is little bit urgent. Early help will be highly appreciated"" by some member
Is this line is ok for you. Haven't you seen this.
 
Old 09-18-2014, 10:04 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by centos123 View Post
avoid my spelling.
No, YOU avoid using text-speak, and adhere to the LQ Rules.
Quote:
and iam not using centos for a long time .iam aware of linux but not master of linux.
...and you don't need to be a 'master of Linux' to write a two line script. You already provided ONE line of it with the add user command...and I gave you the other line in the link I had to look up for you. And you've been posting questions steadily for years now, which would indicate that you have been USING Linux for years. Also, your question isn't about CentOS, but Qmail, isn't it??? So even if you HAVEN'T touched CentOS in years (which isn't true), the solution remains the same no matter what version/distro you're using.
Quote:
As i have mentioned in last reply we are having support of mail server but now not. That's why iam here. You are not guiding me properly .Definitely i required of training.But my comp.will not provide. Forum is to guide help support not to point on mistake. If i have solution then why should i be here. So if you want to guide me than reply me solution .else close my post.
I already spoon-fed you a link, and gave you the solution. If YOU are the support person for your company, then it's time that YOU step up and start learning. You were given the link that has a great suggestion in it for how to send that email, and you provided the first line of the script already. Here's an additional hint, since you need to be spoon-fed: the link I handed you has a line using 'sed'..that's the one you put in your script; the OTHER line for your script is the vadduser command you already have.

Again, you have been posting about Qmail for THREE YEARS...if you can't manage a two-line script after three years of experience/learning, then you need to tell your boss you can't do the job.
Quote:
Originally Posted by centos123
check this user's post... "kindly help me to sort out the problem. This is little bit urgent. Early help will be highly appreciated"" by some member Is this line is ok for you. Haven't you seen this.
No idea what this relates to, what you mean by it, or how it applies here. If you have 'urgent' issues at your company, then your company needs to hire someone to get this done. Again, you have been 'guided', and had the answer handed to you...if you can't manage the rest, there's not much we can do.

Last edited by TB0ne; 09-18-2014 at 10:08 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[qmail] can't send mail using 'qmail-inject' or 'mail' plpinet Linux - Server 5 07-04-2009 12:16 PM
Qmail to send mail to New Mail Server dumbsheep Linux - Server 0 06-17-2008 10:36 AM
How to handle non-existent users in qmail-toaster I have created a virtual domain goldenswan.com, all mail to pushpraj Linux - Distributions 0 07-07-2006 05:46 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration