Tag Info

New answers tagged

0

The larger problem (than piping the email into php) is allowing php to then send the email without again piping it back into php. If you were using postfix, you could configure postfix to pipe to php and then allow php to send back into postfix without creating a loop - but that would require manually tweaking the config. Similarly, if you were using ...


1

Your IMAP server (ie Dovecot) is not responsible for deciding where to store an email. Your mail client (which might be webmail, or desktop/mobile software) copies the email to a folder of its choice. Sieve is unlikely to be involved. For mail from the MTA, the MTA typically passes the mail to sieve, which then puts it in the appropriate imap folder ...


0

I don't think you can server-side. Typically storing a copy of sent messages is done by your e-mail client program. Some clients have an option "save replies with original message" or similar instead of storing all replies in a single "Sent Items" folder. In most cases the default behaviour of the client will be to use the IMAP connection to place the ...


0

There is special functionality IMAP-threads intended exactly for that purpose. http://tools.ietf.org/html/rfc5256 Modern IMAP servers including dovecot already have it. When mailbox is in maildir format a special index is built that count on message-id. When you reply on message, original ID is stored in the headers In-Reply-To: and References:. So ...


1

Option A: Write a script to check the IPs against whichever blacklists you feel like checking, and send an email alert to the client containing the results. Or better yet, have your script save the results for each customer IP into a database. One each run of the script, compare what is already saved in the database with what is about to be saved, and only ...


0

Excellent question. I've just spent several hours researching the same thing. I had previously deployed numerous websites that use Option C for email forms (mainly out of naivety), but we are experiencing an increasing number of delivery issues. Email providers are gradually tightening up on things. For example Yahoo recently changed their DMARC policy ...


0

Sorry for the slow reply on this... After a lot of research of similar scenarios, and a little trial and error, I found that while I do need to set the staged migration domain to "internal relay" I do not need to create an Outbound Connector. The Outbound connector is for routing specific mail through an external connector when the MX records are pointing ...


0

I'm using successfully this same configuration (mostly). It looks a lot like yours, so it should work with a few tweaks. I would change result_format slightly: result_format = smtp:%s You can query this lookup table to see if you get the results you expect: postmap -q user@test.domain.com ldap:/etc/postfix/ldap-virtual-transport.cf Anyway I think your ...


0

smtp4dev has worked well for me. (Windows only)


4

Google maintains open statistics on their percentage of mail that is encrypted, both inbound and outbound. This information should be extremely useful to you in determining whether this is worth implementing: http://www.google.com/transparencyreport/saferemail/


16

Yes, it is still a bad idea. Three reasons: While the RFC you cited (RFC 2487) is in fact obsoleted by the current standard RFC 3207, the current standard keeps the MUST NOT verbiage you quoted in your question. SMTP Clients are not required to implement STARTTLS. It is totally acceptable not to do so. While STARTTLS is becoming more common, it is ...


0

If the remote mail server allows this: yes. Usually external mail servers will allow you to relay email for any domain-name as long as one of two criteria is met: You are in a trusted range of IP addresses or You are using credentials to verify your access to the server You should be worried about having your email being marked as spam due to not ...


1

If you're sending almost identical mails to more than 1 recipient, the single 2 most important headers to have, when dealing with GMail are: Precedence: bulk And List-Unsubscribe: http://your-site.com/unsubscribe.php?email=thisguy@gmail.com of course pointing to a real and working unsubscribe page, where google's unsubscribe bot can easily get to click ...


1

I have seen this to happen in other ocasions, when the received from is reported as localhost, with 127.0.0.1 as IP address. The fact that this does not match with your DNS records is certainly getting your email marked as spam. You should review your DNS records (A and MX) and the headers that you send in your SMTP server. Your server is sending what it ...


1

Are you using traditional the mbox format? You should consider converting all mailboxes to Maildir format to avoid such locking errors (and much better performance). The logs for Dovecot don't seem particularly troublesome, they just indicate an user was disconnected due to inactivity, which is OK.


0

Can you use IMAP instead of POP3? POP3 is designed for single-user use. It's from the times when you exclusively used a single computer for everything and when the mailboxes offered by ISPs were very small. Back then we did fetch all the e-mails from the server to a personal computer. Due that most POP3 clients/servers do lock the mailbox when they are ...


1

It seems that you've figured this out already, but the way to do that is through firewall rules with a specific gateway chosen. In pfSense and in general, this is called Policy Based Routing or Policy Routing, so try searching for those terms if you have specific issues.


0

