Server :: Postfix Mailserver Randomize Transports Using Regexp (using N)?

Jun 5, 2010

Im using posfix as a outgoing mail server, here i want to distribute the mails to different ips to avoid the ip blacklisting. I found a solution by using multiple transports , but here one thing blocking me was i could not able to select a transport using regexp or pcre matching pattern, log says that

Code:
Jun 5 07:12:49 server postfix/trivial-rewrite[6079]: warning: pcre map /etc/postfix/transport.pcre, line 1: regular expression substitution is not allowed: skipping this rule

the transport used for this purpose is:-

Code:
#cat /etc/postfix/transport.pcre

/^.*@([a-z])ol.com$/ transport$1:

View 2 Replies


ADVERTISEMENT

Server :: Copy / Backup Postfix Mail Queues And Paste Folder Back In After Done Migrating All Users And Mails To A New Mailserver?

Apr 25, 2010

can i just copy/backup postfix mail queues in /var/spool/postfix and paste that folder back in after i done migrating all users and mails to a new mailserver?

View 3 Replies View Related

Ubuntu Servers :: Creating MailServer Using Postfix And Gmail SMTP

Mar 1, 2011

I recently created a webserver to host my website, using a Ubuntu 8.10 based system. (With some help from my experienced brother of course).I now want to create a mailserver to go along with my website. In setting up postfix to work with gmail smtp servers, I ran into a lot of permission errors.

View 2 Replies View Related

General :: Mailserver On Ubuntu Server ?

Jul 21, 2010

I am trying to set up a mailer server on Lucid Lynx using mostly this guide: [url]

I believe I have most of the basics covered. But before launching into the the advanced set up, I want to see if I can get help with one thing I am finding difficult to understand.

In terms of my domain name www.example.com, do I have to do anything on my hosting company's side? That is, www.example.com currently have my web site and it is hosted on a private server at a hosting company. I have the ip address of the server. When I configured postfix, i used this same domain name in the configurations so I want to know what else to do to get it working.

View 3 Replies View Related

Server :: How To Check If Mailserver Is Running

Sep 27, 2010

I am using this command (inside a bash script) to check if mailserver is running correctly (port 25)

# echo | telnet localhost 25 | grep "Connected to "

If it does not respond I receive an email alter.

It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?

View 1 Replies View Related

Server :: Overloading In Mailserver - Get Hang ?

Jun 23, 2011

Iam handling mail server in redhat.MTA using is qmail.since last 1 month it get overload and get hang...since in morning its time for user to loging into mail through web interface.though suddenly login in to mail it get overload and server got hang.we need to restart the server...did not get time to kill https also some time MP port work to save us...still didnot get command to overcome the over load in server...

View 9 Replies View Related

Ubuntu Installation :: Mailserver On Server Edition ?

Feb 20, 2010

I have Ubuntu Server Edtiion on my server. During the installatino, I choosed to install the mailserver.

I have already configured the MTA.

I also configured the MDA(Dovecot). After I configured the MDA and tried to login on squirrelmail, plenty of MySQL error was generated.

I deleted Dovecot and tried again to login on squirrelmail. Now, this message appears:

Error connecting to IMAP server: localhost. 111 : Connection refused

View 3 Replies View Related

Server :: Dovecot Mailserver Sending But Not Receiving?

Jan 22, 2011

I have followed the guide for "The Perfect Server - Debian Lenny (Debian 5.0) With BIND & Dovecot [ISPConfig 3]" and all is well, except.

I can send mail (to GMail) from commandline. I can send mail (to GMail) from any of the domains configured in ISPConfig3 through SquirrelMail (how ever terrible that looks, but functions) or IMAP/POP.

but....

I can't receive mail (from GMail) on any of the domains configured in ISPConfig3 in SquirrelMail or IMAP/POP.

I have my domains configured with proper MX records (just like I have them configured at work). I have all ports (80, 143, 110, 25, 22, etc) forwarded on my router that are needed.

I can Telnet to localhost and all checks are fine. I can send and receive from and to local domains on the same server, which makes sense. but

I can't Telnet from any external server to my server behind NAT.

Conclusion:

