Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Emails with + Sign aren't working

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
wpconsulate
Posts: 4
Joined: Tue Aug 22, 2017 3:06 pm

Emails with + Sign aren't working
  • Quote

Post by wpconsulate » Fri Apr 06, 2018 3:46 am

I have setup email account successfully and it's working.
Now my email account is like [email protected] and it's working fine
But I'm not able to receive emails with email addresses like
[email protected]

please suggest any way to make it work.


thanks
Deepak Oberoi
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Emails with + Sign aren't working
  • Quote

Post by MAN5 » Fri Apr 06, 2018 11:05 am

RFC approved like that '+' symbol, But its advised Not-To-Do by leading email providers (eg: gmail).
I can explain this very simply & not soooo deep.
Just simply send an email to your gmail account with + symbols added.
(ie) if your gmail acc is [email protected] >> then u ask your frnd to send an email to '[email protected]'. Still you will recv it.
Now decide weather you need to use '+' or not in the real world..
Top

wpconsulate
Posts: 4
Joined: Tue Aug 22, 2017 3:06 pm

Re: Emails with + Sign aren't working
  • Quote

Post by wpconsulate » Sat Apr 07, 2018 8:39 am

thanks for your reply @MAN5
and yes I want to do this because I have an email mapped to my pm system which reads my mailbox for any issues posted by email so it's important to get it working to create/update issues by email.

so is this possible with VestaCP
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Emails with + Sign aren't working
  • Quote

Post by MAN5 » Sat Apr 07, 2018 11:44 am

Hi.
[Technically NOT a genuine idea. Do it @ your risk]
0. VestaCP has the reasonable script-coding to reduce most of the real world issues.
1. Yes possible with code changes. But all your code changes will be over-written by vestacp updates.
2. I can give you the 'hint' as how to make it work for creating email id with '+'. But its not enough, you need to work on subsequent process yourself.
3. Goto '/usr/local/vesta/func'
4. look for option >> # User format validator
5. Compare this line with your original >>

Code: Select all

if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_+|[:alnum:]]{0,28}[[:alnum:]]$ ]]
6. I added '+' on the above line to let vestacp to allow that to create emails.
Top

wpconsulate
Posts: 4
Joined: Tue Aug 22, 2017 3:06 pm

Re: Emails with + Sign aren't working
  • Quote

Post by wpconsulate » Mon Apr 09, 2018 11:05 am

I think we are talking about 2 different issues.

I'm not looking to be able to create email accounts with + symbols. Rather I want to be able to receive emails with that. for example again.

I created an email [email protected] and that works fine. Now I want if anyone sends an email at [email protected] It should land in my email [email protected] 's Inbox.

Is this possible in VestaCP?
Top

sandy
Posts: 90
Joined: Sat Apr 07, 2018 7:06 pm
Contact:
Contact sandy
Website

Os: CentOS 6x
Web: nginx + php-fpm
Re: Emails with + Sign aren't working
  • Quote

Post by sandy » Mon Apr 09, 2018 2:04 pm

you need to configure cathall
viewtopic.php?t=10238
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Emails with + Sign aren't working
  • Quote

Post by MAN5 » Mon Apr 09, 2018 2:07 pm

you need to configure cathall
Haha, his question is abt to let exim trimming the texts if any on email IDs with '+xxx' and send it to the email ID without those '+xxx'.
Top

MAN5
Posts: 86
Joined: Sun Jan 31, 2016 4:14 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Emails with + Sign aren't working
  • Quote

Post by MAN5 » Tue Apr 10, 2018 5:26 am

Try this on EXIM4 config..

begin routers
#...
suffix_rewrite:
driver = redirect
allow_defer
allow_fail
skip_syntax_errors
data = ${local_part}@${domain}
local_part_suffix = "+*"
retry_use_local_part
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password