Configure Citadel to be Used For sending email using smtp The 2019 Stack Overflow Developer...

A poker game description that does not feel gimmicky

How do you say "canon" as in "official for a story universe"?

What do the Banks children have against barley water?

Why do some words that are not inflected have an umlaut?

aging parents with no investments

What do hard-Brexiteers want with respect to the Irish border?

What is the use of option -o in the useradd command?

Deadlock Graph and Interpretation, solution to avoid

Does duplicating a spell with Wish count as casting that spell?

Are USB sockets on wall outlets live all the time, even when the switch is off?

Could JWST stay at L2 "forever"?

Why isn't airport relocation done gradually?

Is three citations per paragraph excessive for undergraduate research paper?

Why did Howard Stark use all the Vibranium they had on a prototype shield?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

How long do I have to send my income tax payment to the IRS?

Understanding the implication of what "well-defined" means for the operation in quotient group

Carnot-Caratheodory metric

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

Limit the amount of RAM Mathematica may access?

How come people say “Would of”?

Why can Shazam do this?

JSON.serialize: is it possible to suppress null values of a map?

Output the Arecibo Message



Configure Citadel to be Used For sending email using smtp



The 2019 Stack Overflow Developer Survey Results Are InHow to configure MailEssentials to not filter authenticated SMTP sessionsHow to configure sendmail to send email via GMail (smtp.gmail.com), using port 465 or 587?Configure SMTP Service to deliver mails to SMTP ServerBest practice for Exchange 2010 for multiple SMTP serversHow to configure sendmail to use different SMTP relay serversPostfix smtp for sending onlySMTP server, remove port 25 for relay communicationExchange 2010: not receiving NDR when sending email using SMTP to none existing external mailboxPostfix as SMTP server for Gmail. (“Send mail as” google option)Configure dovecot using postfix to send email from any email to any email





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















Sorry for this foolish question, but I have less knowldge about servers. So bear with me!



I have configured Citadel as directed in linode documentation and can
login using the front-end for accessing citadel. I can send emails
using that. How can i configure smtp and use it as a mail service for sending
emails from laravel which is a php framework?. Any help will be
appreciated.



I have configured it as



Enter 0.0.0.0 for listen address
Select Internal for authentication method
Specify your admin <username>
Enter an admin <password>
Select Internal for web server integration
Enter 80 for Webcit HTTP port
Enter 443 for the Webcit HTTPS port (or enter -1 to disable it)
Select your desired language


After this i have entered mail name in /etc/mailname as



mail.domain.com


and i can access adn sendmail using https://mail.domain.com



My laravel mail.php file
'driver' => 'smtp',



/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Postmark mail service, which will provide reliable delivery.
|
*/

'host' => 'mail.hututoo.com',

/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to delivery e-mails to
| users of your application. Like the host we have set this value to
| stay compatible with the Postmark e-mail application by default.
|
*/

'port' => 25,

/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/

'from' => array('address' => 'no-reply@hututoo.com', 'name' => null),

/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/

'encryption' => 'tls',

/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/

'username' => 'passname',

/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/

'password' => 'paswwordtest',

/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/

'sendmail' => '/usr/sbin/citmail -t',









share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

    – kmarsh
    Apr 2 '14 at 15:19











  • I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

    – Anil Sharma
    Apr 2 '14 at 15:23


















2















Sorry for this foolish question, but I have less knowldge about servers. So bear with me!



I have configured Citadel as directed in linode documentation and can
login using the front-end for accessing citadel. I can send emails
using that. How can i configure smtp and use it as a mail service for sending
emails from laravel which is a php framework?. Any help will be
appreciated.



I have configured it as



Enter 0.0.0.0 for listen address
Select Internal for authentication method
Specify your admin <username>
Enter an admin <password>
Select Internal for web server integration
Enter 80 for Webcit HTTP port
Enter 443 for the Webcit HTTPS port (or enter -1 to disable it)
Select your desired language


After this i have entered mail name in /etc/mailname as



mail.domain.com


and i can access adn sendmail using https://mail.domain.com



My laravel mail.php file
'driver' => 'smtp',



/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Postmark mail service, which will provide reliable delivery.
|
*/

'host' => 'mail.hututoo.com',

/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to delivery e-mails to
| users of your application. Like the host we have set this value to
| stay compatible with the Postmark e-mail application by default.
|
*/

'port' => 25,

/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/

'from' => array('address' => 'no-reply@hututoo.com', 'name' => null),

