My old Centos 5.5 servers had a /root/.forward to send things like logwatch to this email account. It did not take any special configuration in sendmail for this to work.
Now Centos 6.3 is using postfix (as we well know, and generally I am happy for this) and I have set up the /root/.forward as always, but it seems like postfix is ignoring it. I have restarted postfix with no difference in behaviour.
/root/.forward contains the single line without ending in <cr> (I have tested with <cr> at the end as well:
rgm@htt-consult.com
'host htt-consult.com' responses with:
htt-consult.com mail is handled by 10 klovia.htt-consult.com.
For the testing from my regular account I run:
mail -s Test root < /dev/null
/var/log/maillog shows:
Mar 4 10:16:04 onlo postfix/pickup[30442]: 911731400CE: uid=500 from=<rgm> Mar 4 10:16:04 onlo postfix/cleanup[30526]: 911731400CE: message-id=20130304151604.911731400CE@onlo.htt-consult.com Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: from=rgm@onlo.htt-consult.com, size=471, nrcpt=1 (queue active) Mar 4 10:16:04 onlo postfix/local[30528]: 911731400CE: to=root@onlo.htt-consult.com, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox) Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: removed You have mail in /var/spool/mail/root
Does anyone else use the .forward file? This should work. Of course I can modify the alias file for postfix, but .forward was always 'easier' to configure.
If I have to plow through the postfix docs for this, I will, but I would think this should work.
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
using a '.forward' has been out of vogue for many years
Craig
On Mar 4, 2013, at 8:27 AM, Robert Moskowitz wrote:
My old Centos 5.5 servers had a /root/.forward to send things like logwatch to this email account. It did not take any special configuration in sendmail for this to work.
Now Centos 6.3 is using postfix (as we well know, and generally I am happy for this) and I have set up the /root/.forward as always, but it seems like postfix is ignoring it. I have restarted postfix with no difference in behaviour.
/root/.forward contains the single line without ending in <cr> (I have tested with <cr> at the end as well:
rgm@htt-consult.com
'host htt-consult.com' responses with:
htt-consult.com mail is handled by 10 klovia.htt-consult.com.
For the testing from my regular account I run:
mail -s Test root < /dev/null
/var/log/maillog shows:
Mar 4 10:16:04 onlo postfix/pickup[30442]: 911731400CE: uid=500 from=<rgm> Mar 4 10:16:04 onlo postfix/cleanup[30526]: 911731400CE: message-id=20130304151604.911731400CE@onlo.htt-consult.com Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: from=rgm@onlo.htt-consult.com, size=471, nrcpt=1 (queue active) Mar 4 10:16:04 onlo postfix/local[30528]: 911731400CE: to=root@onlo.htt-consult.com, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox) Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: removed You have mail in /var/spool/mail/root
Does anyone else use the .forward file? This should work. Of course I can modify the alias file for postfix, but .forward was always 'easier' to configure.
If I have to plow through the postfix docs for this, I will, but I would think this should work.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
using a '.forward' has been out of vogue for many years
Shows how long I have been coasting along. I will take the aliases path, then. thanks.
Craig
On Mar 4, 2013, at 8:27 AM, Robert Moskowitz wrote:
My old Centos 5.5 servers had a /root/.forward to send things like logwatch to this email account. It did not take any special configuration in sendmail for this to work.
Now Centos 6.3 is using postfix (as we well know, and generally I am happy for this) and I have set up the /root/.forward as always, but it seems like postfix is ignoring it. I have restarted postfix with no difference in behaviour.
/root/.forward contains the single line without ending in <cr> (I have tested with <cr> at the end as well:
rgm@htt-consult.com
'host htt-consult.com' responses with:
htt-consult.com mail is handled by 10 klovia.htt-consult.com.
For the testing from my regular account I run:
mail -s Test root < /dev/null
/var/log/maillog shows:
Mar 4 10:16:04 onlo postfix/pickup[30442]: 911731400CE: uid=500 from=<rgm> Mar 4 10:16:04 onlo postfix/cleanup[30526]: 911731400CE: message-id=20130304151604.911731400CE@onlo.htt-consult.com Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: from=rgm@onlo.htt-consult.com, size=471, nrcpt=1 (queue active) Mar 4 10:16:04 onlo postfix/local[30528]: 911731400CE: to=root@onlo.htt-consult.com, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox) Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: removed You have mail in /var/spool/mail/root
Does anyone else use the .forward file? This should work. Of course I can modify the alias file for postfix, but .forward was always 'easier' to configure.
If I have to plow through the postfix docs for this, I will, but I would think this should work.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
# postman /etc/aliases -bash: postman: command not found
So I will read the postfix docs for how else to do this...
using a '.forward' has been out of vogue for many years
Craig
On Mar 4, 2013, at 8:27 AM, Robert Moskowitz wrote:
My old Centos 5.5 servers had a /root/.forward to send things like logwatch to this email account. It did not take any special configuration in sendmail for this to work.
Now Centos 6.3 is using postfix (as we well know, and generally I am happy for this) and I have set up the /root/.forward as always, but it seems like postfix is ignoring it. I have restarted postfix with no difference in behaviour.
/root/.forward contains the single line without ending in <cr> (I have tested with <cr> at the end as well:
rgm@htt-consult.com
'host htt-consult.com' responses with:
htt-consult.com mail is handled by 10 klovia.htt-consult.com.
For the testing from my regular account I run:
mail -s Test root < /dev/null
/var/log/maillog shows:
Mar 4 10:16:04 onlo postfix/pickup[30442]: 911731400CE: uid=500 from=<rgm> Mar 4 10:16:04 onlo postfix/cleanup[30526]: 911731400CE: message-id=20130304151604.911731400CE@onlo.htt-consult.com Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: from=rgm@onlo.htt-consult.com, size=471, nrcpt=1 (queue active) Mar 4 10:16:04 onlo postfix/local[30528]: 911731400CE: to=root@onlo.htt-consult.com, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox) Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: removed You have mail in /var/spool/mail/root
Does anyone else use the .forward file? This should work. Of course I can modify the alias file for postfix, but .forward was always 'easier' to configure.
If I have to plow through the postfix docs for this, I will, but I would think this should work.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, Mar 4, 2013 at 11:03 AM, Robert Moskowitz rgm@htt-consult.com wrote:
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
# postman /etc/aliases -bash: postman: command not found
you should also jus tbe able to run 'newaliases' (/usr/bin/newaliases) to get the updates set.
DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored.
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
Craig
On Mar 4, 2013, at 9:09 AM, zGreenfelder wrote:
On Mon, Mar 4, 2013 at 11:03 AM, Robert Moskowitz rgm@htt-consult.com wrote:
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
# postman /etc/aliases -bash: postman: command not found
you should also jus tbe able to run 'newaliases' (/usr/bin/newaliases) to get the updates set.
DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored.
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/04/2013 11:13 AM, Craig White wrote:
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
I have been anti-apple since the Lisa. I maintain my curmudgeon position and do not have or use any apple equipment. Other than an apple peeler for making apple slices and applesause.
Craig
On Mar 4, 2013, at 9:09 AM, zGreenfelder wrote:
On Mon, Mar 4, 2013 at 11:03 AM, Robert Moskowitz rgm@htt-consult.com wrote:
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
# postman /etc/aliases -bash: postman: command not found
you should also jus tbe able to run 'newaliases' (/usr/bin/newaliases) to get the updates set.
DESCRIPTION The Postfix sendmail(1) command implements the Postfix to Sendmail com- patibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored.
-- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Robert Moskowitz wrote:
On 03/04/2013 11:13 AM, Craig White wrote:
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
I have been anti-apple since the Lisa. I maintain my curmudgeon position and do not have or use any apple equipment. Other than an apple peeler for making apple slices and applesause.
Yeah. I don't like would-be monopolies that want to lock you in forever....
But don't you use one of those apple slicers that slices and cores at the same time?
mark
On 03/04/2013 11:32 AM, m.roth@5-cent.us wrote:
Robert Moskowitz wrote:
On 03/04/2013 11:13 AM, Craig White wrote:
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
I have been anti-apple since the Lisa. I maintain my curmudgeon position and do not have or use any apple equipment. Other than an apple peeler for making apple slices and applesause.
Yeah. I don't like would-be monopolies that want to lock you in forever....
But don't you use one of those apple slicers that slices and cores at the same time?
Yep! Only apple machine worth its price!
On Mon, Mar 4, 2013 at 10:32 AM, m.roth@5-cent.us wrote:
On 03/04/2013 11:13 AM, Craig White wrote:
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
I have been anti-apple since the Lisa. I maintain my curmudgeon position and do not have or use any apple equipment. Other than an apple peeler for making apple slices and applesause.
Yeah. I don't like would-be monopolies that want to lock you in forever....
But starting with OSX, they inherited most of the unix-like goodness from *bsd, so you aren't really stuck with their toy single-user interface that they still stick on top. Ssh in and fire up vi if you like.
Am 04.03.2013 um 17:13 schrieb Craig White craig.white@ttiltd.com:
yeah - that probably works too.
and sorry for the typo… seems that Apple Mail helpfully autocorrects spelling which changed postmap to postman so quickly I never noticed. I have literally begged my boss to let me swap out my Macintosh for a Linux box to no avail.
you can disable that autocorrection with
# Disable auto-correct $ defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
and relogin
:-)
-- LF
On 03/04/2013 11:03 AM, Robert Moskowitz wrote:
On 03/04/2013 10:29 AM, Craig White wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
# postman /etc/aliases -bash: postman: command not found
Use newaliases instead. Well documented all over the place for managing aliases with postfix. My little bit of searching for 'postman' seems to point this to being a debian command? Well it doesn't matter, ans newaliases works.
thanks again.
So I will read the postfix docs for how else to do this...
using a '.forward' has been out of vogue for many years
Craig
On Mar 4, 2013, at 8:27 AM, Robert Moskowitz wrote:
My old Centos 5.5 servers had a /root/.forward to send things like logwatch to this email account. It did not take any special configuration in sendmail for this to work.
Now Centos 6.3 is using postfix (as we well know, and generally I am happy for this) and I have set up the /root/.forward as always, but it seems like postfix is ignoring it. I have restarted postfix with no difference in behaviour.
/root/.forward contains the single line without ending in <cr> (I have tested with <cr> at the end as well:
rgm@htt-consult.com
'host htt-consult.com' responses with:
htt-consult.com mail is handled by 10 klovia.htt-consult.com.
For the testing from my regular account I run:
mail -s Test root < /dev/null
/var/log/maillog shows:
Mar 4 10:16:04 onlo postfix/pickup[30442]: 911731400CE: uid=500 from=<rgm> Mar 4 10:16:04 onlo postfix/cleanup[30526]: 911731400CE: message-id=20130304151604.911731400CE@onlo.htt-consult.com Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: from=rgm@onlo.htt-consult.com, size=471, nrcpt=1 (queue active) Mar 4 10:16:04 onlo postfix/local[30528]: 911731400CE: to=root@onlo.htt-consult.com, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to mailbox) Mar 4 10:16:04 onlo postfix/qmgr[30443]: 911731400CE: removed You have mail in /var/spool/mail/root
Does anyone else use the .forward file? This should work. Of course I can modify the alias file for postfix, but .forward was always 'easier' to configure.
If I have to plow through the postfix docs for this, I will, but I would think this should work.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, Mar 4, 2013 at 9:29 AM, Craig White craig.white@ttiltd.com wrote:
You should set e-mail address for root in /etc/aliases and then issue command 'postman /etc/aliases' to alert postfix to the changes.
using a '.forward' has been out of vogue for many years
Well, since running sendmail as root and allowing open read access to home directories for easy cooperation among the machine users became unusual, anyway.