Server :: Postfix Mail Delivery Path Modification?

May 24, 2010

I'm running postfix with virtual domains and want to modify the delivery path. Right now, I have one path for each user that's found with a database lookup.Before mail hits Postfix, it will have an x-spam-header: yes/no/uncertain field. When mail with x-spam-header: yes the lookup for the path would return /var/mail/domain/username/.Inbox/.spam.

What I think I'd like to do is parse the x-spam-header value in postfix, populate a variable, then use the variable to modify the path lookup in the database. header_checks has a FILTER option, but that's just beyond my skillset at the moment.Or, maybe I'm better off modifying the path with a procmail recipe? Currently, my mailbox_command = procmail -a "$EXTENSTION"

View 6 Replies


ADVERTISEMENT

CentOS 5 Server :: Postfix Random Delivery ?

Apr 13, 2011

I configured a Postfix Server to relay the messages to an Exchange Server. To keep it simple I configured all my users locally and I setup local .forward files in their home folders, specifying their local Exchange address.

Everything seemed to work fine (for years now), until I upgraded postfix in October, 23rd 2010.

Alas, lately I noticed that, since then, even if I just realized it now, sometimes the server seems not to use the .forward file and tries to use the local delivery using cyrus, which does not find a local mail folder (obviously, since I never created them as I didn�t want to) and replies to the sender with a "550-Mailbox unknown" error. Today I enabled the "-v" mode for "local" in master.cf the debugging the problem a bit better, to see what's the problem.

If I was sure about the problem being the postfix version (2.3.3, which is way too old now!), I'd give it a try and substitute it with the latest 2.8.2 (even if the server is a production server and is almost untouchable).

Following the error and my main.cf and master.cf setup files:

View 10 Replies View Related

Server :: Mail Delivery - Email Went Out Fine But Did Not Come Back In

Aug 31, 2010

I am setting up an FC7 box to replace a currently dying server and I'm having an issue with the mail setup. I am using sendmail and dovecot and system users for credentials. I won't include all of their configurations, because that would get long, but I can copy and paste any sections if they are needed.

The problem is all mail is being delivered to the root mailbox in /var/spool/mail/. I setup a laptop on a local network with the server to test things. And just brought up Evolution with one of my test accounts. I was able to authenticate and tried to send a test email to myself. The email went out fine but did not come back in.

View 3 Replies View Related

Software :: Setting Up Mail For Delivery To Server From Client?

Aug 20, 2009

I got a system with RHEL 5.3 Server with dovecot, sendmail, and thunderbird. I have found tons of stuff online about configuring a mail server, but little of it tells me how to get mail from a client to the server. I've tried to work with Postfix, Pine, Sendmail, Thunderbird, and the list goes on. I'm probably so confused now that I'm not even going to convey this properly, but let me try...... I got a system called wks90 which I decided would be my mail server. I installed dovecot, sendmail, and thunderbird. Then did some basic configuration via stuff I found online. Now the test, from the command line I use the simple "mail" command which succeeds. I bring up thunderbird and eureka!!! there is a message in /var/spool/mail/george.

Now here is where I get confused and things fall apart. I go to another system named wks50. I try some similar setup in sendmail trying to point it to wks90 as the server, I assumed dovecot was not needed, made and entry in /etc/aliases, and will use my thunderbird on wks90. So at the wks50 command line I mail -v to george@mydomain.priv. The message seems to work ok, but still goes to wks50's /var/spool/mail. How in the name of sanity do I get the mail to go to /var/spool/mail on wks90? OR somewhere that is centrally located. I tried to mount /var/spool/mail to wks50, but then wks50's mail to root started queueing up and going nowhere.

I guess I got the whole concept of mail wrong somewhere in my thinking. I just want the mail from any client to wind up at one server (wks90) and in a central location on wks90 so that any client like wks50, wks60, and wks70, using thunderbird, can read the mail from that central location. To me this sounds like I need to mount that central location to each client, but how do I then deal with the queuing root mail? Or is sounds like a need something like that old "movemail" command to take it and move it. I have another server that is the HOME server (server1). The physical location of all $HOMEs is here i.e. /home/george.

View 4 Replies View Related

Server :: Mail Delivery Failed: Returning Message To Sender

Nov 11, 2010

send email i got bouncing error .see below error;

554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.

View 1 Replies View Related

Server :: Mail Delivery Failed: Returning Message To Sender?

Feb 9, 2011

i have a domain where i can send emails to any domain ,unfortunately i cant receive email from any domain . am getting the below error ;

T=remote_smtp: retry time not reached for any host after a long failure period

View 2 Replies View Related

Server :: Round Robin / Exim4 / Mail Delivery SMTP?

Apr 30, 2011

Here is the senario...

