Free and open source mail transfer agent (MTA) that routes and delivers email

learn more… | top users | synonyms

2
votes
2answers
1k views

Postfix development server - intercept all outgoing mail

So a few times now I've been caught out by clients receiving mail sent from the development server because I didn't sanitize the db. So, as an extra safe option, I'd like to ensure that all mail sent ...
2
votes
1answer
584 views

How can I configure Postfix to send via IP based on origin domain?

I have a server that hosts multiple websites that send email. Each domain has its own IP address, and I would like Postfix to send outgoing email on the same IP so the reverse DNS points back to the ...
1
vote
1answer
3k views

Run script on incoming email message to postfix

All, I need to run a script everytime there is an incoming email message to a postfix email server. I have read the docs but I was wondering what would be the best approach to do this. Would anybody ...
1
vote
3answers
6k views

How to fix mail server SSL?

Our mail server was originally set up using self-created certificates. However when those expired, and I tried to recreate them, the whole thing just blew up. Since I know it will be important, we are ...
8
votes
3answers
11k views

Change default from address from Postfix from www-data to something else

Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name ...
5
votes
2answers
4k views

How to redirect all mail from one domain to another in Postfix?

I have two forms of the same domain name, one being a common misspelling of the other, let's say tedswidgets.com and tedswigets.com. I'd like to redirect all mail for <someone>@tedswigets.com to ...
4
votes
1answer
894 views

Why is SPF being validated against my mail server's IP instead of sender's IP?

I have a mail server "example.com" which forwards all emails with recipient "me@example.com" to "me@gmail.com". My mail server runs Postfix and it uses the virtual_alias_maps mechanism to perform the ...
3
votes
1answer
152 views

Need help grepping postfix log

I'm trying to search for an unknown string (Message ID) in a log based on a known string (recipient address), and then grep the unknown string to output the entire relevant log information. I'm able ...
3
votes
2answers
5k views

amavis + SA not marking messages as spam

I'm running Postfix + amavis + SpamAssassin. Messages are coming through just fine, and they're getting X-Spam-Score as I would expect, along with X-Spam-Status values, implying that SA is doing ...
2
votes
3answers
7k views

How to disable “sender non-delivery notification” in postfix?

I want postfix to stop sending non-delivery notifications to my local account, here is example from my log 17:47:08 A727B62C6F61: message-id=<20121124174708.A727B62C6F61@mail.***********> ...
2
votes
1answer
3k views

Block outgoing mail to specific address using Postfix

How could I block outgoing mail to a specific address using Postfix? I've partially managed to block outgoing e-mail using header_checks. However, header_checks doesn’t cover BCC. I also tested ...
2
votes
1answer
271 views

2 separate postfix instances and confusion with IP's in received field of mail message

i have a problem with my 2 postfix instances. 2 separate IP's and coressponding domain names are setup on networking, they are working fine. I want second mail message (below) to have Received: from ...
2
votes
2answers
3k views

Forward Mails to Gmail

I have a postfix mailserver running. Mails sent from users to Gmail are showing up in Gmail, so it works in general. Same for all other freemail hosts I know. The problem is that some users have no ...
2
votes
2answers
1k views

How to limit the From header to match MAIL FROM in postfix?

SMTP clients are required to pass user authentication before sending emails to other domains (relay). And we can use smtpd_sender_restrictions to make sure the MAIL FROM address matches the ...
2
votes
1answer
3k views

how can i disable outbound mail in postfix?

i want to be able to send mail to someuser@localhost but not allow any mail to go out to the outside world from anyone to anyone. i've seen multiple entries about how to filter or restrict outgoing ...
2
votes
1answer
2k views

Mailman cannot relay e-mails to non-local domains

My e-mail server runs Debian with postfix, dovecot, amavis, mailman, with postfixadmin in a virtual domain setup. All works fine, except for mailman which is not able to relay e-mails to non-local ...
2
votes
2answers
5k views

Postfix auto create Maildir

I've been beating my head against a wall for a while now on this one. Basically, here is the rundown: Our MX record points to a frontend SMTP server, which contains aliases for actually routing the ...
2
votes
5answers
1k views