I figured it MUST be a network/port-forwarding problem as the external Telnet requests fails to my machine on port 25.

Tested my router if it would let met communicate through port 25 and it would.

So it must be my ISP, as I read in different posts.

Question:

Maybe I'm a n00b, but in all other posts the problems were with receiving AND sending.

My ISP responded that port 25 is blocked because of spam issues.

But I can mail (and even spam if I would like to) to external domains while I didn't do anything weird to make that happen.

The only thing I wish for is to receive mails and if you'd ask me, port 25 would be solely for outgoing mails, not for incoming mail deliveries throught MX?

An ISP surely wouldn't disable their customers in having a mail-server for incoming mails, as long as they would send out through their own smtp server to make sure they wouldn't spam the world?

View 1 Replies View Related

Ubuntu :: Configuring Webmin Postfix Server With Multiple Postfix Virtual Hosts?

Sep 25, 2010

is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..

View 1 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

Server :: Updated Postfix Not Running After Transferring Over Users From Older Postfix?

Feb 25, 2011

I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:

Feb 25 16:24:39 puny1 postfix/master[3517]: fatal: fifo_listen: create fifo public/pickup: Permission denied

I gather this is a file permission issue and ive tried to make sure the public folder in /var/spool/postfix is correctly set but still no avail.

View 2 Replies View Related

Fedora :: Randomize Files In A Directory?

May 3, 2010

only does lines in text files, but I'd like something similar to sort .mp3 files in a directory, prior to burning them onto a DVD. How do I do that? Kurt

View 13 Replies View Related

General :: Randomize The Comma Separated String In Shell?

Oct 10, 2010

I wanted to randomize the comma separated string.String like "test1,test34,test5,test6".And it would be displayed differently when I ran each time.

Expected output like "test5,test6,test1,test34".

View 13 Replies View Related

Ubuntu :: Bash Script - Randomize The Order Of The Songs Within The Folders Too?

Jun 24, 2010

Quote:
#!/bin/bash
#Licence: GPL v3 or (at your option) any later as published by FSF.
# add as much as wanted; include the dot before the extension
FORMATS=( .mp3 .wav .ogg )
[Code]...

it works great, however, as it is now, it only seems to work if it was in the very folder (or in nautilus-scripts and I right clicked it from the very folder) it was looking for the music, such as in ~/Music, and then what it did was read all of the subfolders on the first tier in there, and then all the subfolders in those for music.

I figured out that by adding, cd ~/Music, it enables it to be right clicked anywhere and opens music only from the ~/Music folder it can be used. However, one thing that's odd is if the subfolder in ~/Music folder has a 'space' in it's title, (ie, ~/Music/Green Day), it would fail. This is not the case for subfolders of the first tier subfolders in ~/Music though, (ie, ~/Music/Jazz/Simply Red). Is there a way to randomize the order of the songs within the folders too?

View 9 Replies View Related

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

Programming :: Migrate Regexp From SED To AWK?

Apr 22, 2010

I have a sed script to search and replace a pattern on the next kind of text:

Code:
C/username/Mydocuments/games & music
C/username/Mydocuments/New files 09-17-2007
C/username/settings
The script is:
code....

View 9 Replies View Related

Ubuntu :: Regexp R-search In Bash

Jul 13, 2010

What keyboard shortcut will give me a regexp reverse search in bash? Or does C-r supply something like that already that I can't figure out?

View 4 Replies View Related

Software :: Sed And Regexp For Search In Multilines?

Sep 24, 2010

I've a text file which have a structure like:
<managed-data-source .....
name="nameDS"
/>
<connection-pool ....
code....

If you execute the previous command, you will see that it also displays connection-pool lines.

View 10 Replies View Related

General :: How To Access Mailserver

Aug 29, 2010

I recently set up a mailserver on ubuntu using postfix. I set up the MX record with my router's ip address and I have port 25 forwarding all the mails to the ubuntu server. Everything works fine but I am unable to access my email using example.com/squirrelmail from any other machine apart from the server.

View 7 Replies View Related

General :: Install Regexp Enabled 'rename' On Fedora?

Jun 26, 2011

