-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mox's sendmail compatibility requires a Mox account, running into some limitations/issues #266
Comments
Hi Robby-, thanks for reporting! As for rejecting incoming message for noreply@, that's not currently About sending with another address: It seems you added the sendmail@ address It is a bit surprising that you're getting the error message when sending with Btw, accounts don't have a primary address. They just have one or more If sending with configured additional address instead of alias helps, would |
Yes, I think that would solve this part of the problem indeed.
I created an account called
That would explain it.
Thank you. Btw, you mean when trying to use an alias address even though the appropriate option is indeed enabled? Yes, its odd, unless the description is also off and this option does something else than what I think it does?
Ah, that's good to know.
Yes, I believe so. But now I have the following question: can I add multiple identical additional addresses to different accounts? For example, can I add |
In the meantime I've done some testing myself and concluded it is not possible to add multiple identical additional addresses to different accounts, you get an error if you try. Figured this would be the case, especially since they can be used as a username to authenticate, so that makes sense. So, I guess this is kind of turning into a feature request and also a bug report, which I'll try and summarize below. Bug report:
Feature requests:
|
…as as smtp mail from during submission mail clients will use these message from addresses also for smtp mail from, so sending over smtp would fail for these cases. for the webmail and webapi they already succeeded since we just took the "message from" address as "smtp mail from" address. for issue #266 by Robby-, thanks for reporting!
@Robby- The commit just now should fix the problem of not being able to send over SMTP. I think it worked for the webmail & webapi, but the smtpserver didn't allow the "message from" address to be used as smtp mail from address. But that is what mail clients, like thunderbird do. As for the first feature request: I think that is already addressed with the AllowMsgFrom setting in the alias: It only allows members to use the address as message from. See https://www.xmox.nl/config/#cfg-domains-conf-Domains-x-Aliases-x-AllowMsgFrom The second point about the noreply is not possible yet. I want to implement it, but need to find the time... |
Thank you for that fix, I'm using it now and it works. :) I made an account with a not so obvious name/address and then added the Having thought about this a bit more, is it actually a good idea to bounce mails to a Also, how do separate email servers handle a case where 2 email addresses bounce off each other? A quick internet search seemingly yields no useful results. Wondering because I am considering to just disable |
I don't think machines will commonly use signals like this for reputation purposes. So, once it's possible to configure this in mox, you could still send with a message From header with noreply@ address, you would receive bounces, but replies by receivers will come back to the receivers. But it may be better for users if they can just reply to messages. I'm wondering what your experience is with unwanted replies. Are they accidental? Do they raise many nonconstructive questions? Do you get more spam on your address because it is present in so many accounts (that get compromised)? |
Yes, it happens once in a while from people who haven't got a clue what they're doing.
From users? Not really. The only concern I myself have now is that any replies to
Luckily no. |
Thanks.
Yeah, this should solve the problem. People will get an error like this:
As mentioned earlier, any bounces should still make it to you as actual sender. |
Hi, I'm trying to use the sendmail functionality to send out transactional emails, but I'm kind of stuck on trying to make it work the way I want to (or rather the way I am used to, before I started using Mox). I'll try to explain this as best I can.
I used to have the actual MX setup on a separate machine, and on another one I had Postfix and a program calling Postfix's sendmail but it would send out mail directly on its own from
[email protected]
, bypassing the MX. And then in that MX setup, I had configured[email protected]
as a forwarder to my address/account within the same domain, simply so I could do a little bit of monitoring on it for the people that did end up replying to it anyways. But, due to this setup I always had the option of removing that[email protected]
forwarder, so that any emails to it could just simply bounce (or even be blackholed) and truly be unmonitored. Now I have both the MX setup (Mox), and the program that is using sendmail, on one server.Now, the way sendmail compatibility works in Mox is that it requires an account (and thus authentication) to even be able to use it, this seems to add some limitations I did not have when using Postfix's sendmail the way I was, namely:
-f
option or otherwise) within the same domain because Mox enforces the address associated with the account to be the sender addressSo, lets say I name this new Mox account that is meant for use with sendmail:
sendmail
/[email protected]
, and I also add an alias to this account called[email protected]
so that it can be used as a sender address by the program that is callingsendmail
.Then I'm left with a few questions:
[email protected]
(the real account address)? (1)"submission with unconfigured mailfrom"
submit failed: submit message: remote smtp server sent unexpected response status code: got 550, expected 2xx, permanent: 550 5.7.1 must match authenticated user
[email protected]
as sender, only then the email gets accepted and goes throughAllow messages to use the alias address in the message From header
is enabled in the webadmin UI[email protected]
(the alias) and still havesendmail
be able to use it as a From address?[email protected]
forwarded to my (and only my) account and still havesendmail
be able to use it as a From address?(1): I'd honestly rather have the real account address behave as if it doesn't exist at all, since its sole purpose for existing is facilitating outgoing transactional emails from
sendmail
anyway.The text was updated successfully, but these errors were encountered: