Networking :: Postfix: Way To Reject All Incoming Mail?

Jun 26, 2010

I'm using postfix on Ubuntu 9.10 and all I need is to occasionally send automated emails from perl or php scripts when data processing errors occur. In other words, I want to reject any connection attempts from remote clients and otherwise allow nothing except outgoing emails from one particular account.f I add this line to the default main.cf, will it do the trick or is it more complicated?

Code:
smtpd_sender_restrictions reject

View 3 Replies


ADVERTISEMENT

Software :: Rejecting Continuously Changing Incoming Mail In Postfix?

Apr 4, 2011

I've read many post close to my subject regarding blacklisting incoming emails, but non of them described what I really want:How can I reject a continuously changing email from my postfix, here is what I mean:

abduooo+bncCIr7stnbBBCssufsBBoEzTHSKg@googlegroups.com
abduooo+bncCMfZgc-iExCKr-fsBBoEMzorbA@googlegroups.com
abduooo+bncCLf5kv6MHRCtmefsBBoEjYnAAQ@googlegroups.com

I think you got what I mean, the thing I've taken from the posts I've read is that I created a sender_access file hashed it and added the:smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_accessto postfix main.cf configurationThe sender access file reads:abduooo*@googlegroups.com REJECTBut that didn't work, I know that there is some magical slashes and dots to be added to the sender_access, but I don't know which.

View 1 Replies View Related

Server :: Postfix Or Qmail: Configure Multiple Mail For Incoming And Outgoing?

May 17, 2011

As a part of migration I am proposing different scenarios to my organization. One which is asked to prepare is to configure multiple mail servers to handle incoming and outgoing mails. Say I have -[URL], I need to have accept mails from [URL] and send mail from [URL].

View 1 Replies View Related

OpenSUSE Network :: Mail Server Configuration - Postfix To Send Incoming Emails To A Php Script Or Perl

Aug 13, 2010

I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:

mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp

So now my system is receiving MX content but i dont know what to do.

View 9 Replies View Related

Debian Configuration :: IPTABLES Protocol To Reject All Incoming Ssh Traffic

Apr 4, 2010

a good IPTABLES protocol to reject all incoming ssh trafiic except for a single IP or IP range?

View 4 Replies View Related

Software :: Postfix - How To Reject Numeric Domains

Nov 17, 2008

I would like to set my postfix to reject any numeric domains. I am seeing in my mail queue mail from domains like 2212.com, 263.com, 29.com and others. Because there is a variety of these, I don't want to track each of them and block them one by one. What do I need to put in my access file to reject any numeric domain? Is it possible to have a numeric wild-card reject in the access db?

View 1 Replies View Related

Networking :: Block All Incoming Mail Traffic Except Certain Addresses?

Jan 12, 2009

assist me in using the iptables firewall to block all incoming mail traffic (SMTP port 25) except that of a certain IP(s)? the situation is that we have a server that we only want to receive mail from a particular sender.

View 1 Replies View Related

Server :: Postfix: Customized Reject Message Per Virtual Domain (or User)?

Jul 30, 2010

I have a mail server taking care of mail for my 4 domains; the first is used for virtually all mail, the second rarely used anymore, the third is virtually 100% spam the past year(?), and the fourth isn't in use (and never has been, so no spam). What I'd like to do is to reject all mail to the third domain. Right now this is what I get (I tried to send to a nonexistent address from gmail):

[code]....

Since my username (xyz@) is the same for all domains, I could (or so I hope) change the reject message to give a hint to replace [URL] with [URL] and try again.

View 2 Replies View Related

Networking :: Iptables - Allow Http And Https Together With Mail Server (incoming And Outgoing) And Ftp - Ftps And Ssh

Apr 28, 2010

i need is to have http and https allowed, together with mail server (incoming and outgoing) and ftp, ftps and ssh. all other ports have to be closed.

View 3 Replies View Related

Server :: Spamassassin Amavisd Reject Unknown User Before Process Mail?

Mar 23, 2010

start working with SA+Amavis+clamd+postfix+dovecot.will be my filter:spamassassin+amavisd-new+clamd. 1 Server will be my mail server: postfix+dovecot. Like u see, the emails from the outside reach first the filter, latter the mailbox. Now, I have seen in my log files, that if I receive a email to a "unknown user", the filter doesn't detect this and process the email and send it to the mail server. Exist a way to setup the filter to first check if the user exist and them apply all hard work and latter send the email to the mail server

View 3 Replies View Related

Networking :: How To Send Mail Using Postfix

Mar 11, 2010

recently i configure postfix on my fedora core 9 system i want to send mail from one user to another till now i did not create any user, i just configure the main,cf file with the help of some link i found on internet

here is my main.cf file

# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README

[Code]...

i dont know what i should write about my main.cf file so i post the whole file here.

so can anyone tell me is that the configuration is correct and and how do i create new user to my domain name and how can i send and receive mails from one user to another user using postfix

View 118 Replies View Related

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens

View 7 Replies View Related

Networking :: Stop And Cancel Mail Sending (postfix)?

May 5, 2010

How can I stop and cancel email which are sending? Is there any command? I'm using postfix.

View 2 Replies View Related

Networking :: Postfix: Mail To Invalid Addresses Being Forwarded To Postmaster Instead Of Bouncing

Jul 8, 2010

Mail going to invalid email addresses are being forwarded to postmaster@domain instead of being bounced. How can I fix this? postconf -d | grep mail_version gives the following: mail_version = 2.2.5

View 4 Replies View Related

Server :: Postfix Logs - Difference Between The Mail.log And Mail.info Files?

Jul 27, 2010

I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.

What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...

Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.

View 2 Replies View Related

Server :: Configure Postfix To Relay Mail To Multiple Internal Mail Servers With Different Domains?

Aug 6, 2010

Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.

I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.

View 2 Replies View Related

Server :: Configure Mail With Postfix & Cyrus-imap - Cannot Send Mail Through Command Line

Nov 19, 2010

I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.

[Code]....

View 9 Replies View Related

Ubuntu :: Mail Not Incoming From External?

Mar 4, 2011

I am setting up a server that is to serve websites and host mail.I have run into a problem regarding the mail server. The server is completely set up but for some reason it is not receiving the e-mails I am trying to send to it. When i mail to the associated mail address from internal by the "mail" command it works fine. But when I try from an external mail server, the mail never gets through. And I do not receive a bounce e-mail.

It says that the port 25 IS open for TCP connections (in iptables - I opened it myself). And surely when I telnet to it on that port from inside the server, I get an connection. But when I telnet from an external network I get a refused connection. It would sound that the port is in fact not really open for external use, in my mind, but it is. Is there possibly anything else I might have neglected to check in this mystery

View 1 Replies View Related

Ubuntu Servers :: Can't Send Mail Using PostFix - Only Receive Mail

Jun 30, 2011

I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)

This is my main.cf:

[Code]...

View 6 Replies View Related

Ubuntu Servers :: Postfix Relay - Exchange Sends The Mail Instead Giving Recipient Mail A Valid Reverse DNS Lookup

Jan 12, 2011

The scenario: We have an external server that runs HTTP/DB servers for out shop system. Then, there's our local, in-house infrastructure that runs a.. yeah... Exchange 2010. The shop system on the external server needs to send mails to customers (order confirmations, invoices, etc.). seing as sending them directly through the local MTA (Postfix) would cause mail delivery problems because of reverse DNS issues, i've set the Postfix MTA to act as a satellite to our in-house Exchange Server, so the Exchange sends the mail instead, giving recipient mail servers a valid reverse DNS lookup.

Now, mails sent by the (proprietary, uneditable) shop system are relayed correctly and sent to the target e-mail address. My problem is: Mails not sent by the shop system, but by our own PHP scripts which run on that same external servers, are NOT relayed properly. So the Exchange is fine with the mails sent by the shop system, but not the mails sent by our scripts. This is what i get in the mail.log: The successfully relayed mail sent by the shop system:

[Code]....

View 2 Replies View Related

Server :: Can't Get Postfix Mail Boxes From /var/mail To ~/Maildir?

May 31, 2010

I'm running a Debian LAMP server and I am adding postfix. The initial config is working and I can send and receive mail both locally and over the WAN. The problem is that I cannot get mail delivered to the user's home directory using Maildir/. I have set the:home_mailbox = Maildir/ parameter in main.cf but mail still goes to /var/mail after Postfix reload. The system is now using Maildir/ instead of mbox but in /var/mail. I really want to get mail into the user's home directory.

