These are chat archives for arenanet/api-cdi

26th
Dec 2017
Werdes
@werdes
Dec 26 2017 18:19
thank god i didn't have to bother with any tech presents this year.
Enno G.
@SchoolGuy
Dec 26 2017 19:22
My tech present works fine out of the box which is surprising for an eGPU 😂
Darqam
@Darqam
Dec 26 2017 20:36

So question for anyone having dealt with mail in webservers. I have a group of 3-4 people who currently have their email forwarded via postfix from username@example.com to their personal emails. How would one go about making it so they could send WITH that email address as sender? Almost anything I read seems to be to send mail directly from the server (with php and stuff), or requires them to give the server admin their username and password.

Not asking for a full on explanation, but some key words or guide would be perfect if anyone knows

darthmaim
@darthmaim
Dec 26 2017 20:38
If they just add the example.com server as additional smtp server it should just work?
so they have one imap (their personal) and 2 outgoing smtp (their personal + example)
Darqam
@Darqam
Dec 26 2017 20:38
that's what I thought, but when you try to add it, in say gmail. it asks for a username and password, which well there isn't since it's just a postfix forward
Eearslya Sleiarion
@Eearslya
Dec 26 2017 20:39
If they ONLY need to send as that username e-mail then postfix has a solution, but..if they need to switch back and forth I'm not sure
smiley
@codemasher
Dec 26 2017 20:39
you can technically set anything as [reply to] address
Darqam
@Darqam
Dec 26 2017 20:40
like, i definitely feel there is a stupid simple solution, I just can't figure out what it is
darthmaim
@darthmaim
Dec 26 2017 20:40
I would just change to postfix alias to a real account and configure it to redirect everything
Eearslya Sleiarion
@Eearslya
Dec 26 2017 20:41
See, postfix has a way to say "if the From address matches this, then rewrite it to be this" but that's a constant flag; they wouldn't be able to turn it on and off without messing with postfix configs
Darqam
@Darqam
Dec 26 2017 20:41
but yeah the ideal would be that they can send and recieve everything from their current email account (say gmail), and have it send out as either their 'true' email adress or their business one
Eearslya Sleiarion
@Eearslya
Dec 26 2017 20:41
I'm not sure postfix has that functionality
darthmaim
@darthmaim
Dec 26 2017 20:42
I think you need an account to send and there is no way around it
Darqam
@Darqam
Dec 26 2017 20:42

the issue right now being, they can get mail from username@businessName.com, but can't reply with that.

So archomeda, then you'd need to create a full on webmail system on that server?

darthmaim
@darthmaim
Dec 26 2017 20:43
I guess so
Eearslya Sleiarion
@Eearslya
Dec 26 2017 20:43
Not necessarily, but they'd have to add both accounts to their mail clients
Darqam
@Darqam
Dec 26 2017 20:44
damnit, I was hoping there'd be an easy way to setup a gmail alias or something like that given we control the domain name and server
darthmaim
@darthmaim
Dec 26 2017 20:45
I don't think you can do that with gmail
Darqam
@Darqam
Dec 26 2017 20:46
yeah I've seen a workaround using google apps or something by that name, but that costs money
oh well
Eearslya Sleiarion
@Eearslya
Dec 26 2017 20:46
GMail does allow you to use it via POP3/IMAP, but I'm not sure how you'd get Postfix to do that
Darqam
@Darqam
Dec 26 2017 21:08

Oh cool, there is a way: https://webapps.stackexchange.com/a/72975

for those interested

darthmaim
@darthmaim
Dec 26 2017 21:09
just make sure to setup spf on your domain to include the google servers
but good to know gmail supports this
Darqam
@Darqam
Dec 26 2017 21:10
yeah that's all in place now. Thanks for the input all of you
Spent easilly over 4 hours googling this crap on my own, about 20 mins after talking here it's solved. 👌
Eearslya Sleiarion
@Eearslya
Dec 26 2017 21:18
Oh, I think I misunderstood the issue
Darqam
@Darqam
Dec 26 2017 21:32
yeah, I was pretty bad at explaining it
but the back and forth helped
Archomeda
@Archomeda
Dec 26 2017 21:39
Wait what, why am I involved I this? XD
Darqam
@Darqam
Dec 26 2017 21:39
You were there in spirit
darthmaim
@darthmaim
Dec 26 2017 21:39
moral support
Archomeda
@Archomeda
Dec 26 2017 21:40
🤣