thanks Christoph, the solution that you mean for the spam I worked very well
for the delivery of emails to my same virtual users, add the following line just before DKIMPROXY accept tagged CLAM_OUT for domain <vdomains> virtual <valiases> relay via \ lmtp://127.0.0.1 and the answer was /etc/mail/smtpd.conf:28: error: invalid url: lmtp://127.0.0.1 then I change to the following accept tagged CLAM_OUT for domain <vdomains> virtual <valiases> relay via \ lmtp://127.0.0.1:2525 and the answer was aliases/virtual may not be used with a relay rule then I change to the following # cat /etc/mail/smtpd.conf # $OpenBSD: smtpd.conf,v 1.7 2014/03/12 18:21:34 tedu Exp $ # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # To accept external mail, replace with: listen on all # pki mail.darkmail.mx certificate "/etc/ssl/mail.darkmail.mx.crt" pki mail.darkmail.mx key "/etc/ssl/private/mail.darkmail.mx.key" table vrecipients file:/etc/mail/vrecipients table vdomains file:/etc/mail/vdomains table valiases file:/etc/mail/valiases table credentials file:/etc/mail/credentials listen on lo0 listen on re0 port 25 listen on lo0 port 10026 tag CLAM_IN # incoming mail listen on lo0 port 10028 tag CLAM_OUT # outgoing mail listen on lo0 port 10029 tag DKIM_OUT # outgoing mail listen on re0 port 587 tls-require pki mail.darkmail.mx auth <credentials> # tagged mail returned from clamsmtpd either deliver or relay accept tagged CLAM_IN for domain <vdomains> recipient <vrecipients> relay via lmtp://127.0.0.1:2525 accept tagged CLAM_IN for domain <vdomains> virtual <valiases> accept tagged CLAM_OUT for domain <vdomains> recipient <vrecipients> relay via lmtp://127.0.0.1:2525 accept tagged CLAM_OUT for domain <vdomains> virtual <valiases> accept tagged CLAM_OUT for any relay via smtp://127.0.0.1:10030 # send to dkimproxy # tagged mail returned from dkimproxy relay out accept tagged DKIM_OUT for any relay # start here - untagged mail is sent to clamsmtpd accept from local for any relay via smtp://127.0.0.1:10027 # outgoing mail accept from any for domain <vdomains> relay via smtp://127.0.0.1:10025 # incoming mail and this is working perfectly, even that is not printing the DKIM signature between e-mails from the same server, even though I don't think it's very necessary, but maybe for the standard thank you I would like to know if you see bugs or errors, or if I can improve something, for example I very much doubt you have this: listen on re0 port 25 now my server seems to work well even between virtual users of my server does not see the DKIM signature. ;) 2015-02-15 18:24 GMT+00:00 Christoph Borsbach <[email protected]>: > Hi, > > On Sun, Feb 15, 2015 at 14:01:15 +0000, Ultramedia Libertad wrote: and this is working perfectly, even that is not printing the DKIM signature between e-mails from the same server, even though I don't think it's very necessary, but maybe for the quality >> I'm going to explain >> I have OpenBSD 5.6 and OpenSMTPD 5.4.3 >> >> I can send and receive emails to all over the world, but I have two >> big problems, I can't send to my contacts that are also virtual users >> in my own domain. >> example >> [email protected] --> [email protected] --works correct. >> [email protected] --> [email protected] --works correct. >> >> but [email protected] --> [email protected] --does Not work > > I'm not sure if this is the "correct" way of doing things, > but I'd say you need one more line in your config before the DKIM-Proxy-Part > like this: > accept tagged CLAM_OUT for domain <vdomains> virtual <valiases> relay via \ > lmtp://127.0.0.1 > > So that way you accept mail for your own domain. > >> as you can see it seems that there are a spammer atacandome and don't >> know how to stop it nothing more I turn on the smtpd and starts to >> send > > Spam: The last line in your config accepts mail for any domain. You probably > only want to handle mail for your own <vdomains>: > accept from any for domain <vdomains> relay via smtp://127.0.0.1:10025 # > incoming mail > > I hope this helps, I'm no expert myself. > > Cheers, > Christoph > >> thanks for any help >> >> 2015-02-15 13:05 GMT+00:00 Gilles Chehade <[email protected]>: >> > On Sun, Feb 15, 2015 at 12:27:51PM +0000, kanzer wrote: >> >> I have the same problem friend, >> >> >> >> you was able to solve this, I would appreciate if someone gives a light >> >> >> >> thanks >> >> >> > >> > Still happens ? >> > OpenBSD too ? What version ? >> > >> > >> > -- >> > Gilles Chehade >> > >> > https://www.poolp.org @poolpOrg >> >> >> >> -- >> editor de sueqos >> >> -- >> You received this mail because you are subscribed to [email protected] >> To unsubscribe, send a mail to: [email protected] > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] > -- editor de sueños -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
