[SLE] Postfix - masquerede?
I have Postfix installed on my machine at home, and I am having a problem figuring out how to place the correct return address on my SMTP mail. I have read all the sample-*.cf files, and the various Howtos and FAQs, but I cannot determine how to add a personalized return address to all my outgoing mail. For my users (say Bob, Joe and Jack), the return address should be the same: stuart.hall@quinnipiac.edu. Instead, Postfix is sending out the following: Bob@localhost.quinnipiac.edu or Joe@localhost.quinnipiac.edu - whichever username I am logged in as. I am sure it is something simple as specifying a $MyHostName or something, but I just cannot figure it out! Thanks! Stuart p.s. Don't tell me to uninstall Postfix and install Sendmail instead - Sendmail was even more of a nightmare to setup! :-) -- Stuart Hall Cheshire, Connecticut, USA Linux User# 141732 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Wed, Feb 02, 2000 at 13:26 +0000, Stuart Hall wrote:
For my users (say Bob, Joe and Jack), the return address should be the same: stuart.hall@quinnipiac.edu. Instead, Postfix is sending out the following: Bob@localhost.quinnipiac.edu or Joe@localhost.quinnipiac.edu - whichever username I am logged in as.
One possible solution is to add the following to /etc/postfix/sender_canonical: Bob@localhost.quinnipiac.edu stuart.hall@quinnipiac.edu Joe@localhost.quinnipiac.edu stuart.hall@quinnipiac.edu Jack@localhost.quinnipiac.edu stuart.hall@quinnipiac.edu Then do a `postmap /etc/postfix/sender_canonical' and check if you have ender_canonical_maps = hash:/etc/postfix/sender_canonical in your /etc/postfix/main.cf. Finally restart postfix (rcpostfix reload). For more information on postfix's address rewriting, see `man 5 canonical'. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
SuSE Friends, I wrote a sysinit script for /sbin/init.d/ that starts and stops xfstt (the ttf font server). There is no easy way to quit xfstt (ie xfstt -q or xfstt -x) so I pipe ps to grep, write a temp file, read it into a couple variables then kill $pid. The problem is xfstt spawns itself for every connection to the font server and someitimes when dropping a runlevel there may be more than one instance of xfstt running. I do not know how to read in the variables of mulitple processes. I know it really isn't necessary to start and stop xfstt in the runlevels but it has been an excellent excersise in shell programming. Any help would be greatly appreciated. The script is attatched. Tim <HR> <UL> <LI>application/x-shellscript attachment: xfstt </UL> N§²æìržzǧué[h²ë)îÅ맲æìržzˬyÊ&ÚuØÚÊ&©Ý²Ç§ué[h²ë)îÅè^.±ç([(rØ^¶m§ÿðÃ.±ç(ô®Š+·ðèïÅ
Hi, On Wed, Feb 02, 2000 at 18:17 +0100, Timothy Metz wrote:
I wrote a sysinit script for /sbin/init.d/ that starts and stops xfstt (the ttf font server). There is no easy way to quit xfstt (ie xfstt -q or xfstt -x) so I pipe ps to grep, write a temp file, read it into a couple variables then kill $pid. The problem is xfstt spawns itself for every connection to the font server and someitimes when dropping a runlevel there may be more than one instance of xfstt running. I do not know how to read in the variables of mulitple processes. I know it really isn't necessary to start and stop xfstt in the runlevels but it has been an excellent excersise in shell programming. Any help would be greatly appreciated. The script is attatched.
Have you tried `killproc /usr/X11/bin/xfstt'? That should shut down all xfstt processes. Ciao, Stefan Please, if you start writing about a new topic create a new message rather then replying to a totally unrelated one. Otherwise the thread display in certain mailers is messed up. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Have you tried `killproc /usr/X11/bin/xfstt'? That should shut down all xfstt processes.
all that man page reading for nothing ;-) I always seem to overlook the obvious. killproc -g /usr/X11/bin/xfstt kills all... Thanks!
Please, if you start writing about a new topic create a new message rather then replying to a totally unrelated one. Otherwise the thread display in certain mailers is messed up.
Sorry, this was laziness on my part... clicked reply and changed the subject... Tim -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 2 Feb 2000, Timothy Metz wrote: tm> SuSE Friends, tm> tm> I wrote a sysinit script for /sbin/init.d/ that starts and stops xfstt (the ttf tm> font server). There is no easy way to quit xfstt (ie xfstt -q or xfstt -x) so I tm> pipe ps to grep, write a temp file, read it into a couple variables then tm> kill $pid. The problem is xfstt spawns itself for every connection to the font tm> server and someitimes when dropping a runlevel there may be more than one tm> instance of xfstt running. I do not know how to read in the variables of tm> mulitple processes. I know it really isn't necessary to start and stop xfstt in tm> the runlevels but it has been an excellent excersise in shell programming. Any tm> help would be greatly appreciated. The script is attatched. tm> I've got one on my webpage that may help you, its based on the format used by the rest of the /sbin/init.d routines. Just add the following to your /etc/rc.config file # This allows you to use TrueType Fonts within X, programs # that will benefit from this are Netscape, Gimp and Java # based applications. XFSTT_START="yes" and add the routine to your /sbin/init.d directory. I'm still working on a good way to turn it off by making it add and removethe directory on he fly with xset, but don't like the outcome so far. tm> Tim tm> tm> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14 The first time, it's a KLUDGE! The second, a trick. Later, it's a well-established technique! -- Mike Broido, Intermetrics -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
stuarthall@mailandnews.com
-
tmetz@frankfurt.netsurf.de
-
tomas@primenet.com