Allow SMTP only client?
With ISPConfig is it possible to setup a mailbox that only allows SMTP only and forwards incoming mail externally?
Currently running 220.127.116.11 (soon to upgrade to 18.104.22.168)
We have clients that want to:
1. Have their domain email (firstname.lastname@example.org) forwarded into their gmail (email@example.com)
2. Use authenticated SMTP via our ISPConfig mail server, to send outgoing mail
The reason for '2' is because when sending mail via gmail smtp, Google adds a "on behalf of" message to outgoing mails from other domains. So the clients wish to use our SMTP server.
I tried to acheive this by setting the following;
A) Add Mailbox in ISPConfig with "Send copy to" set to gmail address
This works, copies incoming mail to gmail, allows user to use SMTP for outgoing mail.
BUT - the INBOX on our ISPConfig mail server fills up with their unread mail, as they read mail on gmail. Solution?
B) Use Remote API to set 'disabledeliver' = 'y', this has no effect so no use. (also setting 'disablesmtp' = 'y' has no effect)
C) Use Remote API to set 'postfix' = 'n', this stops both incoming and outgoing mail, so no use.
Is there another suggestion or approach we can take to meet the requirements of SMTP mailbox only, with mail delivered into a gmail mailbox, and no unread mail pilled up in the local INBOX?
If there is absolutely no way of acheiving this in ISPConfig, then as a last resort we would have to implement option (A) above, and write some sort of script that empties the INBOX's of these types of mailboxes we setup, with "copy to" gmail mailboxes.
This at least would allow users to use our SMTP, have mail delivered into the Gmail, and now have our mail server fill up with unread mail that will "Never" be checked.