[rt-users] Question about sendmail aliases and crontab for fetchmail

Nelson Pereira npereira at protus.com
Wed Apr 9 11:50:10 EDT 2008


I created a rt3 user in my RHEL5 box for rt.

It has a crontab like this:

 

*	* * * * /usr/bin/fetchmail -f /home/rt3/.fetchmailrc -a -m
"/etc/smrsh/rt-mailgate --queue UnAssigned --action correspond --url
http://10.98.5.253/rt3" > /dev/null

 

The .fetcmail has:

 

set logfile=/opt/rt3/var/fetchmail

poll exmail.protus.org proto pop3:

#username otrs                  password ******      mda
"/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue General
--action correspond"

#username otrs-ns               password ******      mda
"/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue General
--action comment"

username nssupport              password ******      mda
"/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue UnAssigned
--action correspond"

username nssupport-comment      password ******      mda
"/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue UnAssigned
--action comment"

 

Since I use a crontab to fetch the emails from a POP box, can I delete
the string in the sendmail aliases file? Or is it needed...

The way I look at it, the cron fetches the emails and drops them in the
UnAssigned queue... So the Aliases is irrelevant in this case right?

 

And what is the use of a -comment email address... what does it do?

 

Thanks.

 

 

Nelson Pereira 
Senior Network Administrator 

Protus IP Solutions Inc. 
npereira at protus.com 
phone: 613.733.0000 ext.528 
MyFax: 613.822.5083 
www.myfax.com 

Refer your friends and colleagues to MyFax! 
Click here for more information.
<http://www.myfax.com/referral_program.asp>  

  <http://www.myfax.com> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080409/ab97f46b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4180 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080409/ab97f46b/attachment.gif>


More information about the rt-users mailing list