New answers tagged

0

passwd-file: Unknown setting: username_format For me the reason was extra space: passdb { driver = passwd-file args = scheme=SHA256-CRYPT **extra-space-here**username_format=%u /etc/dovecot/users } i.e. I had two spaces between CRYPT and uesrname.


0

In order to check your alias is working properly you can try to check your MySQL directly first. From your log I don't see any attempt delivering to your mailbox Select goto from alias For alias you should see something like this in your log 29 06:46:59 mail postfix/local[15339]: A8967BF907: to=<yourmailbox@domain.com>, orig_to=<youralias@...


1

You may want to look at aliases. The file /etc/aliases can contain a variety of aliases including groups. These won't have the subscribe/unsubscribe capability that lists usually have. However, they will have a common definition for all users. Many email clients allow you to create groups (or list) in the address book. These are personal lists, ...


0

Do you want to just force everyone to append @example.com to their e-mail usernames, or are you looking to actually support virtual mail hosting (where different people may have different domains on their usernames)? If the former, I'd question the utility, but if you're dead-set on it, you could probably tweak some option or another in the dovecot config ...


1

Honest advice, use normal user accounts and let your Linux system authenticate the users. This is easy to manage and very secure. I don't want to say that other systems are insecure but I trust my Linux system when it comes to storing and authenticating passwords. I use these commands to create users manually. This way they can do no harm on my system. ...


3

Consider the client/server relationship with regards to SMTP and the settings make sense: 2.1. Basic Structure The SMTP design can be pictured as: +----------+ +----------+ +------+ | | | | | User |<-->| | SMTP | | +------+ | Client- |Commands/...


0

I left the idea of using postfix and dovecot and simply installed sendmail to achieve it.


0

Do not use LDA from postfix, use dovecot's deliver instead. Detailed explanation can be found at http://wiki.dovecot.org/LDA/Postfix If implemented, dovecot become the only service that have an access to the storage so there is no permission collision between postfix and dovecot.


0

If dsync is not available on the source server you can use fetch utility on the target one. Exact commandline is depend on the target configuraton so you have to dig in the given direction.


0

Can you provide spf record that you've set and header of email that was rejected. Reason for rejection is spf settings so you either didn't include sending server to your spf record or record itself is not valid.


0

Based on the information provided and the fact that you do have a valid PTR record, the only thing you seem to be missing is experience. For most lists, having a neutral reputation does not mean much when the volume analyzed is too low to draw conclusions. Sending more and more clean messages to different domains will progressively improve your inbox ...


0

Thanks to @ychaouche I found the solution. The client-side did not accept the certificate. Which means the SSL transmission was not allowed. After restarting client-site mail-application and trusting this untrusted openssl cert everything worked as expected! Thanks!


1

The answers and responses already given contain all the parts of the solution, here's my attempt to tie that info together, having struggled with and now fixed the same problem: Overview: Dovecot only acts upon the service lmtp section if lmtp appears in the protocols setting. Especially if you have a custom dovecot.conf file you may have omitted something. ...


3

I have a similar small scale setup, with MySQL providing the virtual_domains and virtual_aliases to postfix and dovecot. I wrote my own web interface to manage them (primarily so I could hand it off to someone else to maintain). Given that you're not interested in a web interface, or direct SQL the only other alternative I can think of would be shell ...


0

I think the problem is that you're selecting your endpoint from mailbox, not from the virtual users table, so postfix knows where it should go, but not dovecot. Change : SELECT username as user, password, '/var/mail/%d/%n' as userdb_home, 'maildir:/var/mail/%d/%n' as userdb_mail, 5000 as userdb_uid, 5000 as userdb_gid FROM mailbox WHERE username = '%...


0

Backup the current emails saved in Outlook. Create Exchange account and add to Outlook. Import .PST file to the new mailbox and let it upload and sync to the new servers.


3

I've created a set of simple bash scripts for managing multiple domains, accounts, users, aliases, but it's still not ready for publishing on GitHub. I'm and was using it with success for the last 3-4 years. I have all my dovecot/postfix configs file-based, no database. I see I'm not the only one in need for a simple and working command-line solution?


0

On a similar setup I tried to keep things as simple as possible. I use the Mail Admin (0.4.1) web interface to administer the accounts themselves. As for editing any configuration file I use the good old MC. I also hate making database changes for e-mail forwarding, away messages and such...so I manage those from web interface as well (RCube Webmail). So ...



Top 50 recent answers are included