9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening.
# hostname
TechX
I checked the mail log ( /var/log/maillog ) and found the below error.
I'm sharing all the ".cf" files seen in the error log.
1.
# more /etc/postfix/main.cf
# postfix... (0 Replies)
Discussion started by: mohtashims
0 Replies
2. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies
3. Shell Programming and Scripting
Hi All,
I want to send each file to each email id as below.
Instead of writing saparate 10 mail commands
can we do it in a simple step.
file1.csv to raghu.s@hps.com
file2.csv to kiran.m@hps.com
file3.csv to kenni.d@hps.com
file4.csv to rani.d@hps.com
file5.csv to sandya.s@hps.com... (2 Replies)
Discussion started by: ROCK_PLSQL
2 Replies
4. Shell Programming and Scripting
Hello,
I have currently coded a bash script below in which it does the following:
# Archives compressed file from another location.
Basically it moves *.gz files to another location.
The script also sends an email whenever a new compressed file is placed. This is the issue that i... (5 Replies)
Discussion started by: Wizard_1979
5 Replies
5. UNIX for Dummies Questions & Answers
Is it possible for both commands to work? (1 Reply)
Discussion started by: phunkypants
1 Replies
6. Shell Programming and Scripting
Hi everyone,
I'm writing a script that connect to telnet and write some email taking the RCPT from a file. My problem is the fact I'm not able to put all the addresses I have in the file as subject for the "RCPT TO:":confused:...
Can anyone please help me?
Thanks
ps: I wrote this right... (7 Replies)
Discussion started by: t_waspy
7 Replies
7. Shell Programming and Scripting
I am looking for a script that I can use with mailx to do the following:
1. Grab usernames from a flat file (one at a time)
2. Attach a file to the email and mail out.
Thanks.
Cubefeed (3 Replies)
Discussion started by: CubeFeed
3 Replies
8. Shell Programming and Scripting
The following is an extract from one of my Shell Scripts which uses uuencode and mailx to send an email with multiple attachements:
uuencode $LOG_REPORT $(basename $LOG_REPORT)
uuencode $HTML_FILE $(basename $HTML_FILE )
) | if
then mailx -b "$COPY_TO" -s "$SUBJECT" -r "$MAIL_FROM"... (2 Replies)
Discussion started by: suthera
2 Replies
9. IP Networking
Hello,
I am new to POSTFIX.
My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Discussion started by: mojoman
1 Replies
POSTFIX-ADD-POLICY(8) System Manager's Manual POSTFIX-ADD-POLICY(8)
NAME
postfix-add-policy - add policy service to Postfix master.cf
SYNOPSIS
postfix-add-policy [policy name...] [username...] [argv...]
DESCRIPTION
The postfix-add-policy(8) command adds an smtp policy server named policy name running using username and called as argv to etc/post-
fix/master.cf to facilitate integration of SMTP policy servers such as postgrey or postfix-policyd-spf-perl. The configuration is based on
the Postfix SMTPD_POLICY_README. Adminstrators should verify it is appropriate for their requirements.
The original file is copied prior to modification and left in /etc/postfix to make it possible to revert changes easily.
Available in the Debian package for Postfix version 2.5.3 and later.
DIAGNOSTICS
If the given policy name already appears in the master.cf, a message will be printed to standard out and master.cf will not be modified.
ENVIRONMENT
MAIL_CONFIG
Directory with Postfix configuration files.
The postfix-add-policy(8) command should use this, but it currently doesn't. It is hard coded to /etc/postfix. This should be
changed.
CONFIGURATION PARAMETERS
None
FILES
/etc/postfix/master.cf
SEE ALSO
postconf(5), Postfix configuration
LICENSE
This software is licensed under the MIT open source license.
AUTHOR(S)
Scott Kitterman
<scott@kitterman.com>
POSTFIX-ADD-POLICY(8)