Tag Info

Hot answers tagged

3

postfix logs each connection as it comes in, and the log lines look like Jul 8 16:25:15 swiss postfix/smtpd[11127]: connect from some.host.or.other [192.0.2.1] so you can tail -F your logfile (on my system it's /var/log/mail.log), use grep to filter the lines you want, and watch the live traffic.


3

After configuring an instance name using syslog_name or multi_instance_name to set the name. You can use rsyslog filters to separate logs from each instance. No need to use the local syslog facilities. You can find similar solutions for other syslog implementations.


2

Yes, both name-to-ip and ip-to-name mapping must match exactly, that is: 109.XX.XX.93 must resolve to webserver.XXXX.com and webserver.XXXX.com must resolve to 109.XX.XX.93 exactly. Then additionally, the SMTP banner presented must match the same hostname. If your IP address reverse lookup does not match webserver.XXXX.com, you should contact your hosting ...


2

I am using Ubuntu Server 12.04 and I tried the above solutions. However, I found that simplest and easiest way was in 10-auth.conf to set auth_username_format = %n I use PAM for the authentication which is the default in Ubuntu 12.04.


2

Postfix is not being particularly aggressive. It's trying to deliver mail in accordance with SMTP and various best practices. This is Yahoo's fault. Yahoo has extremely low limits on simultaneous recipients of a message from a single sender. I see this occur with a small 500-member list with only a couple of dozen Yahoo addresses on it. The contents of ...


1

I have a similar set up relaying via mailgun. Firstly, you can get the public IP of an instance using: http://169.254.169.254/latest/meta-data/public-ipv4 From within the instance, in my case I use orchestration (ie. Chef + OpsWorks) to automatically create a DNS record in Route53 for the instance on boot. You could probably also use: ...


1

First, most third party SMTP gateway providers support using their service as a authenticated, encrypted relay host: sendgrid documentation Dyn documentation AWS SES documentation mailjet documentation mailgun documentation etc. etc. etc. The key is, you shouldn't have to do access control using IP addresses or hostname. You use encryption (TLS) and ...


1

sendgrid uses password based authentication (config details for that below). It won't care about your IP, or the hostnames you use (myhostname, myorigin, etc). The hostname your server presents to sendgrid in the HELO (or EHLO) greeting is likely to appear in mail headers. Some recipients' spam software may check it, so use something that does exist in ...


1

You must setup specific hosts that can relay mails to your postfix server. That way, you can define the only servers that can relay mails to you. Also, turn on spf (sender protection framework) so that when a mail comes in and is not coming from an authorized server, it will be rejected.


1

The above poster is close. tail allows you to see the last 10 lines in a file. The -f switch allows you to see new lines as they are appended to the maillog file. cd /var/log tail -f maillog Ctrl+c to escape. Seeing this is already written to a file called /var/log/maillog, not sure why you would want to create another file unless you are looking to ...


1

Is it possible migrate this all at one step with service downtime? If yes you can tar/untar. But better way is rsync mailbox on the fly, and at service downtime you do rsync again for update. look at mailqueue, this should be empty. smtp mustn't accept any mail at downtime. but usually you have different situation. mail queue keeps email that cannot send. ...


1

Dovecot have a handy tool called dsync (wiki) intended to syncronize two dovecot instances. Maildir hierarcy fron one server is replicated to another. Received, sent, spam, trash - everything is copied. The main advantage is that dsync can do an incremental and two-way replication. After the initial copying is done the next run copy the new/changed files ...


1

Based above tutorial, you forgot to add these two lines user = postfix group = postfix after these lines client { # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. path = /var/spool/postfix/private/auth # path = /var/run/dovecot/auth-client ...



Only top voted, non community-wiki answers of a minimum length are eligible