Re: warnquota email domain ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Apr 19, 2010, at 9:33 AM, Jake Grimmett wrote:

> When I put a test user (gollum) over quota, and run warnquota on a server 
> (nfs2.lmb.internal), the email generated by warnquota appears in the maillog 
> as "to=<gollum@xxxxxxxxxxxxxxxxx>," What I need is the email to go 
> to "gollum@xxxxxxxxxxxx"

you should be able to simply define a MAIL_HUB in your /etc/mail/sendmail.mc file:

dnl # foward all emails to institutional email server
define(`MAIL_HUB', `smtp.server.edu')dnl

make -C /etc/mail && service sendmail restart

HTH,
ian
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux