Results 1 to 2 of 2

Thread: how to send a cronjob email via mta1 or mta2 server?

  1. #1
    indunil75 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    51
    Rep Power
    6

    Default how to send a cronjob email via mta1 or mta2 server?

    Hi,

    I have multi server setup. 3 servers named mta1, mta2 and mailbox server.

    On mailbox server, I have setup a cronjob to backup mailboxes with zmmailbox command? ( it is a foorloop)

    After running this cronjob, I need an email to be sent to admin@example.com

    No mta is runnig on mailbox server. I have below entrty in my cronjob?

    my /etc/cron.d/backup file looks like this.

    MAILTO=admin@example.com
    15 11 * * * root /root/scripts/backup.sh

    But, no email is sent since it has no mta is installed.

    How can I send this email via mta1 or mta2 server?

    Hope to hear from you?

  2. #2
    lytledd is offline Elite Member
    Join Date
    Dec 2009
    Location
    Michigan
    Posts
    448
    Rep Power
    5

    Default

    Googling came up with this, though I haven't tried it myself

    smtp-cli — command line SMTP client

    Doug
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-07-2013, 01:15 PM
  2. How send email by other linux server as cleint
    By saltrange in forum Evolution Connector
    Replies: 1
    Last Post: 08-18-2011, 05:21 AM
  3. Replies: 1
    Last Post: 07-02-2009, 02:56 AM
  4. use internal mail server to send email in external net
    By abisello in forum Administrators
    Replies: 5
    Last Post: 03-18-2008, 08:29 AM
  5. Replies: 4
    Last Post: 02-13-2008, 05:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •