I have added it on gist for review.

https://gist.github.com/mrlesmithjr/c8b6f967532d743eeb4b#file-monitrc

On Tue, Oct 6, 2015 at 3:12 AM, Martin Pala <[email protected]> wrote:

> Please can you send your monit configuration to [email protected]?
>
> Regards,
> Martin
>
>
> On 02 Oct 2015, at 22:17, Larry Smith <[email protected]> wrote:
>
> the only translation going on in my Postfix setup is as below. This works
> for everything else and has for over a year. But anything is possible I
> supposed. But even this translation does not match up with what I am seeing.
>
> administrator@ansible:~$ cat /etc/postfix/generic
>
> @ansible  [email protected]
>
> @ansible.everythingshouldbevirtual.local
> [email protected]
>
> On Fri, Oct 2, 2015 at 3:25 PM, Tino Hendricks <[email protected]>
> wrote:
>
>> Hmmm, then I can only imagine your MTA as a culprit.
>> Is it possible that some translation takes place?
>> :-(
>>
>> Can you send a mail as the user that monit uses?
>>
>>
>> > Am 02.10.2015 um 20:59 schrieb Larry Smith <[email protected]>:
>> >
>> > I have even tried that. The following is what is happening.
>> > I can either leave default which is
>> > From: monit@$HOST
>> >
>> > or manually set
>> > From: monit@$HOST
>> >
>> > and...
>> >
>> > set alert [email protected]
>> >
>> >
>> > The email is sent to monit@$HOST
>> > ex.
>> > to=<[email protected]>
>> >
>> > I can see the same effect if I change...
>> > From: [email protected]
>> >
>> > or set...
>> > set mail-format { from: [email protected] }
>> >
>> > The email is then sent to [email protected]; again using the From: as
>> the to: as well...
>> >
>> > Thanks for the reply!
>> >
>> >
>> >
>> > On Fri, Oct 2, 2015 at 2:25 PM, Tino Hendricks <[email protected]>
>> wrote:
>> > Larry,
>> >
>> > dunno if I get you right, but if I enter
>> >
>> >         set mail-format { from: [email protected] }
>> >
>> > mails arrive with headers
>> >
>> > Return-Path: <[email protected]>
>> > …
>> > From: [email protected]
>> > ….
>> >
>> > What doesn’t work with your setup?
>> >
>> > Best,
>> >
>> > Tino
>> >
>> >
>> >
>> > > Am 02.10.2015 um 17:45 schrieb Larry Smith <[email protected]>:
>> > >
>> > > All,
>> > > I have just gone through and setup some servers to use monit and
>> configured the email account correctly for set alert and left the default
>> email message format as is and any alert that is generated are being sent
>> to the from address monit@$HOST....Anyone else seen this or know how to
>> get around it?
>> > > I am running this on Ubuntu 14.04 servers.
>> > >
>> > > --
>> > > Twitter @mrlesmithjr
>> > > Blog EverythingShouldBeVirtual.com
>> <http://everythingshouldbevirtual.com>
>> > > Interested in blog sponsorship? Go to http://bit.ly/10Aj7Sq
>> > > --
>> > > To unsubscribe:
>> > > https://lists.nongnu.org/mailman/listinfo/monit-general
>> >
>> >
>> > --
>> > To unsubscribe:
>> > https://lists.nongnu.org/mailman/listinfo/monit-general
>> >
>> >
>> >
>> > --
>> > Twitter @mrlesmithjr
>> > Blog EverythingShouldBeVirtual.com
>> <http://everythingshouldbevirtual.com>
>> > Interested in blog sponsorship? Go to http://bit.ly/10Aj7Sq
>> > --
>> > To unsubscribe:
>> > https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>
>
>
> --
> Twitter @mrlesmithjr <http://twitter.com/mrlesmithjr>
> Blog EverythingShouldBeVirtual.com <http://everythingshouldbevirtual.com/>
> Interested in blog sponsorship? Go to http://bit.ly/10Aj7Sq
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
Twitter @mrlesmithjr <http://twitter.com/mrlesmithjr>
Blog EverythingShouldBeVirtual.com
Interested in blog sponsorship? Go to http://bit.ly/10Aj7Sq
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to