Feb 14, 2004 #1 GuzaPasha Technical User Joined May 15, 2003 Messages 311 Location FR Hi all, I need the following: I want to use the script that will send an email using mailx command. Is there any way to set up from which user it will be sent. (is there a mailx syntax that can be used fot this?) Thanks in advance, Marko
Hi all, I need the following: I want to use the script that will send an email using mailx command. Is there any way to set up from which user it will be sent. (is there a mailx syntax that can be used fot this?) Thanks in advance, Marko
Feb 15, 2004 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR man mailx Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
man mailx Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
Feb 15, 2004 Thread starter #3 GuzaPasha Technical User Joined May 15, 2003 Messages 311 Location FR I know there is sth like mailx -s "test" -r someones@mail.com receimail@mailcom. But, i still receive it from the user that is currently logged in, eg root.(root@mail.com) I am running it on UnixWare 7.0 Do you have other suggestions? Thanx Marko Upvote 0 Downvote
I know there is sth like mailx -s "test" -r someones@mail.com receimail@mailcom. But, i still receive it from the user that is currently logged in, eg root.(root@mail.com) I am running it on UnixWare 7.0 Do you have other suggestions? Thanx Marko
Feb 15, 2004 #4 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR If installed, you can take a look at sendmail. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
If installed, you can take a look at sendmail. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
Feb 15, 2004 Thread starter #5 GuzaPasha Technical User Joined May 15, 2003 Messages 311 Location FR Hi PH, can I use the same syntax as with mailx or there is another syntax for sendmail. Thank you, will try it inform soon Marko Upvote 0 Downvote
Hi PH, can I use the same syntax as with mailx or there is another syntax for sendmail. Thank you, will try it inform soon Marko
Feb 15, 2004 #6 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR Have you tried this : man sendmail ? Take a look at the -f and -F options. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
Have you tried this : man sendmail ? Take a look at the -f and -F options. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
Feb 15, 2004 Thread starter #7 GuzaPasha Technical User Joined May 15, 2003 Messages 311 Location FR Unfortunately, there is no man for sendmail as well as for mailx. Thank you, Marko Upvote 0 Downvote