Questions tagged [postfix]

Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: `postconf -n` (non-default content of main.cf) and `postconf -M` (content of master.cf)

Filter by
Sorted by
Tagged with
1 vote
3 answers
2k views

Bind an ip address to Postfix as outgoing ip

Is that possible to bind all available public IP addresses on a server to one Postfix instance as its outgoing IP address pool and let it choose a random IP address or specified IP address from the ...
2 votes
1 answer
1k views

Fully altering recipient on Postfix

What I am trying to achieve is that any email coming to [email protected] gets rewritten to [email protected] and delivered to [email protected]. Both canonical_maps and virtual_alias_maps work for ...
0 votes
1 answer
200 views

How to prevent users sending mail as someone else?

I have postfix 2.x on Debian 8 setup. I modified main.cf to have smtp_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, permit As of now, for a domain ...
3 votes
2 answers
8k views

How can I strip or rewrite the sender's name of a from address when using postfix?

Objective I'm trying to configure a CentOS 7 system so all mail sent to local system accounts gets redirected to an alternate email address. For example, if mail is sent to root I want it to be ...
-3 votes
1 answer
101 views

Ubuntu 14, Postfix, Dovecat, Squirrle, Email messages not being sent to outside domains recipients

I have been suffering for so long from this.. All emails sent from the server are being delivered to local addresses.. but nothing to remote addresses!! All emails are being received by local ...
-1 votes
1 answer
877 views

In postfix, how to deny a specific email address from sending e-mail but still allow receiving?

The closest thing I tried was to add reject_unlisted_sender to main.conf but that also disables receiving any email to that mailbox. I want only deny sending but still allow receiving. EDIT Here's ...
3 votes
1 answer
3k views

Integrating postfix with LDAP to eMail Users with Access to A Specific Host

I have a working openLDAP v3 installation under Ubuntu 14.04 (slapd 2.4.31-1) with phpldapadmin, sudo-ldap and other packages installed. I'm trying to integrate postfix with LDAP so I can send emails ...
0 votes
1 answer
745 views

Postfix: How to block sending emails from and too valid email addresses via telnet? [duplicate]

I have a problem with my mailserver. I am able to send an email via telnet from a valid email address to a valid email address (both email addresses are from my domain) from my local computer. Here ...
1 vote
1 answer
54 views

Traffic Controlling in Postfix

In postfix can we restrict inbound mails from gmail.com, and other free domains if they have more than one recipient? Following conditions to consider: Email is from Free Email domain like gmail.com,...
4 votes
2 answers
3k views

Postfix SSL certificates with Comodo (PostivieSSL) - "Unknown Authority"

I have an issue with my mail server running a postfix/dovecot setup, essentially when I run the various security tests I get told that my certificates can't be validated, see here: https://ssl-tools....
2 votes
1 answer
434 views

Postfix change add-on priority