/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/

'encryption' => 'tls',

/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/

'username' => 'passname',

/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/

'password' => 'paswwordtest',

/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/

'sendmail' => '/usr/sbin/citmail -t',









share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

    – kmarsh
    Apr 2 '14 at 15:19











  • I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

    – Anil Sharma
    Apr 2 '14 at 15:23














2












2








2








Sorry for this foolish question, but I have less knowldge about servers. So bear with me!



I have configured Citadel as directed in linode documentation and can
login using the front-end for accessing citadel. I can send emails
using that. How can i configure smtp and use it as a mail service for sending
emails from laravel which is a php framework?. Any help will be
appreciated.



I have configured it as



Enter 0.0.0.0 for listen address
Select Internal for authentication method
Specify your admin <username>
Enter an admin <password>
Select Internal for web server integration
Enter 80 for Webcit HTTP port
Enter 443 for the Webcit HTTPS port (or enter -1 to disable it)
Select your desired language


After this i have entered mail name in /etc/mailname as



mail.domain.com


and i can access adn sendmail using https://mail.domain.com



My laravel mail.php file
'driver' => 'smtp',



/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Postmark mail service, which will provide reliable delivery.
|
*/

'host' => 'mail.hututoo.com',

/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to delivery e-mails to
| users of your application. Like the host we have set this value to
| stay compatible with the Postmark e-mail application by default.
|
*/

'port' => 25,

/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/

'from' => array('address' => 'no-reply@hututoo.com', 'name' => null),

/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/

'encryption' => 'tls',

/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/

'username' => 'passname',

/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/

'password' => 'paswwordtest',

/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/

'sendmail' => '/usr/sbin/citmail -t',









share|improve this question
















Sorry for this foolish question, but I have less knowldge about servers. So bear with me!



I have configured Citadel as directed in linode documentation and can
login using the front-end for accessing citadel. I can send emails
using that. How can i configure smtp and use it as a mail service for sending
emails from laravel which is a php framework?. Any help will be
appreciated.



I have configured it as



Enter 0.0.0.0 for listen address
Select Internal for authentication method
Specify your admin <username>
Enter an admin <password>
Select Internal for web server integration
Enter 80 for Webcit HTTP port
Enter 443 for the Webcit HTTPS port (or enter -1 to disable it)
Select your desired language


After this i have entered mail name in /etc/mailname as



mail.domain.com


and i can access adn sendmail using https://mail.domain.com



My laravel mail.php file
'driver' => 'smtp',



/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Postmark mail service, which will provide reliable delivery.
|
*/

'host' => 'mail.hututoo.com',

/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to delivery e-mails to
| users of your application. Like the host we have set this value to
| stay compatible with the Postmark e-mail application by default.
|
*/

'port' => 25,

/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/

'from' => array('address' => 'no-reply@hututoo.com', 'name' => null),

/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/

'encryption' => 'tls',

/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/

'username' => 'passname',

/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/

'password' => 'paswwordtest',

/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/

'sendmail' => '/usr/sbin/citmail -t',






linux smtp linode citadel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 '14 at 15:25







Anil Sharma

















asked Apr 2 '14 at 14:46









Anil SharmaAnil Sharma

11116




11116





bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

    – kmarsh
    Apr 2 '14 at 15:19











  • I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

    – Anil Sharma
    Apr 2 '14 at 15:23



















  • What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

    – kmarsh
    Apr 2 '14 at 15:19











  • I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

    – Anil Sharma
    Apr 2 '14 at 15:23

















What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

– kmarsh
Apr 2 '14 at 15:19





What do you mean by: "Now i want to use it to send emails from outside like using php."? I don't know what "from outside" means nor do I understand "like using PHP".

– kmarsh
Apr 2 '14 at 15:19













I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

– Anil Sharma
Apr 2 '14 at 15:23





I can't find the exact word but in short what can be done after setting citadel to be used as a mail service. So that from my code i can send mail

– Anil Sharma
Apr 2 '14 at 15:23










1 Answer
1






active

oldest

votes


















0














You need to configure PHP to send mail to citmail which should have been included in your Citadel installation. Set its path in php.ini:



sendmail_path = "/path/to/citmail -t"


If you're connecting directly to the server via SMTP then you should use its hostname (or localhost) and port 587 to send mail.






