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)
6,534
questions
2
votes
1
answer
3k
views
Configure postfix to send email only from authenticated and receive from anywhere
I`m having problem configuring postfix to receive emails from any domain but block senders for only authenticated users in localhost
My main.cf is like :
mydomain = domainname
myhostname = mail.$...
2
votes
1
answer
2k
views
Postfix won't forward email using virtual_alias_domains and virtual_alias_maps
Here is what i did:
apt-get install postfix
picked "internet mail"
added a file "virtual" and appended a list with emails and emails (see below for sample)
when changing postfix, i always updated the ...
4
votes
1
answer
180
views
Maildir on Debian Squeeze - Finding email boxes on /lost+found
A server that I'm helping to administrate had a severe file system problem and now there's a lot of files inside the /lost+found directory. I'd like to find the [email protected]'s received and sent ...
1
vote
2
answers
7k
views
Forwarding email with postfix via AWS SES
I have a server with postfix MTA installed that accepts mail for my domain, hereinafter @example.com. I need to setup forwarding for certain [email protected] to other emails . e.g. @gmail.com and ...
1
vote
1
answer
889
views
iptables KVM prerouting SMTP
I have a host machine that has to manage traffic on port 25 and route to port 25 on the KVM machine for postfix deamon like this scheme:
WAN --> (25) HOST_MACHINE --> (25) ...
3
votes
2
answers
4k
views
Who is telling where cur,new and tmp are created using Postfixadmin with Maildir
I was trying to realized which configuration is telling where cur,tmp and new are created. Of course I've beein using virtual user and I receive and send mails into virtualuser/domain/user/Maildir/new ...
11
votes
3
answers
44k
views
Why are there so many files in /var/spool/postfix/maildrop
We have CentOS 7 running, and previously had postfix installed (it is currently uninstalled). After removing postfix we checked the /var/spool/postfix/maildrop, as the df -h command was reporting ...
1
vote
1
answer
459
views
OpenVZ - SMTP - telnet - Connection timed out
I have problem with SMTP in my OpenVZ container.
I've created OpenVZ container by Proxmox on dedicated server in OVH. This container will be as mail server. So I create on "mother-server" rules to ...
7
votes
2
answers
1k
views
Postfix deny relay for some virtual users
I'm using Postfix as MTA and relay. Users that wish to send e-mail from a remote system authenticates and Postfix hands that to Dovecot, and this works well. But how can I limit which users can use ...
-3
votes
1
answer
416
views
Postfix and multidomain
I'm trying to setup postfix to use multi-domains mail.
Right now, I can send mails to [email protected], but sending mails to [email protected] isn't working: I receive the following ...
-3
votes
1
answer
285
views
How to enable `dbox` for a particual mail account?
I need to enable http://wiki2.dovecot.org/MailboxFormat/dbox/ formailarchive account.
I want to enable dbox only for the mailarchive account & the other accounts continue to use the Maildir ...
11
votes
2
answers
6k
views
Postfix: selecting relay host based on From: mail header rather than envelope sender
I've successfully set Postfix to relay emails via Mandrill using SASL and sender_dependent_relayhost_maps with a MySQL table so that different senders connect to Mandrill using their own Mandrill ...
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 ...
12
votes
1
answer
1k
views
Configure roundcube login by hostname
I recently installed Roundcube on my Centos6/postfix/dovecot server.
Default install works great but I am trying to configure some options that I cannot seem to figure out.
My end result would be a ...
2
votes
1
answer
618
views
Authentication error connecting to a mail server via openssl in the terminal
I've set up an email server using Postfix and Dovecot and I'm able to send and receive mail using various mail clients but for some reason I get an authentication error when I try to connect via ...
5
votes
2
answers
9k
views
OpenDKIM errors
When sending mail, Outlook errors 4.7.1 Service unavailable - try again later. I have installed postfix, dovecot and openDKIM, but OpenDKIM is giving me errors:
Mar 30 10:19:32 x opendkim[16762]: can'...
8
votes
2
answers
47k
views
How to set the username and password for smtpd in Postfix?
I've set up Postfix as SMTP server by adding this configuration to main.cf:
myhostname = foo.com
mydomain = foo.com
myorigin = $mydomain
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
...
4
votes
2
answers
7k
views
Postfix: Should I use snakeoil cert or my https cert?
I run a site and have a valid wildcard certificate installed for serving HTTPS pages. I just set up postfix on my Ubuntu host and by default its configuration includes:
smtpd_tls_cert_file=/etc/ssl/...
-2
votes
1
answer
644
views
Issues sending and receiving mail, Dovecot, Postfix etc
I have been trying to fix my mail server for 3 days now. I'm not really new to Debian and Apache and such but I am new to Dovecot and Postfix.
At this point I have set up the virtual users and the ...
0
votes
2
answers
7k
views
Can I use /etc/aliases for multiple domain mail server?
I have server1.com and server2.com both pointing to the same server. I wish to make all email sending to @server1.com and @server2.com going to the same mailbox in that particular server.
I searched ...
4
votes
2
answers
11k
views
552 5.3.4 Message size exceeds fixed limit
I already edited the main.cf file like this:
message_size_limit = 25600000
service postfix restart
postconf message_size_limit
message_size_limit = 25600000
I tried to send a mail with 18GB of ...
2
votes
0
answers
2k
views
Postfix on server with multiple IP addresses sends mails with wrong HELO in header
I have a VPS with multiple IP addresses:
venet0:0 x.x.x.2
venet0:1 x.x.x.3
venet0:2 x.x.x.4
venet0:3 x.x.x.5
All IPs have A records
m2.domain.com -> x.x.x.2
m3.domain.com -> x.x.x.3
m4.domain.com ->...
0
votes
2
answers
2k
views
Postfix Failed to Receive Email
I am trying to set up a mailing server with postfix and dovecot in ubuntu 12.04 following this guide. All seems to have worked out correctly and when I try this echo test | mail [email protected] ...
0
votes
1
answer
2k
views
TLS/SSL mail server Certificate installation for Postfix/Dovecot Mail Server Setup
I have tried to setup a my own web-server with mail server, (I am not a linux export just following some tutorials), webserver setup with Nginx,PHP-fpm and MySQL seems to be successful, then i moved ...
-1
votes
2
answers
494
views
Postfix access restrictions
I use Postfix 2.9.6 from Debian7. Defined some virtual domains, all works fine as expected.
Now I want to restrict incoming emails for one of my domains to accept email if it come from the same ...
2
votes
2
answers
699
views
How to move cur tmp new directories directly in virtual user home?
Reading the Maildir documentation they just mention folder should be like
user/Maildir/cur
tmp
new
So my virtual users have it without Maildir folder like:
user/...
1
vote
1
answer
963
views
Can existing email accounts be extracted from Zimbra?
I have become dependent on Zimbra, and yet I have no need for a heavy GUI administrative interface. I'd rather keep a low-resource server that runs only the underlying services Zimbra uses, such as ...
2
votes
1
answer
306
views
Stop (most) local delivery in Postfix
I'm trying to setup a Postfix (2.11.4) configuration so that it does this:
Sends out mail originating from the local server
Accepts incoming mail for a single alias, which actually points to a script
...
0
votes
1
answer
2k
views
Django mail reports blocked by Gmail
I configured my Django 1.6 framework to send error reports to a Gmail account so I can check them. Before this worked well, though I had to define filters to catch the sender mail addresses I ...
3
votes
2
answers
3k
views
Blocking PHP mailer spam using iptables
I host a public-facing web server running Debian Wheezy, and latest versions of Postfix, Apache, PHP, Spamassassin, ClamAV, rootkit hunter. Apache is configured with a handful of vhosts, each tied to ...
0
votes
2
answers
486
views
Relay Access Denied - Postfix/Dovecot
Edit: Please, please read the answer before this whole thing, as it'll save you tons of time. Answering my issue was as simple as changing a setting with Outlook, it might be for you, as well. It had ...
0
votes
1
answer
9k
views
Temporary Lookup Failure - Postfix/Dovecot
Alrighty...
So here's what's going on.
I can sign in with Outlook to my Mail Server, but when I go to send an email, I get this error. Using SquirrelMail, I don't get any errors, sending works fine. ...
-1
votes
1
answer
2k
views
How to deliver mail to non system virtual users with EXIM mta
We are running a mail server with postfix mta. But now to are moving to EXIM, as it has a lot of features inbuilt without using milters.
In postfix you can deliver to non system users quite easily by ...
2
votes
1
answer
344
views
searching for the correct way to compile postfix
I am experiencing issues while compiling latest version of postfix from source code. At the moment I'm trying to compile version 3 because Debian 7 and latest Ubuntu 14,10 (version 2,9 and 2,11 for ...
-1
votes
1
answer
464
views
Could nginx mail module replace a Postfix/Dovecot combo
I saw that nginx has a "Mail Module". I googled but don't find much documentation about this.
What is this ? For what can it be used ?
Could it replace my current simple Postfix/Dovecot combo?
9
votes
1
answer
396
views
Postfix Multi Domain Email Going to Spam
I have read over the other post from other users on this site about this topic.
I think I see my problem but cannot figure out where to change it.
My configuration:
RDNS for 107.170.172.XXX: ...
5
votes
3
answers
3k
views
Postfix - Pipe multiple recipient message as a single message
I am trying to pipe emails through Postfix to a Python script I have. Currently, messages with multiple recipients are piped to the script once for each recipient. I would like these messages to be ...
3
votes
1
answer
5k
views
Postfix Limit mail for domain from IP range
I have multiple domains and email accounts on my postfix server. All of them get slammed with spam despite all my attempts to get it under control, I broke down and started paying for a pass external ...
5
votes
1
answer
15k
views
Postfix STARTTLS only on port 25
I want to enable STARTTLS on port 25, but for unknown reasons it only works on port 465.
master.cf:
smtp inet n - - - - smtpd
-o syslog_name=postfix/smtp
-o ...
0
votes
1
answer
1k
views
Postfix fails to install in MySQL 5.7
I am trying to install postfix in my server with
Centos7
MySQL 5.7
Unfortunately it seems to be they are incompatible. Why?
Here the error message. Is there a way around this ?
[root@doc ~]# ...
0
votes
1
answer
73
views
Migration Issue from Postfix
I am currently using postfix, recently I have started to migrate the mailbox to Google App for Work.
While I changed the MX record from provider, it should be great that all outcoming emails to my ...
2
votes
1
answer
4k
views
SquirrelMail showing empty inbox. THIS FOLDER IS EMPTY
I have installed postfix, dovecot and squirrelmail. I can send messages and also receive messages. But in Squirrelmail web interface i can see only sent messages it is not showing the mails which are ...
1
vote
1
answer
781
views
Configure Sympa: Command output usage error
I have a problem on configuring Sympa.
I've created a new list [email protected], but when I try to send mail to this list, I get an error in my maillog:
postfix/pipe[13544]: C699261227: to=...
2
votes
1
answer
13k
views
Postfix milter-reject: END-OF-MESSAGE from 4.7.1 Service unavailable - try again later
I am running postfix-2.11 version and recently i have added dkim-milter-2.8
Postfix configuration:
# DKIM
milter_default_action = accept
smtpd_milters = inet:localhost:8892
non_smtpd_milters = inet:...
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 ...
0
votes
1
answer
6k
views
Nagios (OP5) Postfix, Client does not have permissions to send as this sender - but testmail work
I use the Nagios based OP5 monitoring system with postfix. If i send a testmail from OP5 Portal, the message will be received. But if a message is send cause a problem, i would get the error "Client ...
1
vote
1
answer
214
views
Postfix deliver mail for orginal destination + BCC - but only for one email
I have postfix with virtual users, I'm looking for solution, tried google it, but no luck.
I want to achieve this one:
mail for admin@*
should be delvered to admin@* and BCC for webmaster@*
I ...
1
vote
1
answer
2k
views
postfix configuration and Received from
Having some trouble here. My server has 3 IP addresses and this is my /etc/hosts:
127.0.0.1 localhost
46.38.235.226 brian.smares.de brian
46.38.238.199 stewie.smares.de stewie
46.38.238.137 mail....
0
votes
1
answer
234
views
opendkim only signs for 1 zone on a hosted server
I am implementing opendkim but I can only get it to sign for 1 zone.
The tld is failing to sign even though it is the same key/signature/file for both domains.
my .conf:
cat /usr/local/etc/mail/...
-1
votes
1
answer
569
views
Understanding Postfix Mail Log (Part II)
There are several logs like below in my Postfix mail log:
Mar 9 06:01:10 postfix/smtpd[23043]: initializing the server-side TLS engine
Mar 9 06:01:10 postfix/smtpd[23043]: connect from mlxmail4....