Google marks seemingly perfect emails as spam

First post - was directed here from stackoverflow! The problem: Google marks seemingly correctly formatted emails from my apache/postfix server as spam. Sample email as follows; (I have replaced my ...
1
vote
1answer
322 views

How can I disable sending mail through postfix smtp with out auth

I just setup a mail server with postfix 2.6.6 and dovecot. I have the auth related config in main.cf like below: smtpd_tls_cert_file=/etc/httpd/ssl/mail.crt ...
1
vote
1answer
167 views

procmail is ignoring user settings

I use procmail for filtering emails in combination with postfix. procmail is triggered by postfix via the in the main.cf mailbox_command mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" but ...
1
vote
1answer
3k views

Postfix unable to create lock file, permission denied

I thought I had my postfix configuration all set up on my Amazon Ubuntu server but I guess not. I'm trying to set up an admin email account for 3 virtually hosted Apache websites. Here's my postfix ...
1
vote
1answer
761 views

Wildcard aliases in postfix?

is there way to specify wildcard aliases in postfix virtual table? eg. support+*@foo,bar gets sent to support+*@bar.foo in this way i want to achieve that all mails with a ...
1
vote
2answers
988 views

Receiving emails on CentOS 5, Postfix

Here's the problem : Our server (CentOS 5, Postfix) can't receive mails, bat can send. Running tcpdump port 25 and sending an email from gmail shows that there are incoming request from gmail But ...
1
vote
2answers
2k views

Postfix - am I sending spam?

today I received like 30 messages within 5 minutes telling me that some mail I send could not be delivered, mostly to *.ru email addresses which I did not send any mail to. I have my own webserver ...
1
vote
2answers
5k views

SASL + postfixadmin - SMTP authentication with hashed password

I'm trying to set up the mail server. I have problem with my SMTP authentication using sasl. I'm using postfixadmin to create my mailboxes, the password is in some kind of md5, postfixadmin ...
1
vote
1answer
191 views

What do I need to do to prevent exploitation of my postfix server?

I have a a web server that needs to send emails, but not recieve them. I have installed postfix (it came with nagios, also installed on this server) and now I need to make sure that my server does ...
0
votes
1answer
744 views

Postfix pipe to php and pass “to” email address as parameter

I setup a php piping for "incoming@mydomain.com" in my postfix configuration. Now, what I need is to pass the "rcpt to" email address to the PHP script as a command line parameter. Is it possible? ...
0
votes
2answers
1k views

Postfix - Is there a way to reject invalid authentication (even for mynetworks)?

I got a working postfix/dovecot configuration running with the following rule for recipients rejection: smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject This works ...
0
votes
3answers
2k views

postfix: catch outgoing mail and redirect

I'm trying to configure my postfix so all mail that goes through that has tld dev would be redirected to a root user, here is my config files: [alexus@wcmisdlin02 postfix]$ tail -1 main.cf ...
0
votes
2answers
3k views

Yahoo flagging mail as spam when using relay server

I'm using Postfix to relay mail from my site to my mail server. Mail is received properly at my Gmail and Hotmail accounts - only Yahoo is the problem. The Yahoo mail headers state: Received-SPF: ...
0
votes
1answer
4k views

Postfix: virtual_alias_maps delivering everything to one user despite new domain

I have a postfix installation handling mail for a couple of domains, for which all mail goes to one real local user (cmb), and I want to add a new domain (let's call it example.org) for a second user, ...
-7
votes
1answer
253 views

Postfix rejects php mails

I get errors such as Feb 11 05:45:07 htz postfix/sendmail[6465]: fatal: User web6(5006) is not allowed to submit mail Feb 11 05:45:56 htz postfix/sendmail[6466]: fatal: User web21(5012) is not ...
4
votes
1answer
2k views

modify the recipient address of an email on the file in the postfix queue

I have a few emails in my mailq which are bounced for a good reason, the email address is wrong. I was wondering if it is possible to modify the address of the recipient on the fly. I can see the ...
4
votes
2answers
5k views

Postfix Relay to Office365

I am trying to setup a Postfix server on a Linux box to relay all mail to our Office365 (Exchange, hosted by Microsoft) mail server, but, I keep getting an error regarding the sending address: ...
3
votes
1answer
5k views

Why is Google rejecting mails forwarded from my Postfix server?

I've set up Postfix and created an alias that maps to a gmail account. When I mail from one of my own (google mail) accounts, it goes through, but if someone from the outside mails me, Google won't ...
3
votes
5answers
3k views

How do I setup a secondary incoming mail server?

I currently have a server running Debian 6, with postfix and dovecot handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and ...
3
votes
4answers
2k views

Use Postfix to forward mail to a domain to the same address at a different domain

Is there a way to configure Postfix to accept any mail for a domain (catch-all), and then forward that email to the same recipient at a different domain, ignorant of whether the recipient actually ...
3
votes
2answers
2k views

Postfix - specify interface to deliver outbound mail on

I need to be able to specify what interface Postfix will use to deliver outbound mail on. What I am doing is setting up an SMTP gateway to deliver mail from different, unrelated groups. I plan to ...
3
votes
1answer
5k views

Postfix Whitelist before recipient restrictions

Alright. Some background. We have an anti-spam cluster trucking about 2-3 million emails per day, blocking somewhere in the range of 99% of spam email from our end users. The underlying SMTP server ...
3
votes
5answers
528 views

Preferred mail system/server for a company?

Say you are responsible for setting up an email solution at a company. Which would be your choice? I know of the following options, but many of them not well: Gordano Mail System Exchange Exim ...
3
votes
5answers
433 views

Email Delivery To University Mail Servers (.edu emails)

I'm running an app at www.universitytutor.com which lets people find tutors. Most of the tutors are college students. We send out a follow up email 2 weeks after someone contacts a tutor to ask how ...
2
votes
2answers
297 views

(Postfix + Dovecot) All emails to @aol.com being deferred

I'm running a dovecot/postfix mail server on debian and am having some issues. Everything is working fine except all emails to @aol.com are being deferred. The error code gave me: "The Reverse DNS ...
2
votes
1answer
1k views

Postfix Connection Timed out

I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting "Connection Timed out" when postfix/smtp tries to deliver an email to a remote host like gmail or ...
2
votes
2answers
626 views

postfix sending mails to unknown addresses

I was checking my munin tables and saw a huge list of deferred mails in postfix and looking into /var/log/mail.log gave me an idea: I am sending mails to unknown mail addresses: Dec 23 08:21:32 ...
2
votes
2answers
2k views

Emails going to Gmail's spam, DKIM and SPF are both set up correctly [duplicate]

I set up iRedMail on a VPS for personal email. Everything seems to work (emails can be sent/received), however when I send an email to a Gmail account, it goes straight to spam. In Outlook, it goes to ...
2
votes
2answers
7k views

554 5.7.1 <mail_addr>: Relay access denied centos postfix

I have problem in send mail from postfix in centos I have following setup mail server postfix for sending mail but I am getting error. As in the link I tried following commands telnet localhost ...
2
votes
1answer
127 views

Are these nameservers configured properly?

I'm caught in a technical war between two companies. One is a major email hosting organization. The second is a DNS provider called DNSMadeEasy. The problem: An email from an outside domain to a ...
2
votes
2answers
791 views

Use different relay in postfix

In our application, we send different kind of mails. On a broad view we can generalize it in two category, Mails which monitor the health of the app. Mails which we send to end user. Is there any ...
2
votes
1answer
343 views

Postfix on IspCP cannot send to google apps mail if it is in the same domain

In my vps setup I have ispcp omega 1.0.7 installed. Everything works fine except the fact that postfix cannot send to google apps mail when the domain of google apps is also registered in ispcp. ...
2
votes
4answers
2k views

Redirect specific e-mail address sent to a user, to another user

I need to redirect e-mail within our MTA when the two following criteria are both true: When an e-mail is: Sent from: user@isp.com Addressesd to: user@ourcompany.com Result: redirect e-mail to ...