View 6 Replies View Related

Fedora :: Thunderbird: Run An Application On Incoming Mail?

Dec 21, 2009

i'm using Thunderbird as mailclient.n i receive a new mail, i want TB to run an application (which blinks my notebook-keyboardlight ).Is there a way to do that?And btw. does someone know, how to minimize TB 3 in the systray of gnome (Fedora 12)?to get the mailnotification icon in the systray?

View 2 Replies View Related

General :: Incoming Mail Attachments Over 1MG Fail

Feb 5, 2010

I'm running SuSE 11 with sendmail and dovecot.I'm sending and receiving mail. But as soon as someone sends me a mail with an attachment over 1mg it seems to fail. I have no problem sending big attachments.

View 7 Replies View Related

Programming :: Reading Incoming Mail For Script?

Sep 17, 2010

I plan to make a script for the console server via mail, but I find difficulties in the reading of email applications, to email me using the mail command, but how to read the incoming mail

View 1 Replies View Related

CentOS 5 Server :: Not Accepting Incoming Mail?

Feb 20, 2009

I installed a new server running CentOS 5.2. I have iptables and SELinux off. The new server will not accept incoming mail. It will send out fine.Our mail server redirects mail for it.help to it.[url]...- [url]....is this server. Any messages sent to this address get stuck in a deferred queue. The error message on each one (from the mail server admin console) is "connection to[url]... [10.9.10.202] - connection refused". I can ping [url].... from the mail server.

This seems like a firewall issue, but it is off. Is there some configuration file I need to change to allow incoming mail? Or is there some test I can run on the new server to further troubleshoot what is going on

View 4 Replies View Related

General :: Thunderbird - Incoming Mail Signal Duration ?

Mar 25, 2011

I'm trying to set up my Thunderbird 3.1.8 (running on Ubuntu 10.04 LTS) to play a .wav file of my choice when new mail arrives. The file I've chosen is 8,8 KB in size and lasts 3 seconds. I've selected the "Play a sound" + "Use the following sound file" options in my Preferences, but only the first second (if that) of the sound gets played - both when I click the "Play" button in the Preferences menu to test it, as well as when receiving mail. Restarting the program with my new settings doesn't help.

Actual question(s):
- Is there a limit on the size/duration of the sound one can use for such a signal in this program?
- Is there any way to modify this limit?

View 2 Replies View Related

General :: Scan Each Incoming Mail With Conditions On Sender Name And Subject

Jan 8, 2010

Request your help in writing a shell script for the following requirement:

1) scan each incoming mail with conditions on sender name and subject
2) scan the mail body for set of characters and email them.

general usage is as follows: I get a mail as follows from: [URL]... subject : Urgent, reply body : name : xyz contact : 12345 the script should mail the following as subject line: n:xyz c:12345 I know procmail is a good option for this, but I'm compelled to use shell script

View 3 Replies View Related

Ubuntu Servers :: Incoming Email Not Going Through (connection Timed Out On Mail Server)?

Sep 1, 2011

I have been trying to solve this problem for two days now looking at various forums and websites but can't really figure out what's going on here.I have setup postfix on my ubuntu and I can send emails using "telnet localhost 25" and the ehlo thingy. Apache can also send emails. My problem is with incoming emails. When I try to send an email (through Gmail) I get the following error message:

Code:
Delivery to the following recipient has been delayed:
root@example.com

[code]...

View 2 Replies View Related

Fedora :: Make Rules To Move Each E-mail To The Inbox But Still All Incoming Messages Go Straight To Trash?

Apr 1, 2010

Recently did a fresh install of F12, previously used F11 without any problems. Now Evolution move ALL received messages to trash automatically. I have had to make rules to move each e-mail to the inbox but still all incoming messages go straight to Trash.

View 3 Replies View Related

Ubuntu Servers :: Migrate Postfix Mail Server To Exchange 2010 Mail Server

Nov 3, 2010

I have a problem relate to posttfix.I want to mirgare postfix mail server to exchange 2010 mail server but I can't do it,u can help me.You can show me have to do configure postfix and exchange how to?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved