2
votes
1answer
10 views

Postfix Relay Multiple Domains with Multiple Origins

I currently have Postfix relaying multiple hosted customer solutions which all works as expected. There are no local accounts and it is used solely as a relay server. In the config I have the ...
0
votes
0answers
33 views

Postfix: restrict all external access but allow for only mynetworks

How can I restrict access for an internal domain but allow all access for me the administrator? All users should be blocked from communicating outbound and no external domain may contact them, but I ...
2
votes
1answer
29 views

Block local (unix) users from sending mail

Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
2
votes
1answer
40 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
0
votes
1answer
12 views

Disabling sentbox in postfix over Squirrelmail

I have installed POSTFIX over Squirrelmail on CentOS Linux... The services I have ran are: service httpd service ssl service mysql service postfix service saslauthd service dovecot But I want to ...
0
votes
3answers
161 views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
2
votes
1answer
38 views

How to identify faked mail origin?

Today while setting up a mail server using postfix, I practiced to use sender_canonical_maps option, and noticed that it can change outgoing mail "sender" to appear like someone else. When Gmail ...
0
votes
0answers
52 views

Mail queue keep growing

My server keeps running short on inodes due the mail queue getting crazy. First, I assumed I had postfix not configured properly, so I switched it off. But, it happened again, last time I did it I had ...
0
votes
0answers
30 views

How can I configure postfix to send mail from my domain?

I currently have a VPS set up with postfix and dovecot, running on a mail server located at mail.noelforte.com. The setup works fine for receiving mail, as whenever mail is sent to @noelforte.com, the ...
1
vote
2answers
63 views

Why access file is being ignored by Postfix?

I have installed Postfix, I can send mails between local users as expected, but I would try to limit the access of a particular user to the server. I edited the /etc/postfix/access file in this way: ...
1
vote
1answer
168 views

Why I can't send mail to remote mailbox?

I have installed Postfix on my CentOS machine. I can nicely send mails to local accounts with mutt, but when I try to send one to a remote mail like myactualmail@gmail.com, I cannot understand why I ...
2
votes
2answers
120 views

Where do uncaught local emails go?

Suppose I run - mail goldfish There is no such account on the system and no such aliases defined, where would the mail go? How do I see a list of such mails?
1
vote
1answer
56 views

Mail Server Setup, MX Records, and Hostnames?

I'm a bit confused how mail servers work, and the process of setting them up. Say I have an domain called example.com, and I have an A record for it. I'll be using postfix/dovecot for this setup along ...
0
votes
1answer
80 views

Sending mail to an external server?

I'm currently experimenting with working with Outlook.com for an email server, and have MX records set up to point there and the like. How can I configure systems like postfix to use external servers ...
2
votes
3answers
139 views

postfix: different file name format for Maildir messages

I am using postfix with maildir format. The filenames of messages stored in maildir look something like this: 1386021659.27745_1.alpha:2,S I understand the first part is epoch time, not sure about ...
0
votes
1answer
80 views

Linking the `mail` and `sendmail` commands to Dovecot and Postfix

I have recently set up my mail server with Debian 7.2 (Wheezy), Dovecot, and Postfix, as described in this guide. This is all working fine, and I have installed and configured Roundcube and ...
0
votes
1answer
46 views

Postfix Masquarade Name *and* Email address

At the moment, I have a RHEL6 monitoring server that sends out emails with postfix. Originally it was sending them out as user@host.localhost. I've used the mapping file /etc/postfix/generic to get ...
0
votes
2answers
36 views

Local mail delivery not working

We are using RHEL 6.1 server. We need to send a mail from server to local domain (tcs.com). we are using mail command for this purpose. [bsoauser@hsluabsoa ~]$ echo "hi" | mail -s "test" ...
0
votes
2answers
60 views

postfix archive specific emails

I would like to know if its possible to archive specific emails based on the /Subject:/ for example if I receive an email with "Website Support" it will archive it in "Support".. is this possible?
2
votes
1answer
324 views

Mail forward: 550 5.7.1 Anonymous client does not have permissions to send as this sender

I want to install a small mailing list that forwards mails related to a specific project to all project members. So, lets say there are two members in that project userA@mailA.tld and userB@mailB.tld, ...
1
vote
0answers
66 views

Postfix, postges courier-imap / relay reject error on gentoo

I followed a guide to put together a server https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server it went smooth with no real headaches. First domain works like a champ but adding a second domain, ...
2
votes
1answer
76 views

Notify on email sent - Postfix

I have a small postfix server, on a Linux server (Arch Linux) mainly used as a http server. I use postfix to send database backups and notifications of my web sites. To avoid spamming, I'd like to ...
1
vote
1answer
137 views

postfix configuration to verify all recipients

I have a mail server that should receive all mails, even if no user is existing. my big problem is the: Postfix Address Verification like mentioned here: ...
3
votes
1answer
62 views

Unknown entries in the default /etc/postfix/aliases file

While setting up a new Postfix installation on a Mageia 3 Linux system, I came upon a few entries in the default /etc/postfix/aliases file that I do not know the background of: # Common aliases for ...
3
votes
1answer
230 views

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address?

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users E.g: abc@localdomain can send ...
0
votes
2answers
146 views

Do we need to configure postfix for using Google Apps gmail?

