I have a problem wrapping my head around a script that I modified, essentially it uses the postfix smtp line in master.cf to send out a message to two or more email servers, It is a nice way to test different email servers and platforms. Problem with the original script is that it did not handle multiple recipients properly, I got that to work but now the code is all messed up, messages put in that queue sequence don't delete themselves and I feel that the use of getopt could shrink this script to 50 ish lines but I can't figure out how.
Original Script can be found on pjrlost blogspot canada (cant post links yet)
my modded script:
Hi,
I have a mysql backup script located in crontab. I need to inform system administrator if the backup fail by telnet to smtp to send failure notification. ANyone got clue on how to achieve that?
cheers. (4 Replies)
Hello, there is a problem when using sendmail to certain destinations, basically the recipient will reject the incoming message because the user@local.domain.com is used as the sender (Return-Path), they would verify local.domain.com is not a valid DNS record which is true because it is a local... (11 Replies)
When I successfully write data to a TCP/IP socket, as I understand it, I am only guaranteed the data gets to the TCP/IP stack's buffer. However, a successful write doesn't guarantee that the data actually gets to the recipient. Since data can linger in the TCP/IP stack's buffer "indefinately," it... (7 Replies)
Hello,
I would like to create a shell script which would check whether the hosts have SAN dual path or not. If yes, then I should get a success message, else should get a list of hosts on which SAN dual path is not working.
Thanks.. (4 Replies)
Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
hi,
i have a problem ,
I'm creating a script that send a mail with telnet .
via command line it's ok,but i create the .sh i have problem .
this a .sh
telnet
open mysmtp 25
HELO
sleep 15
MAIL FROM:<Email>
sleep 15
RCPT TO:<email>
sleep 15
DATA
SUBJECT : PROVA (3 Replies)
I have make an menu in which first option is to start and second is to stop the services
echo "Please enter the appropriate choice for doing the operations"
echo "
1) STOP Services
2) START Services
case $choice in
1)
... (1 Reply)
Dear Concern,
As per below article, we have configured qmail in our system.
THE LINUX STUFF: qmail Installation Steps on Linux
But when we try to send any mail in own domain, got below error message. Please advise.
Apr 17 17:01:20 BLAUDITSCPTEST sendmail: alias database /etc/aliases... (0 Replies)