postfix question
I am starting to play around with postfix a bit more at work. Sadly I am
not getting much direction and or assistance in learning what I need to learn to get postfix to function 100% of the time on customers systems. The process I am using is as follows: yum install postfix mkfifo /var/spool/postfix/pickup service postfix start chkconfig postfix on then in a backup script i use the following command: mailx -s "ftp logs ${license}" user1@123.net,user2@456.net < $logname the situation is most of the time e-mails will go to only 1 recipient, this is not acceptable. I need the e-mails to go to all clients all of the time. Yes there is always the possibly they are getting caught up in spam filters, but once that is eliminated as the issue the e-mails should get to the target. Perfect example is today, of 22 e-mails I should have received this morning I only received 18. When I called the other person who should have received e-mails as well from the same 22 locations, he only received 8. Yesterday from the exact same stores I only received 9, while he received 14. This is to inconsistent for me to start having a clue how to fix. my guess is that things are not configured properly and that would fall on me to fix as I am not getting help from the company. On a much smaller note I would also like to learn howto configure the postfix.conf (what ever that file is) that it always sends the mailx from the same user no matter what account is sending, specifically when it is root that is sending the e-mail. I need root to be able to send the mailx as user. Sadly the su user -c "mailx subject user1@123.net < file" does not work due to the user being in a very unique environment and I can not call the subject. As you can see from the line I place in the scripts I need the subject line to be longer then just 1 word. Thanks again for the help in advance, and I do plan on being at the install fest next weekend if someone needs/wants to be there to help with it at that time. |
The problem here doesn't appear to be with postfix but with the way you use
mailx; multiple recipients for a message aren't listed separated by commas, but with spaces. Cheers, Tink |
when i tried it with spaces i got errors. ill post em in the morning when i get to work.
|
many thanks. i was able to resolve that issue as you suggested. i must have fat fingered it the first time i tried with the space.
|
Hi lleb
now that you have it solved, I could probably suggest you before to try this sendEmail script for sending MIME emails with success. I use it and it's great. good luck |
All times are GMT -5. The time now is 07:59 PM. |