I have a batch rename task and I find the 'rename' command in Ubuntu and Fedora is different.In Ubuntu, rename is written in Perl and has regexp support. Is there anyway to install it on Fedora?

View 1 Replies View Related

Ubuntu :: Bash ${variables} : Replace Last Instance Of Regexp?

Mar 10, 2011

I have something like...

Code:
var=beer
# echo ${var/%e/E} doesn't do anything because i can only replace "r" or "er" this way

[code]....

View 1 Replies View Related

Programming :: Bash: Regexp In 'if' Doesn't Evaluate Correctly

Mar 1, 2011

I'm using an 'if' statement to check whether one of positional arguments is a word or a construction like "x-y", but something doesn't seem right.

Here is the relevant part of the code:

Code:
if [[ "$3" =~ [a-Z]-[a-Z] || "$3" =~ [a-Z] ]]; then
grepRange=$3; else grepRange=$4
fi
And for the input like this:

[Code]....

but shouldn't the $grepRange variable be blank in this case?

Bash version is 4.1.7(1)

View 6 Replies View Related

Server :: Move Mails On Exim Server To Postfix Server?

Jan 12, 2010

how can I best transfer my mails that are sitting on my old exim server to my new postfix server?

View 1 Replies View Related

Networking :: Routing To Internal Mailserver ?

Jul 26, 2011

I have two boxes, 1- Centos router, 2- centos web/mail server..

When trying to receive mail using mail.xxx.xxx in the mail client server settings, it will not resolve to any machine on the internal network... I have to enter the internal IP address in the incoming and outgoing email settings..

Same with the website I host.. I have to enter the internal IP to get access..

It just will not resolve the DNS on the internal network.

Everything works as it should outside my network.

View 6 Replies View Related

Programming :: Bash Regexp String Compare Stopped Working?

Oct 20, 2010

Have a bash script which contains a line like this:

if [[ ${array[${last}]} =~ "screenpc.PRODUCTION.*" ]]

which WORKED as expected in bash 4.0.33 and now fails in 4.1.2

Instrumented the script to print the value of the left-hand side and it is exactly what is expected.

As noted above, this has been working fine until we installed Fedora 13 (kernel 2.6.33), and now it fails.

Tried setting shell 'extglob' to On with same results.

Did something change? Are there other shell/bash options that need to be set?this has the whole installation stopped!

View 10 Replies View Related

Server :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 Replies View Related

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.

my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

[code]...

View 3 Replies View Related

CentOS 5 Server :: Configure Postfix On 5 To Relay Email From The Internet To The Exchange Server

Apr 24, 2011

i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...

View 1 Replies View Related

Networking :: Running A Mailserver Under Vmware Workstation ?

Jan 4, 2009

I want to run a mail server from within debian linux guest with vmware workstation xp host. The setup is a bridged network connection

Here are things that need to be done:

a)Configure the Guest with a static IP on my home network. Verify that I can telnet to port 25 of the Guest from a system on my home network.

b)Then configure my home firewall/NAT box to forward incoming connections on TCP port 25 to the static IP address I gave my Guest. Then test that I can telnet to port 25 from a system outside my home network.

c)After that I need to configure the appropriate DNS records for my domain so that outside hosts know how to contact my mailserver.

View 7 Replies View Related

Red Hat / Fedora :: Mailserver Have To Have Direct Access To WAN Or Can It Be A LAN Device With Just One NIC ?

Apr 22, 2010

Does a mailserver have to have direct access to WAN or can it be a LAN device with just one NIC ?

We have two WAN access points.

One is an adsl router joined to the switch and all seems fine for internet browsing.

The other is a wireless system with a linksys router joining by way of PPPoE and this appears to connect fine.

This PPPoE is direct to our ISP and where we need to downlod our mail to our pending mailserver.

When the linksys router is also joined to the switch all devices can use either the adsl or linksys to roam the net. 192.168.1.1 linksys & 192.168.1.10 is adsl.

When I join the linksys direct to the mailserver I will then need two NIC's. One for the Linksys and one for the LAN.

This is where the fun has started.

So.... Can I just have one NIC (connected to the switch) on the mailserver?

View 5 Replies View Related







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