I have just started to fight with Spam mails because of my new project. I will explain structure of that system. We have Postfix as MTA on relay server and fresh Spamassasian and Policyd(v2 ...
0 votes
1 answer
484 views

Postfix fail sending to any external domain

I have a problem :( When we try to send a mail to external demain by SMTP and Postfix + Courier+ Webmin, In the logs i got an error : Sep 18 10:57:34 MyDomain postfix/error[26300]: 275FF1EEC9B: to=&...
2 votes
2 answers
3k views

Outgoing mail connection timeout for Centos 6.4 Final

I am trying to send email from my server box and it never goes out. So I checked my mail log as below. I have never done any changes on the /etc/postfix/main.cf . My admin just gave me a host to be ...
1 vote
1 answer
4k views

Configuring postfix and dovecot for Secure IMAP and SMTP

I have a clean install of postfix and dovecot-core dovecot-imapd dovecot-lmtpd installed on Debian 8 OS. I want to configure mail to work with PAM but I want to restrict it to users who are part of ...
5 votes
2 answers
605 views

How to handle external alias with dspam as daemon between postfix and dovecot with virtual domains?

I've got the following situation for incoming mail with Postfix 2.9.6, DSpam 3.10.1 and Dovecot 2.1.7: Incoming Mail -> SMTP -> LMTP -> DSpam (as daemon) -> LMTP -> Dovecot I've got ...
2 votes
1 answer
248 views

Postfix equivalent of Exim :fail: for virtual aliases

I'm in the process of migrating an existing mail setup from Exim to Postfix, which involves multiple virtual domains (i.e. they're not tied to the machine name or local system accounts). I've come ...
3 votes
1 answer
301 views

Why Postfix on Linux require a "-" character before the pathname of the log file?

I´ve found the following here: IMPORTANT: on Linux you need to put a "-" character before the pathname, e.g., -/var/log/maillog, otherwise the syslogd process will use more system resources than ...
-2 votes
2 answers
317 views

Mitigating spam on Linux server where all MTA's (Postifix, PHP Mail() function) etc. are disabled [duplicate]

We have a Debian Squeeze server running a fairly standard LAMP stack (back in the days it was set up using the Perfect Server guide at Howtoforge, so we're using ISPConfig as our backend admin panel) ...
2 votes
4 answers
8k views

Postfix 2.9 or sendmail, outgoing spam prevention (check if sender exists)

Operating System: Linux Ubuntu 12.04 TLS Context: Plesk 11.5 Utility: Postfix 2.9.6 (updates restricted by Plesk 11.5 distribution) I would like Postfix to check the 'sender' field of every outgoing ...
-2 votes
1 answer
147 views

Not able to send mails from my server, able to receive mails [closed]

I am not able to send mails from my server; however, I am able to receive mails. I am using Postfix. When I telnet to port 25, I get this output: telnet server.example.in 25 Trying 52.xx.xxx.21... ...
3 votes
2 answers
1k views

How to specify target directory in Postfix with MySQL?

I have setup a mail server with Postfix, Dovecot and MySQL. Dovecot works perfectly. Postfix sends mail, but I have a problem with receiving mail. After 2 days of debugging and tweaking ...
0 votes
0 answers
124 views

Can I selectively inhibit alias expansion with postfix?

In a sendmail configuration, I can selectively inhibit alias expansion using a backslash as in foo: \foo, [email protected] foo-only: \foo The idea here being that email sent to foo will be ...
1 vote
1 answer
6k views

Postfix SMTP+saslauthd autentication failure

I try to implement SMTP authentication with postfix and saslauthd on Ubuntu. My IP is W.X.Y.Z, and my VPS IP is W'.X'.Y'.Z'. My user is JohnDoe and my hostname is server. It doesn't work, here are ...
6 votes
2 answers
9k views

postfix pipe to script: execvp permissions denied error

I am new to postfix and am trying to pipe a message to a particular email address to a bash script. I am running CentOS 6 in case that matters. My script has 777 permission (for testing), and when I ...
-1 votes
1 answer
816 views

difference between lmtp:unix:private/dovecot-lmtp lmtp:unix:public/dovecot-lmtp

What is the difference between: lmtp:unix:public/dovecot-lmtp and lmtp:unix:private/dovecot-lmtp in postfix?
1 vote
1 answer
1k views

openDKIM breaks email forwarding

After moving our server over to Postfix, I have decided to implement DKIM using OpenDKIM. I have been successfully able to install and run this, but while it is enabled as a milter, all mail ...
0 votes
1 answer
217 views

Configure postfix for outgoing mail

I rent a VPS, a domain name (let's say foo.bar). I want to send an email using the address [email protected]. I have installed postfix, and started configured the main.cf file; however it doesn't work. It ...
0 votes
1 answer
760 views

exim4 and postfix cannot both exists?

Server is CentOS 6 I installed exim4 as mta in my local server. and I can simple send mail by mail command(mailx): echo 'a test mail' | mail -s 'a subject' [email protected] then I installed postfix, but ...
0 votes
2 answers
927 views

Configure Postfix to forward all email for a domain

I'm trying to configure Postfix to act as an anti-spam/anti-virus service, running on a Ubuntu 14.04 server on AWS. In the office we run Microsoft Exchange 2010 so I just want Postfix to receive all ...
3 votes
1 answer
8k views

Spamassassin is conflicting with postifx

I am trying to install spamassassin. But it seems to be conflicting with POSTFIX. When I restart spamassassin I get the following error code: /usr/sbin/postconf: fatal: file /etc/postfix/master.cf: ...
1 vote
1 answer
205 views

How To Only Restrict PHP5/Apache to Send Mail Only To Local Users

I need some help. I am running lastest stable Ubuntu which hosts Apache/PHP5 and also delivers email. I host some WordPress sites for other users and have been waging a war for months now combatting ...
2 votes
1 answer
762 views

Postfix's received emails put in /var/mail/user/.Sent Messages

For some reason, emails that I receive on my Amazon Linux EC2 instance, running postfix and dovecot, are put in the directory /var/mail/<user>/.Sent\ Messages, instead of the expected /var/mail/&...
1 vote
1 answer
9k views

Postfix + Dovecot + IMAP SSL: imap-login: Aborted login

Am getting familiar with email Mail Server components and configuration. Knowing that there have been quite a few configuration changes to Dovecot 2.x and willing to use SSL encryption, I have come ...
2 votes
2 answers
4k views

opendkim incoming not verified

I've installed opendkim with postfix on Debian Wheezy. Outgoing mail is getting DKIM signatures. The smtpd and non-smtpd milter spec is the same. Incoming mail seems not to be verified - in a ...
1 vote
1 answer
233 views

MTA 554 daily report via POSTFIX or log monitoring?

It would be helpful to get a daily report of 554 coded email problems from postfix or other MTA programs, ie. if some mail servers think you are blacklisted, they will tell you details with urls on ...
1 vote
1 answer
219 views

configure postfix to send mail only to known adresses

I am using postfix to relay my emails from *@myyyrd.fr to specific recipients: #/etc/aliases aXXXXre: [email protected] aXXe: [email protected] aXXXs: [email protected] vXXXXXt:...
0 votes
1 answer
103 views

Sympa commands silently fail

I have a Postfix server on a Debian box and I use Sympa for mailing-lists. The mailing-lists work fine (the messages are correctly distributed to suscribers) but sympa commands don't work. When I ...
1 vote
1 answer
857 views

no SASL authentication mechanisms

I am running freebsd 10.1 with postfix and Dovecot. In the mail logs for postfix, I get this error: fatal: no SASL authentication mechanisms Below is dovecot log errors: Error: auth: ...
1 vote
0 answers
986 views

Quota in Postfix, Dovecot with Maildir Not working

I've some problem with quota with Maildir. If I install a plugin in Thunderbird that shows Quota's it's working and my quota is like 300%. But I can still send and recieve mails. I'm not running any ...
3 votes
1 answer
405 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 ...
5 votes
1 answer
5k views

Postfix (Ubuntu 14.04) SSL Certificates Differ - Anything to really worry about?

I've got an Ubuntu 14.04 server running Postfix - which is sending mail via an external host (Mandrill). I've got no issues sending email - but (prior to disabling TLS - which seems to have caused no ...
1 vote
1 answer
2k views

Zimbra 8.04 policyd... Message quota is been counted by count of recipients

I've ran onto a behavior issue that I cannot see how to fix. I've configured Zimbra (8.0.4) with policyd, following this tutorial Step1: Create a policy Step2: Create a group (list_domain) Step3: ...
3 votes
1 answer
16k views

Maildir "new" has messages but Inbox is empty

I'm installing a new mail server (Postfix/Dovecot+Maildir) in a fresh OS. Using Thunderbird (or Squirrelmail) I can send mails but my inbox is empty even when I can see them in /home/<mailuser>/...
1 vote
1 answer
806 views

Postfix aliases only work from local users

I just setup a Postfix instance and added a few names to /etc/aliases. For example, take this: root: toor, nobody foo: root, [email protected] foo2: foo, [email protected] I ran newaliases ...
0 votes
1 answer
1k views

Postfix on Ubuntu not delivering mail to a few addresses

On my ubuntu server my WordPress installation sends email the normal way using wp_mail (which in turn uses php mail()..). The server is set up with Postfix for delivery. Recently there's been a ...
0 votes
1 answer
2k views

postfix mta header "received by" server hostname for virtual domain

I have sender_dependent_default_transport_maps all set-up for virtual domains with their own IPs for outgoing mail - they work. However when postfix's sendmail adds an email to the queue, apparently ...
0 votes
2 answers
2k views

2 email server and one static ip

I need to manage two mailservers (postfix and dovecot on different machines) using a single public IP. I thought I solved by putting non-standard ports on the second postfix instance, but I do not ...
1 vote
1 answer
144 views

postfix/policyd-weight[11026]: warning: child: could not open RBL Lookup Socket to config

i have some problems with my postfix server. Here the error message from my mail.warn: Dec 24 14:43:36 serv postfix/policyd-weight[23064]: warning: child: could not open RBL Lookup Socket to config: ...
3 votes
1 answer
1k views

Dynamically limit postfix attachment size

For a project I am currently working on, we received a requirement for a 'dynamic' mail attachment size limit. For postfix (which we currently use) this would be easily implemented using the ...
4 votes
3 answers
6k views

Foreign mail server returns "502 Command not implemented."

I am using Postfix to communicate with foreign server and send a mail. Every time when I try send mail using Postfix, I get this error: (host mx2.seznam.cz[77.75.76.32] said: 451 Local Error (in ...

1
73 74
75
76 77
131