2 round robin dns servers
x.x.x.1 mydomain.com (hostname)
x.x.x.2 mydomain.com (hostname)

My problem is that when I try and send an email that is part of the domain, it ends up trying to deliver it locally. I realize it is supposed to, but I don't want that for non-users of the server.

I want to be able to deliver certain emails []@mydomain.com remotely. (info@mydomain.com)

exim4 setup "internet site; mail is sent and received directly using SMTP". This works well as long as it is not an email from mydomain.com.

Is there a way to have exim check the users first and then deliver based on local user or not?

Next question. Is having the domain name as the hostname the best way to setup a round robin? (web server)

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

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

CentOS 5 Server :: Postfix And Hosts File - The Mail Server Could Not Deliver Mail

Mar 20, 2011

I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:

<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)

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

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

Server :: How To Change Postfix Return-path

Nov 29, 2010

I just set up an internal mail server for my office using Postfix, Dovecot and Squirrelmail. It works great except for one tiny problem. When I send mail, I address it to user@myoffice (no .com, .net, etc) and it works perfectly. However, somewhere in my work, I screwed up and for whatever dumb reason put myoffice.net somewhere in there and now the return-path always shows up as user@myoffice.net instead of just user@myoffice. Does anyone know how to fix the return-path so that when someone clicks reply it goes to user@myoffice? I've Googled and searched here without finding my answer, apologies if it's out there and I've just failed to see it. Rest assured I have done a couple hours of searching before finally asking for help.

View 7 Replies View Related

Fedora :: Postfix Dont Delivery Local Recipient

Oct 30, 2009

I dont know why, but my postfix dont delivery local users, the virtual users works fine.

This is my main.cf:

When i try echo "Test" | mail -s Test root ; tail -f /var/log/maillog | grep "root" i see this error:

View 1 Replies View Related

Ubuntu Installation :: 9.10 To 10.04 PostFix Has Stopped Delivery Email To Users

Jun 19, 2010

After upgrading from a working 9.10 system to 10.04 Postfix has stopped delivery email to users. Sending email is fine and IMAP(s) and POP are working fine but receiving messages now get the follwing message

postfix/pipe[14331]: 65B941B61F0: to=<me@fred.com>, relay=dovecot, delay=1081, delays=1081/0.02/0/0.1, dsn=4.3.0, status=deferred (temporary failure) Using Postfix with Dovecot, MySQL & Amavis plus spamassasin

Does anyone have any idea what the upgrade process may of changed in the upgrade none of the conf file were replaced during the upgrade and only one parameter caused a issue for Dovecot after the upgrade "ssl_disable = no" after disabling this dovecot started

View 1 Replies View Related

CentOS 5 :: Procmail As Mail Delivery Agent?

Aug 12, 2009

Recently we are receiving lots of spam email specially ( Viagra). I want to use spamassassen to filter the spams so I need to configure procmail as local mail delivery agent.At the moment I am using prosfix for mail delivery agent and our server is Centos 5. I did google it but couldn't find a good instruction.

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

Server :: Basic Postfix And Dovecot Mail Server For A Test Environment?

Sep 16, 2009

I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:

[URL]

my postfix.conf is;

PHP Code:

[code]....

This is the error when I send an email from a local machine on the 10.0.0.X network.

PHP Code:

Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112> 

View 8 Replies View Related

SUSE :: Cannot POP Postfix Mail Server

Feb 28, 2010

Iv setup a postfix mail server.. and setup my MX records within DNS. I configured the posfix mail server with the Mail accounts.I sent the accounts a test message. They end up in the Maildir for the user. But for some reason i cannot POP the mail server from a client. I can telnet to the SMTP server.. But cannot telnet to the POP3. Iv opened the ports in the firewall correctly. and even tried disabling the Firewall but when i try to Telnet to port 110 or POP port 110 i get an error saying "connection refused"

View 1 Replies View Related

Server :: Cannot Send Mail Outside LAN With Postfix

Apr 4, 2010

My problem is that I cannot send mail with postfix. For all mail I get connection timeout Example: (delivery temporarily suspended: connect to [URL] Connection timed out)

View 13 Replies View Related

Server :: Can't Sen Mail Over LAN From Mutt To Postfix

Jun 4, 2011

I'm trying to get my network set up. There is an internal network separated, by a dedicated firewall, from the DMZ. I'm trying to send mail from the internal network, using mutt, to the postfix server on the DMZ.No firewall is set up yet on the dedicated firewall(the whole network is, at the moment, protected by the border router) Mutt was installed with the smtp, pop,imap,ssl,sasl,gdbm options.

I thought the fact that it was compiled with the SMTP flag set would enable me to either send mail without an MTA on the same machine that mutt is installed on(internal network host) Or that i could just specify the path to the sendmail binary and not have to start postfix as a daemon ?I've found out that sendmail is supposed to be a postfix command. So i added:

