[rt-users] Using Fetchmail to pipe mail into RT.

Joshua Riden jriden at cmhshare.org
Tue Jan 14 22:08:53 EST 2014


To manually pipe an email to RT. I would
# cat emailfile.eml | rt-mailgate

Usually the mail ends up going to /var/spool/mail/user
None of them as the .eml extension.

When I tried to pipe a test text file I would receive the following error..
cat: -bash: rt-mailgate: command not found




On Tue, Jan 14, 2014 at 8:50 AM, Landon Stewart <lstewart at iweb.com> wrote:

> On 13 January 2014 16:30, Joshua Riden <jriden at cmhshare.org> wrote:
>
>> Landon,
>>
>> Thank you so much Landon for your help. I appreciate it a lot! : )
>>
>> Now just a few questions..
>>
>> Where is the mailserver log that pertains to fetchmail?
>> /var/logs/mailserver ?
>>
>
> fetchmail logging has to be turned on like this in .fetchmailrc:
>
> defaults:
>   batchlimit 100
>   set logfile /home/username/fetchmail.log
>
>
>>  So when you say I should send  to RT from a real email address, you
>> mean from my /etc/aliases file?
>>
>
> I mean from a real email address so that bounces will come back to you if
> there are any.
>
>
>> How would I check for bounces that I would receive back?
>>
>
> You would check your mail.
>
>
>>  How would I manually pipe the mail into RT ? Is there a command that I
>> can use?
>>
>
> If you had an email in a file in all its original glory you could pipe it
> easily using cat.
>
> # cat emailfile.eml | rt-mailgate
>
> --
> Landon Stewart :: lstewart at iweb.com
> Lead Specialist, Abuse and Security Management
> Spécialiste principal, gestion des abus et sécurité
> http://iweb.com :: +1 (888) 909-4932
>
>
>


-- 

*Joshua Riden*


*Operations Support TechnicianInformation Services *
*Comprehensive Life Resources*
*Email: **jriden at cmhshare.org* <jriden at cmhshare.org>

*Desk:   x5844*
*Mobile: **(253) 355-9877*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140114/703f9d92/attachment.htm>


More information about the rt-users mailing list