On 10/07/2013 02:30 AM, nunyobusiness wrote: > > I'm stumped. I downloaded the admin docs and setup guides but can't figure > things out. Maybe I need to let it sit and think about it. > > What I thought djigzo would do is: > > > Allow users to log onto a portal, much like web mail and use it as an email > interface to send and read enctrypted email. (It doesn't seem to be the case > BUT it would be cool if it had that functionality!) > > OK - so djigzo isn't a webmail interface for users. Instead it seems like a > store and forward server however, I can't get it to FORWARD email! > > What I've tried is: > > gmail ([email protected]) > my test domain (test.company.com <-- not the > real example :P). The host name is "test.company.com". I have in the relay > settings "company.com" and "email.company.com" <-- that one is their actual > email server. > * Note: If I do "[email protected]) the email won't go to the djigzo server > and I don't want EVERY EMAIL to be enctrypted. That would be irritating! > > Result: > > > NOQUEUE: reject: RCPT from mail-la0-f46.google.com[209.85.215.46]: 554 5.7.1 > <[email protected]>: Relay access denied; from=<[email protected]> > to=<[email protected]> proto=ESMTP helo=<mail-la0-f46.google.com> > > So what I did was "telnet test.company.com 25" and sent an email manually to > "[email protected]" and it went to my destination server - their real email > server and it was enctrypted but. > > So it seems it won't recognize "[email protected]" relaying to > "[email protected]". > > I tried messing with *.company.com in creating the company.com, deleted that > and made just company.com again. Reset up the relaying domains in the MTA, > etc but I just can't seem to get this setup for what I want to do and that is. > > [email protected] >> [email protected] (strips the "test" part out so it > kicks it to their real email server). > > I'll keep looking at the docs but I'm not even sure if this is what I want. > What I ultimately want is: > > On the occasion someone wants to send an enctrypted email they send with a > special subject (Secure), which goes out djigzo's MTA to get enctrypted which > notifies the destination ([email protected]) and the sender > ([email protected]). The [email protected] is notified there's an enctryped > PDF for them with the portal login where they can login and get the password > for the document that's attached to the email. > > I'm not sure I can figure it out in short order and I'm bumming. I also > tried messing with the /etc/postmap/aliases file but got nothing :-( > > Is there a defacto tutorial on what I want to do or am I going to have to > keep slugging away at it with the manual...that seems to only explain the > fields but not how it all fits together.
I hope I fully understand your requiements. So you want to encrypt outgoing email if the subject contains some keyword? This is possible by using the "subject trigger". > NOQUEUE: reject: RCPT from mail-la0-f46.google.com[209.85.215.46]: > 554 5.7.1 <[email protected]>: Relay access denied; > from=<[email protected]> to=<[email protected]> proto=ESMTP > helo=<mailla0-f46.google.com> The gateway by default does not allow email to be sent to domains *not* listed as the domain it accepts email for (the relay domains) otherwise the gateway will be an "open relay" and it will be misused by spammers. The gateway (to be precise Postfix) should be told which servers are allowed to relay to external recipients. One way to authorize certain servers to relay to external users is by adding the IP (or IP range) of the sender server(s) to the "My Network" settings of the MTA settings. The above "NOQUEUE" log output seems to indicate that it was a Gmail server that tries to relay email to external recipients. Is that correct? Kind regards, Martijn Brinkers -- DJIGZO email encryption _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users