share|improve this answer


























  • I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

    – Anil Sharma
    Apr 2 '14 at 15:05











  • You should post much more details in your question.

    – Michael Hampton
    Apr 2 '14 at 15:06











  • I have updated my code. Take a review!

    – Anil Sharma
    Apr 2 '14 at 15:13











  • @Creator It sounds like you forgot to set 'driver' => 'sendmail'

    – Michael Hampton
    Sep 3 '14 at 10:54












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f586184%2fconfigure-citadel-to-be-used-for-sending-email-using-smtp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You need to configure PHP to send mail to citmail which should have been included in your Citadel installation. Set its path in php.ini:



sendmail_path = "/path/to/citmail -t"


If you're connecting directly to the server via SMTP then you should use its hostname (or localhost) and port 587 to send mail.






share|improve this answer


























  • I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

    – Anil Sharma
    Apr 2 '14 at 15:05











  • You should post much more details in your question.

    – Michael Hampton
    Apr 2 '14 at 15:06











  • I have updated my code. Take a review!

    – Anil Sharma
    Apr 2 '14 at 15:13











  • @Creator It sounds like you forgot to set 'driver' => 'sendmail'

    – Michael Hampton
    Sep 3 '14 at 10:54
















0














You need to configure PHP to send mail to citmail which should have been included in your Citadel installation. Set its path in php.ini:



sendmail_path = "/path/to/citmail -t"


If you're connecting directly to the server via SMTP then you should use its hostname (or localhost) and port 587 to send mail.






share|improve this answer


























  • I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

    – Anil Sharma
    Apr 2 '14 at 15:05











  • You should post much more details in your question.

    – Michael Hampton
    Apr 2 '14 at 15:06











  • I have updated my code. Take a review!

    – Anil Sharma
    Apr 2 '14 at 15:13











  • @Creator It sounds like you forgot to set 'driver' => 'sendmail'

    – Michael Hampton
    Sep 3 '14 at 10:54














0












0








0







You need to configure PHP to send mail to citmail which should have been included in your Citadel installation. Set its path in php.ini:



sendmail_path = "/path/to/citmail -t"


If you're connecting directly to the server via SMTP then you should use its hostname (or localhost) and port 587 to send mail.






share|improve this answer















You need to configure PHP to send mail to citmail which should have been included in your Citadel installation. Set its path in php.ini:



sendmail_path = "/path/to/citmail -t"


If you're connecting directly to the server via SMTP then you should use its hostname (or localhost) and port 587 to send mail.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 2 '14 at 15:14

























answered Apr 2 '14 at 14:57









Michael HamptonMichael Hampton

174k27319644




174k27319644













  • I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

    – Anil Sharma
    Apr 2 '14 at 15:05











  • You should post much more details in your question.

    – Michael Hampton
    Apr 2 '14 at 15:06











  • I have updated my code. Take a review!

    – Anil Sharma
    Apr 2 '14 at 15:13











  • @Creator It sounds like you forgot to set 'driver' => 'sendmail'

    – Michael Hampton
    Sep 3 '14 at 10:54



















  • I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

    – Anil Sharma
    Apr 2 '14 at 15:05











  • You should post much more details in your question.

    – Michael Hampton
    Apr 2 '14 at 15:06











  • I have updated my code. Take a review!

    – Anil Sharma
    Apr 2 '14 at 15:13











  • @Creator It sounds like you forgot to set 'driver' => 'sendmail'

    – Michael Hampton
    Sep 3 '14 at 10:54

















I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

– Anil Sharma
Apr 2 '14 at 15:05





I did this but still things are not as expected!i have given host as the url name given in /etc/mailname . port is 25 username and password of user in citadel.After giving sendmail path things doesn't work even?

– Anil Sharma
Apr 2 '14 at 15:05













You should post much more details in your question.

– Michael Hampton
Apr 2 '14 at 15:06





You should post much more details in your question.

– Michael Hampton
Apr 2 '14 at 15:06













I have updated my code. Take a review!

– Anil Sharma
Apr 2 '14 at 15:13





I have updated my code. Take a review!

– Anil Sharma
Apr 2 '14 at 15:13













@Creator It sounds like you forgot to set 'driver' => 'sendmail'

– Michael Hampton
Sep 3 '14 at 10:54





@Creator It sounds like you forgot to set 'driver' => 'sendmail'

– Michael Hampton
Sep 3 '14 at 10:54


















draft saved

draft discarded




















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f586184%2fconfigure-citadel-to-be-used-for-sending-email-using-smtp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

Список ссавців Італії Природоохоронні статуси | Список |...

Українські прізвища Зміст Історичні відомості |...