Link to home
Start Free TrialLog in
Avatar of erase015
erase015

asked on

resend email from Sendmail

with sendmail server install in Redhat 8, if sendmail server was failure to
send email to the destination this moment, then when sendmail server will
send it again ? Is it possible to change the time about retry to send
failure email?
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rahmath
Rahmath

By default it will retry every i hour . you can set it by the folowing command.

sendmail -q[time]
           
  Process saved messages in the queue at given intervals.  If time is  omitted,  process the queue once.  Time is given as a tagged number, with `s' being seconds, `m' being minutes (default), `h' being  hours, `d' being days, and `w' being weeks.  For example, `-q1h30m' or `-q90m' would both set  the  timeout  to  one  hour thirty  minutes.   By  default,  sendmail  will run in the back-ground.  This option can be used safely with -bd.