mail -s option
Taking backup of zimbra servers to tape drives and wanted to receive a mail after backup is done using:
mail -s "backup status " mail@domain < /lpath/log
mail@domain doesnot belong to the zimbra mail system.
we are not receiving any mails for the same..
can anyone help plzzzzz
What does /var/log/zimbra.log say ?
Aug 16 15:55:17 mta1 postfix/smtpd: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 5.7.1 <root@mta>: Sender address rejected: Access denied; from=<root@mta> to=<recipeint address> proto=ESMTP helo=<mta>
Aug 16 15:55:17 mta1 sendmail: n7GCtH7u004278: to=recipeint address, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=794278, relay=[127.0.0.1] [127.0.0.1], dsn=5.7.1, stat=Service unavailable
Aug 16 15:55:17 mta1 sendmail: n7GCtH7u004278: n7GCtH7v004278: DSN: Service unavailable
Aug 16 15:55:17 mta1 postfix/smtpd: 911C61B8482: client=localhost.localdomain[127.0.0.1]
Aug 16 15:55:17 mta1 postfix/cleanup: 911C61B8482: message-id=<200908161255.n7GCtH7v004278@mta>
Aug 16 15:55:17 mta1 sendmail: n7GCtH7v004278: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=795302, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 911C61B8482)
Aug 16 15:55:17 mta1 postfix/qmgr: 911C61B8482: from=<>, size=783963, nrcpt=1 (queue active)
Aug 16 15:55:17 mta1 amavis: (30551-07) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090816T132123-30551: <> -> <root@mta> SIZE=783963 Received: from mta ([127.0.0.1]) by localhost (mta [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <root@mta>; Sun, 16 Aug 2009 15:55:17 +0300 (AST)
Why is sendmail installed on that server ?
To make life a challenge? :D
Originally Posted by uxbod
Well it should either be shutdown or removed from the system as per the ZCS installation documents.
Can you please help on wha to all to perform...
Stop the service, disable it from starting and/or uninstall it.
Originally Posted by tiarra
sendmail seems to be off at the same time.
Sounds like something needs to be tweaked in the way that /bin/mail queues a message. You're getting a "pop-up sendmail". Like /etc/alternatives/mta on Red Hat - or /etc/mail/mail.conf on FreeBSD.. not sure how else it might be done.