I created the following firewall rule (Firewall > Rules) before the rule of the loadbalancer gateway: Protocol: * Source: 10.6.9.2 Port: * Destination: * Port: 25 (SMTP) Gateway: WAN2_GW


2

That's means that postfix have try to deliver four messages to the user's mailbox at the same time. As far as you have used mbox as mailbox format, each delivery should be performed as sequence of operations. Message should be stored, indices should be updated and so on. To prevent simultaneous deliveries that can broke mbox structures, each delivery first ...


5

As shown in your graphic, no protocol that exists "between" SMTP and POP3. SMTP is responsible for moving the message from the sending computer to the recipient's mail server. If there are multiple servers involved in moving the message from the sender's server to the recipient's server, each one moves the message via the SMTP protocol. These in-between ...


0

It sounds like an antivirus/antispam 3rd party product is dropping the connection. Based on your comments it is GFI Mail Essentials. Check their logs and it should show you that it is denying the connection for some reason. Resolve that or whitelist internal communications based on subnet and you should be good again.


2

You can configure specific ip-adresses to use your postfix or sendmail installation as an outgoing SMTP server or relay host without SMTP authentication, which is much better idea. In sendmail that is configured with the access map, typically /etc/mail/access: Connect:127.0.0.1 RELAY Connect:10.9.8.7 RELAY Connect:192.168.1 RELAY ...


3

Don't open postfix for everyone. You can allow relay access to one address (or network) with the following line in your main.cf mynetworks = 127.0.0.0/8, xxx.xxx.xxx.xxx/yy xxx.xxx.xxx.xxx => the address you want to permit yy => the netmask of your host (or network)


0

You are trying you relay email to gmail but your configuration does not accept relaying mails to gmail so it returns 554 reject code. in postconf relay_domains_reject_code (default: 554) The numerical Postfix SMTP server response code when a client request is rejected by the reject_unauth_destination recipient restriction. to fix relaying ...


0

To use FBL with your IPs you need to set the ENVELOPE FROM address to your own domain, even if your clients use their own domain in From and Reply-To headers. That makes it necessary to set the FBL email address to your own domain, alongwith abuse@ and postmaster@ addresses. Your clients should have their own abuse@ and postmaster@ address at their own ...


1

Both. You will have them for mysmtp.com and they will have them for their own domains. People who look at the headers will see your mail server, and possible email you if the client's postmaster@ address doesn't lead to satisfaction.


0

This should help: Setting up SMTP under IIS 7 on Windows Server 2008


1

Here's a slightly different approach: Rather than install an SMTP server instance in each of your clients infrastructure why not set up a single instance in your infrastructure? You can then configure Database Mail for each client to relay through your SMTP server. Each client needs to allow outbound SMTP anyway so what does it matter if it's outbound from ...


2

DNS settings: set up so-called reverse record that bind your IP-address with some domain, f.e. thedilldesign.com. Usually you can do it via VPS management panel set MX records for all your domains to the same value - thedilldesign.com set SPF records for all your domains to confirm that thedilldesign.com is legal submitter for that domains EXIM settings ...


1

We've ran into a similar use case in that some applications do not support authenticated SMTP which we require for our main email system. We would generally recommend that you have one SMTP server and point all of your db servers at that one server though, just for the sake of simplicity. However, if that is not possible and you really have to install it on ...


1

smtp has a LONG history of security failures (sendmail, emacs, et al.). So does MS. Frankly, the LAST thing I would ever do is expect an MS machine to keep incoming smtp secure. We usually put an smtp proxy between any Windows machine providing mail and the Internet (e.g. FreeBSD with postfix configured with anti-spam AV and simple forwarding). That being ...


0

You have to set auth_advertise_hosts in such way: . . . . . . daemon_smtp_ports = 25 : 465 : 587 tls_advertise_hosts = * tls_on_connect_ports = 465 : 587 auth_advertise_hosts = localhost : ${if eq{$tls_cipher}{}{nope}{*}} . . . . . . If sender uses TLS auth_advertise_hosts will be expanded to the ...


1

You forget to mention what SMTP server you are using. If using Postfix you'll have some build-in features like http://www.postfix.org/postconf.5.html#smtpd_client_message_rate_limit to reduce the number of messages a client can send along with http://www.postfix.org/postconf.5.html#anvil_rate_time_unit to specify a period of time to monitor. As far as i ...


0

After another whole day of reading documentation and tampering with settings, I was finally able to resolve the issue. The problem was in mysql_virtual_domains_maps.cf, which had a MySQL query that did not take an argument, and therefore always returned the same result (the list of all available domains). The correct situation is when the query only returns ...



Top 50 recent answers are included