Code:

sendmail="/usr/sbin/sendmail"
to /Users/me/.mutt/muttrc

But now when i start mutt i get an error saying:

Code:

/usr/sbin/sendmail: Unknown command

Obviously i started postfix before firing up mutt The permissions say that i should be able to execute sendmail as a normal user.But mutt isn't dealing with it, even though permissions appear to be correct.What do i need to do to get mail, from a normal user, over my LAN working(with mutt and postfix)?Once i have this working then i can get a proper domain name and configure postfix on the DMZ for SASL+TLS etc etcBTW i can send mail to postfix from internal network using

Code:

telnet serverhost 25
etc

View 3 Replies View Related

Server :: Postfix Can Not Send Mail

Jan 21, 2011

telnet localhost 25 when rcpt to:mike@test.com ,report error: 451 4.3.0 <lisi@test.com>:Temporary lookup failure

View 1 Replies View Related

Software :: Specify IP Of Another Mail Server In Postfix?

Jul 21, 2010

I have postfix installed on 2 different boxes for 2 different domains in my network. The 2 boxes are in a single network which has a PIX firewall as the internet gateway. In the PIX the external IPs are being mapped with internal IPs of the corresponding boxes. In fact, the boxes are able to resolve the IPs of each other from the DNS. But none of them can contact each other using external IPs. They don't even ping each other with external IPs, but works fine with internal IPs. When investigated on the issue, I found that this cannot be called an issue, but this is how a network is designed (Not sure if I am right). But all the boxes can contact each other using their internal IPs.

The tweak in my mind is to specify the internal IP of the other mail server in the same network, to postfix. Is there anyway to do this?

I tried specifying the internal IP in /etc/hosts, but did not help. I came to a conclusion that postfix is not considering /etc/hosts file (Again I am not sure).

View 2 Replies View Related

Debian Configuration :: Getting Lot Of Mail Delivery Failed - Exim 4.72

Jun 15, 2011

I run a mailserver and this is bothering me quite abit. Being going on for about a month now. Running exim4 and dovecot with exim4u. This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

dsghjytyt@yahoo.com
retry time not reached for any host after a long failure period

This is a copy of the message, including all the headers.
Return-path: <andreas@servar.net>
Received: from ip-81-210-201-120.unitymediagroup.de ([81.210.201.120] helo=holly5)
by gwdebian.net with esmtpa (Exim 4.72)
(envelope-from <andreas@servar.net>)
id 1QWpUO-0000yy-ML
for dsghjytyt@yahoo.com; Wed, 15 Jun 2011 14:46:32 +0200
MIME-Version: 1.0
Date: Wed, 15 Jun 2011 14:44:16 +0200
X-Priority: 3 (Normal)
Content-Type: text/plain;
charset="iso-8859-1"
Subject: =?iso-8859-1?Q?lizzie_VIAGRA_=C2=AE_-61%_discount?=
Content-Transfer-Encoding: quoted-printable
From: andreas@servar.net
Reply-To: "RE: Your Recent Job" <Posting>
To: dsghjytyt@yahoo.com
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Message-ID: <CHILKAT-MID-3b7cf1d5-b3e7-3d78-5c1d-713c0e381cb9@holly5>
X-Antivirus: avast! (VPS 110615-0, 15.06.2011), Outbound message
X-Antivirus-Status: Clean
X-Scanned-By: unscanned primary on gwdebian.net (109.108.198.243); Wed, 15 Jun 2011 14:46:32 +0200
Then alot of random text

I run OSX on my everyday computer so this is not me sending out stuff since the above mail says Microsoft Outlook express has sent it (?) Running a Debian Squeeze server. And I really dont get any other spam due to exim4u setup and spamassasin.

View 14 Replies View Related

Server :: Can't Download Messages From Mail Server (Dovecot, Postfix)

Sep 29, 2010

I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.

View 2 Replies View Related

Server :: How To Use Postfix To Send Mail Through Microsoft Exchange Server?

Dec 25, 2010

I recently had the need to relay SMTP mail through our organizations hosted MS Exchange server. I had to do a little troubleshooting, so I wrote a concise summary of the procedure I followed.

View 1 Replies View Related

Server :: Converting Exim Mail To Postfix?

May 22, 2010

We moved over from Cpanel using Exim. I was wondering if anyone knew of way to convert the mail so when a user logs in they get to all their mail in their folders. I notice exim has a ton of folders while postfix creates files that act like folders which contain all the emails. I sent up 1 of the emails into the our mail folder that was created by Exim and it can be Subscribed to in Outlook with imap but the emails inside doesn't show up. They both appear as text files so I don't know what the difference is.

View 1 Replies View Related







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