Do we need to configure postfix to use Google Apps gmail account or adding the correct MX records is sufficient. I'm trying to use Google Apps gmail account for my domain. Hosted on CentOS 6 VPS. I ...
1
vote
1answer
411 views

Send all local mail to a single external e-mail

I am trying to send all local mail to a single external e-mail, using Google's SMTP servers. Using Google's SMTP servers work, as I am able to send mail to external addresses work using mail from ...
2
votes
1answer
117 views

Redirecting mail to Gmail

I'm trying to set up the redirection of all emails to my VPS to my Gmail account because it's easier to handle. At the moment though, it is not working, and I can't see why. I have tried a few ...
1
vote
2answers
896 views

sending email to IP address via postfix

I and a friend of mine have setup two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now ...
1
vote
1answer
242 views

Postfix - unable to send mails to Internet (i.e. Gmail)

I've set up postfix (Debian) and it works fine. I can recieve mail and I can send them, but I can only send them to local (and local virtual) adresses. But when I try to send the mail for example to ...
3
votes
1answer
389 views

Procmail: Denying special privileges for “/etc/procmailrcs/default.rc”

I'm trying to setup postfix, dovecot and procmail to work together with virtual users. In the end I want to have virtual users and the possibility to add rules to sort incoming rules. For the last ...
3
votes
1answer
332 views

extracting attachments from mail that is coming to my postfix inbox

How do I extract attachments from mails arriving at my postfix mailbox and preferably send the content of the attachment to another email account? I am interested in being able to acquire/read the ...
0
votes
1answer
167 views

Set up an email domain with Postfix and Dovecot

I am very new to the Linux world so please forgive me. I have a VPS running Ubuntu 12.10 x86 and I have installed Rails3, Nginx, Mysql and Passenger. All are up and running. I want to set up mail so ...
1
vote
1answer
139 views

Can't delete system email

While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using ...
0
votes
1answer
134 views

Postfix header_checks

I want to forward a copy of the users email which has the specific subject. I have tried the below settings, able to Redirect that particular subject mail. But I want to forward a copy of that mail to ...
1
vote
1answer
261 views

Is there a way to store mail attachments outside of mailboxes?

Nowadays, size limits on mail attachments are less comprehensible by traditional users. I am looking for a way to extract mail attachments as simple files that I would be able to manage elsewhere. On ...
2
votes
1answer
895 views

Linux: Use maildir instead of mbox

Is there a way to use Maildir instead of mbox on a Linux box? On some websites, it is suggested to add to /etc/aliases: myuser: /var/mail/myuser/maildir I've issued the newaliases command, but it ...
3
votes
1answer
4k views

Postfix error: Relay access denied

I can't send mail to external email addresses such as gmail. When I try to send a mail with telnet I get the following error: Trying 130.xx.xx.128... Connected to mydomain.com. Escape character is ...
4
votes
2answers
6k views

“IPv6 support is disabled” warnings

I get the error while running a script which tries to send emails. send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol send-mail: warning: ...
1
vote
1answer
639 views

Sender based redirection on Postfix

I'm running postfix on Debian, receiving email for my.com, and I would like all incoming emails from sender.com to be delivered to jack@my.com, regardless of the original recipient. Emails from other ...
1
vote
1answer
3k views

Which name should be used for myhostname in Postfix's main.cf?

For #myhostname, I should uncomment and put my hostname, i.e. the name I gave my VPS, right? Or does it just go myhostname = mydomain.net, in other words don't edit the phrase 'myhostname' except to ...
2
votes
1answer
266 views

CNAME: Mail address gets rewritten

I have a problem with receiving mails. I do not know if my server or the server of the sender is wrong configured. I have a domain daniel-marschall.de which has following DNS RR: ...
0
votes
1answer
246 views

Force users to change email password every six months

I'm going to build an experimental mail server with Postfix + Dovecot and Mysql for user accounts. The server will offer SMTP + POP3 + IMAP. Is there a way to force users to change their mail account ...
2
votes
0answers
167 views

why is FQDN using external IP address

When postfix connects to the FQDN dur.bounceme.net it uses the external IP address: root@dur:~# root@dur:~# tail /var/log/mail.log Aug 28 04:39:45 dur postfix/master[6667]: terminating on signal 15 ...
3
votes
1answer
3k views

Add header to outgoing email with postfix

Can someone please provide an example on how to add a Precedence: bulk header to all outgoing emails using postfix. I would like to know what file(s) to create or edit and what I should put ...
0
votes
1answer
2k views

Postfix Configuration - different servers for subdomains and domain

I have a following setup: 1 postfix server: a.example.com that needs to accept all emails for any subdomain on example.com (*@*.example.com) and delivers to mailman account and also send emails to any ...
1
vote
1answer
692 views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
6
votes
1answer
330 views

Postfix configuration - keep the envelops

I have a postfix server that delivers mail and send a copy of the outgoing mail to a second server for content analysis using the following configuration (addresses and IPs have been replaced): ...
1
vote
1answer
468 views

Check & filter outgoing mails in Postfix

I am looking for a way to check outgoing mails with rules like : mails sent to a particular domain mails sent without subject or with a specific subject mails with an attachment of a certain size ...
2
votes
2answers
7k views

How to create Maildir directory with enough permissions for Postfix?

I have CentOS 5.5 with Postfix installed on it. I want to use local delivery agent with default setting, but I want it to store mail with Maildir directory style mailboxes. When I set the mailboxes ...