Dear Friends,
I insatlled qmail on CentOS 4.1 and now I need forward messages root to other user.
I modified file /etc/aliases but it don't work.
Thanks
Adriano
On Tue, 04 Oct 2005 09:11:03 -0300 Adriano Frare alfrare@e-alinux.com wrote:
Dear Friends,
I insatlled qmail on CentOS 4.1 and now I need forward messages root to other user.
I modified file /etc/aliases but it don't work.
Did you used the newaliases command afterwards? CM
I removed SENDMAIL and I guess newaliases is of the sendmail package, because I don't find the file newaliases.
CM wrote:
On Tue, 04 Oct 2005 09:11:03 -0300 Adriano Frare alfrare@e-alinux.com wrote:
Dear Friends,
I insatlled qmail on CentOS 4.1 and now I need forward messages root to other user.
I modified file /etc/aliases but it don't work.
Did you used the newaliases command afterwards? CM _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
sender: "Adriano Frare" date: "Tue, Oct 04, 2005 at 11:41:15AM -0300" <<<EOQ
I removed SENDMAIL and I guess newaliases is of the sendmail package, because I don't find the file newaliases.
Just make sure you have a valid symlink to /var/qmail/bin/sendmail in the places program usually look for sendmail (/usr/sbin, /usr/libexec) for compatibility with programs that need the good old sendmail. And of course, forget about newaliases.
Alex
On Tue, 04 Oct 2005 11:41:15 -0300 Adriano Frare alfrare@e-alinux.com wrote:
I removed SENDMAIL and I guess newaliases is of the sendmail package, because I don't find the file newaliases.
Yup, that happens when you are not reading carefully the request.. Sorry for the mess-up. Sendmail <> QMail. CM
sender: "Adriano Frare" date: "Tue, Oct 04, 2005 at 09:11:03AM -0300" <<<EOQ
Dear Friends,
I insatlled qmail on CentOS 4.1 and now I need forward messages root to other user.
I modified file /etc/aliases but it don't work.
Of course not. You installed Qmail... and that's not... Sendmail... therefore it has a different manual, config files, maillinglists... and fans :D
http://lifewithqmail.org/lwq.html look for section 2.8.4 "Create System Aliases"
basically, all you need to do is: echo my_other_local_account > /var/qmail/aliases/.qmail-root ** OR ** echo &my_other_email_address > /var/qmail/aliases/.qmail-root
Hope it helps, Alex
Quoting "Alexandru E. Ungur" alexandru@globalterrasoft.ro:
echo &my_other_email_address > /var/qmail/aliases/.qmail-root
Hmmm... He'll probably want to escape that '&' or shell is going to bitch about it:
echo '&my_other_email_address' > /var/qmail/aliases/.qmail-root
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Tue, 2005-10-04 at 07:11, Adriano Frare wrote:
Dear Friends,
I insatlled qmail on CentOS 4.1 and now I need forward messages root to other user.
I modified file /etc/aliases but it don't work.
You'll probably get better answers on a qmail-related list as it is very different from the standard Centos mailers.